/* =========================================================================
   base.css - design tokens, reset, layout, components. Loaded on every page.

   DESIGN SYSTEM, in one place so nothing drifts:
   - One accent colour: --accent (#C2410C). CTAs, links, focus, active nav.
     Nothing else is coloured. The WhatsApp button is an outline button with
     the WhatsApp glyph, not WhatsApp green, so the page keeps one accent.
   - Radius rule: interactive pills are full-round, media and panels are 14px,
     form controls are 10px. Applied everywhere, no exceptions.
   - Type: Archivo (display) + Manrope (body), self-hosted, subset to the
     Romanian repertoire including both comma-below and cedilla ș/ț.
   - Theme: light by default, dark under prefers-color-scheme. Tokens only.
   ========================================================================= */

/* ---- Fonts: self-hosted, two subsets each. Romanian needs both: Â Î live in
   latin (U+00C2/U+00CE), Ă Ș Ț live in latin-ext. ----------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2-variations');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2015, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2192, U+2212;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-0103, U+0110-0111, U+0118-011B, U+0139-013E, U+0141-0144, U+0147-0148, U+0150-0155, U+0158-015F, U+0160-0165, U+016E-0171, U+0178-017E, U+0218-021B;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2-variations');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2015, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2192, U+2212;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-0103, U+0110-0111, U+0118-011B, U+0139-013E, U+0141-0144, U+0147-0148, U+0150-0155, U+0158-015F, U+0160-0165, U+016E-0171, U+0178-017E, U+0218-021B;
}

/* ---- Tokens ----------------------------------------------------------- */
:root {
  color-scheme: light;

  --bg:          #F4F5F7;
  --surface:     #FFFFFF;
  --surface-2:   #EAECF0;
  --ink:         #10151C;
  --ink-2:       #4A5462;
  --border:      #DDE1E7;
  --accent:      #C2410C;
  --accent-ink:  #FFFFFF;
  --accent-hover:#9A3412;
  --accent-soft: #FBEAE1;
  --danger:      #B42318;
  --ok:          #12643A;

  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1280px;
  --gutter: 20px;

  --r-pill: 999px;
  --r-panel: 14px;
  --r-field: 10px;

  --shadow: 0 1px 2px rgba(16, 21, 28, .04), 0 12px 32px -12px rgba(16, 21, 28, .12);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg:          #0E1116;
    --surface:     #161A21;
    --surface-2:   #1E242D;
    --ink:         #EDEFF2;
    --ink-2:       #A2ACB9;
    --border:      #2A313B;
    --accent:      #F2703C;
    --accent-ink:  #1A0A03;
    --accent-hover:#FF8A5B;
    --accent-soft: #2A1710;
    --danger:      #FF7B6E;
    --ok:          #5FD39B;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .6);
  }
}

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ---- Type ------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.95rem, 1.15rem + 2.8vw, 3rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.7rem); line-height: 1.12; }
h3 { font-size: clamp(1.15rem, 1.02rem + .6vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.accent { color: var(--accent); }
.section__head { max-width: 42ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section__head p { color: var(--ink-2); margin-bottom: 0; }

/* ---- Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section--ink { background: var(--ink); color: var(--bg); }
.section--ink .muted, .section--ink .section__head p { color: color-mix(in srgb, var(--bg) 72%, transparent); }

/* ---- Accessibility ---------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .7rem 1.1rem; z-index: 1000; border-radius: 0 0 var(--r-field) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost { background: var(--surface-2); color: var(--ink); border-color: transparent; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn--text { padding: 0; border: 0; color: var(--accent); background: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.section--ink .btn--outline { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 34%, transparent); }
.btn:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); }
  .btn--outline:hover { border-color: var(--accent); color: var(--accent); }
  .btn--ghost:hover { background: var(--border); }
}

/* ---- Header ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.site-header__brand {
  display: flex; align-items: center; gap: .6rem; flex: 0 1 auto;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -.02em; text-decoration: none; max-width: min(260px, 30vw);
}
.site-header__brand img,
.site-header__brand .custom-logo {
  display: block; max-height: 44px; width: auto; height: auto; object-fit: contain;
}
.site-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.site-nav__wrap { display: flex; justify-content: center; width: 100%; }
.site-nav__menu {
  list-style: none; display: flex; flex-wrap: nowrap; align-items: center;
  justify-content: center; gap: clamp(.85rem, 1.4vw, 1.5rem); margin: 0; padding: 0;
}
.site-nav__menu > li { flex: 0 0 auto; }
.site-nav__menu a {
  display: inline-block; text-decoration: none; font-size: .95rem; font-weight: 600;
  color: var(--ink-2); padding-block: .4rem; border-bottom: 2px solid transparent;
  white-space: nowrap; line-height: 1.2;
}
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a,
.site-nav__menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.site-header__cta { flex: 0 0 auto; padding: .65rem 1.15rem; font-size: .95rem; }
.site-nav__toggle { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-field); width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.site-nav__toggle span { width: 20px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

@media (hover: hover) and (pointer: fine) {
  .site-nav__menu a:hover { color: var(--ink); }
}

/* ---- Hero: asymmetric split, content left, photo right ---------------- */
.hero { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.hero__title { margin-bottom: .55rem; }
.hero__title .accent { color: var(--accent); }
.hero__sub { font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem); color: var(--ink-2); max-width: 48ch; margin-bottom: 1.75rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--surface-2); aspect-ratio: 1 / 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__stamp {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: var(--surface); color: var(--ink); border-radius: var(--r-pill);
  padding: .6rem 1.1rem; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow);
}

/* ---- Benefit strip: plain grid, hairline separated, no cards ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border); text-align: center;
}
.strip__item { padding: 1.6rem 1.15rem; border-right: 1px solid var(--border); }
.strip__item:last-child { border-right: 0; }
.strip__item h3 { font-size: 1.05rem; margin-bottom: .4rem; text-wrap: balance; }
.strip__item p { color: var(--ink-2); font-size: .95rem; margin: 0 auto; max-width: 28ch; text-wrap: pretty; }

/* ---- Bento: what we buy (exactly 4 cells, 1 large + 3) ---------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bento__cell { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.bento__cell:nth-child(1) { grid-column: span 4; }
.bento__cell:nth-child(2) { grid-column: span 2; }
.bento__cell:nth-child(3) { grid-column: span 2; }
.bento__cell:nth-child(4) { grid-column: span 4; }
/* A fixed media height rather than an aspect ratio: the four cells are
   different widths, and matching heights are what keep the two rows tidy. */
.bento__media { height: clamp(168px, 19vw, 260px); background: var(--surface-2); flex: 0 0 auto; }
.bento__media img { width: 100%; height: 100%; object-fit: cover; }
.bento__body { padding: 1.15rem 1.25rem 1.35rem; }
.bento__body h3 { margin-bottom: .35rem; }
.bento__body p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---- Steps: numbered flow -------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps__item { counter-increment: step; padding-top: 1.25rem; border-top: 3px solid var(--accent); }
.steps__item::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--accent); margin-bottom: .5rem; }
.steps__item h3 { margin-bottom: .35rem; }
.steps__item p { color: var(--ink-2); margin: 0; }

/* ---- Conditions: two columns ----------------------------------------- */
.cond { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 52px); }
.cond__list { list-style: none; margin: 0; padding: 0; }
.cond__list li { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.cond__list li:last-child { border-bottom: 0; }
.cond__mark { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; }
.cond__mark--ok { color: var(--ok); }
.cond__mark--no { color: var(--danger); }

/* ---- Makes: pills ----------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.pills li { border: 1px solid var(--border); border-radius: var(--r-pill); padding: .45rem 1rem; font-size: .93rem; font-weight: 600; background: var(--surface); }
.section--ink .pills li { background: transparent; border-color: color-mix(in srgb, var(--bg) 26%, transparent); }

/* ---- Testimonials ----------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 1.5rem 1.6rem; }
.quote p { font-size: 1.05rem; margin-bottom: 1rem; }
.quote cite { font-style: normal; font-weight: 700; font-size: .95rem; }
.quote cite span { display: block; font-weight: 500; color: var(--ink-2); font-size: .88rem; }

/* ---- City link grid --------------------------------------------------- */
.citygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.citygrid a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; text-decoration: none; font-weight: 700; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); padding: .95rem 1.15rem; transition: border-color .18s, transform .18s var(--ease); }
.citygrid a span { color: var(--accent); font-weight: 800; }
@media (hover: hover) and (pointer: fine) { .citygrid a:hover { border-color: var(--accent); transform: translateY(-2px); } }

/* ---- FAQ -------------------------------------------------------------- */
.faq { max-width: 76ch; margin-inline: auto; width: 100%; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; padding: 1.05rem 2rem 1.05rem 0; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 4px; top: 1.45rem; width: 11px; height: 11px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item__answer { color: var(--ink-2); padding-bottom: 1.1rem; max-width: 68ch; }

/* FAQ + other narrow blocks: keep the section head over the content column. */
.section--faq .section__head,
.section:has(.faq) .section__head { margin-inline: auto; text-align: center; max-width: 76ch; }

/* ---- Form ------------------------------------------------------------- */
.formwrap { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-field);
  padding: .8rem .9rem; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 1; }
.field__help { font-size: .87rem; color: var(--ink-2); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; }
.field--check label { font-weight: 500; font-size: .92rem; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { display: flex; gap: .6rem; padding: .85rem 1rem; border-radius: var(--r-field); font-size: .95rem; margin-bottom: 1.25rem; }
.formnote--ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.formnote--err { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

/* ---- Contact card ----------------------------------------------------- */
.contactcard { display: grid; gap: 1.1rem; }
.contactcard__row { display: grid; gap: .15rem; }
.contactcard__row span { font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.contactcard__row a, .contactcard__row strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; text-decoration: none; letter-spacing: -.01em; }
.contactcard__row a { color: var(--accent); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: clamp(36px, 5vw, 56px) 1.25rem; margin-bottom: var(--sticky-space, 0px); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.site-footer__brand img { max-height: 40px; width: auto; margin-bottom: .9rem; }
.site-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: .8rem; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer__menu a { text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-footer__legalinfo { font-size: .9rem; color: var(--ink-2); }
.site-footer__legalinfo p { margin-bottom: .4rem; }
.site-footer__bar { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; font-size: .88rem; color: var(--ink-2); }
.site-footer__bar a { text-decoration: none; }
.site-footer__bar .push { margin-left: auto; }
.anpc { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.anpc a { font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .site-footer__menu a:hover, .site-footer__bar a:hover { color: var(--accent); }
}

/* ---- Sticky mobile call bar ------------------------------------------- */
.callbar { display: none; }
@media (max-width: 900px) {
  :root { --sticky-space: 72px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  }
  .js-enabled .callbar { transform: translateY(110%); transition: transform .28s var(--ease); }
  .js-enabled .callbar.is-in { transform: none; }
  .callbar .btn { padding: .85rem 1rem; font-size: 1rem; }
}

/* ---- Floating WhatsApp CTA -------------------------------------------- */
.float-wa {
  position: fixed; right: 18px; bottom: 22px; z-index: 94;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.15rem; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .95rem; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease), background-color .18s;
}
.float-wa svg { width: 1.25em; height: 1.25em; }
@media (hover: hover) and (pointer: fine) {
  .float-wa:hover { background: var(--accent-hover); transform: translateY(-2px); }
}
@media (max-width: 900px) {
  .float-wa { bottom: calc(14px + var(--sticky-space, 72px)); right: 14px; }
  .float-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .float-wa { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
}

/* ---- Page content (the_content) --------------------------------------- */
.page-shell { max-width: 68ch; margin-inline: auto; }
.page-shell .crumbs { margin-bottom: 1.15rem; }
.page-title { margin-bottom: 1.35rem; text-wrap: balance; letter-spacing: -0.025em; }
.page-shell .page-title { font-size: clamp(2rem, 1.35rem + 2.2vw, 2.85rem); }
.page-content { max-width: 72ch; }
.page-shell .page-content { max-width: none; font-size: 1.08rem; line-height: 1.75; }
.page-content > *:first-child { margin-top: 0; }
.page-content p { margin-bottom: 1.15rem; text-wrap: pretty; }
.page-content h2 { margin-top: 2.6rem; margin-bottom: .85rem; line-height: 1.2; }
.page-content h3 { margin-top: 1.8rem; margin-bottom: .55rem; }
.page-content a { color: var(--accent); text-underline-offset: 3px; }
.page-content ul, .page-content ol { margin-bottom: 1.15rem; }
.page-content ul li, .page-content ol li { margin-bottom: .45rem; }
.page-content strong { font-weight: 700; color: var(--ink); }
.page-content .aligncenter { margin-inline: auto; display: block; }
.page-content img { border-radius: var(--r-panel); margin-block: 1.5rem; }

/* ---- Breadcrumbs ------------------------------------------------------ */
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 1rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---- Scroll reveal. The start state applies only with JS, so without JS
   the content is already visible and correct. --------------------------- */
.js-enabled .reveal { opacity: 0; transform: translateY(18px); }
.js-enabled .reveal.is-visible { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js-enabled .reveal--stagger.is-visible > * { animation: rise .5s var(--ease) both; }
.js-enabled .reveal--stagger.is-visible > :nth-child(1) { animation-delay: 0s; }
.js-enabled .reveal--stagger.is-visible > :nth-child(2) { animation-delay: .06s; }
.js-enabled .reveal--stagger.is-visible > :nth-child(3) { animation-delay: .12s; }
.js-enabled .reveal--stagger.is-visible > :nth-child(4) { animation-delay: .18s; }
.js-enabled .reveal--stagger.is-visible > :nth-child(n+5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(1), .strip__item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-nav, .site-header__cta { display: none; }
  .site-nav__toggle { display: flex; }
  .site-header__brand { max-width: calc(100% - 60px); }
  .site-header.is-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem var(--gutter) 1.25rem; }
  .site-header.is-open .site-nav__wrap { display: block; }
  .site-header.is-open .site-nav__menu { flex-direction: column; flex-wrap: wrap; gap: 0; align-items: stretch; }
  .site-header.is-open .site-nav__menu a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; color: var(--ink); white-space: normal; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16 / 10; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell:nth-child(n) { grid-column: span 1; }
  .bento__media { height: clamp(150px, 26vw, 220px); }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .cond { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .formwrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .strip { grid-template-columns: 1fr; }
  .strip__item { border-right: 0; border-bottom: 1px solid var(--border); padding: 1.35rem 0; }
  .strip__item:last-child { border-bottom: 0; }
  .strip__item p { max-width: none; }
  .bento { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .citygrid { grid-template-columns: 1fr; }
}

/* ---- Reduced motion: an off switch, not a slowdown -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-enabled .reveal { opacity: 1; transform: none; }
  .js-enabled .reveal--stagger.is-visible > * { opacity: 1; transform: none; }
}

/* ---- Print ------------------------------------------------------------ */
@media print {
  .site-header, .callbar, .float-wa, .cc, .site-footer__bar { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---- Missing-image panel: keeps the layout identical and makes the gap
   obvious in review instead of shipping a broken <img>. ----------------- */
.media-missing { display: block; width: 100%; height: 100%; min-height: 160px; background: var(--surface-2); border: 1px dashed var(--border); }
.brand-mark { color: var(--accent); }
.site-header__brand svg { width: 26px; height: 26px; }

/* ---- Icons: one default size, overridden where a component needs another. */
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: middle; }

/* ---- Closing call band ------------------------------------------------ */
.ctaband { display: grid; grid-template-columns: 1.2fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.ctaband h2 { margin-bottom: .5rem; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 900px) {
  .ctaband { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ctaband__actions .btn { width: 100%; }
}
