/* =========================================================================
   Wise Way — fresh & dried produce exporter, Uzbekistan
   Dark organic / export-grade aesthetic. Brand tokens unchanged.
   60/30/8/2 palette · wider layout · motion-rich.
   ========================================================================= */

/* ----- Tokens --------------------------------------------------------- */
:root {
  /* Brand (locked) */
  --ww-purple: #3a2456;
  --ww-yellow: #f6c544;
  --ww-red: #e8412c;
  --ww-ink: #1c1230;
  --ww-bg: #ffffff;
  --ww-bg-2: #faf7f2;
  --ww-line: #ece7f0;

  /* Dark anchors (purple family — the "serious" 30%) */
  --ww-deep: #1a1029; /* deepest background           */
  --ww-deep-2: #271640; /* raised dark surface          */
  --ww-deep-3: #34204f; /* dark card / hairline border  */

  /* Tints */
  --ww-purple-08: rgba(58, 36, 86, 0.08);
  --ww-purple-60: rgba(58, 36, 86, 0.62);
  --ww-yellow-soft: #fdf3d4;
  --ink-soft: rgba(255, 255, 255, 0.74);
  --ink-softer: rgba(255, 255, 255, 0.55);

  /* System */
  --radius: 16px;
  --radius-sm: 9px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --shadow: 0 10px 30px rgba(26, 16, 41, 0.1);
  --shadow-lg: 0 30px 70px rgba(26, 16, 41, 0.2);
  --shadow-gold: 0 14px 34px rgba(246, 197, 68, 0.34);
  --maxw: 1320px;
  --maxw-narrow: 920px;
  --section-y: clamp(64px, 9vw, 132px);

  --cta-bg: var(--ww-yellow);
  --cta-fg: var(--ww-purple);
  --cta-hover-bg: var(--ww-red);
  --cta-hover-fg: #ffffff;

  --font-head: "Sora", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif; /* editorial accent */
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ww-ink);
  background: var(--ww-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ww-purple);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 1rem;
}
:focus-visible {
  outline: 3px solid var(--ww-yellow);
  outline-offset: 3px;
  border-radius: 5px;
}

/* ----- Layout helpers ------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.wrap--narrow {
  max-width: var(--maxw-narrow);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--alt {
  background: var(--ww-bg-2);
}
.section--dark {
  background: var(--ww-deep);
  color: #fff;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ww-red);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--ww-yellow);
  display: inline-block;
}
.section--dark .eyebrow {
  color: var(--ww-yellow);
}
.section--dark .eyebrow::before {
  background: var(--ww-red);
}
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ww-purple-60);
  max-width: 62ch;
}
.section--dark .lead {
  color: var(--ink-soft);
}
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
}
.center {
  text-align: center;
  margin-inline: auto;
}
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}
@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 860px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.55em 1em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn--primary {
  background: var(--cta-bg);
  color: var(--cta-fg);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--cta-hover-bg);
  color: var(--cta-hover-fg);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(232, 65, 44, 0.34);
}
.btn--ghost {
  background: transparent;
  color: var(--ww-purple);
  border-color: var(--ww-line);
}
.btn--ghost:hover {
  border-color: var(--ww-purple);
  transform: translateY(-2px);
}
.btn--on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--on-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--lg {
  padding: 1.1em 2.1em;
  font-size: 1.06rem;
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn .arr {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arr {
  transform: translateX(4px);
}

/* ----- Header / nav --------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: 0.35s var(--ease);
}
.site-header.solid {
  background: rgba(26, 16, 41, 0.68);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Fallback for browsers without backdrop-filter — keep it readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.solid { background: rgba(26, 16, 41, 0.96); }
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 16px;
  transition: 0.35s var(--ease);
}
.site-header.solid .nav {
  padding-block: 10px;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 65px;
  width: auto;
  transition: 0.35s var(--ease);
}
.site-header.solid .nav__logo img {
  height: 50px;
}
/* logo sits on dark hero → needs a light chip so it stays legible */
.nav__logo {
  background: rgba(255, 255, 255, 0);
  border-radius: 12px;
  padding: 4px 8px;
  transition: 0.35s;
}
.site-header:not(.solid) .nav__logo {
  padding: 6px 10px;
  box-shadow: var(--shadow);
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.94rem;
  color: #fff;
  padding: 0.55em 0.85em;
  border-radius: 8px;
  transition: 0.2s;
  position: relative;
}
.site-header.solid .nav__links a {
  color: var(--ww-line);
}
.nav__links a:hover {
  background: rgba(255, 255, 255, 0.14);
}
.site-header.solid .nav__links a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav__links a.is-active {
  color: var(--ww-yellow);
}
.site-header.solid .nav__links a.is-active {
  color: var(--ww-yellow);
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0.85em;
  right: 0.85em;
  bottom: 0.12em;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
}
.site-header.solid .lang {
  border-color: rgba(255, 255, 255, 0.3);
}
.lang button {
  background: none;
  border: 0;
  padding: 0.42em 0.72em;
  color: #fff;
  transition: 0.18s;
}
.site-header.solid .lang button {
  color: var(--ww-line);
}
.lang button.is-active {
  background: var(--ww-yellow);
  color: var(--ww-purple);
}
.nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: 0.25s;
  border-radius: 2px;
}
.site-header.solid .nav__burger span {
  background: var(--ww-line);
}

@media (max-width: 1000px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--ww-deep);
    padding: 14px 24px 28px;
    transform: translateY(-140%);
    transition: 0.4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.open {
    transform: translateY(0);
  }
  .nav__links a {
    color: #fff !important;
    padding: 1em 0.4em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }
  .nav__burger {
    display: block;
    order: 3;
  }
  .nav__cta .btn {
    display: none;
  }
}

/* ----- HERO ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 64px;
  overflow: hidden;
  background: var(--ww-deep);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(20, 12, 32, 0.94) 0%,
      rgba(20, 12, 32, 0.72) 38%,
      rgba(20, 12, 32, 0.28) 72%,
      rgba(20, 12, 32, 0.5) 100%
    ),
    linear-gradient(0deg, rgba(20, 12, 32, 0.7) 0%, transparent 40%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero .eyebrow {
  color: var(--ww-yellow);
}
.hero .eyebrow::before {
  background: var(--ww-red);
}
.hero h1 {
  color: #fff;
  margin-bottom: 0.3em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero h1 em {
  color: var(--ww-yellow);
  font-style: normal;
}
.hero__sub {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero__mini {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
}
.hero__mini div {
  color: #fff;
}
.hero__mini b {
  font-family: var(--font-head);
  font-size: 1.5rem;
  display: block;
  color: var(--ww-yellow);
  line-height: 1;
}
.hero__mini span {
  font-size: 0.86rem;
  color: var(--ink-softer);
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--ink-softer);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-head);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--ww-yellow), transparent);
  animation: scrolldot 2s ease-in-out infinite;
}

/* rotating seal badge */
.seal {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
}
.seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}
.seal text {
  font-family: var(--font-head);
  font-size: 11.2px;
  letter-spacing: 2.6px;
  fill: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
}
.seal__core {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ww-purple);
  font-size: 2rem;
}
@media (max-width: 1100px) {
  .seal {
    display: none;
  }
}

/* ----- Marquee strip -------------------------------------------------- */
.marquee {
  background: var(--ww-yellow);
  color: var(--ww-purple);
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.marquee__track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  padding: 14px 0;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 42px;
}
.marquee__track span::after {
  content: "✦";
  color: var(--ww-red);
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ----- Stats band ----------------------------------------------------- */
.stats {
  background: var(--ww-deep-2);
  color: #fff;
}
.stats .wrap {
  display: grid;
  gap: 14px 24px;
  padding-block: clamp(40px, 5vw, 64px);
}
@media (min-width: 760px) {
  .stats .wrap {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  text-align: center;
  padding: 10px;
  position: relative;
}
@media (min-width: 760px) {
  .stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 14%;
    height: 72%;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
  }
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 700;
  color: var(--ww-yellow);
  line-height: 1;
}
.stat__label {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ----- Intro split + numbered features -------------------------------- */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
@media (min-width: 920px) {
  .split {
    grid-template-columns: 1fr 1.05fr;
  }
  .split--rev > :first-child {
    order: 2;
  }
}
.media-stack {
  position: relative;
}
.media-stack img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.media-stack .media-main {
  aspect-ratio: 4/5;
  object-fit: cover;
}
.media-stack .media-float {
  position: absolute;
  width: 46%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  right: -6%;
  bottom: -7%;
  animation: floaty 6s ease-in-out infinite;
}
.media-badge {
  position: absolute;
  left: -5%;
  top: 8%;
  background: var(--ww-yellow);
  color: var(--ww-purple);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: var(--shadow-gold);
  font-family: var(--font-head);
  animation: floaty 7s ease-in-out infinite reverse;
}
.media-badge b {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}
.media-badge span {
  font-size: 0.8rem;
}

.numbered {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
@media (min-width: 560px) {
  .numbered {
    grid-template-columns: 1fr 1fr;
  }
}
.numbered__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px;
  border-radius: var(--radius);
  background: var(--ww-bg-2);
  border: 1px solid var(--ww-line);
  transition: 0.3s var(--ease);
}
.section--dark .numbered__item {
  background: var(--ww-deep-2);
  border-color: var(--ww-deep-3);
}
.numbered__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.numbered__n {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  background: var(--ww-purple);
  color: var(--ww-yellow);
}
.section--dark .numbered__n {
  background: var(--ww-yellow);
  color: var(--ww-purple);
}
.numbered__item h3 {
  font-size: 1.02rem;
  margin: 0 0 0.25em;
}
.numbered__item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ww-purple-60);
}
.section--dark .numbered__item p {
  color: var(--ink-soft);
}

/* ----- Ornament divider (Uzbek-tile inspired, brand colors) ----------- */
.ornament {
  height: 14px;
  background: repeating-linear-gradient(
    135deg,
    var(--ww-yellow) 0 14px,
    var(--ww-red) 14px 28px,
    var(--ww-purple) 28px 42px
  );
  opacity: 0.9;
}

/* ----- Product showcase ----------------------------------------------- */
.prod-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.prod-head .lead {
  margin: 0;
}
.pcard {
  background: #fff;
  border: 1px solid var(--ww-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.4s var(--ease);
  position: relative;
}
.pcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pcard__media {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.pcard:hover .pcard__media img {
  transform: scale(1.08);
}
.pcard__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4em 0.8em;
  border-radius: 999px;
  background: rgba(26, 16, 41, 0.78);
  color: #fff;
  backdrop-filter: blur(4px);
}
.pcard__cat.is-dried {
  background: rgba(232, 65, 44, 0.9);
}
.pcard__cat.is-veg {
  background: rgba(58, 36, 86, 0.86);
}
.pcard__body {
  padding: 20px 22px 24px;
}
.pcard__body h3 {
  margin: 0 0 0.25em;
}
.pcard__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ww-purple-60);
}
.pcard__code {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ww-red);
}

/* horizontal scroll rail for many items */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  margin-inline: calc(-1 * clamp(20px, 4vw, 48px));
  padding-inline: clamp(20px, 4vw, 48px);
}
.rail > * {
  scroll-snap-align: start;
}
.rail::-webkit-scrollbar {
  height: 8px;
}
.rail::-webkit-scrollbar-thumb {
  background: var(--ww-line);
  border-radius: 999px;
}

/* ----- Origin band (dark, heritage imagery) --------------------------- */
.origin {
  position: relative;
}
.origin__imgs {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.3fr 0.7fr;
}
.origin__imgs img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.origin__imgs .tall {
  grid-row: span 2;
}

/* ----- Seasonality calendar ------------------------------------------ */
.season {
  overflow-x: auto;
  border: 1px solid var(--ww-line);
  border-radius: var(--radius);
  background: #fff;
}
.season table {
  border-collapse: collapse;
  width: 100%;
  min-width: 820px;
  font-size: 0.86rem;
}
.season th,
.season td {
  padding: 11px 6px;
  text-align: center;
  border-bottom: 1px solid var(--ww-line);
}
.season thead th {
  background: var(--ww-bg-2);
  font-family: var(--font-head);
  color: var(--ww-purple);
  font-weight: 600;
  position: sticky;
  top: 0;
}
.season tbody th {
  text-align: left;
  padding-left: 18px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ww-purple);
  background: #fff;
  position: sticky;
  left: 0;
}
.season td {
  color: transparent;
}
.season td.on {
  position: relative;
}
.season td.on::after {
  content: "";
  position: absolute;
  inset: 6px 3px;
  border-radius: 7px;
  background: linear-gradient(120deg, var(--ww-yellow), #f0a93a);
}
.season td.peak::after {
  background: linear-gradient(120deg, var(--ww-red), #c41f3a);
}
.season__key {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ww-purple-60);
}
.season__key i {
  display: inline-block;
  width: 18px;
  height: 13px;
  border-radius: 4px;
  margin-right: 7px;
  vertical-align: middle;
}
.key-on {
  background: linear-gradient(120deg, var(--ww-yellow), #f0a93a);
}
.key-peak {
  background: linear-gradient(120deg, var(--ww-red), #c41f3a);
}

/* ----- Feature columns / certs / steps -------------------------------- */
.feature {
  text-align: left;
}
.feature__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ww-yellow-soft);
  color: var(--ww-purple);
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.section--dark .feature__icon {
  background: var(--ww-deep-3);
  color: var(--ww-yellow);
}
.feature h3 {
  margin-bottom: 0.3em;
}
.feature p {
  color: var(--ww-purple-60);
  margin: 0;
}
.section--dark .feature p {
  color: var(--ink-soft);
}

.certs {
  display: grid;
  gap: 18px;
}
@media (min-width: 680px) {
  .certs {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid var(--ww-line);
  border-radius: var(--radius);
  background: #fff;
  transition: 0.3s var(--ease);
}
.cert:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.cert__badge {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--ww-purple);
  color: var(--ww-yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.66rem;
  text-align: center;
  line-height: 1.1;
  padding: 4px;
}
.cert h3 {
  font-size: 1.08rem;
  margin-bottom: 0.25em;
}
.cert p {
  margin: 0;
  color: var(--ww-purple-60);
  font-size: 0.94rem;
}

.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--ww-line);
  border-radius: var(--radius);
  background: #fff;
  transition: 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ww-purple);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ww-yellow);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1.08rem;
}
.step p {
  margin: 0;
  color: var(--ww-purple-60);
  font-size: 0.92rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill-list li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ww-purple);
  padding: 0.6em 1.2em;
  border: 1px solid var(--ww-line);
  border-radius: 999px;
  background: #fff;
  transition: 0.25s var(--ease);
}
.pill-list li:hover {
  border-color: var(--ww-yellow);
  transform: translateY(-2px);
}
.pill-list li b {
  color: var(--ww-red);
}
.section--dark .pill-list li {
  background: var(--ww-deep-2);
  border-color: var(--ww-deep-3);
  color: #fff;
}

/* ----- Page hero (interior) ------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--ww-deep);
  color: #fff;
  padding-top: 140px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 12, 32, 0.95),
    rgba(20, 12, 32, 0.55)
  );
}
.page-hero .wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  max-width: 880px;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 0.3em;
}
.page-hero .eyebrow {
  color: var(--ww-yellow);
}
.page-hero .eyebrow::before {
  background: var(--ww-red);
}
.page-hero .lead {
  color: var(--ink-soft);
}

/* ----- CTA / contact band -------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--ww-purple), #52337a);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 197, 68, 0.3), transparent 70%);
}
.cta-band h2 {
  color: #fff;
  margin: 0 0 0.4em;
}
.cta-band p {
  color: var(--ink-soft);
  margin: 0 auto 28px;
  max-width: 56ch;
}

.contact-band {
  background: var(--ww-bg-2);
  color: #fff;
}
.contact-band .split {
  align-items: center;
}
.social {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}
.social a {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ww-deep-2);
  border: 1px solid var(--ww-deep-3);
  color: #fff;
  transition: 0.3s var(--ease);
}
.social a:hover {
  background: var(--ww-yellow);
  color: var(--ww-purple);
  transform: translateY(-3px);
}
.social svg {
  width: 22px;
  height: 22px;
}

/* ----- Forms ---------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--ww-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.form-card--dark {
  background: var(--ww-deep-2);
  border-color: var(--ww-deep-3);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ww-purple);
  margin-bottom: 7px;
}
.form-card--dark .field label {
  color: #fff;
}
.field label .req {
  color: var(--ww-red);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ww-ink);
  padding: 0.85em 1.1em;
  border: 1.5px solid var(--ww-line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: 0.18s;
}
.form-card--dark .field input,
.form-card--dark .field select,
.form-card--dark .field textarea {
  background: var(--ww-deep);
  border-color: var(--ww-deep-3);
  color: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ww-yellow);
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 197, 68, 0.28);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field-row {
  display: grid;
  gap: 18px;
}
@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-note {
  font-size: 0.84rem;
  color: var(--ww-purple-60);
  margin-top: 10px;
}
.form-card--dark .form-note {
  color: var(--ink-softer);
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.92rem;
  display: none;
}
.form-status.ok {
  display: block;
  background: #e8f7ee;
  color: #137a3e;
  border: 1px solid #b6e6c8;
}
.form-status.err {
  display: block;
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c2bd;
}

.rfq {
  display: grid;
  gap: 40px;
}
@media (min-width: 920px) {
  .rfq {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
.contact-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}
.contact-item {
  padding: 20px 22px;
  border: 1px solid var(--ww-line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.2em;
}
.contact-item a,
.contact-item p {
  color: var(--ww-purple-60);
  margin: 0;
  word-break: break-word;
}
.contact-item a:hover {
  color: var(--ww-red);
}

/* ----- Footer --------------------------------------------------------- */
.site-footer {
  background: var(--ww-deep);
  color: var(--ink-soft);
}
.site-footer .wrap {
  padding-block: clamp(48px, 6vw, 72px) 28px;
}
.footer-grid {
  display: grid;
  gap: 34px;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.site-footer a {
  color: var(--ink-soft);
  display: block;
  padding: 4px 0;
  transition: 0.2s;
}
.site-footer a:hover {
  color: var(--ww-yellow);
}
.footer-brand img {
  height: 80px;
  margin-bottom: 16px;
  padding: 8px 10px;
  border-radius: 12px;
}
.footer-brand p {
  font-size: 0.92rem;
  max-width: 38ch;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-softer);
}

/* ----- Logistics: service cards --------------------------------------- */
.svc-grid{ display:grid; gap:22px; }
@media(min-width:640px){ .svc-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1040px){ .svc-grid{ grid-template-columns:repeat(4,1fr); } }
.svc{ background:#fff; border:1px solid var(--ww-line); border-radius:var(--radius-lg); padding:30px 26px; transition:.35s var(--ease); position:relative; overflow:hidden; display:flex; flex-direction:column; }
.svc::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:linear-gradient(90deg,var(--ww-yellow),var(--ww-red)); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease); }
.svc:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.svc:hover::after{ transform:scaleX(1); }
.svc__icon{ width:64px; height:64px; border-radius:18px; display:grid; place-items:center; background:var(--ww-purple); color:var(--ww-yellow); margin-bottom:20px; transition:.35s var(--ease); }
.svc:hover .svc__icon{ background:var(--ww-yellow); color:var(--ww-purple); transform:rotate(-6deg); }
.svc__icon svg{ width:34px; height:34px; }
.svc h3{ font-size:1.15rem; margin-bottom:.4em; }
.svc > p{ color:var(--ww-purple-60); font-size:.94rem; margin:0 0 18px; flex:1; }
.svc__meta{ border-top:1px solid var(--ww-line); padding-top:14px; display:grid; gap:7px; }
.svc__row{ display:flex; justify-content:space-between; gap:10px; font-size:.84rem; align-items:baseline; }
.svc__row span{ color:var(--ww-purple-60); }
.svc__row b{ font-family:var(--font-head); color:var(--ww-purple); font-weight:600; text-align:right; }

/* documentation checklist (on dark section) */
.doc-grid{ display:grid; gap:14px; }
@media(min-width:620px){ .doc-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .doc-grid{ grid-template-columns:repeat(3,1fr); } }
.doc{ display:flex; gap:14px; align-items:flex-start; padding:18px 20px; border-radius:var(--radius); background:var(--ww-deep-2); border:1px solid var(--ww-deep-3); transition:.3s var(--ease); }
.doc:hover{ transform:translateY(-3px); border-color:var(--ww-yellow); }
.doc__check{ flex:0 0 auto; width:30px; height:30px; border-radius:9px; background:var(--ww-yellow); color:var(--ww-purple); display:grid; place-items:center; }
.doc__check svg{ width:18px; height:18px; }
.doc h4{ color:#fff; font-family:var(--font-head); font-size:.98rem; margin:0 0 .2em; text-transform:none; letter-spacing:0; font-weight:600; }
.doc p{ color:var(--ink-soft); font-size:.82rem; margin:0; }

/* logistics route ribbon */
.route{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; font-family:var(--font-head); font-weight:600; color:var(--ww-purple); margin-top:8px; }
.route span{ display:inline-flex; align-items:center; gap:10px; }
.route .node{ padding:.5em 1.1em; border:1px solid var(--ww-line); border-radius:999px; background:#fff; }
.route .arrow{ color:var(--ww-red); }
.section--dark .route{ color:#fff; }
.section--dark .route .node{ background:var(--ww-deep-2); border-color:var(--ww-deep-3); }

/* ----- Motion --------------------------------------------------------- */
@keyframes kenburns {
  from {
    transform: scale(1.06) translate(0, 0);
  }
  to {
    transform: scale(1.16) translate(-1.5%, -1.5%);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes scrolldot {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* hero load-in (staggered) */
.hero__inner > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn 0.9s var(--ease) forwards;
}
.hero__inner > *:nth-child(1) {
  animation-delay: 0.15s;
}
.hero__inner > *:nth-child(2) {
  animation-delay: 0.3s;
}
.hero__inner > *:nth-child(3) {
  animation-delay: 0.45s;
}
.hero__inner > *:nth-child(4) {
  animation-delay: 0.6s;
}
.hero__inner > *:nth-child(5) {
  animation-delay: 0.75s;
}
@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* scroll reveal variants */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-l {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal-l.in {
  opacity: 1;
  transform: none;
}
.reveal-r {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal-r.in {
  opacity: 1;
  transform: none;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal-scale.in {
  opacity: 1;
  transform: none;
}
[data-stagger].in > * {
  animation: heroIn 0.7s var(--ease) backwards;
}
[data-stagger].in > *:nth-child(1) {
  animation-delay: 0.05s;
}
[data-stagger].in > *:nth-child(2) {
  animation-delay: 0.13s;
}
[data-stagger].in > *:nth-child(3) {
  animation-delay: 0.21s;
}
[data-stagger].in > *:nth-child(4) {
  animation-delay: 0.29s;
}
[data-stagger].in > *:nth-child(5) {
  animation-delay: 0.37s;
}
[data-stagger].in > *:nth-child(6) {
  animation-delay: 0.45s;
}
[data-stagger].in > *:nth-child(7) {
  animation-delay: 0.53s;
}
[data-stagger].in > *:nth-child(8) {
  animation-delay: 0.61s;
}

/* ----- Page transitions (multi-page fade) ----------------------------- */
@keyframes pageIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pageOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: no-preference) {
  main { animation: pageIn 0.5s var(--ease) both; }
  body.is-leaving main { animation: pageOut 0.3s var(--ease) forwards; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
  }
  .reveal,
  .reveal-l,
  .reveal-r,
  .reveal-scale,
  .hero__inner > * {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
