/* ==========================================================================
   Relegare Agro Life Bio Science — site stylesheet
   Palette sampled from RELEGARE BROCHURE_FINAL.
   Single file, no framework, no webfont requests.
   ========================================================================== */

:root {
  --navy:        #113251;
  --navy-deep:   #0b2338;
  --navy-soft:   #195682;
  --teal:        #00acb8;
  --teal-dark:   #008792;
  --teal-light:  #e6f7f8;
  --lime:        #8cc038;
  --lime-dark:   #6f9c26;
  --lime-light:  #f1f8e4;
  --amber:       #c06a1e;

  --ink:         #16202b;
  --body:        #4d5c6b;
  --muted:       #7c8b99;
  --line:        #e3e9ee;
  --bg:          #ffffff;
  --bg-alt:      #f6f9fb;
  --bg-tint:     #eef5f8;

  --radius:      14px;
  --radius-lg:   22px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(17,50,81,.06), 0 2px 6px rgba(17,50,81,.05);
  --shadow:     0 4px 12px rgba(17,50,81,.07), 0 12px 28px rgba(17,50,81,.07);
  --shadow-lg:  0 10px 24px rgba(17,50,81,.09), 0 28px 60px rgba(17,50,81,.11);
  --shadow-teal:0 10px 30px rgba(0,172,184,.28);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          "Noto Sans", "Liberation Sans", Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 34px);
  --ease: cubic-bezier(.22,.68,.36,1);
  --nav-h: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
h1,h2,h3,h4 { color: var(--ink); font-weight: 750; line-height: 1.16; letter-spacing: -.021em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.75rem, 3.7vw, 2.65rem); }
h3 { font-size: clamp(1.14rem, 1.9vw, 1.4rem); letter-spacing: -.014em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
sup { font-size: .62em; vertical-align: super; line-height: 0; }
::selection { background: var(--teal); color: #fff; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 5px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sect { padding: clamp(58px, 8.5vw, 108px) 0; position: relative; }
/* keep anchored sections clear of the sticky header */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.sect--alt  { background: var(--bg-alt); }
.sect--tint { background: linear-gradient(170deg, var(--bg-tint), #fff 72%); }

.head { max-width: 660px; margin-bottom: clamp(34px, 4.5vw, 54px); }
.head--mid { margin-inline: auto; text-align: center; }
.head p { font-size: 1.06rem; color: var(--body); margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .755rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 15px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), var(--teal));
}
.head--mid .eyebrow::after {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--lime));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 27px; border-radius: var(--radius-pill); border: 2px solid transparent;
  font-size: .96rem; font-weight: 700; letter-spacing: .005em; text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--pri { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn--pri:hover { background: var(--teal-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0,172,184,.36); }
.btn--lime { background: var(--lime); color: #16330a; box-shadow: 0 10px 30px rgba(140,192,56,.32); }
.btn--lime:hover { background: var(--lime-dark); color: #fff; transform: translateY(-3px); }
.btn--ghost { border-color: rgba(17,50,81,.2); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn--onDark { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--onDark:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-3px); }
.btn--sm { padding: 10px 19px; font-size: .875rem; }

/* ---------- diagonal band motif (from the brochure) ---------- */
.band { position: absolute; pointer-events: none; transform: skewX(-24deg); border-radius: 3px; }
.band--teal { background: var(--teal); }
.band--navy { background: var(--navy); }
.band--lime { background: var(--lime); }
.band--line { background: none; border: 2px solid currentColor; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.82);
  font-size: .8rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.86); }
.topbar a:hover { color: #fff; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; opacity: .8; flex: none; }
.topbar-cert {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(140,192,56,.2); color: #cfe9a0;
  border: 1px solid rgba(140,192,56,.34);
  padding: 3px 12px; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
}
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.1); }
.topbar-social a:hover { background: var(--teal); }
.topbar-social svg { width: 13px; height: 13px; opacity: 1; }

.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-head.is-stuck { box-shadow: 0 6px 24px rgba(17,50,81,.09); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--nav-h); }

.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 15px; border-radius: 9px;
  font-size: .945rem; font-weight: 650; color: var(--navy);
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2.5px;
  border-radius: 2px; background: linear-gradient(90deg, var(--lime), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--teal-dark); background: var(--teal-light); }
.nav a:hover::after,
.nav a[aria-current="page"]::after,
.nav a.is-spy::after { transform: scaleX(1); }
.nav a[aria-current="page"],
.nav a.is-spy { color: var(--teal-dark); }

/* On the homepage the scrollspy owns the highlight, so the static
   aria-current styling steps aside (aria-current itself stays for
   screen readers — only the visual moves). */
.nav.spy-on a[aria-current="page"]:not(.is-spy) { color: var(--navy); }
.nav.spy-on a[aria-current="page"]:not(.is-spy)::after { transform: scaleX(0); }
.nav.spy-on a[aria-current="page"]:not(.is-spy):hover { color: var(--teal-dark); }
.nav.spy-on a[aria-current="page"]:not(.is-spy):hover::after { transform: scaleX(1); }

.head-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 120;
  background: #fff; padding: 26px 24px; box-shadow: -14px 0 48px rgba(17,50,81,.2);
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer a { padding: 14px 4px; font-size: 1.06rem; font-weight: 650; color: var(--navy); border-bottom: 1px solid var(--line); }
.drawer a[aria-current="page"],
.drawer a.is-spy { color: var(--teal-dark); }
.drawer a.is-spy { border-left: 3px solid var(--teal); padding-left: 12px; }
.drawer .btn { margin-top: 18px; }
.drawer-close { align-self: flex-end; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 1.3rem; color: var(--navy); margin-bottom: 10px; }
.scrim {
  position: fixed; inset: 0; z-index: 110; background: rgba(11,35,56,.45);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .34s var(--ease), visibility .34s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(158deg, #f3fafb 0%, #ffffff 46%, #f4f9ec 100%);
  padding: clamp(46px, 6vw, 82px) 0 clamp(58px, 7vw, 96px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(58% 62% at 88% 6%, rgba(0,172,184,.16), transparent 62%),
    radial-gradient(48% 54% at 4% 92%, rgba(140,192,56,.16), transparent 60%);
}
.hero-bands { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bands .band { opacity: .1; }
.hero-bands .b1 { width: 300px; height: 62px; top: 8%;  right: -60px; background: var(--navy); }
.hero-bands .b2 { width: 220px; height: 62px; top: 20%; right: 120px; background: var(--teal); opacity: .16; }
.hero-bands .b3 { width: 400px; height: 74px; bottom: 6%; left: -110px; background: var(--lime); opacity: .13; }
.hero-bands .b4 { width: 170px; height: 3px; top: 34%; right: 40px; background: var(--teal); opacity: .5; }

.hero-grid {
  display: grid; grid-template-columns: 1.14fr .86fr;
  gap: clamp(30px, 4vw, 56px); align-items: center;
}

.hero h1 { color: var(--navy); margin-bottom: .34em; }
.hero h1 .accent {
  background: linear-gradient(96deg, var(--teal) 8%, var(--lime) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead { font-size: clamp(1.03rem, 1.5vw, 1.17rem); max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 15px; font-size: .805rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 15px; height: 15px; color: var(--lime-dark); flex: none; }

/* hero visual */
.hero-art { position: relative; }
.hero-stage {
  position: relative; aspect-ratio: 1 / 1.02; max-width: 500px; margin-inline: auto;
  display: grid; place-items: end center;
}
.hero-blob {
  position: absolute; inset: 6% 4% 10%; border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background: linear-gradient(148deg, var(--navy) 0%, var(--navy-soft) 52%, var(--teal) 100%);
  box-shadow: 0 30px 70px rgba(17,50,81,.28);
  animation: morph 16s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%; }
  33%     { border-radius: 56% 44% 42% 58% / 44% 56% 44% 56%; }
  66%     { border-radius: 42% 58% 58% 42% / 58% 42% 56% 44%; }
}
.hero-ring {
  position: absolute; inset: -2% 0% 2%; border: 2px dashed rgba(0,172,184,.34);
  border-radius: 50%; animation: spin 46s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-photo {
  position: relative; z-index: 2; width: 88%; max-width: 400px;
  filter: drop-shadow(0 22px 42px rgba(11,35,56,.34));
  /* the source photo is cropped at the waist — fade it out so the crop
     dissolves into the blob instead of showing a hard horizontal edge */
  -webkit-mask-image: linear-gradient(180deg, #000 78%, rgba(0,0,0,.45) 91%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 78%, rgba(0,0,0,.45) 91%, transparent 100%);
}

.float-card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 16px;
  padding: 13px 17px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--navy); font-size: 1.16rem; line-height: 1.1; }
.float-card span { font-size: .755rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 19px; height: 19px; color: #fff; }
.fc-1 { top: 11%; left: -4%; animation-delay: -1s; }
.fc-1 .ic { background: linear-gradient(140deg, var(--lime), var(--lime-dark)); }
.fc-2 { bottom: 19%; right: -5%; animation-delay: -3.2s; }
.fc-2 .ic { background: linear-gradient(140deg, var(--teal), var(--teal-dark)); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* ---------- credential marquee ---------- */
.creds { background: var(--navy); color: #fff; padding: 0; overflow: hidden; }
.creds-track { display: flex; gap: 0; width: max-content; animation: slide 34s linear infinite; }
.creds-track > div { display: flex; }
.cred {
  display: inline-flex; align-items: center; gap: 11px; white-space: nowrap;
  padding: 17px 34px; font-size: .875rem; font-weight: 650; color: rgba(255,255,255,.9);
}
.cred svg { width: 17px; height: 17px; color: var(--lime); flex: none; }
.cred::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-left: 25px; }
@keyframes slide { to { transform: translateX(-50%); } }
.creds:hover .creds-track { animation-play-state: paused; }

/* ==========================================================================
   About / split sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5.5vw, 74px); align-items: center; }
.split--flip .split-media { order: 2; }

.split-media { position: relative; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* 3:2 matches the facility photos exactly, so object-fit never crops the
   building or the name board out of frame. */
.media-frame img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center; }
.media-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 52%, rgba(17,50,81,.34));
}
.media-badge {
  position: absolute; z-index: 3; right: -18px; bottom: -22px;
  background: linear-gradient(140deg, var(--lime), var(--lime-dark));
  color: #fff; border-radius: 18px; padding: 20px 24px;
  box-shadow: 0 18px 40px rgba(111,156,38,.4); text-align: center;
  border: 4px solid #fff;
}
.media-badge b { display: block; font-size: 2.05rem; line-height: 1; letter-spacing: -.03em; }
.media-badge span { font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; opacity: .95; }
.media-deco {
  position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: 20px;
  background: repeating-linear-gradient(-45deg, rgba(0,172,184,.16) 0 2px, transparent 2px 11px);
  top: -26px; left: -26px;
}

.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .99rem; }
.ticks svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--lime-dark); }
.ticks b { color: var(--ink); font-weight: 700; }

/* ---------- stat row ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: clamp(40px, 5vw, 62px);
}
.stat { background: #fff; padding: 30px 22px; text-align: center; transition: background .3s var(--ease); }
.stat:hover { background: var(--teal-light); }
.stat b {
  display: block; font-size: clamp(1.95rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1;
  letter-spacing: -.035em; color: var(--navy); margin-bottom: 8px;
}
.stat b .u { color: var(--teal); }
.stat span { font-size: .845rem; font-weight: 650; color: var(--muted); letter-spacing: .015em; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: clamp(30px, 4vw, 44px); }
.filter {
  padding: 10px 21px; border-radius: var(--radius-pill); border: 1.5px solid var(--line);
  background: #fff; font-size: .885rem; font-weight: 700; color: var(--navy);
  transition: all .24s var(--ease);
}
.filter:hover { border-color: var(--teal); color: var(--teal-dark); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-align: left;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.pcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard.is-hidden { display: none; }

.pcard-media {
  position: relative; aspect-ratio: 1/.92; display: grid; place-items: center;
  background: linear-gradient(168deg, var(--bg-tint), #fff 78%); overflow: hidden;
}
.pcard-media::before {
  content: ""; position: absolute; width: 150%; height: 46px; background: rgba(0,172,184,.09);
  transform: skewX(-24deg) translateY(58px); bottom: 0; left: -25%;
  transition: transform .5s var(--ease);
}
.pcard:hover .pcard-media::before { transform: skewX(-24deg) translateY(14px); }
/* Pinned to an exact box so tall packs (Trimake, EM 151) cannot overflow the
   card. object-fit keeps each pack's own aspect ratio inside that box. */
.pcard-media img {
  position: absolute; inset: 20px; z-index: 2;
  width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(17,50,81,.17));
  transition: transform .42s var(--ease);
}
.pcard:hover .pcard-media img { transform: translateY(-7px) scale(1.045); }

.pcard-soon {
  position: relative; z-index: 2; display: grid; place-items: center; gap: 10px;
  text-align: center; color: var(--muted); padding: 14px;
}
.pcard-soon img { width: 62px; opacity: .42; filter: none; }
.pcard-soon span { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.pcard-tag {
  position: absolute; z-index: 3; top: 13px; left: 13px;
  background: var(--navy); color: #fff; font-size: .68rem; font-weight: 750;
  letter-spacing: .07em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill);
}
.pcard-tag--lime { background: var(--lime); color: #16330a; }

.pcard-body { padding: 20px 21px 23px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { margin: 0 0 3px; font-size: 1.13rem; color: var(--navy); }
.pcard h3 sup { color: var(--teal); font-weight: 600; }
.pcard-org { font-size: .82rem; font-style: italic; color: var(--teal-dark); font-weight: 650; margin-bottom: 11px; }
.pcard-sum { font-size: .9rem; line-height: 1.56; margin-bottom: 16px; flex: 1; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard-size { font-size: .775rem; color: var(--muted); font-weight: 650; }
.pcard-more {
  display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 750;
  color: var(--teal-dark); background: none; border: 0;
  /* padded out to a comfortable touch target without changing the visual size */
  padding: 9px 10px; margin: -9px -10px; min-height: 42px;
}
.pcard-more svg { width: 15px; height: 15px; transition: transform .26s var(--ease); }
.pcard-more:hover svg { transform: translateX(4px); }

/* ---------- product detail dialog ---------- */
.pmodal {
  border: 0; padding: 0; max-width: 880px; width: min(94vw, 880px);
  max-height: 92vh;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  background: #fff;
}
.pmodal-content { position: relative; }
.pmodal::backdrop { background: rgba(11,35,56,.62); backdrop-filter: blur(5px); }
.pmodal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.pmodal-grid { display: grid; grid-template-columns: .82fr 1.18fr; }
.pmodal-media {
  background: linear-gradient(160deg, var(--bg-tint), #fff);
  display: grid; place-items: center; padding: 34px 26px; position: relative;
}
.pmodal-media img { max-height: 330px; width: auto; filter: drop-shadow(0 16px 28px rgba(17,50,81,.2)); }
.pmodal-body { padding: 32px clamp(24px, 3vw, 36px); max-height: 82vh; overflow-y: auto; }
.pmodal-body h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 4px; }
.pmodal-org { font-style: italic; color: var(--teal-dark); font-weight: 650; margin-bottom: 18px; }
.pmodal-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.count-pill {
  background: var(--teal-light); color: var(--navy); border: 1px solid rgba(0,172,184,.24);
  border-radius: var(--radius-pill); padding: 6px 14px; font-size: .8rem; font-weight: 700;
}
.pmodal-body p { font-size: .955rem; }
.dl { margin: 20px 0 0; }
.dl h4 { font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.dl ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; }
.dl li { position: relative; padding-left: 19px; font-size: .93rem; }
.dl li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); }
.pmodal-note {
  background: var(--lime-light); border-left: 3px solid var(--lime);
  padding: 13px 16px; border-radius: 0 10px 10px 0; font-size: .875rem; margin-top: 6px;
}
.pmodal-close {
  position: absolute; top: 14px; right: 14px; z-index: 4; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 1.35rem; line-height: 1; box-shadow: var(--shadow); display: grid; place-items: center;
  transition: transform .22s var(--ease), background .22s;
}
.pmodal-close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }

/* ==========================================================================
   Feature cards
   ========================================================================== */
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.fcard {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px; overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.fcard::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--lime));
  transform: scaleX(0); transform-origin: left; transition: transform .42s var(--ease);
}
.fcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.fcard:hover::before { transform: scaleX(1); }
.fcard-ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft)); margin-bottom: 19px;
  box-shadow: 0 10px 22px rgba(17,50,81,.24);
}
.fcard:nth-child(2n) .fcard-ic { background: linear-gradient(145deg, var(--teal), var(--teal-dark)); box-shadow: 0 10px 22px rgba(0,172,184,.28); }
.fcard:nth-child(3n) .fcard-ic { background: linear-gradient(145deg, var(--lime), var(--lime-dark)); box-shadow: 0 10px 22px rgba(140,192,56,.3); }
.fcard-ic svg { width: 25px; height: 25px; color: #fff; }
.fcard h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.fcard p { font-size: .925rem; margin: 0; }

/* ==========================================================================
   Presence
   ========================================================================== */
.presence { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.map-wrap { position: relative; display: grid; place-items: center; padding: 20px; }
.map-wrap img { max-width: 340px; width: 100%; filter: drop-shadow(0 16px 34px rgba(17,50,81,.2)); }
.map-pulse {
  position: absolute; width: 15px; height: 15px; border-radius: 50%; background: var(--teal);
  left: 41%; top: 61%; box-shadow: 0 0 0 0 rgba(0,172,184,.62); animation: pulse 2.3s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 26px rgba(0,172,184,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,172,184,0); }
}
.states { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 11px; margin-top: 26px; }
.state {
  display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px; font-weight: 650; font-size: .93rem; color: var(--navy);
  transition: all .26s var(--ease);
}
.state:hover { border-color: var(--teal); background: var(--teal-light); transform: translateX(5px); }
.state svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.tcard {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 28px 28px;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tcard-q {
  position: absolute; top: 16px; right: 22px; font-size: 4.4rem; line-height: 1;
  font-weight: 800; color: rgba(0,172,184,.14); font-family: Georgia, serif;
}
.tcard p { font-size: .975rem; line-height: 1.68; color: var(--ink); margin-bottom: 22px; }
.tcard-who { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.tcard-av {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--teal), var(--navy)); color: #fff; font-weight: 750; font-size: 1.05rem;
}
.tcard-who b { display: block; color: var(--navy); font-size: .95rem; }
.tcard-who span { font-size: .805rem; color: var(--muted); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; color: #f5a623; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 830px; margin-inline: auto; display: grid; gap: 12px; }
.fitem { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.fitem[open] { border-color: rgba(0,172,184,.4); box-shadow: var(--shadow); }
.fitem summary {
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 19px 22px; cursor: pointer; font-weight: 700; color: var(--navy);
  font-size: 1.01rem; list-style: none;
}
.fitem summary::-webkit-details-marker { display: none; }
.fitem summary:hover { color: var(--teal-dark); }
.fitem-ic {
  width: 27px; height: 27px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal-dark); font-size: 1.1rem; line-height: 1;
  transition: transform .32s var(--ease), background .3s;
}
.fitem[open] .fitem-ic { transform: rotate(45deg); background: var(--teal); color: #fff; }
.fitem-a { padding: 0 22px 21px; font-size: .955rem; color: var(--body); }
.fitem[open] .fitem-a { animation: fade .34s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-7px); } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(132deg, var(--navy-deep) 0%, var(--navy) 46%, var(--navy-soft) 100%);
  color: #fff; text-align: center; padding: clamp(56px, 7vw, 92px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(52% 66% at 82% 12%, rgba(0,172,184,.34), transparent 62%),
              radial-gradient(46% 60% at 10% 92%, rgba(140,192,56,.26), transparent 62%);
}
.cta .band { opacity: .09; background: #fff; }
.cta .cb1 { width: 340px; height: 66px; top: 12%; left: -80px; }
.cta .cb2 { width: 220px; height: 66px; bottom: 14%; right: -50px; }
.cta h2 { color: #fff; margin-bottom: .38em; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 60ch; margin-inline: auto; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ==========================================================================
   Page banner (inner pages)
   ========================================================================== */
.banner {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(128deg, var(--navy-deep), var(--navy) 52%, var(--navy-soft));
  padding: clamp(52px, 7vw, 88px) 0 clamp(46px, 6vw, 74px);
}
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(56% 68% at 86% 8%, rgba(0,172,184,.36), transparent 60%),
              radial-gradient(44% 58% at 6% 96%, rgba(140,192,56,.24), transparent 62%);
}
.banner .band { opacity: .09; background: #fff; }
.banner .bb1 { width: 320px; height: 62px; top: 14%; right: -70px; }
.banner .bb2 { width: 200px; height: 62px; bottom: 12%; left: -40px; }
.banner h1 { color: #fff; margin-bottom: .3em; }
.banner p { color: rgba(255,255,255,.84); font-size: 1.07rem; max-width: 62ch; margin: 0; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: .855rem; color: rgba(255,255,255,.64); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.84); }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* ==========================================================================
   Contact
   ========================================================================== */
.cgrid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(30px, 4.5vw, 58px); align-items: start; }

.cinfo { display: grid; gap: 14px; }
.cbox {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 21px 22px;
  transition: all .28s var(--ease);
}
.cbox:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.cbox-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
}
.cbox:nth-child(2) .cbox-ic { background: linear-gradient(145deg, var(--lime), var(--lime-dark)); }
.cbox:nth-child(3) .cbox-ic { background: linear-gradient(145deg, var(--navy), var(--navy-soft)); }
.cbox-ic svg { width: 21px; height: 21px; color: #fff; }
.cbox h3 { font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 750; }
.cbox p, .cbox a { font-size: .975rem; color: var(--ink); font-weight: 600; margin: 0; display: block; line-height: 1.55; }
.cbox a:hover { color: var(--teal-dark); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow);
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .855rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: #d0432f; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,172,184,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b6c2; }
.field .is-invalid { border-color: #d0432f; }
.field .is-invalid:focus { box-shadow: 0 0 0 4px rgba(208,67,47,.14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 12px; padding: 15px 18px; font-size: .93rem; margin-bottom: 22px; font-weight: 600; }
.alert--ok  { background: var(--lime-light); border: 1px solid rgba(140,192,56,.45); color: #3d5c12; }
.alert--err { background: #fdecea; border: 1px solid #f3c2bc; color: #a3291a; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: clamp(50px, 6vw, 76px) 0 0; position: relative; overflow: hidden; }
.site-foot::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(48% 60% at 88% 4%, rgba(0,172,184,.16), transparent 62%);
  pointer-events: none;
}
.foot-grid {
  position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 52px); padding-bottom: 46px;
}
.foot-logo { background: #fff; border-radius: 13px; padding: 13px 16px; display: inline-block; margin-bottom: 19px; }
.foot-logo img { height: 44px; width: auto; }
.site-foot p { font-size: .925rem; line-height: 1.72; }
.site-foot h4 { color: #fff; font-size: .93rem; letter-spacing: .085em; text-transform: uppercase; margin-bottom: 20px; font-weight: 750; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-list a { color: rgba(255,255,255,.72); font-size: .935rem; display: inline-flex; align-items: center; gap: 9px; }
.foot-list a::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
  transition: transform .24s var(--ease); flex: none;
}
.foot-list a:hover { color: #fff; }
.foot-list a:hover::before { transform: scale(1.9); }
.foot-contact { display: grid; gap: 15px; }
.foot-contact div { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; }
.foot-contact svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 4px; }
.foot-contact a { color: rgba(255,255,255,.82); }
.foot-contact a:hover { color: #fff; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: all .26s var(--ease);
}
.foot-social a:hover { background: var(--teal); transform: translateY(-4px); }
.foot-social svg { width: 17px; height: 17px; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.foot-badge {
  font-size: .7rem; font-weight: 750; letter-spacing: .05em; padding: 5px 12px;
  border-radius: var(--radius-pill); background: rgba(140,192,56,.16);
  border: 1px solid rgba(140,192,56,.3); color: #cfe9a0;
}
.foot-bar {
  position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: .855rem;
}

/* floating whatsapp */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 26px rgba(37,211,102,.46);
  transition: transform .26s var(--ease);
}
.wa:hover { transform: scale(1.09); color: #fff; }
.wa svg { width: 28px; height: 28px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
/* Scoped to .js so that if the script fails to load or run, every section is
   still visible rather than stuck at opacity 0. */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* copy leads on narrow screens — the headline is the value proposition,
     so the art must not consume the first screenful */
  .hero-art { max-width: 360px; margin: 8px auto 0; }
  .hero-stage { aspect-ratio: 1/.92; }
  .fc-1 { left: -2%; } .fc-2 { right: -2%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .head-cta .btn { display: none; }
  .burger { display: grid; }
  .split, .presence, .cgrid { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* stacked layout is taller than the viewport — let the whole dialog scroll */
  .pmodal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .pmodal-grid { grid-template-columns: 1fr; }
  .pmodal-media { padding: 26px; }
  .pmodal-media img { max-height: 210px; }
  .pmodal-body { max-height: none; overflow: visible; }
  .media-badge { right: 10px; bottom: -16px; padding: 15px 19px; }
  .media-badge b { font-size: 1.6rem; }
}

/* second phone number is the first thing to drop when the topbar gets tight */
@media (max-width: 1150px) { .topbar-phone2 { display: none; } }

@media (max-width: 720px) {
  .topbar-l .topbar-item:not(:first-child), .topbar-cert { display: none; }
  .frow { grid-template-columns: 1fr; }
  .map-embed iframe { height: 300px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .brand img { height: 38px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
  .pcard-body { padding: 15px 15px 18px; }
  .pcard h3 { font-size: .99rem; }
  .pcard-org { font-size: .74rem; }
  .pcard-sum { font-size: .825rem; }
  .pcard-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pcard-soon span { font-size: .64rem; letter-spacing: .03em; }
  .pcard-soon img { width: 46px; }
  .hero-art { max-width: 290px; }
  .float-card { padding: 9px 12px; gap: 9px; border-radius: 13px; }
  .float-card b { font-size: .95rem; }
  .float-card span { font-size: .65rem; }
  .float-card .ic { width: 31px; height: 31px; border-radius: 9px; }
  .float-card .ic svg { width: 16px; height: 16px; }
  .eyebrow { letter-spacing: .1em; font-size: .715rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bar { flex-direction: column; text-align: center; }
  .wa { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .wa svg { width: 25px; height: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  .site-head, .topbar, .wa, .site-foot, .cta, .burger { display: none !important; }
  body { font-size: 12pt; }
}
