@layer reset, base, layout, components, utilities;

:root {
  /* Palette — clinical white + single blue accent, sparing amber */
  --bg: #FFFFFF;
  --bg-soft: #F4F9FC;          /* very light clinical blue */
  --bg-soft-2: #EEF4F7;
  --ink: #272727;             /* near-black text */
  --ink-2: #5b6168;
  --ink-3: #868d94;
  --line: #e3e9ee;
  --accent: #00A5FF;          /* clinical blue — primary accent */
  --accent-dark: #0089d6;
  --accent-soft: #e5f5ff;     /* very light blue wash */
  --amber: #F4A100;           /* secondary accent — stars, sparing highlight */
  --dark: #16222e;            /* footer / proof band dark */

  /* Type — Roboto everywhere */
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Geometry */
  --r: 7px;
  --header-h: 70px;
  --topbar-h: 38px;

  /* Shadows — subtle layered */
  --sh-1: 0 1px 3px rgba(22,34,46,.06), 0 1px 2px rgba(22,34,46,.04);
  --sh-2: 0 8px 28px rgba(22,34,46,.10);
}

@layer reset {
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { min-height: 100%; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
  input, select, textarea { font: inherit; color: inherit; }
  ul { list-style: none; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r); }
  [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
}

@layer base {
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
  h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
  h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
  h3 { font-size: 1.12rem; font-weight: 700; }
  p { color: var(--ink-2); }
  strong { color: var(--ink); font-weight: 700; }
  .tnum { font-variant-numeric: tabular-nums; }
}

@layer layout {
  .wrap { width: min(1200px, 92%); margin-inline: auto; }
  .wrap-narrow { width: min(820px, 92%); margin-inline: auto; }
  .sec { padding: clamp(2.8rem, 5vw, 4.4rem) 0; }
  .sec--soft { background: var(--bg-soft); }
  .sec-head { text-align: center; max-width: 620px; margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); }
  .sec-head .eyebrow { margin-bottom: .55rem; }
  .sec-head p { margin-top: .7rem; }
  .lead { font-size: clamp(1rem, 1.8vw, 1.1rem); color: var(--ink-2); }
}

@layer components {
  /* ---- Eyebrow ---- */
  .eyebrow { display: inline-block; font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

  /* ---- Buttons ---- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 500; font-size: .95rem; padding: .8rem 1.5rem; border-radius: var(--r); transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; white-space: nowrap; line-height: 1.1; }
  .btn svg { flex: none; }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { background: var(--accent-dark); }
  .btn-secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; }
  .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
  .btn-wa { border: 1px solid #25D366; color: #1a8f48; background: #fff; }
  .btn-wa:hover { background: #25D366; color: #fff; }
  .btn-white { background: #fff; color: var(--accent); }
  .btn-white:hover { background: #eef9ff; }
  .btn-block { width: 100%; }
  .btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }
  .link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; font-size: .9rem; color: var(--accent); }
  .link-arrow svg { transition: transform .2s ease; }
  .link-arrow:hover { color: var(--accent-dark); }
  .link-arrow:hover svg { transform: translateX(3px); }

  /* ---- Topbar (thin contact bar) ---- */
  .topbar { background: var(--dark); color: #d6e0e8; font-size: .82rem; }
  .topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--topbar-h); gap: 1rem; }
  .topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.4rem; }
  .topbar a { display: inline-flex; align-items: center; gap: .4rem; color: #d6e0e8; transition: color .18s ease; }
  .topbar a:hover { color: #fff; }
  .topbar svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
  .topbar .tb-sep { opacity: .35; }

  /* ---- Header (white, sticky) ---- */
  .header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
  .header-in { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }
  .brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
  .brand-mark { width: 36px; height: 36px; color: var(--accent); flex: none; display: block; }
  .brand-mark svg { width: 100%; height: 100%; display: block; }
  .brand-name { font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.05; }
  .brand-name b { color: var(--accent); font-weight: 700; }
  .brand-name small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 1px; }
  .nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
  .nav a { font-weight: 500; font-size: .92rem; color: var(--ink-2); padding: .3rem 0; transition: color .18s ease; position: relative; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--accent); transition: right .22s ease; }
  .nav a:hover, .nav a.active { color: var(--ink); }
  .nav a:hover::after, .nav a.active::after { right: 0; }
  .header-cta { display: flex; align-items: center; gap: .8rem; margin-left: 1rem; }
  .hdr-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .98rem; color: var(--accent); white-space: nowrap; }
  .hdr-phone:hover { color: var(--accent-dark); }
  .hdr-phone svg { flex: none; }
  .burger { display: none; width: 44px; height: 44px; border-radius: var(--r); align-items: center; justify-content: center; color: var(--ink); flex: none; margin-right: -8px; }
  .burger svg { width: 26px; height: 26px; }
  .burger .ic-close { display: none; }
  body.menu-open .burger .ic-open { display: none; }
  body.menu-open .burger .ic-close { display: block; }

  /* Mobile menu panel */
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: #fff; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; display: flex; flex-direction: column; padding: 1.5rem 0 2.5rem; overflow-y: auto; }
  body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu .wrap { display: flex; flex-direction: column; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { font-size: 1.15rem; font-weight: 500; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu nav a.active { color: var(--accent); }
  .mobile-menu .mm-foot { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
  .mm-phone { font-size: 1.5rem; color: var(--accent); font-weight: 700; }

  /* ---- Hero ---- */
  .hero { position: relative; overflow: hidden; color: #fff; }
  .hero-bg { position: absolute; inset: 0; z-index: 0; }
  .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
  .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,33,48,.78) 0%, rgba(13,33,48,.55) 48%, rgba(13,33,48,.18) 100%); }
  .hero-in { position: relative; z-index: 1; width: min(1200px, 92%); margin-inline: auto; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem); max-width: 1200px; }
  .hero-copy { max-width: 640px; }
  .hero .eyebrow { color: #6fd0ff; }
  .hero h1 { color: #fff; font-weight: 700; font-size: clamp(2rem, 4.6vw, 3rem); margin-top: .7rem; }
  .hero .hero-sub { color: #e4edf3; font-size: clamp(1rem, 2vw, 1.18rem); margin-top: 1rem; max-width: 56ch; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
  .hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.7rem; font-size: .9rem; color: #d3deE6; }
  .hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
  .hero-trust svg { width: 17px; height: 17px; color: #6fd0ff; flex: none; }

  /* Hero highlight strip (albire / tehnologie) */
  .hero-strip { position: relative; z-index: 1; background: var(--accent); color: #fff; }
  .hero-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.2rem; padding: .85rem 0; text-align: center; }
  .hero-strip .hs-item { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 500; }
  .hero-strip svg { width: 18px; height: 18px; flex: none; }
  .hero-strip b { font-weight: 700; }

  /* ---- Proof band (blue) ---- */
  .proof { background: var(--accent); color: #fff; }
  .proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: clamp(1.8rem, 4vw, 2.6rem) 0; }
  .proof-item { text-align: center; padding: 0 .5rem; position: relative; }
  .proof-item + .proof-item::before { content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: rgba(255,255,255,.22); }
  .proof-item b { display: block; font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1; }
  .proof-item span { font-size: .88rem; color: #dcf0ff; margin-top: .5rem; display: block; }
  .proof-stars { display: inline-flex; gap: 1px; margin-bottom: .35rem; }
  .proof-stars svg { width: 18px; height: 18px; color: var(--amber); }

  /* ---- Service cards grid ---- */
  .grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .scard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #cfe0eb; }
  .scard-icon { width: 48px; height: 48px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
  .scard-icon svg { width: 26px; height: 26px; }
  .scard h3 { font-size: 1.08rem; }
  .scard p { font-size: .9rem; color: var(--ink-2); flex: 1; }
  .scard .link-arrow { margin-top: .2rem; }

  /* ---- Tech / certification section ---- */
  .tech { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
  .tech-media { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
  .tech-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .tech-list { display: flex; flex-direction: column; gap: 1.1rem; margin: 1.4rem 0 1.7rem; }
  .tech-list li { display: flex; gap: .8rem; align-items: flex-start; }
  .tech-list .ti { flex: none; width: 38px; height: 38px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
  .tech-list .ti svg { width: 20px; height: 20px; }
  .tech-list b { display: block; color: var(--ink); font-weight: 700; }
  .tech-list span { font-size: .9rem; color: var(--ink-2); }
  .brand-strip { margin-top: 2.6rem; }
  .brand-strip .bs-label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 1.1rem; }
  .brand-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem 2.8rem; }
  .brand-logos span { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; color: #9aa6af; transition: color .2s ease; }
  .brand-logos span:hover { color: var(--ink-2); }

  /* ---- Before/After slider ---- */
  .ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .ba-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
  .ba-compare { position: relative; aspect-ratio: 4/3; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; }
  .ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
  .ba-after { z-index: 1; }
  .ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
  .ba-tag { position: absolute; bottom: .6rem; z-index: 3; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 4px; background: rgba(22,34,46,.72); color: #fff; }
  .ba-tag.left { left: .6rem; }
  .ba-tag.right { right: .6rem; }
  .ba-handle { position: absolute; top: 0; bottom: 0; z-index: 4; width: 3px; background: #fff; left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
  .ba-handle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); }
  .ba-handle .ba-arrows { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; color: var(--accent); display: flex; }
  .ba-handle .ba-arrows svg { width: 22px; height: 22px; }
  .ba-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
  .ba-body { padding: 1rem 1.1rem 1.2rem; }
  .ba-body h3 { font-size: 1.02rem; }
  .ba-body p { font-size: .88rem; margin-top: .25rem; }

  /* ---- Gallery filter ---- */
  .ba-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
  .ba-filter { padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2); background: #fff; transition: all .15s ease; }
  .ba-filter.active { background: var(--accent); color: #fff; border-color: var(--accent); }
  .ba-card.is-hidden { display: none; }

  /* ---- Team cards ---- */
  .grid-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .grid-team.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .tcard { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s ease; }
  .tcard:hover { box-shadow: var(--sh-2); }
  .tcard-media { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-soft); }
  .tcard-media img { width: 100%; height: 100%; object-fit: cover; }
  .tcard-body { padding: 1rem 1.2rem 1.3rem; }
  .tcard h3 { font-size: 1.1rem; }
  .tcard .role { font-size: .85rem; color: var(--accent); font-weight: 500; margin-top: .15rem; }
  .tcard .bio { font-size: .88rem; color: var(--ink-2); margin-top: .6rem; }
  .tcard .tcard-cta { margin-top: .9rem; }

  /* ---- Process steps ---- */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
  .step { position: relative; padding-top: 3.4rem; }
  .step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .9rem; margin-top: .35rem; }

  /* ---- Testimonials ---- */
  .grid-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
  .testi-stars { display: inline-flex; gap: 2px; }
  .testi-stars svg { width: 18px; height: 18px; color: var(--amber); }
  .testi blockquote { font-size: .98rem; color: var(--ink); line-height: 1.6; }
  .testi .who { font-size: .85rem; color: var(--ink-2); margin-top: auto; }
  .testi .who b { color: var(--ink); }

  /* ---- FAQ accordion ---- */
  .faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
  .faq-item { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .2s ease; }
  .faq-item.open { border-color: var(--accent); }
  .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; text-align: left; font-weight: 500; font-size: 1.02rem; color: var(--ink); }
  .faq-q svg { width: 20px; height: 20px; color: var(--accent); flex: none; transition: transform .2s ease; }
  .faq-item.open .faq-q svg { transform: rotate(180deg); }
  .faq-a { overflow: hidden; max-height: 0; transition: max-height .25s ease; }
  .faq-a-in { padding: 0 1.3rem 1.15rem; color: var(--ink-2); font-size: .94rem; }

  /* ---- CTA band ---- */
  .cta-band { background: var(--dark); color: #fff; border-radius: 0; }
  .cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2.2rem, 5vw, 3.2rem) 0; }
  .cta-band h2 { color: #fff; max-width: 22ch; }
  .cta-band p { color: #c3d0db; margin-top: .5rem; }
  .cta-band-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
  .cta-band .btn-wa { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
  .cta-band .btn-wa:hover { background: #25D366; border-color: #25D366; color: #fff; }

  /* ---- Contact strip (3 columns) ---- */
  .contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .cstrip-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem 1.5rem; text-align: center; }
  .cstrip-card .ci { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 1rem; }
  .cstrip-card .ci svg { width: 24px; height: 24px; }
  .cstrip-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
  .cstrip-card p { font-size: .92rem; }
  .cstrip-card .big { font-weight: 700; font-size: 1.15rem; color: var(--accent); margin: .3rem 0; display: block; }
  .cstrip-card .big a { color: var(--accent); }
  .cstrip-card .btn { margin-top: 1rem; }

  /* ---- Page header (inner pages) ---- */
  .page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3rem) 0; }
  .page-head .eyebrow { margin-bottom: .5rem; }
  .crumb { font-size: .82rem; color: var(--ink-2); margin-bottom: .55rem; }
  .crumb a { color: var(--ink-2); }
  .crumb a:hover { color: var(--accent); }
  .crumb span { color: var(--ink); }
  .page-head .lead { margin-top: .8rem; max-width: 60ch; }

  /* ---- Forms ---- */
  .form { display: flex; flex-direction: column; gap: 1rem; }
  .field { display: flex; flex-direction: column; gap: .4rem; }
  .field label { font-size: .85rem; font-weight: 500; color: var(--ink); }
  .field input, .field select, .field textarea { width: 100%; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,165,255,.14); }
  .field textarea { resize: vertical; min-height: 120px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); }
  .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; cursor: pointer; }
  .consent a { color: var(--accent); text-decoration: underline; }

  /* ---- Contact page 2-col ---- */
  .contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
  .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; box-shadow: var(--sh-1); }
  .info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; }
  .info-row { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .info-row:first-child { padding-top: 0; }
  .info-row:last-child { border-bottom: none; }
  .info-row .ii { flex: none; width: 42px; height: 42px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
  .info-row .ii svg { width: 20px; height: 20px; }
  .info-row .il { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
  .info-row .iv { font-weight: 500; color: var(--ink); }
  .info-row .iv a { color: var(--accent); font-weight: 700; }
  .info-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.3rem; }

  /* ---- Map ---- */
  .mapframe { width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(22,34,46,.10), 0 2px 6px rgba(22,34,46,.05); }
  .mapframe iframe { width: 100%; height: 400px; border: 0; display: block; }

  /* ---- Services list page (price ranges) ---- */
  .price-note { font-size: .86rem; color: var(--accent); font-weight: 700; margin-top: .3rem; }

  /* ---- Floating WhatsApp ---- */
  .wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37,211,102,.45); transition: transform .18s ease; }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float svg { width: 30px; height: 30px; }

  /* ---- Footer (dark) ---- */
  .footer { background: var(--dark); color: #9fb0bd; padding: clamp(2.8rem, 5vw, 3.8rem) 0 1.5rem; }
  .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2rem; }
  .footer .brand-name { color: #fff; }
  .footer .brand-name b { color: var(--accent); }
  .footer .brand-name small { color: #7d909e; }
  .footer-brand { display: inline-flex; align-items: center; gap: .55rem; }
  .footer-brand .brand-mark { width: 34px; height: 34px; color: var(--accent); flex: none; }
  .footer-brand .brand-mark svg { width: 100%; height: 100%; display: block; }
  .footer-desc { font-size: .9rem; margin: .9rem 0 1rem; max-width: 32ch; color: #9fb0bd; }
  .footer-nap { font-size: .9rem; line-height: 1.9; }
  .footer-nap a { color: #cdd9e2; }
  .footer-nap a:hover { color: #fff; }
  .footer h4 { color: #fff; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .9rem; font-weight: 700; }
  .footer-col a { display: block; font-size: .9rem; margin: .45rem 0; transition: color .18s ease; color: #9fb0bd; }
  .footer-col a:hover { color: #fff; }
  .footer-social { display: inline-flex; gap: .6rem; margin-top: .3rem; }
  .footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #cdd9e2; display: grid; place-items: center; transition: background .18s ease, color .18s ease; }
  .footer-social a:hover { background: var(--accent); color: #fff; }
  .footer-social svg { width: 18px; height: 18px; }
  /* ---- ANPC official banners (white boxes on dark footer) ---- */
  .footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.2rem; }
  .anpc-banner { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 6px 10px; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s ease, box-shadow .15s ease; }
  .anpc-banner:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.25); }
  .anpc-banner img { height: 38px; width: auto; display: block; }
  .footer-legal { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; font-size: .82rem; }
  .footer-legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
  .footer-legal-links a { color: #9fb0bd; }
  .footer-legal-links a:hover { color: #fff; }
  .footer-credit a { color: var(--accent); font-weight: 700; }
  .footer-credit a:hover { color: #6fd0ff; }
}

@layer utilities {
  .mt-1 { margin-top: 1rem; }
  .mt-2 { margin-top: 2rem; }
  .center { text-align: center; }
  .muted { color: var(--ink-2); }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
  .sec-cta { text-align: center; margin-top: 2.2rem; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .grid-team, .grid-team.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-testi { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .topbar { display: none; }
  .nav, .hdr-phone, .header-cta > .btn { display: none; }
  .burger { display: flex; }
  .header-cta { margin-left: auto; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .proof-item + .proof-item::before { display: none; }
  .contact-strip { grid-template-columns: 1fr; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .grid-services { grid-template-columns: 1fr; }
  .grid-team, .grid-team.cols-3 { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  /* Equal-height full-width controls (52px) — line-height centers input text */
  .hero-actions .btn, .info-actions .btn, .cta-band-actions .btn { width: 100%; height: 52px; line-height: 1.1; }
  .cta-band-actions { width: 100%; flex-direction: column; }
  .field input, .field select { height: 52px; line-height: normal; }
}

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

/* Discreet back-to-agency button (added by RTR) */
.rtr-back{position:fixed;left:16px;bottom:18px;z-index:70;display:inline-flex;align-items:center;gap:.35rem;background:rgba(18,18,18,.72);color:#fff;font-size:12px;font-weight:500;line-height:1;padding:.5rem .8rem;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.22);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:background .18s ease,transform .18s ease;text-decoration:none}
.rtr-back:hover{background:rgba(18,18,18,.92);transform:translateY(-1px)}
@media(max-width:560px){.rtr-back{left:12px;bottom:14px;font-size:11px;padding:.45rem .7rem}}
@media(prefers-reduced-motion:reduce){.rtr-back:hover{transform:none}}

/* fouc-reveal */
body { opacity: 1; }
