/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  color: var(--c-white);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 15% 85%, rgba(16, 185, 129, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 50% at 88% 12%, rgba(56, 189, 248, 0.09), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: heroAmbient 14s ease-in-out infinite alternate;
}

@keyframes heroAmbient {
  0% {
    opacity: 0.55;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.06) translate(1.5%, -1.2%);
  }
}

.hero__foreground {
  position: relative;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.15s ease-in-out;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) brightness(0.97);
  transform: scale(1);
}

.hero__slide.is-active img {
  animation: heroKenBurns 18s ease-out forwards;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.09);
  }
}

.hero__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  list-style: none;
}

.hero__dot {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  color: inherit;
  border-radius: var(--radius-md);
}

.hero__dot:focus-visible {
  outline: 2px solid var(--c-emerald-400);
  outline-offset: 2px;
}

.hero__dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s;
}

.hero__dot.is-active::after {
  background: var(--c-emerald-400);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.22);
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  .hero__ambient {
    animation: none;
    opacity: 0.65;
  }

  .hero__slide img {
    animation: none !important;
  }

  .hero__slide:not(.is-active) {
    opacity: 0 !important;
    transition: none;
  }

  .hero__dots {
    display: none;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.85) 30%, rgba(11, 31, 58, 0.45) 70%),
    linear-gradient(180deg, rgba(11, 31, 58, 0.55), rgba(11, 31, 58, 0.85));
  z-index: -1;
}

.hero__inner {
  display: grid;
  gap: 2rem;
  padding-block: clamp(4rem, 8vw, 7rem);
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--c-emerald-400);
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-emerald-400);
}

.hero__title {
  font-size: var(--fs-4xl);
  color: var(--c-white);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero__title span {
  display: block;
  color: var(--c-emerald-400);
}

.hero__lead {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero__meta {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.hero__meta strong {
  display: block;
  font-size: 1.4rem;
  color: var(--c-emerald-400);
  font-weight: 700;
}

.hero__meta span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollCue 1.8s var(--ease-in-out) infinite;
  transform-origin: top center;
}

@keyframes scrollCue {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom center;
  }
}

@media (min-width: 769px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
    min-height: 100svh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    justify-content: flex-end;
    padding-inline: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
  }

  .hero .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .hero__inner {
    gap: 1.15rem;
    padding-block: clamp(1.75rem, 4vw, 2.75rem);
    max-width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
  }

  .hero__title {
    font-size: clamp(1.45rem, 5.5vw + 0.45rem, 2.1rem);
    line-height: 1.28;
  }

  .hero__lead {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.25rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__meta {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
    margin-inline: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    box-sizing: border-box;
  }

  .hero__meta strong {
    font-size: 1.05rem;
  }

  .hero__meta span {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .scroll-cue {
    display: none;
  }
}

/* ============== Products grid ============== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============== CEO Message ============== */
.ceo {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.ceo__media {
  position: relative;
}

.ceo__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.ceo__media::before {
  content: "";
  position: absolute;
  inset: -1.4rem -1.4rem auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--c-emerald-500), var(--c-navy-700));
  opacity: 0.18;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.ceo__media::after {
  content: "";
  position: absolute;
  inset: auto auto -1.4rem -1.4rem;
  width: 50%;
  aspect-ratio: 1;
  border: 2px solid var(--c-emerald-500);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.ceo__body .section__eyebrow {
  text-align: left;
}

.ceo__title {
  font-size: var(--fs-2xl);
  margin-bottom: 1.2rem;
}

.ceo__title span {
  color: var(--c-emerald-700);
}

.ceo__text {
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}

.ceo__sign {
  margin-top: 1.4rem;
  font-weight: 600;
  color: var(--c-navy-700);
  letter-spacing: 0.06em;
}

@media (max-width: 880px) {
  .ceo {
    grid-template-columns: 1fr;
  }
  .ceo__media {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ============== Trade section ============== */
.trade {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.trade__points {
  display: grid;
  gap: 1.1rem;
  margin: 1.5rem 0 1.8rem;
}

.trade__point {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.section--dark .trade__point {
  color: rgba(255, 255, 255, 0.9);
}

.trade__point-num {
  font-family: var(--ff-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-emerald-400);
  min-width: 28px;
}

.trade__point h4 {
  color: var(--c-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.trade__point p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.trade__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.trade__media--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trade-section__cta {
  position: relative;
  animation: tradeCtaPulse 2.8s ease-in-out infinite;
}

.trade-section__cta .btn-icon {
  animation: tradeCtaArrow 1.45s ease-in-out infinite;
}

@keyframes tradeCtaPulse {
  0%,
  100% {
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.28), 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.42), 0 0 0 12px rgba(16, 185, 129, 0);
  }
}

@keyframes tradeCtaArrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trade-section__cta,
  .trade-section__cta .btn-icon {
    animation: none;
  }
}

.trade-section__cta:hover {
  animation: none;
}

@media (max-width: 880px) {
  .trade {
    grid-template-columns: 1fr;
  }
  .trade__media {
    aspect-ratio: 16 / 9;
  }
}

/* ============== Workflow ============== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}

@media (max-width: 1024px) {
  .workflow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.workflow__step {
  position: relative;
  padding: 1.6rem 1.2rem;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  text-align: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
  counter-increment: step;
}

.workflow__step::before {
  content: "0" counter(step);
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--c-emerald-500);
}

.workflow__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.35);
}

.workflow__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c-navy-50), rgba(16, 185, 129, 0.12));
  color: var(--c-emerald-700);
}

.workflow__icon svg {
  width: 30px;
  height: 30px;
}

.workflow__step h3 {
  font-size: 0.95rem;
  color: var(--c-navy-800);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.workflow__step p {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ============== Factory video ============== */
.factory-video {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-xl);
}

.factory-video video,
.factory-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, 0) 60%,
    rgba(11, 31, 58, 0.7)
  );
  pointer-events: none;
}

/* ============== Partners ============== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  width: 100%;
  min-width: 0;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.6rem 1rem;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
  text-align: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.partner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.4);
}

.partner__logo {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--c-navy-600);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 0;
  padding: 0.35rem;
  box-sizing: border-box;
}

.partner__logo img {
  max-width: 99%;
  max-height: 100%;
  object-fit: contain;
}

.partner__logo--text {
  aspect-ratio: 5 / 3;
  padding: 0.5rem 0.45rem;
  background: linear-gradient(145deg, var(--c-navy-50), #e8eef8);
}

.partner__logo--text span {
  display: block;
  font-size: clamp(0.72rem, 2.6vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.35;
  color: var(--c-navy-800);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.partner__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-navy-800);
  text-align: center;
  max-width: 100%;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.partner__country {
  font-size: 0.7rem;
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============== News grid ============== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

@media (max-width: 880px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card .card__media {
  aspect-ratio: 16 / 10;
}

/* ============== Company info ============== */
.company {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.company-table {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.company-table dl {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.company-table dt,
.company-table dd {
  padding: 1.05rem 1.4rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9rem;
}

.company-table dt {
  background: var(--c-navy-50);
  font-weight: 600;
  color: var(--c-navy-800);
  letter-spacing: 0.08em;
}

.company-table dd {
  color: var(--c-text);
  line-height: 1.7;
}

.company-table dl > :last-child,
.company-table dl > :nth-last-child(2) {
  border-bottom: 0;
}

.company-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--c-border);
}

.company-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 880px) {
  .company {
    grid-template-columns: 1fr;
  }
  .company-table dl {
    grid-template-columns: 110px 1fr;
  }
  .company-map {
    aspect-ratio: 4 / 3;
  }
}

/* ============== FAQ ============== */
.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-weight: 600;
  color: var(--c-navy-800);
  position: relative;
  transition: background-color 0.3s var(--ease-out);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-emerald-500);
  color: var(--c-white);
  font-size: 0.78rem;
  margin-right: 0.8rem;
  font-weight: 700;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--c-emerald-600);
  font-weight: 300;
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item__body {
  padding: 0 1.4rem 1.4rem 3.6rem;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ============== CTA strip ============== */
.cta-strip {
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-emerald-700));
  color: var(--c-white);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.cta-strip h2 {
  color: var(--c-white);
  margin-bottom: 1rem;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.cta-strip__actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
