/* ==========================================================================
   MAC Engineering — shared stylesheet
   Cooling • HVAC • Industrial Air Dryer services, Mumbai
   --------------------------------------------------------------------------
   DEVELOPER NOTES
   - Brand fonts: Archivo (display) + Manrope (body), loaded via Google Fonts.
   - Swap the logo placeholder (.brand__mark) with the real logo asset.
   - Image URLs are real stock photos; .media img has a JS fallback in main.js.
   ========================================================================== */

/* ---------- Design tokens -------------------------------------------------- */
:root {
  /* Cool brand base */
  --navy-900: #07233a;
  --navy-800: #0a2e49;
  --blue-700: #0e527f;
  --blue-600: #136aa3;
  --blue-500: #1a83c4;
  --teal-500: #109aa6;
  --teal-400: #1cb8c4;

  /* Warm CTA accent */
  --accent: #f97316;
  --accent-600: #ea580c;
  --accent-100: #ffedd5;

  /* Neutrals (cool-tinted) */
  --ink: #0f2438;        /* headings */
  --body: #3a4a5c;       /* body text */
  --muted: #6b7c8d;      /* secondary text */
  --line: #e3ecf3;       /* borders */
  --bg: #ffffff;
  --bg-soft: #f4f8fb;    /* section tint */
  --bg-soft-2: #eef4f9;

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 56, .06), 0 2px 6px rgba(15, 36, 56, .05);
  --shadow-md: 0 8px 24px rgba(15, 36, 56, .08), 0 2px 6px rgba(15, 36, 56, .05);
  --shadow-lg: 0 24px 60px rgba(10, 46, 73, .16);
  --ring: 0 0 0 4px rgba(26, 131, 196, .18);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --ff-display: "Archivo", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, sans-serif;
}

/* ---------- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ---------- Layout helpers ------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #cfe0ec; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--navy .eyebrow { color: var(--teal-400); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }
.section--navy .section-head p { color: #a9c2d4; }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--ff-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  background: var(--btn-bg); color: #fff;
  box-shadow: 0 6px 18px rgba(249, 115, 22, .28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(234, 88, 12, .32); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--ring), 0 6px 18px rgba(249,115,22,.28); }

.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--blue-500); color: var(--blue-700); box-shadow: none; }

.btn--navy { background: var(--navy-800); box-shadow: 0 6px 18px rgba(10, 46, 73, .25); }
.btn--navy:hover { background: var(--navy-900); box-shadow: 0 12px 26px rgba(10,46,73,.3); }

.btn--outline-light {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none;
}
.btn--outline-light:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }

.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn .ico { width: 18px; height: 18px; }

/* ---------- Header / nav --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  /* DEVELOPER: replace with real logo asset */
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--blue-600), var(--teal-500));
  display: grid; place-items: center; color: #fff;
  font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 12px rgba(16,154,166,.3);
}
.brand__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.brand__name small { display: block; font-family: var(--ff-body); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  font-family: var(--ff-display); font-weight: 600; font-size: .96rem; color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.nav__menu a:hover { background: var(--bg-soft); color: var(--blue-700); }
.nav__menu a.is-active { color: var(--blue-700); background: var(--bg-soft-2); }

.nav__cta { display: inline-flex; }

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

@media (max-width: 880px) {
  .nav__menu, .nav__cta { 
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
  }
  .nav__cta { top: 100%; padding-top: 0; box-shadow: none; border-bottom: none; }
  .nav.is-open .nav__menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__cta { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__menu { padding-bottom: 78px; } /* room for stacked CTA */
  .nav.is-open .nav__cta { padding-bottom: 18px; }
  .nav__menu a { padding: 12px 14px; font-size: 1.05rem; }
  .nav__menu a.is-active { background: var(--bg-soft-2); }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #e7f0f7; isolation: isolate; }
.hero__bg { position: absolute; inset: -10% 0 0 0; height: 120%; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(110deg, rgba(7,35,58,.94) 0%, rgba(7,35,58,.78) 42%, rgba(10,46,73,.45) 100%),
    radial-gradient(120% 120% at 90% 0%, rgba(28,184,196,.22), transparent 55%);
}
.hero__inner { padding-block: clamp(64px, 11vw, 132px); max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.04; }
.hero .lead { margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #c5d8e6; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; color: #bcd1e1; font-weight: 600; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px rgba(28,184,196,.18); }

/* ---------- Stat / trust pillars ------------------------------------------ */
.stats { 
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -56px; position: relative; z-index: 5;
}
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-md); text-align: left;
}
.stat-card__num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); color: var(--blue-700); line-height: 1; letter-spacing: -.03em; }
.stat-card__num span { color: var(--accent); }
.stat-card__label { margin-top: 10px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.stat-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft-2); color: var(--teal-500); display: grid; place-items: center; margin-bottom: 16px; }
.stat-card__icon svg { width: 22px; height: 22px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Generic cards & grids ----------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3e2ee; }

/* ---------- Pricing -------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 940px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.price-card { display: flex; flex-direction: column; padding: 30px; position: relative; overflow: hidden; }
.price-card.is-featured { border-color: var(--blue-500); box-shadow: 0 22px 50px rgba(19,106,163,.18); }
.price-card.is-featured::before {
  content: "Most Popular"; position: absolute; top: 18px; right: -34px; transform: rotate(45deg);
  background: var(--accent); color: #fff; font-family: var(--ff-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 40px;
}
.price-card__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.price-card__desc { margin-top: 8px; color: var(--muted); font-size: .96rem; min-height: 48px; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price-card__price .amt { font-family: var(--ff-display); font-weight: 800; font-size: 2.6rem; color: var(--blue-700); letter-spacing: -.03em; }
.price-card__price .cur { font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; color: var(--blue-700); }
.price-card__price .per { color: var(--muted); font-size: .9rem; font-weight: 600; }
.price-card__list { margin: 18px 0 26px; display: grid; gap: 11px; }
.price-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--body); }
.price-card__list svg { width: 18px; height: 18px; color: var(--teal-500); flex: none; margin-top: 2px; }
.price-card__actions { margin-top: auto; display: grid; gap: 10px; }

/* ---------- Service / package list ---------------------------------------- */
.svc-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.svc-section--flip .svc-section__media { order: -1; }
@media (max-width: 940px) { .svc-section { grid-template-columns: 1fr; } .svc-section--flip .svc-section__media { order: 0; } }

.pkg-list { display: grid; gap: 12px; margin-top: 26px; }
.pkg { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.pkg:hover { border-color: #cfe0ee; box-shadow: var(--shadow-sm); transform: translateX(3px); }
.pkg__icon { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(140deg, var(--blue-600), var(--teal-500)); color: #fff; display: grid; place-items: center; flex: none; }
.pkg__icon svg { width: 20px; height: 20px; }
.pkg__body h4 { font-size: 1.02rem; }
.pkg__body p { font-size: .9rem; color: var(--muted); margin-top: 3px; }

.media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft-2); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media--tall img { aspect-ratio: 3 / 4; }

/* Image fallback (applied by main.js when an image fails to load) */
.media.is-fallback, .img-fallback {
  background: linear-gradient(140deg, var(--navy-800), var(--blue-700) 60%, var(--teal-500));
  display: grid; place-items: center; color: #cfe7ee; text-align: center; padding: 24px;
}
.img-fallback .img-fallback__label { font-family: "Courier New", monospace; font-size: .82rem; letter-spacing: .02em; line-height: 1.5; max-width: 320px; opacity: .92; }
.img-fallback .img-fallback__label::before { content: "▦ "; opacity: .6; }

/* ---------- Commercial teaser --------------------------------------------- */
.feature-list { display: grid; gap: 16px; margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi { width: 42px; height: 42px; border-radius: 11px; background: rgba(28,184,196,.14); color: var(--teal-400); display: grid; place-items: center; flex: none; }
.section--navy .feature-list h4 { color: #fff; font-size: 1.05rem; }
.section--navy .feature-list p { color: #a9c2d4; font-size: .95rem; margin-top: 2px; }

/* ---------- Testimonials --------------------------------------------------- */
.quote-card { padding: 30px; display: flex; flex-direction: column; }
.quote-card__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.quote-card__stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.06rem; color: var(--ink); line-height: 1.6; font-weight: 500; flex: 1; }
.quote-card__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-card__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, var(--blue-600), var(--teal-500)); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; flex: none; }
.quote-card__name { font-family: var(--ff-display); font-weight: 700; color: var(--ink); font-size: .98rem; }
.quote-card__role { font-size: .86rem; color: var(--muted); }

/* ---------- CTA band ------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-900), var(--blue-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(28,184,196,.35), transparent 70%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-band p { color: #bcd6e4; margin-top: 10px; max-width: 520px; }

/* ---------- Page hero (interior pages) ------------------------------------ */
.page-hero { background: var(--navy-900); color: #cfe0ec; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle at center, rgba(28,184,196,.16), transparent 60%); }
.page-hero__inner { padding-block: clamp(48px, 8vw, 84px); max-width: 760px; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 14px; }
.page-hero p { margin-top: 16px; font-size: 1.1rem; color: #b7cddc; }
.crumbs { font-size: .85rem; color: #7fa3bc; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: #fff; }

/* ---------- Contact -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft-2); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--ff-body); }
.contact-item a, .contact-item p { font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: 1.12rem; margin-top: 4px; line-height: 1.4; }
.contact-item a:hover { color: var(--blue-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(26px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-display); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fcfdfe; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--ring); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.field__error { display: none; color: #dc2626; font-size: .85rem; margin-top: 6px; font-weight: 600; }
.field.has-error .field__error { display: block; }

.form-success {
  display: none; text-align: center; padding: 24px;
  background: linear-gradient(140deg, rgba(16,154,166,.08), rgba(26,131,196,.08));
  border: 1px solid rgba(16,154,166,.3); border-radius: var(--radius); color: var(--ink);
}
.form-success.is-visible { display: block; animation: pop .4s ease; }
.form-success__check { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-500); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.form-success h3 { font-size: 1.3rem; }
.form-success p { margin-top: 8px; color: var(--body); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Blog ----------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__tag { font-family: var(--ff-display); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); }
.post-card__body h3 { font-size: 1.2rem; margin-top: 10px; }
.post-card__body p { margin-top: 10px; color: var(--muted); font-size: .95rem; flex: 1; }
.post-card__more { margin-top: 18px; font-family: var(--ff-display); font-weight: 700; color: var(--blue-700); display: inline-flex; align-items: center; gap: 7px; }
.post-card:hover .post-card__more { gap: 11px; }
.post-card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }

/* ---------- Article -------------------------------------------------------- */
.article { max-width: 760px; margin-inline: auto; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 40px; aspect-ratio: 16 / 8; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body { font-size: 1.1rem; color: var(--body); }
.article__body > * + * { margin-top: 22px; }
.article__body h2 { font-size: 1.7rem; margin-top: 44px; }
.article__body h3 { font-size: 1.3rem; margin-top: 32px; }
.article__body ul, .article__body ol { padding-left: 4px; display: grid; gap: 12px; }
.article__body ul li { display: flex; gap: 12px; }
.article__body ul li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; margin-top: 9px; }
.article__body ol { counter-reset: step; }
.article__body ol li { display: flex; gap: 14px; counter-increment: step; }
.article__body ol li::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft-2); color: var(--blue-700); font-family: var(--ff-display); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.article__body strong { color: var(--ink); }
.article__meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.article__meta .pill { background: var(--bg-soft-2); color: var(--blue-700); padding: 4px 12px; border-radius: 999px; font-weight: 600; font-family: var(--ff-display); font-size: .8rem; }
.draft-note { background: #fff7ed; border: 1px solid var(--accent-100); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .9rem; color: #9a3412; margin-bottom: 32px; }

/* ---------- Footer --------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #9fbacf; padding-block: clamp(48px, 7vw, 72px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name small { color: #6f93ad; }
.footer-bio { margin-top: 18px; max-width: 340px; color: #93b1c8; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--ff-body); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a:hover { color: var(--teal-400); }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-400); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #6f93ad; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-credit { padding-bottom: 22px; text-align: center; font-size: .86rem; color: #6f93ad; }
.footer-credit a { color: #cfe0ec; font-weight: 600; transition: color .18s ease; }
.footer-credit a:hover { color: var(--accent); }
.footer-credit__heart { color: #f43f5e; font-style: normal; }

/* ---------- Sticky mobile call banner ------------------------------------- */
.mobile-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(15,36,56,.12);
}
.mobile-call .btn { width: 100%; padding: 15px; font-size: 1.05rem; }
@media (max-width: 880px) {
  .mobile-call { display: block; }
  body { padding-bottom: 78px; }
}

/* ---------- Scroll reveal -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.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; }
.lead-copy { font-size: 1.1rem; color: var(--body); }
.lead-copy + .lead-copy { margin-top: 16px; }
