/* ==========================================================================
   Zone Reformas S.L — Instalaciones eléctricas
   Hoja de estilos principal
   ========================================================================== */

:root {
  --navy-900: #081a33;
  --navy-800: #0e2747;
  --navy-700: #16355c;
  --blue-600: #1257a8;
  --blue-500: #1a6fd4;
  --blue-400: #4a93e8;
  --blue-100: #dceafa;
  --blue-50: #f1f6fd;
  --amber-500: #f5b324;
  --amber-600: #d99806;
  --ink: #12202f;
  --body: #46596d;
  --muted: #6c7d90;
  --line: #dde5ee;
  --white: #ffffff;
  --surface: #f6f9fd;
  --ok: #12855f;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(8, 26, 51, .06);
  --shadow: 0 10px 30px rgba(8, 26, 51, .09);
  --shadow-lg: 0 24px 60px rgba(8, 26, 51, .16);
  --wrap: 1180px;
  --header-h: 76px;
  --ff: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); }
p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--surface); }
.section--navy { background: var(--navy-900); color: #c9d8ea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--amber-500); }

.lead { font-size: 1.12rem; color: var(--body); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }

.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(18, 87, 168, .28); }
.btn--primary:hover { background: var(--blue-500); color: #fff; }

.btn--amber { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 8px 22px rgba(245, 179, 36, .32); }
.btn--amber:hover { background: var(--amber-600); color: var(--navy-900); }

.btn--wa { background: #25d366; color: #05331a; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1ebe5b; color: #05331a; }

.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn--outline { border-color: var(--blue-600); color: var(--blue-600); background: #fff; }
.btn--outline:hover { background: var(--blue-50); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; gap: 18px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-weight: 900; color: var(--navy-900); font-size: 1.08rem; letter-spacing: -.02em; }
.brand__tag { font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 10px; color: var(--navy-800);
  font-weight: 600; font-size: .97rem; white-space: nowrap;
}
.nav a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }

.has-sub { position: relative; }
.has-sub > .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 246px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .18s ease;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub li { margin: 0; }
.sub a { display: block; }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { padding: 11px 20px; font-size: .95rem; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy-900); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-900); transition: .2s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #dbe7f5; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-600) 140%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(245, 179, 36, .16), transparent 62%),
    radial-gradient(700px 500px at 4% 92%, rgba(26, 111, 212, .32), transparent 60%);
}
.hero__inner {
  position: relative; z-index: 1; display: grid; gap: 46px; align-items: center;
  grid-template-columns: 1.08fr .92fr; padding: clamp(52px, 6.5vw, 92px) 0 clamp(60px, 7vw, 96px);
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--amber-500); }
.hero p { font-size: 1.1rem; color: #c3d5e9; max-width: 56ch; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: 7px 15px; font-size: .86rem; font-weight: 600; color: #e7f0fb;
}
.hero__badges svg { width: 16px; height: 16px; fill: var(--amber-500); }

.hero__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .93rem; color: #a9c1da; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; flex: none; fill: var(--amber-500); }
.hero__meta strong { color: #fff; }

.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero__card {
  position: absolute; left: -22px; bottom: -26px; background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 250px;
}
.hero__card strong { display: block; font-size: 1.55rem; color: var(--blue-600); line-height: 1.1; }
.hero__card span { font-size: .86rem; color: var(--muted); font-weight: 600; }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy-800); color: #cddcec; padding: 18px 0; }
.trust ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 26px; list-style: none; margin: 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .93rem; font-weight: 600; }
.trust svg { width: 22px; height: 22px; fill: var(--amber-500); flex: none; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h3 { margin-bottom: .5em; }
.card p { margin-bottom: 0; font-size: .98rem; }
.card ul { margin: 14px 0 0; padding-left: 1.1em; font-size: .95rem; }

.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); margin-bottom: 18px; border: 1px solid var(--blue-100);
}
.card__icon svg { width: 27px; height: 27px; fill: var(--blue-600); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .95rem; }

.card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #c3d5e9; box-shadow: none; }
.card--dark:hover { border-color: rgba(245, 179, 36, .5); }
.card--dark .card__icon { background: rgba(245, 179, 36, .14); border-color: rgba(245, 179, 36, .28); }
.card--dark .card__icon svg { fill: var(--amber-500); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(30px, 5vw, 62px); align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split--reverse .split__media { order: 2; }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231257a8'%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/14px no-repeat;
  border: 1px solid var(--blue-100);
}
.section--navy .checklist li::before { background-color: rgba(245, 179, 36, .16); border-color: rgba(245, 179, 36, .3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5b324'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }

/* ---------- Process ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; position: relative; margin: 0; }
.steps li::before {
  content: "0" counter(step); position: absolute; top: -16px; left: 24px;
  background: var(--blue-600); color: #fff; font-weight: 800; font-size: .88rem;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .04em;
}
.steps h3 { font-size: 1.1rem; margin: 8px 0 .4em; }
.steps p { margin: 0; font-size: .96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.2rem; color: var(--amber-500); line-height: 1.1; font-weight: 900; }
.stat span { font-size: .93rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); background: var(--navy-900); }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .45s ease, opacity .3s ease; }
.gallery figure:hover img { transform: scale(1.06); opacity: .8; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff;
  font-size: .9rem; font-weight: 600; background: linear-gradient(transparent, rgba(8, 26, 51, .88));
}

/* ---------- Zones ---------- */
.zone-card { display: flex; flex-direction: column; gap: 6px; }
.zone-card h3 { margin-bottom: 2px; }
.zone-card p { font-size: .96rem; }

.zone-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.zone-pills li { margin: 0; }
.zone-pills a, .zone-pills span {
  display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--navy-800);
}
.zone-pills a:hover { border-color: var(--blue-500); color: var(--blue-600); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq details[open] { border-color: var(--blue-100); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); padding: 18px 34px 18px 0;
  position: relative; list-style: none; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p:last-child { margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-600), var(--navy-800));
  color: #e6f0fb; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 54px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin-bottom: 0; color: #cfe0f3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 34px; align-items: start; }

.contact-list { list-style: none; padding: 0; margin: 0 0 26px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; fill: var(--blue-600); flex: none; margin-top: 4px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { font-weight: 700; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .93rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26, 111, 212, .14);
}
.field textarea { min-height: 128px; resize: vertical; }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.field--check input { width: auto; margin-top: 4px; flex: none; }
.form .btn { width: 100%; }
.form__note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9db3cb; padding: 58px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; padding-bottom: 42px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #9db3cb; }
.footer a:hover { color: var(--amber-500); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 52px; height: 52px; border-radius: 12px; }
.footer__brand strong { color: #fff; font-size: 1.1rem; display: block; }
.footer__brand span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 84px; font-size: .86rem;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(8, 26, 51, .12);
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: .95rem; }

/* WhatsApp floating (desktop) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 110; width: 58px; height: 58px;
  border-radius: 50%; background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(130deg, var(--navy-900), var(--navy-700) 70%, var(--blue-600) 150%);
  color: #c9dbef; padding: clamp(42px, 5.5vw, 72px) 0 clamp(46px, 6vw, 76px);
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 70ch; margin-bottom: 0; color: #c3d5e9; }
.page-hero .btn-row { margin-top: 26px; }

.breadcrumb { font-size: .85rem; color: #93aeca; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.breadcrumb a { color: #cfe0f3; }
.breadcrumb a:hover { color: var(--amber-500); }

/* ---------- Service detail blocks ---------- */
.service-block { scroll-margin-top: calc(var(--header-h) + 20px); padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block h2 { display: flex; align-items: center; gap: 14px; }
.service-block h2 svg { width: 30px; height: 30px; fill: var(--blue-600); flex: none; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a {
  display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy-800);
}
.toc a:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }

.note {
  background: var(--blue-50); border-left: 4px solid var(--blue-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 0 0 24px; font-size: .97rem;
}
.note strong { color: var(--ink); }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .hero__card { left: 0; }
  .split--reverse .split__media { order: 0; }

  .burger { display: inline-flex; }
  .header__cta .btn--phone-text { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 24px; gap: 2px;
    box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-14px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 13px 12px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-sub > .sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 0 14px; min-width: 0;
  }
  .has-sub > .sub a { font-size: .95rem; color: var(--muted); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .mobile-cta { display: flex; }
  .wa-float { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { padding-bottom: 96px; }
  .gallery { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
  .card { padding: 24px 22px; }
}

@media (max-width: 560px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1rem; }
  .brand img { width: 42px; height: 42px; }
}

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

@media print {
  .header, .mobile-cta, .wa-float, .hero__media, .footer { display: none !important; }
  body { font-size: 12pt; color: #000; }
}
