/* ==========================================================================
   Abdus Sabur Foodstuff Trading LLC — Stylesheet
   Structure: 1 Tokens · 2 Base · 3 Utilities · 4 Buttons · 5 Loader
   6 Header · 7 Mobile menu · 8 Hero · 9 Pillars · 10 Sections
   11 About · 12 Products · 13 Trade · 14 Services · 15 Why · 16 Quality
   17 CTA · 18 Contact · 19 Footer · 20 WhatsApp/Toast · 21 Reveal · 22 Responsive
   ========================================================================== */

/* 1 ─ TOKENS ------------------------------------------------------------- */
:root {
  /* Brand colours (from logo) */
  --green: #0B5D2A;
  --green-deep: #063B1D;
  --green-mid: #198A3D;
  --gold: #D4A017;
  --gold-deep: #B8860B;
  --ivory: #F8F7F2;
  --white: #FFFFFF;
  --ink: #101512;

  /* Derived */
  --ink-2: #3E4842;
  --ink-3: #66706A;
  --line: rgba(16, 21, 18, .10);
  --line-light: rgba(255, 255, 255, .14);
  --green-night: #04291A;
  --gold-grad: linear-gradient(110deg, #B8860B 0%, #D4A017 35%, #E9C45A 55%, #D4A017 75%, #B8860B 100%);

  /* Type */
  --f-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 84px;

  /* Shape & depth */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 59, 29, .06), 0 4px 14px rgba(6, 59, 29, .05);
  --shadow-md: 0 2px 6px rgba(6, 59, 29, .06), 0 18px 40px -12px rgba(6, 59, 29, .18);
  --shadow-lg: 0 30px 70px -20px rgba(6, 40, 20, .35);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2 ─ BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
body.menu-open { overflow: hidden; }

/* 3 ─ UTILITIES ---------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--lg { width: 32px; height: 32px; stroke-width: 1.3; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--gold); color: var(--ink); padding: 10px 18px; border-radius: var(--r-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.text-gold {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShift 8s ease-in-out infinite;
}
@keyframes goldShift { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Image frame with branded fallback (shown when no photo can load) */
.media { position: relative; overflow: hidden; background: var(--green-deep); }
.media img { width: 100%; height: 100%; object-fit: cover; }
/* Shown when a photo is missing: branded panel with produce line art, never a blank box */
.media--fallback { background:
  url("assets/images/placeholder-produce.svg") center / min(42%, 190px) no-repeat,
  radial-gradient(120% 90% at 20% 10%, rgba(212,160,23,.28), transparent 55%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px),
  linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%); }
.media--fallback img { opacity: 0; }

/* Section headings */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-size: .95rem; font-weight: 700;
  color: var(--green); margin-bottom: 20px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.kicker--light { color: var(--gold); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
.h2--light { color: var(--white); }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; color: var(--green);
  padding-bottom: 4px; position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(.3); transform-origin: left; transition: transform .5s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .icon, .btn .icon { transition: transform .4s var(--ease-out); }
.link-arrow:hover .icon, .btn:hover .icon { transform: translateX(4px); }

/* 4 ─ BUTTONS ------------------------------------------------------------ */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 28px;
  font-family: var(--f-head); font-size: 1rem; font-weight: 700; letter-spacing: .005em;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-position .6s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn--sm { --h: 46px; padding: 0 22px; font-size: .94rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); background-size: 220% 100%; background-position: 0 0; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(212,160,23,.6); }
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(212,160,23,.75); }
.btn--green { background: linear-gradient(110deg, var(--green-deep), var(--green) 50%, var(--green-mid)); background-size: 220% 100%; color: var(--white); box-shadow: 0 10px 28px -12px rgba(6,59,29,.55); }
.btn--green:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn--ghost-light { color: var(--white); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--white); background: rgba(212,160,23,.12); transform: translateY(-2px); }

/* 5 ─ LOADER ------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--ivory); transition: opacity .7s var(--ease), visibility .7s;
}
.loader__inner { display: grid; justify-items: center; gap: 26px; }
.loader__mark { width: 128px; animation: loaderIn 1s var(--ease-out) both; }
.loader__bar { width: 128px; height: 2px; background: rgba(11,93,42,.12); overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: loaderBar 1.4s var(--ease) forwards; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes loaderBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body.is-loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }

/* 6 ─ HEADER ------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease), border-color .45s;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header__inner { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__plate {
  display: grid; place-items: center; width: 58px; height: 46px;
  background: var(--ivory); border-radius: 10px; padding: 4px 5px;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.35);
  transition: box-shadow .4s, background-color .4s;
}
.brand__plate img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 1.08rem; letter-spacing: .02em; text-transform: uppercase; color: var(--white); transition: color .4s; }
.brand__gold { color: var(--gold); }
.brand__sub { font-size: .74rem; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.72); transition: color .4s; margin-top: 3px; }

.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--f-head); font-size: .95rem; font-weight: 600;
  color: rgba(255,255,255,.86); transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header.is-scrolled {
  --header-h: 72px;
  background: rgba(248,247,242,.9);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(6,59,29,.35);
}
.header.is-scrolled .brand__plate { box-shadow: none; background: transparent; }
.header.is-scrolled .brand__name { color: var(--green); }
.header.is-scrolled .brand__gold { color: var(--gold-deep); }
.header.is-scrolled .brand__sub { color: var(--ink-3); }
.header.is-scrolled .nav__link { color: var(--ink-2); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--green); }

.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 50%; z-index: 120; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .45s var(--ease-out), background-color .3s, top .45s var(--ease-out); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.header.is-scrolled .burger span { background: var(--green-deep); }
.burger[aria-expanded="true"] span { background: var(--white); }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* 7 ─ MOBILE MENU -------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: radial-gradient(120% 70% at 100% 0%, rgba(212,160,23,.18), transparent 60%), var(--green-deep);
  display: flex; flex-direction: column;
  clip-path: circle(0 at calc(100% - 44px) 42px);
  transition: clip-path .7s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu__inner { margin-top: auto; padding: 110px var(--gutter) 40px; display: grid; gap: 34px; }
.mobile-menu__list a {
  display: block; padding: 10px 0;
  font-family: var(--f-head); font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 700; letter-spacing: -.02em;
  color: var(--white); border-bottom: 1px solid var(--line-light);
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease-out), color .3s;
}
.mobile-menu__list a:hover { color: var(--gold); }
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .15s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .25s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .3s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .35s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .4s; }
.mobile-menu__foot { color: rgba(255,255,255,.6); font-size: .95rem; }
body.menu-open .header { z-index: 130; background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .brand__name { color: var(--white); }
body.menu-open .brand__gold { color: var(--gold); }
body.menu-open .brand__sub { color: rgba(255,255,255,.7); }
body.menu-open .brand__plate { background: var(--ivory); }

/* 8 ─ HERO --------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: var(--white);
  padding: calc(var(--header-h) + 60px) 0 150px;
  isolation: isolate; overflow: hidden; background: var(--green-deep);
}
.hero__media { position: absolute; inset: -18vh 0 0; z-index: -4; }
.hero__media img { transform: scale(1.06); transition: transform 2.4s var(--ease-out); will-change: transform; }
body.is-loaded .hero__media img { transform: scale(1) translateY(var(--parallax, 0px)); }
body.is-settled .hero__media img { transition: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(90deg, rgba(4,41,26,.96) 0%, rgba(6,59,29,.86) 38%, rgba(6,59,29,.45) 70%, rgba(6,59,29,.55) 100%),
    linear-gradient(0deg, rgba(4,41,26,.85) 0%, transparent 40%);
}
.hero__glow {
  position: absolute; z-index: -2; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  right: -18vw; top: -30vw;
  background: radial-gradient(closest-side, rgba(212,160,23,.28), rgba(212,160,23,.08) 50%, transparent);
  animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-4vw, 3vw) scale(1.08); opacity: .8; } }
.hero__grain {
  position: absolute; inset: -50%; z-index: -1; opacity: .09; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: end; }
.hero__content { max-width: 860px; }
.hero__place {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; letter-spacing: .04em;
  color: var(--gold); margin-bottom: 30px;
}
.hero__rule { display: block; width: 56px; height: 1.5px; background: var(--gold); transform-origin: left; }
.hero__title { color: var(--white); font-size: clamp(2.6rem, 5.4vw, 5.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; margin-bottom: 30px; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }
.hero__lead { max-width: 600px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.7; color: rgba(255,255,255,.82); margin-bottom: 42px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: none; margin-top: 26px; font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.7); }

.hero__panel {
  padding: 28px 28px 10px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.hero__panel-title { font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--gold); margin-bottom: 8px; }
.cycle li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.cycle li:first-child { border-top: 0; }
.cycle .icon { color: var(--gold); margin-top: 2px; }
.cycle strong { display: block; font-family: var(--f-head); color: var(--white); font-size: 1.02rem; }
.cycle span { display: block; font-size: .9rem; color: rgba(255,255,255,.66); line-height: 1.5; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 96px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(255,255,255,.45); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero entrance — single orchestrated sequence after loader */
.js .hero__rule { transform: scaleX(0); transition: transform 1.2s var(--ease-out) .35s; }
.js .hero__place, .js .hero__lead, .js .hero__actions, .js .hero__trust, .js .hero__panel, .js .hero__scroll { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.js .hero__line > span { transform: translateY(105%); transition: transform 1.3s var(--ease-out); }
.js .hero__line:nth-child(2) > span { transition-delay: .1s; }
.js .hero__line:nth-child(3) > span { transition-delay: .2s; }
body.is-loaded .hero__rule { transform: scaleX(1); }
body.is-loaded .hero__place { opacity: 1; transform: none; transition-delay: .1s; }
body.is-loaded .hero__line > span { transform: none; }
body.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: .45s; }
body.is-loaded .hero__actions { opacity: 1; transform: none; transition-delay: .6s; }
body.is-loaded .hero__trust { opacity: 1; transform: none; transition-delay: .75s; }
body.is-loaded .hero__panel { opacity: 1; transform: none; transition-delay: .85s; }
body.is-loaded .hero__scroll { opacity: 1; transform: none; transition-delay: 1.2s; }
.hero__panel { animation: float 9s ease-in-out 2.4s infinite; }
@keyframes float { 50% { translate: 0 -8px; } }

/* 9 ─ PILLARS ------------------------------------------------------------ */
.pillars { position: relative; z-index: 3; margin-top: -76px; }
.pillars__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
}
.pillars__grid::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); }
.pillar { padding: 40px 34px 38px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar .icon { color: var(--gold-deep); margin-bottom: 22px; }
.pillar__title { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; color: var(--green-deep); letter-spacing: -.01em; }
.pillar p { font-size: .96rem; line-height: 1.6; color: var(--ink-3); }

/* 10 ─ SECTIONS ---------------------------------------------------------- */
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head__text { max-width: 520px; justify-self: end; color: var(--ink-3); }

/* 11 ─ ABOUT ------------------------------------------------------------- */
.about { padding-top: calc(var(--section) + 10px); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; padding: 0 0 48px 0; }
.about__visual::before {
  content: ""; position: absolute; top: 40px; left: 40px; right: -26px; bottom: 16px;
  border: 1.5px solid var(--gold); border-radius: var(--r-lg); z-index: 0; opacity: .7;
}
.about__frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.about__frame img { transform: translateY(var(--parallax, 0px)) scale(1.08); }
.about__badge {
  position: absolute; z-index: 2; left: -28px; bottom: 0;
  display: flex; align-items: center; gap: 16px; padding: 18px 24px 18px 18px; max-width: 330px;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-md);
}
.about__badge img { width: 64px; height: auto; }
.about__badge strong { display: block; font-family: var(--f-head); color: var(--green-deep); font-size: 1.02rem; }
.about__badge span { display: block; font-size: .88rem; color: var(--ink-3); line-height: 1.45; }
.about__content { position: relative; padding-left: 40px; }
.about__content::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), rgba(212,160,23,0)); }
.about__content .h2 { margin-bottom: 30px; }
.about__body { display: grid; gap: 18px; margin-bottom: 34px; max-width: 580px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 38px; }
.checks li { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; color: var(--green-deep); }
.checks .icon { width: 28px; height: 28px; padding: 5px; stroke-width: 2.2; border-radius: 50%; color: var(--white); background: var(--green); }

/* 12 ─ PRODUCTS ---------------------------------------------------------- */
.products { background: var(--white); }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--ivory); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.product__media { aspect-ratio: 4 / 3; }
.product__media img { transition: transform 1.1s var(--ease-out); }
.product__body { position: relative; padding: 30px 30px 28px; display: flex; flex-direction: column; flex: 1; }
.product__body::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.product__num { font-family: var(--f-head); font-weight: 800; font-size: .95rem; color: var(--gold-deep); margin-bottom: 10px; }
.product__title { font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.product__items { font-family: var(--f-head); font-weight: 600; color: var(--green); font-size: .95rem; line-height: 1.5; margin-bottom: 8px; }
.product__body p { font-size: .98rem; line-height: 1.6; color: var(--ink-3); margin-bottom: 24px; }
.product__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; color: var(--green); }
.product__cta .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .4s var(--ease-out); }
.product__link:hover, .product__link:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product__link:hover .product__media img, .product__link:focus-visible .product__media img { transform: scale(1.06); }
.product__link:hover .product__body::before, .product__link:focus-visible .product__body::before { transform: scaleX(1); }
.product__link:hover .product__cta .icon { transform: translateX(6px); }

/* 13 ─ TRADE ------------------------------------------------------------- */
.trade { background: var(--ivory); overflow: hidden; }
.trade__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.trade__intro .h2 { margin-bottom: 26px; }
.trade__intro p:last-child { max-width: 520px; color: var(--ink-3); }
.globe { position: relative; width: min(100%, 460px); justify-self: center; }
.globe__svg { width: 100%; height: auto; overflow: visible; }
.globe__svg .globe__routes path { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2.4s var(--ease-out); }
.globe.is-visible .globe__routes path { stroke-dashoffset: 0; }
.globe.is-visible .globe__routes path:nth-child(2) { transition-delay: .3s; }
.globe.is-visible .globe__routes path:nth-child(3) { transition-delay: .6s; }
.globe.is-visible .globe__routes path:nth-child(4) { transition-delay: .9s; }
.globe__pulse { transform-origin: 246px 214px; animation: pulse 2.8s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.globe__label {
  position: absolute; left: 58%; top: 43%; transform: translate(10px, -130%);
  padding: 6px 12px; border-radius: 999px; font-family: var(--f-head); font-size: .85rem; font-weight: 700;
  background: var(--green-deep); color: var(--white); white-space: nowrap; box-shadow: var(--shadow-sm);
}

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: flow; }
.flow::before, .flow::after { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; }
.flow::before { background: rgba(11,93,42,.14); }
.flow::after { background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-out) .2s; }
.flow.is-visible::after { transform: scaleX(1); }
.flow__step { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.flow__node {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 50%; background: var(--white); color: var(--green);
  border: 1.5px solid rgba(11,93,42,.2); box-shadow: var(--shadow-sm);
  transition: background-color .5s, color .5s, border-color .5s;
}
.flow.is-visible .flow__node { border-color: var(--gold); }
.flow__node--end { background: var(--green); color: var(--gold); border-color: var(--green); }
.flow__step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--green-deep); }
.flow__step p { font-size: .94rem; line-height: 1.55; color: var(--ink-3); max-width: 200px; }

/* 14 ─ SERVICES ---------------------------------------------------------- */
.services { background: var(--white); }
.services__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.services__intro { position: sticky; top: 120px; }
.services__intro .h2 { margin-bottom: 24px; }
.services__intro p { color: var(--ink-3); margin-bottom: 36px; max-width: 440px; }
.services__list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service {
  position: relative; padding: 38px 32px 36px; border-radius: var(--r-md);
  background: var(--ivory); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .5s;
}
.services__list .service:nth-child(even) { transform: translateY(48px); }
.service::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.service:hover { box-shadow: var(--shadow-md); background: var(--white); }
.service:hover::after { transform: scaleX(1); }
.service__num { position: absolute; top: 24px; right: 28px; font-family: var(--f-head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: rgba(11,93,42,.08); }
.service__icon { color: var(--gold-deep); margin-bottom: 64px; }
.service h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; color: var(--green-deep); }
.service p { font-size: .98rem; line-height: 1.6; color: var(--ink-3); }

/* 15 ─ WHY --------------------------------------------------------------- */
.why { position: relative; background: var(--green-deep); color: rgba(255,255,255,.72); isolation: isolate; overflow: hidden; }
.why__bg { position: absolute; inset: 0; z-index: -1; background: transparent; }
.why__bg img { opacity: .12; filter: grayscale(1) contrast(1.1); }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 100% 0%, rgba(212,160,23,.16), transparent 60%), linear-gradient(180deg, rgba(6,59,29,.4), rgba(4,41,26,.9)); }
.why__inner { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(48px, 7vw, 110px); }
.why__head .h2 { margin-bottom: 24px; }
.why__lead { font-size: 1.08rem; max-width: 380px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.reason { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--line-light); }
.reason:nth-child(even) { padding: 36px 0 36px 32px; border-left: 1px solid var(--line-light); }
.reason .icon { color: var(--gold); margin-bottom: 20px; }
.reason h3 { color: var(--white); font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.reason p { font-size: .97rem; line-height: 1.6; }

/* 16 ─ QUALITY ----------------------------------------------------------- */
.quality { background: var(--ivory); }
.quality__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.qword {
  font-family: var(--f-head); font-weight: 800; letter-spacing: -.05em; line-height: .98;
  font-size: clamp(3rem, 9vw, 8.4rem); color: var(--green-deep);
  border-bottom: 1px solid var(--line); padding: 10px 0 18px;
}
.qword--outline span { color: transparent; -webkit-text-stroke: 1.5px var(--green); }
.qword--gold span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quality__side { display: grid; gap: 32px; }
.quality__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.quality__text { font-family: var(--f-head); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; padding-left: 26px; border-left: 2px solid var(--gold); }

/* 17 ─ CTA --------------------------------------------------------------- */
.cta { padding-bottom: var(--section); background: var(--ivory); }
.cta__box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
  padding: clamp(44px, 6vw, 84px); border-radius: var(--r-lg);
  background: radial-gradient(90% 120% at 100% 100%, rgba(212,160,23,.32), transparent 55%), linear-gradient(135deg, var(--green) 0%, var(--green-deep) 70%);
  color: rgba(255,255,255,.8); box-shadow: var(--shadow-lg);
}
.cta__pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-radial-gradient(circle at 100% 100%, transparent 0 38px, rgba(212,160,23,.18) 38px 39px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta__title { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 16px; max-width: 700px; }
.cta__content p { font-size: 1.1rem; max-width: 560px; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; }
.cta__actions .btn { min-width: 230px; }

/* 18 ─ CONTACT ----------------------------------------------------------- */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.contact__info .h2 { margin-bottom: 20px; }
.contact__intro { color: var(--ink-3); margin-bottom: 40px; max-width: 440px; }
.contact__list { display: grid; gap: 4px; }
.contact__list li { display: flex; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ivory); color: var(--green); flex-shrink: 0; }
.contact__icon .icon { width: 20px; height: 20px; }
.contact__list div { display: grid; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
.contact__label { font-size: .84rem; color: var(--ink-3); }
.contact__list div > :last-child { font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.contact__list a:hover { color: var(--green); }

.form { padding: clamp(28px, 4vw, 48px); background: var(--ivory); border-radius: var(--r-lg); border: 1px solid var(--line); position: relative; }
.form::before { content: ""; position: absolute; top: 0; left: 48px; right: 48px; height: 3px; background: var(--gold-grad); border-radius: 0 0 3px 3px; }
.form__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 28px; color: var(--green-deep); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font-size: 1rem; background: var(--white); color: var(--ink);
  border: 1.5px solid rgba(16,21,18,.14); border-radius: var(--r-sm);
  transition: border-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field ::placeholder { color: #8A938D; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(11,93,42,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(25,138,61,.14); }
.field.has-error input, .field.has-error textarea { border-color: #B42318; }
.field__error { font-size: .86rem; color: #B42318; min-height: 0; }
.field__error:empty { display: none; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 28px; }
.form__note { font-size: .88rem; color: var(--ink-3); }
.form__status { margin-top: 18px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--green); }
.form__status.is-error { color: #B42318; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* 19 ─ FOOTER ------------------------------------------------------------ */
.footer { background: var(--green-night); color: rgba(255,255,255,.66); padding: 90px 0 36px; font-size: .96rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer__logo { display: inline-block; background: var(--ivory); padding: 14px 18px; border-radius: var(--r-md); margin-bottom: 24px; }
.footer__logo img { width: 170px; }
.footer__brand p { max-width: 340px; line-height: 1.7; margin-bottom: 26px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--white); transition: border-color .3s, color .3s, background-color .3s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials .icon { width: 19px; height: 19px; }
.footer__col h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { position: relative; transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__contact { overflow-wrap: anywhere; }
.footer__bottom { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; padding-top: 30px; font-size: .9rem; }
.footer__bottom strong { color: var(--white); font-family: var(--f-head); }

/* 20 ─ WHATSAPP / TOAST -------------------------------------------------- */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px;
  border-radius: 999px; background: #1E9E4A; color: var(--white);
  font-family: var(--f-head); font-weight: 700; font-size: .95rem;
  box-shadow: 0 14px 34px -10px rgba(6,59,29,.55);
  transition: transform .35s var(--ease-out), background-color .3s, opacity .4s;
}
.whatsapp .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.whatsapp:hover { transform: translateY(-3px); background: var(--green); }
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1E9E4A; animation: ring 3s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
body.menu-open .whatsapp { opacity: 0; pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 150; max-width: min(92vw, 460px);
  padding: 14px 20px; border-radius: var(--r-sm); background: var(--ink); color: var(--white); font-size: .95rem;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* 21 ─ REVEAL ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Clip the IMAGE, not the figure: a clip-path on the observed element makes its
   intersection area zero, so IntersectionObserver would never reveal it. */
.js .reveal--img { opacity: 1; transform: none; }
.js .reveal--img img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out) var(--d, 0s); }
.js .reveal--img.is-visible img { clip-path: inset(0 0 0 0); }
.js .services__list .service:nth-child(even).reveal { transform: translateY(76px); }
.js .services__list .service:nth-child(even).reveal.is-visible { transform: translateY(48px); }

/* 22 ─ RESPONSIVE -------------------------------------------------------- */
@media (min-width: 1680px) {
  :root { --container: 1400px; }
  body { font-size: 1.125rem; }
}
@media (max-width: 1240px) {
  .nav__link { padding: 10px 10px; font-size: .9rem; }
  .nav__link::after { left: 10px; right: 10px; }
  .header__inner { gap: 16px; }
  .hero__inner { grid-template-columns: 1fr 300px; gap: 40px; }
}
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .hero__trust { display: block; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .about__grid, .trade__top, .services__grid, .why__inner, .quality__grid, .contact__grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .section-head__text { justify-self: start; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about__visual { max-width: 560px; }
  .services__intro { position: static; }
  .services__list .service:nth-child(even), .js .services__list .service:nth-child(even).reveal.is-visible { transform: none; }
  .js .services__list .service:nth-child(even).reveal { transform: translateY(28px); }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 520px; }
  .flow::before, .flow::after { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; }
  .flow::after { transform: scaleY(0); transform-origin: top; }
  .flow.is-visible::after { transform: scaleY(1); }
  .flow__step { grid-template-columns: 64px 1fr; column-gap: 22px; text-align: left; justify-items: start; padding-bottom: 28px; }
  .flow__node { grid-row: span 2; margin-bottom: 0; }
  .flow__step h3 { align-self: end; margin-top: 8px; }
  .flow__step p { max-width: none; }
  .globe { max-width: 380px; }
  .cta__box { grid-template-columns: 1fr; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .quality__side { max-width: 640px; }
}
@media (max-width: 680px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .brand__plate { width: 50px; height: 40px; }
  .brand__name { font-size: .98rem; }
  .brand__sub { font-size: .7rem; }
  .hero { padding: calc(var(--header-h) + 48px) 0 140px; align-items: flex-end; }
  .hero__shade { background: linear-gradient(180deg, rgba(4,41,26,.7) 0%, rgba(6,59,29,.82) 45%, rgba(4,41,26,.97) 100%); }
  .hero__title { letter-spacing: -.035em; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .pillars { margin-top: -64px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); padding: 28px 26px; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; }
  .pillar:first-child { border-top: 0; }
  .pillar .icon { grid-row: span 2; margin: 2px 0 0; width: 30px; height: 30px; }
  .pillar__title { margin-bottom: 4px; }
  .about__content { padding-left: 24px; }
  .about__visual::before { left: 20px; right: -10px; top: 24px; }
  .about__badge { left: 0; right: 16px; max-width: none; }
  .checks { grid-template-columns: 1fr; }
  .products__grid, .services__list, .why__grid { grid-template-columns: 1fr; }
  .product__body { padding: 26px 24px 24px; }
  .service__icon { margin-bottom: 36px; }
  .reason, .reason:nth-child(even) { padding: 28px 0; border-left: 0; }
  .qword { padding: 6px 0 12px; }
  .cta__actions .btn { width: 100%; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .footer { padding-top: 70px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .whatsapp { right: 16px; bottom: 16px; width: 58px; padding: 0; justify-content: center; }
  .whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 380px) {
  .brand__sub { display: none; }
  .footer__top { grid-template-columns: 1fr; }
}

/* Reduced motion: remove non-essential movement, keep content visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__grain, .hero__glow, .globe__movers, .globe__pulse, .whatsapp::before { display: none; }
  .js .reveal, .js .reveal--img, .js .reveal--img img { opacity: 1; transform: none; clip-path: none; }
  .hero__media img { transform: none !important; }
}
