/* ===================================================================
   Del Mar Medical | Concept 2: "Modern Care"
   Bright, approachable, conversion-focused. Inter throughout.
   =================================================================== */

:root {
  --primary:   #053F67;   /* deep teal-navy */
  --accent:    #293990;   /* logo indigo    */
  --secondary: #51A20E;   /* pharmacy green */
  --neutral:   #3A4452;   /* body text      */
  --bg:        #F9F9F9;
  --wash:      #F2F5F8;
  --ink:       #04263E;

  --white: #ffffff;
  --line: #e3e9ef;
  --muted: #6a7585;

  --grad-hero: linear-gradient(135deg, #053F67 0%, #1d3a86 55%, #293990 100%);
  --grad-accent: linear-gradient(135deg, #293990 0%, #3a4fc0 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(5, 63, 103, .06);
  --shadow: 0 14px 40px rgba(5, 63, 103, .10);
  --shadow-lg: 0 26px 70px rgba(5, 63, 103, .16);

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--neutral);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, h4 { color: var(--primary); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 12px 12px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; letter-spacing: -.01em;
  padding: .8rem 1.4rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #073453; box-shadow: var(--shadow); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(41,57,144,.28); }
.btn--accent:hover { background: #1f2c78; box-shadow: 0 12px 30px rgba(41,57,144,.36); }

.btn--light { background: #fff; color: var(--accent); box-shadow: var(--shadow); }
.btn--light:hover { background: #f3f5fb; }

.btn--ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); background: #f3f5fb; }

.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--secondary); margin: 0 0 .8rem;
}
.eyebrow--light { color: #aee07e; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; display: inline-block; }

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--accent);
}
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { max-width: 660px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head__sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* =================================================================
   HEADER
   ================================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(5,63,103,.10); }

.topbar { background: var(--primary); color: #cfe0ee; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: #d6e4f0; }
a.topbar__item:hover { color: #fff; }
.topbar__sep { flex: 1; }
.topbar__more { color: #9fbdd6; }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 76px; }
.brand__logo { height: 48px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .55rem .7rem; border-radius: 10px;
  color: var(--primary); font-weight: 600; font-size: .96rem;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover { color: var(--accent); background: var(--wash); }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after { content: ""; }

.caret { width: 16px; height: 16px; fill: currentColor; transition: transform .2s var(--ease); }
.has-dropdown { position: relative; }
.has-dropdown[data-open="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 9px; color: var(--primary); font-weight: 600; font-size: .93rem; }
.dropdown a:hover { background: var(--wash); color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2.5px; background: var(--primary); border-radius: 3px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #eaf2fb; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; pointer-events: none; }
.hero__blob--1 { width: 520px; height: 520px; top: -180px; right: -120px; background: radial-gradient(circle at 30% 30%, rgba(81,162,14,.45), transparent 65%); }
.hero__blob--2 { width: 440px; height: 440px; bottom: -200px; left: -140px; background: radial-gradient(circle at 50% 50%, rgba(120,150,255,.4), transparent 65%); }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy { max-width: 560px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 900; margin-bottom: .4em; }
.hero__sub { color: #d4e3f2; font-size: clamp(1rem, 1.4vw, 1.18rem); margin-bottom: 1.8rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: #eaf2fb; font-size: .95rem; }
.ico--check { color: #aee07e; }

/* hero visual */
.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__tint { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(41,57,144,.28), rgba(5,63,103,.20)); mix-blend-mode: multiply; }

.chip {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #fff; color: var(--primary);
  padding: .7rem .95rem; border-radius: 16px; box-shadow: var(--shadow);
}
.chip__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: #fff; }
.chip__icon svg { width: 20px; height: 20px; fill: currentColor; }
.chip__icon--green { background: var(--secondary); }
.chip strong { display: block; font-size: .95rem; line-height: 1.15; color: var(--primary); }
.chip small { color: var(--muted); font-size: .8rem; }

.chip--float { position: absolute; z-index: 3; }
.chip--1 { top: -22px; left: -22px; }
.chip--2 { bottom: -24px; right: -18px; }

/* =================================================================
   PILLARS
   ================================================================= */
.pillars { background: var(--bg); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-accent); color: #fff; margin-bottom: 1.2rem; box-shadow: 0 10px 24px rgba(41,57,144,.25); }
.pillar__icon svg { width: 30px; height: 30px; fill: currentColor; }
.pillar__icon--green { background: linear-gradient(135deg, #51A20E, #6cc81f); box-shadow: 0 10px 24px rgba(81,162,14,.28); }
.pillar__icon--navy { background: linear-gradient(135deg, #053F67, #0a5688); box-shadow: 0 10px 24px rgba(5,63,103,.28); }
.pillar h3 { font-size: 1.3rem; }
.pillar p { color: var(--muted); margin-bottom: 1.2rem; }

/* =================================================================
   WHY US
   ================================================================= */
.why__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__media { position: relative; }
.why__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.2; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__tint { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(41,57,144,.22), rgba(5,63,103,.32)); mix-blend-mode: multiply; }
.why__badge {
  position: absolute; bottom: -22px; right: -10px;
  background: var(--secondary); color: #fff; border-radius: 18px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); text-align: center;
}
.why__badge strong { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1; }
.why__badge span { font-size: .78rem; font-weight: 600; opacity: .95; }

.why h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.why__lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.6rem; }
.why__list { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.why__list li { display: flex; gap: .9rem; align-items: flex-start; }
.why__list strong { color: var(--primary); }
.why__list span:last-child { color: var(--neutral); }
.why__check { flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(81,162,14,.14); color: var(--secondary); display: grid; place-items: center; margin-top: 2px; }
.why__check svg { width: 18px; height: 18px; fill: currentColor; }

/* =================================================================
   SERVICES DETAIL
   ================================================================= */
.services { background: var(--bg); }
.card--soft { background: #fff; }
.card__title { display: flex; align-items: center; gap: .65rem; font-size: 1.2rem; margin-bottom: 1rem; }
.card__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
.card__dot--green { background: var(--secondary); }
.ticklist { display: grid; gap: .7rem; }
.ticklist li { position: relative; padding-left: 1.9rem; color: var(--neutral); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 6px;
  background: rgba(41,57,144,.10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23293990'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* =================================================================
   STATS
   ================================================================= */
.stats { position: relative; color: #fff; overflow: hidden; }
.stats__bg { position: absolute; inset: 0; background: var(--grad-hero); z-index: -1; }
.stats__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 15%, rgba(81,162,14,.32), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(120,150,255,.30), transparent 45%); }
.stats__grid { text-align: center; }
.stat__num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat__num .suffix { color: #aee07e; }
.stat__label { color: #cfe0f0; font-size: .98rem; margin: .5rem 0 0; }

/* =================================================================
   SUPPLY
   ================================================================= */
.supply__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.supply__copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.supply__copy p { color: var(--muted); }
.tagcloud { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem; }
.tagcloud li { background: var(--wash); color: var(--primary); font-weight: 600; font-size: .9rem; padding: .5rem .95rem; border-radius: var(--radius-pill); border: 1px solid var(--line); }
.supply__pack { background: var(--grad-accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); align-self: center; }
.supply__pack h3 { color: #fff; font-size: 1.5rem; }
.supply__pack p { color: #dfe4ff; }

/* =================================================================
   MOBILE APP
   ================================================================= */
.mobile { background: var(--bg); }
.mobile__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mobile__copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.mobile__copy p { color: var(--muted); max-width: 46ch; margin-bottom: 1.6rem; }

.phone { position: relative; width: 230px; margin: 0 auto; aspect-ratio: 9/18; background: linear-gradient(160deg, #0a2a47, #053F67); border-radius: 36px; padding: 12px; box-shadow: var(--shadow-lg); }
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #04263E; border-radius: 0 0 14px 14px; z-index: 2; }
.phone__screen { position: relative; height: 100%; background: #fff; border-radius: 26px; padding: 30px 18px 18px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.phone__bar { height: 10px; width: 60%; border-radius: 6px; background: var(--wash); }
.phone__pill { height: 64px; border-radius: 16px; background: var(--grad-accent); }
.phone__row { display: flex; gap: 10px; }
.phone__row span { flex: 1; height: 42px; border-radius: 12px; background: var(--wash); }
.phone__row span:first-child { background: rgba(81,162,14,.15); }
.phone__cta { margin-top: auto; text-align: center; background: var(--secondary); color: #fff; font-weight: 700; padding: .7rem; border-radius: var(--radius-pill); font-size: .9rem; }
.phone__chip { position: absolute; top: 40px; right: -16px; background: #fff; color: var(--accent); font-weight: 800; font-size: .8rem; padding: .45rem .8rem; border-radius: var(--radius-pill); box-shadow: var(--shadow); }

.store-badges { display: flex; flex-wrap: wrap; gap: .8rem; }
.store-badge { display: inline-flex; align-items: center; gap: .7rem; background: var(--primary); color: #fff; padding: .65rem 1.1rem; border-radius: 14px; transition: transform .2s var(--ease), background .2s var(--ease); }
.store-badge:hover { transform: translateY(-2px); background: #073453; }
.store-badge svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: .68rem; opacity: .8; }
.store-badge strong { font-size: 1rem; }

/* =================================================================
   NEWSLETTER
   ================================================================= */
.newsletter__card {
  background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
  box-shadow: var(--shadow-lg);
}
.newsletter__card::after { content: ""; position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(81,162,14,.4), transparent 65%); pointer-events: none; }
.newsletter__card h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.newsletter__card p { color: #d4e3f2; margin: 0; }
.newsletter__form { position: relative; display: flex; gap: .6rem; background: #fff; padding: .4rem; border-radius: var(--radius-pill); box-shadow: var(--shadow); }
.newsletter__form input { flex: 1; border: 0; background: transparent; padding: .7rem 1rem; font: inherit; color: var(--primary); min-width: 0; }
.newsletter__form input:focus { outline: none; }
.newsletter__form input::placeholder { color: var(--muted); }

/* =================================================================
   CONTACT
   ================================================================= */
.contact__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact__copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.contact__copy p { color: var(--muted); font-size: 1.06rem; max-width: 48ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.info-card ul { display: grid; gap: .7rem; }
.info-card li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: .6rem; }
.info-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card li span { color: var(--muted); font-size: .92rem; }
.info-card li strong { color: var(--primary); }
.info-card li strong.hl { color: var(--secondary); }
.info-card p { color: var(--neutral); }
.info-card__small { color: var(--muted); font-size: .88rem; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--ink); color: #b9cbdb; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(2.6rem, 5vw, 4rem) 0; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__brand p { color: #93aac0; max-width: 34ch; }
.logo-chip { display: inline-flex; background: #fff; padding: .7rem .9rem; border-radius: 14px; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.logo-chip img { height: 42px; width: auto; }
.footer__social { display: inline-flex; align-items: center; gap: .5rem; color: #cfe0f0; font-weight: 600; margin-top: .6rem; }
.footer__social:hover { color: #fff; }
.footer__social svg { width: 22px; height: 22px; fill: currentColor; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a, .footer__contact li { color: #b9cbdb; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.10); font-size: .85rem; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0; color: #88a0b6; }
.footer__bar p { margin: 0; }

/* =================================================================
   MOTION
   ================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.floaty { animation: floaty 4.5s ease-in-out infinite; animation-delay: var(--floaty-delay, 0s); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .floaty { animation: none; }
  .btn:hover, .pillar:hover, .store-badge:hover { transform: none; }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 540px; margin-inline: auto; width: 100%; }
  .why__inner, .supply__inner, .mobile__inner, .contact__inner, .newsletter__card { grid-template-columns: 1fr; }
  .why__media { max-width: 480px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .topbar__more { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 5.5rem 1.4rem 2rem; box-shadow: -20px 0 60px rgba(5,63,103,.18);
    transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
    z-index: 90;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-link { padding: .8rem .6rem; font-size: 1.05rem; }
  .has-dropdown { position: static; }
  .dropdown { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; padding: 0 0 0 1rem; transition: max-height .3s var(--ease); }
  .has-dropdown[data-open="true"] .dropdown { max-height: 240px; }
  .nav-cta { margin-top: 1.2rem; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn, .contact__actions .btn { flex: 1; }
  .chip--1 { left: 0; top: -16px; }
  .chip--2 { right: 0; bottom: -16px; }
  .stat__num { font-size: clamp(2.2rem, 9vw, 2.8rem); }
}

/* scrim for open mobile nav */
.nav-scrim { position: fixed; inset: 0; background: rgba(5,63,103,.35); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 80; }
.nav-scrim.is-open { opacity: 1; visibility: visible; }
