/* Hari Ganesh Pharma: site styles
   Design system: Trust & Authority + Conversion (ui-ux-pro-max), brand colours from the logo. */

/* ---------- Tokens ---------- */
:root {
  --navy: #172e72;
  --navy-900: #0d1b47;
  --blue: #0061a8;
  --blue-700: #004f8a;
  --blue-50: #eef4fb;
  --blue-100: #dbe8f6;
  --red: #dd1b26;
  --red-700: #b8141d;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --max: 1200px;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px -8px rgba(23, 46, 114, .18);
  --shadow-lg: 0 24px 48px -16px rgba(23, 46, 114, .25);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-base: 240ms;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font); font-size: var(--fs-base); line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-100); }
button { font: inherit; cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(1rem, .5rem + 2.5vw, 2rem); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.haze { position: relative; isolation: isolate; }
.haze::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 26rem at 12% 20%, rgba(0, 97, 168, .08), transparent 70%),
    radial-gradient(30rem 22rem at 88% 70%, rgba(221, 27, 38, .05), transparent 70%),
    radial-gradient(44rem 30rem at 70% 0%, rgba(23, 46, 114, .06), transparent 70%);
}
.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head h2 { font-size: var(--fs-2xl); margin-bottom: var(--space-4); }
.section-head p { font-size: var(--fs-md); color: var(--muted); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5); flex-wrap: wrap; }
.section-head--split > div { max-width: 46rem; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--blue); margin-bottom: var(--space-3); }
.kicker::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--red); }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff;
  padding: .75rem 1rem; border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: var(--fs-base); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-base), transform var(--t-fast);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(221, 27, 38, .55); }
.btn--primary:hover { background: var(--red-700); color: #fff; }
.btn--secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-50); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--wa { background: #1f9e55; color: #fff; }
.btn--wa:hover { background: #17843f; color: #fff; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .375rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15, 23, 42, .25); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__links { display: flex; align-items: center; gap: var(--space-1); list-style: none; padding: 0; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .875rem;
  color: var(--ink); font-weight: 500; text-decoration: none; border-radius: var(--r-sm); transition: color var(--t-fast), background-color var(--t-fast);
}
.nav__links a:hover { color: var(--blue); background: var(--blue-50); }
.nav__links a[aria-current="page"] { color: var(--blue); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: .875rem; right: .875rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--red); }
.nav .btn { margin-left: var(--space-3); min-height: 44px; padding-inline: 1.125rem; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: var(--r-sm);
  align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header, .site-header.is-scrolled { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand img { height: 36px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: var(--space-4) clamp(1rem, 4vw, 2rem) var(--space-6); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { width: 100%; min-height: 56px; font-size: var(--fs-lg); border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 .25rem; }
  .nav__links a[aria-current="page"]::after { left: auto; right: .25rem; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav .btn { margin: var(--space-5) 0 0; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 36rem at 85% 30%, var(--blue-50), transparent 70%),
    radial-gradient(rgba(23, 46, 114, .07) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem .375rem .5rem; margin-bottom: var(--space-5);
  border: 1px solid var(--blue-100); background: #fff; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--navy);
}
.hero__badge span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.hero__badge svg { width: 13px; height: 13px; }
.hero h1, .hero__title { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.03em; margin-bottom: var(--space-5); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 34rem; margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.checks { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); list-style: none; padding: 0; }
.checks li { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.checks svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

.molecule { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: end; }
.molecule canvas { width: 100%; height: 100%; }
.molecule__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.molecule.is-live .molecule__fallback { display: none; }
.molecule__caption {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: var(--fs-sm); color: var(--muted);
  text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-base);
}
.molecule__caption b { color: var(--navy); }
.molecule__caption:hover { color: var(--muted); border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.molecule__caption:hover b { color: var(--blue); }
.atom-key { display: inline-flex; gap: .375rem; margin-left: .25rem; }
.atom-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .molecule { justify-self: center; max-width: 420px; margin-top: calc(var(--space-5) * -1); }
}

/* ---------- Scroll-expansion hero ----------
   --p (0 to 1) is set by site.js from scroll position: the drum photo grows from a
   card to fill the screen while the title splits apart and the intro fades in.
   Without JavaScript, or with reduced motion, it shows the expanded state. */
.xhero { --p: 1; position: relative; background: var(--navy-900); margin-top: calc(var(--header-h) * -1); }
.js .xhero { height: 240vh; height: 240dvh; }
.xhero__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.xhero__bg { position: absolute; inset: -24px; z-index: -3; opacity: calc(1 - var(--p) * .85); }
.xhero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) saturate(1.1); transform: scale(1.06); }
.xhero__sticky::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 90% at 50% 40%, rgba(13, 27, 71, .35), rgba(13, 27, 71, .85));
}
.xhero__media {
  --w: 300px; --h: 400px; --edge: 14px;
  position: absolute; inset: 0; z-index: -1;
  clip-path: inset(
    calc((1 - var(--p)) * (50% - var(--h) / 2) + var(--p) * var(--edge))
    calc((1 - var(--p)) * (50% - var(--w) / 2) + var(--p) * var(--edge))
    round calc(20px - var(--p) * 6px));
  box-shadow: 0 0 60px rgba(0, 0, 0, .3);
}
.xhero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--p) * .12)); }
.xhero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 71, calc(var(--p) * .7)) 0%, rgba(13, 27, 71, 0) 65%),
    linear-gradient(180deg, rgba(13, 27, 71, calc(.55 - var(--p) * .15)) 0%, rgba(13, 27, 71, calc(.35 + var(--p) * .45)) 100%);
}
.xhero__title {
  display: flex; flex-direction: column; align-items: center; gap: .1em; margin: 0; padding: 0 1rem; text-align: center;
  color: #fff; font-size: clamp(2.5rem, 1.2rem + 6vw, 6rem); font-weight: 800; letter-spacing: -.035em; line-height: .95;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .3); opacity: calc(1 - var(--p) * 1.4); pointer-events: none;
}
.xhero__title span { display: block; will-change: transform; }
.xhero__title span:first-child { transform: translateX(calc(var(--p) * -70vw)); }
.xhero__title span:last-child { transform: translateX(calc(var(--p) * 70vw)); color: #b9d4f1; }
.xhero__meta {
  position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 4vw, 3rem);
  color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); font-weight: 600; opacity: calc(1 - var(--p) * 2); pointer-events: none;
}
.xhero__meta--top { top: calc(var(--header-h) + 1.5rem); }
.xhero__meta--bottom { bottom: 1.75rem; justify-content: center; }
.xhero__meta span:first-child { transform: translateX(calc(var(--p) * -30vw)); }
.xhero__meta span:last-child { transform: translateX(calc(var(--p) * 30vw)); }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; }
.scroll-cue i { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue i::after { animation: cue 1.6s var(--ease-out) infinite; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.xhero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 clamp(1.5rem, 5vw, 5rem) clamp(3rem, 8vh, 6rem); color: #fff;
  opacity: calc((var(--p) - .78) * 4.5); transform: translateY(calc((1 - var(--p)) * 40px));
}
.xhero__content .container { padding: 0; }
.xhero__headline { color: #fff; font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; margin-bottom: var(--space-4); }
.xhero__lead { color: rgba(255, 255, 255, .88); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); max-width: 36rem; margin-bottom: var(--space-6); }
.xhero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.xhero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.xhero .checks li { color: #fff; }
.xhero .checks svg { color: #9ec3ea; }
@media (max-width: 760px) {
  .xhero__media { --w: 230px; --h: 310px; --edge: 8px; }
  .js .xhero { height: 200vh; height: 200dvh; }
  .xhero__meta--top span:last-child { display: none; }
  .xhero__meta--top { justify-content: center; }
  .xhero__content { padding-bottom: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .xhero { height: auto; }
  .xhero { --p: 1 !important; }
}

/* ---------- Story: sky gradient, pinned headline, scroll-scrubbed text, large figures ---------- */
.story {
  position: relative; padding: calc(clamp(15rem, 50vh, 28rem) + 2rem) 0 var(--section);
  --sky: clamp(15rem, 50vh, 28rem);
  background: var(--bg) linear-gradient(180deg, var(--navy-900) 0%, #10307e 20%, #1f5bb8 40%, #7fa9df 62%, #dbe8f6 82%, #fff 100%) top / 100% var(--sky) no-repeat;
}
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story__pin { position: sticky; top: calc(var(--header-h) + 3rem); }
.story__title { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: var(--space-6); }
.story__title span { display: block; }
.story__title span:first-child { color: #a3b1c6; }
.story__text { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.55; color: var(--ink); max-width: 34rem; margin-bottom: var(--space-6); }
.js .story__text .sw { color: #b8c3d4; transition: color .25s linear; }
.js .story__text .sw.on { color: var(--ink); }
.story__stats { list-style: none; padding: 0; }
.story__stats li { padding: clamp(2rem, 6vh, 4rem) 0; border-top: 1px solid var(--line); }
.story__stats li:last-child { border-bottom: 1px solid var(--line); }
.big-num { display: block; font-size: clamp(3.75rem, 2rem + 7vw, 7.5rem); font-weight: 800; letter-spacing: -.045em; line-height: .95; font-variant-numeric: tabular-nums; color: var(--ink); transition: color .5s var(--ease-out); }
.big-num small { font-size: .45em; letter-spacing: -.02em; margin-left: .1em; }
.big-label { display: block; margin-top: var(--space-3); color: var(--muted); font-weight: 500; }
.js .story__stats li:not(.is-current) .big-num { color: #cdd6e3; }
@media (max-width: 900px) {
  .story { --sky: clamp(10rem, 32vh, 16rem); padding-top: calc(clamp(10rem, 32vh, 16rem) + 1.5rem); }
  .story__grid { grid-template-columns: 1fr; }
  .story__pin { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .js .story__text .sw { color: var(--ink); }
  .js .story__stats li .big-num { color: var(--ink) !important; }
}

/* ---------- Proof band ---------- */
.proof { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.proof::after {
  content: ""; position: absolute; right: -6%; top: -30%; width: 34%; height: 160%; border-radius: 50%;
  border: 2px solid rgba(221, 27, 38, .5); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(-12deg);
  pointer-events: none;
}
.proof .container { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(2rem, 1.5rem + 2vw, 3rem) var(--space-5); border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; font-weight: 700; margin-left: .125rem; color: #9ec3ea; }
.stat__label { display: block; margin-top: var(--space-3); color: rgba(255,255,255,.78); font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .proof .container { grid-template-columns: 1fr 1fr; }
  .stat { padding: var(--space-6) var(--space-4); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* ---------- Offer cards ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.offer {
  position: relative; display: flex; flex-direction: column; padding: var(--space-6); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}
a.offer { color: inherit; text-decoration: none; }
a.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.offer__icon { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: var(--space-5); }
.offer__icon svg { width: 26px; height: 26px; }
.offer h3 { font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.offer p { color: var(--muted); margin-bottom: var(--space-5); }
.offer .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }

.areas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 500; font-size: var(--fs-sm); text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip .count { font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--bg-soft); border-radius: var(--r-pill); padding: .125rem .5rem; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] .count { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: var(--line);
}
.process::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: linear-gradient(90deg, var(--red), var(--blue));
  transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform 1.4s var(--ease-out) .2s;
}
.process li { counter-increment: step; position: relative; z-index: 1; }
.process__num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-5);
  background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 700;
}
.process li:first-child .process__num { border-color: var(--red); color: var(--red); }
.process h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.process p { color: var(--muted); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: var(--space-6); }
  .process::before, .process::after { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .process::after { transform-origin: top; transform: scaleY(var(--progress, 1)); }
  .process li { padding-left: 72px; }
  .process__num { position: absolute; left: 0; top: 0; }
}

/* ---------- Journey of an order (scroll story) ---------- */
.journey { --jp: 1; }
.journey__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.journey__visual {
  position: sticky; top: calc(var(--header-h) + 2rem); z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, 2vw, 1.75rem); box-shadow: var(--shadow-md);
}
.journey__status { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-2); }
.journey__status b { color: var(--red); }
.journey__title { color: var(--navy); font-weight: 700; }
.journey__map { width: 100%; height: auto; overflow: visible; }
.journey__map .route-base { fill: none; stroke: #d6dfeb; stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.journey__map .route-progress { fill: none; stroke: url(#jgrad); stroke-width: 4.5; stroke-linecap: round; }
.jnode circle { fill: #fff; stroke: #d6dfeb; stroke-width: 2.5; transition: fill .35s, stroke .35s; }
.jnode__icon { stroke: #94a3b8; transition: stroke .35s; }
.jnode text { font: 600 13px var(--font); fill: var(--muted); transition: fill .35s; }
.jnode.is-done circle { stroke: var(--blue); }
.jnode.is-done .jnode__icon { stroke: var(--blue); }
.jnode.is-active circle { fill: var(--navy); stroke: var(--navy); }
.jnode.is-active .jnode__icon { stroke: #fff; }
.jnode.is-active text, .jnode.is-done text { fill: var(--ink); }
.jmarker { transition: opacity .3s; }
.jmarker.is-arrived { opacity: 0; }
.jmarker circle { fill: var(--red); }
.jmarker__glow { opacity: .22; }
@media (prefers-reduced-motion: no-preference) {
  .jmarker__glow { animation: jglow 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes jglow { 0%, 100% { transform: scale(.8); opacity: .3; } 50% { transform: scale(1.35); opacity: .1; } }
}
.journey__steps { list-style: none; padding: 0; }
.journey__step { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.journey__step:last-child { border-bottom: 1px solid var(--line); }
.journey__num { font-weight: 800; font-size: var(--fs-lg); color: var(--red); min-width: 2.25rem; letter-spacing: -.02em; }
.journey__step h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.journey__step p { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .journey__step { min-height: 52vh; display: flex; align-items: center; opacity: .35; transition: opacity .4s var(--ease-out); }
  .js .journey__step.is-active { opacity: 1; }
}
@media (max-width: 900px) {
  .journey__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .journey__visual { top: calc(var(--header-h) + .5rem); padding: .75rem 1rem; }
  .journey__map { max-height: 34vh; }
  .jnode text { font-size: 15px; }
  .js .journey__step { min-height: 42vh; }
}

/* ---------- Map ---------- */
.map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, .5rem + 2vw, 2rem); box-shadow: var(--shadow-sm); }
.map-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-4); }
.map-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.map-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
#world-map { position: relative; aspect-ratio: 960 / 431; }
#world-map svg { width: 100%; height: auto; touch-action: manipulation; }
#world-map .land { fill: #c9dbee; stroke: #fff; stroke-width: .6; }
#world-map .market { fill: var(--blue); stroke: #fff; stroke-width: .6; }
#world-map .home { fill: var(--red); stroke: #fff; stroke-width: .6; }
#world-map .countries path { transition: fill var(--t-fast); }
#world-map .land.is-active { fill: #9fbfe2; }
#world-map .market.is-active { fill: var(--navy); }
#world-map .home.is-active { fill: var(--red-700); }
#world-map .routes, #world-map .dots { pointer-events: none; }
#world-map .route { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 0; }
#world-map .dot { fill: #fff; stroke: var(--navy); stroke-width: 2; }
#world-map .hub { fill: #fff; stroke: var(--red); stroke-width: 3; }
#world-map .pulse { fill: none; stroke: var(--red); stroke-width: 2; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  #world-map .route { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out) calc(var(--i) * 70ms); }
  #world-map .dot { opacity: 0; transition: opacity .3s calc(var(--i) * 70ms + .9s); }
  #world-map.drawn .route { stroke-dashoffset: 0; }
  #world-map.drawn .dot { opacity: 1; }
  #world-map.drawn .pulse { animation: pulse 2.6s var(--ease-out) 1.4s infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
}
.map-tip {
  position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, calc(-100% - 14px));
  background: var(--navy); color: #fff; padding: .5rem .75rem; border-radius: var(--r-sm); white-space: nowrap;
  font-size: var(--fs-sm); line-height: 1.3; text-align: center; opacity: 0; transition: opacity var(--t-fast);
  box-shadow: var(--shadow-md);
}
.map-tip.on { opacity: 1; }
.map-tip b { display: block; font-weight: 600; }
.map-tip span { display: block; font-size: .75rem; color: rgba(255,255,255,.75); }
.map-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.map-note { margin-top: var(--space-5); color: var(--muted); }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--blue));
  display: grid; place-items: center; color: #fff;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__initials { font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 800; letter-spacing: -.04em; opacity: .95; }
.portrait::after {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -30%; height: 70%; border-radius: 50%;
  border-top: 3px solid rgba(221, 27, 38, .85); transform: rotate(-12deg);
}
.leader__name { font-size: var(--fs-2xl); margin-bottom: var(--space-1); }
.leader__role { color: var(--red); font-weight: 600; margin-bottom: var(--space-5); }
.leader p { color: var(--muted); margin-bottom: var(--space-4); max-width: 42rem; }
.timeline { list-style: none; padding: 0; margin-top: var(--space-6); border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 var(--space-5) var(--space-5); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.timeline li:first-child::before { background: var(--red); border-color: var(--red); }
.timeline b { display: block; color: var(--ink); font-weight: 600; }
.timeline span { color: var(--muted); font-size: var(--fs-sm); }
.leader-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-8); }
.leader-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-5); align-items: start; padding: var(--space-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.leader-card .leader__name { font-size: var(--fs-xl); }
.leader-card .leader__role { margin-bottom: var(--space-3); }
.leader-card p { font-size: var(--fs-base); }
.portrait--sm { aspect-ratio: 1; border-radius: var(--r-md); }
.portrait--sm .portrait__initials { font-size: 2.25rem; }
.portrait--sm::after { border-top-width: 2px; }
.leader-facts { list-style: none; padding: 0; margin-top: var(--space-4); display: grid; gap: var(--space-2); }
.leader-facts li { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text); }
.leader-facts svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 3px; }
@media (max-width: 960px) { .leader-pair { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .leader-card { grid-template-columns: 1fr; padding: var(--space-5); } .portrait--sm { width: 96px; } }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; } .portrait { max-width: 280px; } }

/* ---------- Quality / docs ---------- */
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.doc { padding: var(--space-5); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.doc svg { width: 28px; height: 28px; color: var(--blue); margin-bottom: var(--space-4); }
.doc h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.doc p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .docs { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2rem, 1rem + 4vw, 4rem); background: linear-gradient(135deg, var(--navy-900), var(--navy) 55%, var(--blue)); color: #fff; }
.cta-band::after {
  content: ""; position: absolute; right: -8%; bottom: -70%; width: 55%; aspect-ratio: 1; border-radius: 50%;
  border: 3px solid rgba(221, 27, 38, .7); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(30deg);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--space-3); max-width: 36rem; }
.cta-band p { color: rgba(255,255,255,.82); font-size: var(--fs-md); margin-bottom: var(--space-6); max-width: 38rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); background: var(--bg-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(23, 46, 114, .07) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%);
}
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); font-weight: 800; margin-bottom: var(--space-3); }
.page-head p { font-size: var(--fs-md); color: var(--muted); max-width: 44rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; list-style: none; padding: 0; margin-bottom: var(--space-4); font-size: var(--fs-sm); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .375rem; color: #94a3b8; }
.breadcrumb a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }

/* Product page head with the product's molecule */
.page-head--molecule .page-head__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.molecule--product { max-width: 340px; justify-self: end; margin-block: calc(var(--space-5) * -1); }
.molecule--product .molecule__caption { bottom: 0; font-size: .8125rem; min-height: 44px; padding: 0 .875rem; }
@media (max-width: 760px) {
  .page-head--molecule .page-head__grid { grid-template-columns: 1fr; }
  .molecule--product { justify-self: center; max-width: 260px; margin-block: 0; }
}

/* ---------- Catalogue ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.search { position: relative; flex: 1 1 320px; max-width: 420px; }
.search input {
  width: 100%; min-height: 52px; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .75rem 1rem .75rem 3rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search input:hover { border-color: #cbd5e1; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.result-count { font-size: var(--fs-sm); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-3); list-style: none; padding: 0; }
.product-card {
  display: flex; flex-direction: column; gap: .375rem; height: 100%; padding: var(--space-4) var(--space-5); min-height: 96px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); color: inherit; text-decoration: none;
  transition: border-color var(--t-fast), box-shadow var(--t-base), transform var(--t-base) var(--ease-out);
}
.product-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.product-card__name { display: flex; justify-content: space-between; gap: var(--space-3); font-weight: 700; color: var(--ink); font-size: var(--fs-md); line-height: 1.3; }
.product-card__name svg { width: 18px; height: 18px; color: var(--blue); flex: none; opacity: 0; transform: translateX(-4px); transition: opacity var(--t-fast), transform var(--t-base) var(--ease-out); }
.product-card:hover .product-card__name svg { opacity: 1; transform: none; }
.product-card__meta { font-size: var(--fs-sm); color: var(--muted); }
.product-card mark { background: var(--blue-100); color: inherit; border-radius: 2px; }
.tag { display: inline-flex; align-items: center; align-self: flex-start; padding: .125rem .5rem; border-radius: var(--r-pill); font-size: .75rem; font-weight: 700; background: var(--blue-50); color: var(--blue); }
.tag--pellets { background: #fdecee; color: var(--red-700); }
.tag--solvent { background: #eef2f6; color: #334155; }
.product-grid li[hidden] { display: none; }
.empty { display: none; padding: var(--space-6); border-radius: var(--r-md); background: var(--bg-soft); border: 1px dashed #cbd5e1; text-align: center; }
.empty.is-visible { display: block; }
.empty h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.empty p { color: var(--muted); margin-bottom: var(--space-5); }
.notice {
  display: flex; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-7); padding: var(--space-5);
  border-radius: var(--r-md); background: #fff8f8; border: 1px solid #f5d0d3;
}
.notice svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.notice p { color: var(--text); font-size: var(--fs-sm); }
.notice b { color: var(--ink); }

/* ---------- Product detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.spec-list { border-top: 1px solid var(--line); margin-bottom: var(--space-6); }
.spec-list div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: var(--fs-sm); }
.spec-list dd { color: var(--ink); font-weight: 500; }
.detail h2 { font-size: var(--fs-xl); margin: var(--space-6) 0 var(--space-4); }
.related { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.panel { position: sticky; top: calc(var(--header-h) + 24px); padding: var(--space-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.panel h2 { margin-top: 0; font-size: var(--fs-xl); }
.panel > p { color: var(--muted); margin-bottom: var(--space-5); font-size: var(--fs-sm); }
.or { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-5) 0; color: var(--muted); font-size: var(--fs-sm); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .panel { position: static; } }
@media (max-width: 560px) { .spec-list div { grid-template-columns: 1fr; gap: var(--space-1); } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-4); }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .375rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .75rem .875rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #cbd5e1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field .error { display: none; font-size: .8125rem; color: var(--red-700); font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field.has-error .error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.form__foot small { color: var(--muted); font-size: .8125rem; max-width: 28rem; }
.form-status { grid-column: 1 / -1; display: none; padding: var(--space-4) var(--space-5); border-radius: var(--r-md); font-weight: 500; }
.form-status.is-error { display: block; background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.form-success { display: none; text-align: center; padding: var(--space-6) var(--space-4); }
.form-success.is-visible { display: block; animation: rise .5s var(--ease-out) both; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto var(--space-4); color: #16a34a; }
.form-success h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.form-success p { color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.panel .form { grid-template-columns: 1fr; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.form-card > p { color: var(--muted); margin-bottom: var(--space-6); }
.info-list { display: grid; gap: var(--space-4); }
.info { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); }
.info__icon { width: 44px; height: 44px; border-radius: var(--r-sm); background: #fff; color: var(--blue); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.info__icon svg { width: 22px; height: 22px; }
.info h3 { font-size: var(--fs-base); margin-bottom: var(--space-1); }
.info p, .info address { font-style: normal; color: var(--muted); font-size: var(--fs-sm); }
.info a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration: none; }
.info a:hover { text-decoration: underline; }
.info--wa { background: #effaf3; border-color: #cdebd8; }
.info--wa .info__icon { color: #1f9e55; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-grid p { color: var(--muted); font-size: var(--fs-md); margin-bottom: var(--space-4); }
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: var(--fs-sm); }
.facts dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-4); }
.cert { position: relative; padding: var(--space-6) var(--space-5); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.cert svg { width: 32px; height: 32px; color: var(--blue); margin-bottom: var(--space-4); }
.cert h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.cert p { color: var(--muted); font-size: var(--fs-sm); }
.cert .tag { margin-top: var(--space-4); }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding-top: var(--space-8); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--space-6); padding-bottom: var(--space-7); }
.site-footer img { height: 40px; width: auto; margin-bottom: var(--space-4); }
.site-footer h2 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--space-3); letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-bottom: var(--space-3); }
.footer-label { margin-top: var(--space-4); color: rgba(255,255,255,.55); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.site-footer h2 + .footer-label { margin-top: 0; }
.site-footer .footer-label + ul a { min-height: 36px; }
.site-footer .footer-label + address { margin-top: var(--space-1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; color: rgba(255,255,255,.6); font-size: .8125rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2vw, 1.5rem); bottom: calc(clamp(1rem, 2vw, 1.5rem) + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: .625rem; min-height: 56px; padding: 0 1.125rem 0 .875rem; border-radius: var(--r-pill);
  background: #1f9e55; color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px -8px rgba(15, 80, 40, .55);
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast);
}
.wa-float:hover { background: #17843f; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
@media (max-width: 600px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Page transitions (cross-document View Transitions) ----------
   Supported browsers cross-fade between pages while the header and WhatsApp button
   stay put; others simply load the next page as usual. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  .wa-float { view-transition-name: wa-float; }
  ::view-transition-old(root) { animation: vt-out .22s ease-in both; }
  ::view-transition-new(root) { animation: vt-in .42s var(--ease-out) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
}

/* ---------- Logo intro (first home visit per session) ----------
   The head script adds .has-intro to <html>; the overlay is .intro-screen. */
.intro-screen { display: none; }
html.has-intro .intro-screen {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: radial-gradient(60rem 30rem at 50% 45%, var(--blue-50), #fff 70%);
  animation: intro-out .5s var(--ease-out) .85s forwards;
}
.intro-screen__mark { position: relative; width: min(440px, 76vw); }
.intro-screen img { width: 100%; height: auto; }
.intro-screen svg { position: absolute; left: -12%; top: -55%; width: 124%; height: 210%; overflow: visible; }
.intro-screen ellipse { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.has-intro .intro-screen__mark { animation: intro-mark .55s var(--ease-out) both; }
html.has-intro .intro-screen ellipse { animation: intro-orbit .7s var(--ease-out) .15s forwards; }
@keyframes intro-mark { from { opacity: 0; transform: scale(.94); } }
@keyframes intro-orbit { to { stroke-dashoffset: 0; } }
@keyframes intro-out { to { opacity: 0; transform: translateY(-3%); visibility: hidden; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* No generic fade-up on ordinary sections: content is simply there. Motion is kept for
     the signature moments (hero expansion, story text, figures, map routes). */
  .js .hero [data-hero] { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
  .js .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: word .7s var(--ease-out) forwards; animation-delay: calc(var(--w) * 45ms + 120ms); }
  @keyframes word { to { opacity: 1; transform: none; } }
  .js .process:not(.is-in) { --progress: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
