/* ==========================================================
   FPM Fisioterapia a Domicilio Pamplona — styles.css
   Sistema: pino + terracota sobre lino · Newsreader / Figtree
   ========================================================== */

:root {
  --primary: #1F3D36;
  --primary-deep: #152B26;
  --primary-soft: #2E544B;
  --accent: #B5532F;
  --accent-hover: #9A4426;
  --accent-soft: #F4E1D6;
  --accent-light: #E8A484;
  --sage: #DCE6DF;
  --sage-deep: #C5D5CA;
  --warm-bg: #FAF6EF;
  --paper: #FFFDF9;
  --text: #1C2421;
  --text-muted: #55625D;
  --border: #E4DDD0;
  --white: #FFFFFF;
  --ok: #2F6B4F;
  --error: #A3321C;

  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(21, 43, 38, .06), 0 2px 8px rgba(21, 43, 38, .05);
  --shadow-2: 0 12px 32px -12px rgba(21, 43, 38, .22);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --topbar-h: 40px;
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--warm-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[class], ol[class] { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--primary-deep); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--primary); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--primary-deep);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 4rem); font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem); font-variation-settings: "opsz" 48; }
h3 { font-size: clamp(1.25rem, 1.12rem + .6vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 700; }
p { text-wrap: pretty; }
strong { font-weight: 650; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); color: var(--text-muted); max-width: 60ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--sage); }
.section--paper { background: var(--paper); border-block: 1px solid var(--border); }
.section--dark { background: var(--primary); color: #E6EEEA; }
.section--dark h2, .section--dark h3 { color: var(--warm-bg); }
.section--dark .eyebrow { color: var(--accent-light); }
.section--dark a { color: var(--warm-bg); }
.section--dark .section-intro, .section--dark p { color: #CFDDD7; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 + .section-intro { margin-top: var(--s2); }
.section-intro { color: var(--text-muted); font-size: 1.125rem; max-width: 62ch; }

.grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: var(--s5); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.flex { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }

/* ---------- Prosa ---------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { font-weight: 550; }
.prose .table-wrap, .prose .callout, .prose figure { margin-block: 1.8em; }
.prose > .eyebrow + h2, .prose > .eyebrow + h3 { margin-top: 0; }
.prose > .eyebrow { margin-bottom: 12px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }

/* ---------- Iconos ---------- */
.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; vertical-align: -.2em;
}
.icon--lg {
  width: 52px; height: 52px; padding: 13px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent); stroke-width: 1.6;
  margin-bottom: var(--s2);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 650; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--dark { background: var(--primary); color: var(--white); }
.btn--dark:hover { background: var(--primary-deep); color: var(--white); }
.btn--ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--ghost:hover { background: var(--primary); color: var(--white); }
.btn--light { background: var(--warm-bg); color: var(--primary-deep); }
.btn--light:hover { background: var(--white); color: var(--accent-hover); }
.btn--wa { background: #1F7A4D; color: var(--white); }
.btn--wa:hover { background: #17603C; color: var(--white); }
.btn--outline-light { border-color: rgba(250, 246, 239, .55); color: var(--warm-bg); }
.btn--outline-light:hover { background: var(--warm-bg); color: var(--primary-deep); border-color: var(--warm-bg); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--primary-deep); color: #D5E2DC; font-size: .875rem; }
.topbar .container { display: flex; gap: 8px 24px; align-items: center; justify-content: center; height: var(--topbar-h); flex-wrap: nowrap; overflow: hidden; }
.topbar a { color: var(--warm-bg); text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: var(--accent-light); }
.topbar__item { display: inline-flex; gap: 6px; align-items: center; }
.topbar__hide-sm { display: none; }
@media (min-width: 768px) {
  .topbar .container { justify-content: space-between; }
  .topbar__hide-sm { display: inline-flex; }
}

header[role="banner"] { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 100; }
.site-header {
  position: relative;
  background: rgba(250, 246, 239, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 20px -16px rgba(21, 43, 38, .5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary-deep); }
.brand:hover { color: var(--primary-deep); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; }
.brand__tag { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; color: var(--primary-deep);
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle[aria-expanded="true"] .icon-menu, .nav-toggle[aria-expanded="false"] .icon-close { display: none; }

.main-nav { display: none; }
.site-header > .container { position: relative; }
.main-nav.is-open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  background: var(--warm-bg); padding: 20px 20px 120px; overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid var(--border); box-shadow: 0 30px 40px -20px rgba(21, 43, 38, .25);
}
.main-nav ul { display: flex; flex-direction: column; gap: 4px; list-style: none; }
.main-nav a {
  display: flex; align-items: center; min-height: 52px; padding: 8px 12px; border-radius: 10px;
  font-weight: 600; font-size: 1.25rem; color: var(--primary-deep); text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--sage); color: var(--primary-deep); }
.main-nav .nav-cta { margin-top: 16px; }
.main-nav .nav-cta .btn { width: 100%; font-size: 1.125rem; }
.main-nav .nav-cta a.btn { color: var(--white); justify-content: center; }
.main-nav .nav-cta a.btn:hover { background: var(--accent-hover); }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.is-open { display: block; position: static; padding: 0; background: none; border: 0; overflow: visible; height: auto; box-shadow: none; }
  .main-nav ul { flex-direction: row; align-items: center; gap: 2px; }
  .main-nav a { font-size: 1rem; min-height: 44px; padding: 8px 14px; position: relative; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: transparent; color: var(--accent); }
  .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; }
  .main-nav .nav-cta { margin: 0 0 0 12px; }
  .main-nav .nav-cta .btn { width: auto; font-size: 1rem; min-height: 46px; padding: 10px 20px; }
  .main-nav .nav-cta a.btn::after { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .9rem; margin-bottom: var(--s3); color: var(--text-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--sage-deep); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--primary-deep); font-weight: 600; }

/* ---------- Page hero (interiores) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px);
  background:
    radial-gradient(1200px 400px at 100% 0%, rgba(220, 230, 223, .8), transparent 60%),
    var(--warm-bg);
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid var(--sage-deep); box-shadow: 0 0 0 60px rgba(197, 213, 202, .12), 0 0 0 120px rgba(197, 213, 202, .08);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: var(--s3); }
.page-hero__grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.page-hero__media {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-2);
  border: 6px solid var(--paper); background: var(--paper);
  max-width: 520px; justify-self: center; rotate: 1.2deg;
}
.page-hero__media img { width: 100%; height: auto; }
.post-meta { margin-top: var(--s3); font-size: .95rem; color: var(--text-muted); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 96px) clamp(56px, 7vw, 112px);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(220, 230, 223, .9), transparent 65%),
    radial-gradient(700px 400px at 0% 100%, rgba(244, 225, 214, .55), transparent 60%),
    var(--warm-bg);
}
.hero__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 253, 249, .8); border: 1px solid rgba(181, 83, 47, .35);
  font-size: .9rem; font-weight: 650; color: var(--primary-deep);
  margin-bottom: var(--s3);
}
.hero-badge__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.hero-badge__dot .icon { width: 15px; height: 15px; }
.hero h1 { line-height: 1.06; font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem); }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero-services {
  margin-top: var(--s3);
  font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-soft); opacity: .85;
}
.hero-subtitle { margin-top: var(--s3); font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3rem); color: var(--text-muted); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: var(--s4); font-size: .95rem; color: var(--primary-deep); font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--ok); }

/* Formulario del hero */
.hero-form { box-shadow: var(--shadow-2); border-radius: 22px; }
.hero-form__title { font-family: var(--font-head); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); color: var(--primary-deep); line-height: 1.2; margin-bottom: 6px; }
.hero-form .form-card__intro { margin-bottom: 18px; }
.hero-form .form-grid { gap: 14px; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
/* @critical-end */

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 30px);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); }
.card p + p { margin-top: .6em; }
.card__link {
  margin-top: auto; padding-top: var(--s2);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; color: var(--accent);
}
.card__link .icon { transition: transform .2s var(--ease); }
.card:hover { border-color: var(--sage-deep); box-shadow: var(--shadow-1); }
.card:hover .card__link .icon { transform: translateX(4px); }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:hover { color: var(--accent); }
.card__meta { font-size: .875rem; color: var(--text-muted); margin-top: auto; padding-top: var(--s2); }
.section--dark .card { background: var(--primary-soft); border-color: rgba(250, 246, 239, .12); }
.section--dark .card p { color: #CFDDD7; }

.service-card__num { font-family: var(--font-head); font-size: .95rem; color: var(--accent); font-style: italic; margin-bottom: 4px; }

/* ---------- Listas ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--alt .checklist li::before { background-color: var(--paper); }
.section--dark .checklist li::before { background-color: var(--accent-soft); }
.checklist--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: var(--s4); } }

.steps { counter-reset: step; display: grid; gap: var(--s3); }
.steps > li { counter-increment: step; position: relative; padding-left: 68px; min-height: 52px; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.25rem; font-style: italic;
  background: var(--primary); color: var(--warm-bg);
}
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 60px; bottom: -20px; width: 2px; background: var(--sage-deep); }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; padding-top: 10px; }
.steps p { color: var(--text-muted); }
.section--dark .steps > li::before { background: var(--accent); }
.section--dark .steps > li:not(:last-child)::after { background: rgba(250, 246, 239, .2); }
@media (min-width: 1024px) {
  .steps--row { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: var(--s4); }
  .steps--row > li { padding-left: 0; padding-top: 72px; }
  .steps--row > li:not(:last-child)::after { left: 60px; right: -24px; top: 25px; bottom: auto; width: auto; height: 2px; }
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 16px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--border);
  font-size: .95rem; font-weight: 600; color: var(--primary-deep);
}
.chips li:has(> .chip) { padding: 0; border: 0; background: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--sage-deep);
  font-weight: 650; text-decoration: none; color: var(--primary-deep);
  transition: background-color .18s, color .18s, border-color .18s;
}
.chip:hover { background: var(--primary); color: var(--warm-bg); border-color: var(--primary); }
.section--alt .chips li { background: var(--paper); }

.link-list { display: grid; gap: 4px; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px;
  padding: 12px 4px; border-bottom: 1px solid var(--border); text-decoration: none; font-weight: 600;
}
.link-list a::after { content: "→"; color: var(--accent); transition: transform .2s var(--ease); }
.link-list a:hover::after { transform: translateX(4px); }

/* ---------- Callout / caso / stats ---------- */
.callout {
  background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm); padding: 18px 22px;
}
.callout--warn { border-left-color: var(--accent); background: #FDF3EC; }
.callout p + p { margin-top: .5em; }

.case-card {
  position: relative; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px 24px; margin: 0;
}
.case-card__tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--sage); border-radius: var(--radius-pill); padding: 5px 12px; margin-bottom: 14px;
}
.case-card blockquote { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.45; color: var(--primary-deep); }
.case-card blockquote p + p { margin-top: .6em; }
.case-card figcaption { margin-top: 16px; font-size: .95rem; color: var(--text-muted); }
.case-card figcaption strong { color: var(--primary-deep); }
.section--alt .case-card { background: var(--paper); }
.cases-note { margin-top: var(--s3); font-size: .9rem; color: var(--text-muted); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s3); margin-block: var(--s4); }
.stat { border-top: 2px solid var(--accent); padding-top: 14px; }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1; color: var(--primary-deep); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 8px; font-size: .95rem; color: var(--text-muted); }
.section--dark .stat__num { color: var(--warm-bg); }

/* ---------- Tabla ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 520px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--sage); font-weight: 700; color: var(--primary-deep); font-size: .95rem; }
.table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Media ---------- */
.media { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--border); max-width: 520px; }
.media img { width: 100%; height: auto; }
.media figcaption { padding: 10px 14px; font-size: .9rem; color: var(--text-muted); }

/* ---------- Precios ---------- */
.pricing { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pricing { grid-template-columns: repeat(4, 1fr); } }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px 24px;
}
.price-card--featured { background: var(--primary); border-color: var(--primary); color: #DCE7E2; box-shadow: var(--shadow-2); }
.price-card--featured h3, .price-card--featured .price-card__amount { color: var(--warm-bg); }
.price-card__badge {
  position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill);
}
.price-card__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.price-card--featured .price-card__kicker { color: var(--accent-light); }
.price-card h3 { font-size: 1.375rem; margin-top: 6px; }
.price-card__amount { margin-top: 18px; font-family: var(--font-head); font-size: 3.25rem; line-height: 1; color: var(--primary-deep); font-variant-numeric: tabular-nums; }
.price-card__amount small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.price-card--featured .price-card__amount small { color: #CFDDD7; }
.price-card ul { margin: 18px 0 24px; display: grid; gap: 8px; font-size: .975rem; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li .icon { color: var(--ok); margin-top: .25em; }
.price-card--featured li .icon { color: #7FD1A4; }
.price-card .btn { margin-top: auto; padding: 12px 18px; font-size: 1rem; }
.pricing-note { margin-top: var(--s3); font-size: .975rem; color: var(--text-muted); max-width: 80ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.faq-item h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 650; line-height: 1.4; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; padding: 18px 22px; min-height: 60px; color: var(--primary-deep); font-weight: 650;
}
.faq-q .icon { width: 22px; height: 22px; color: var(--accent); transition: transform .2s var(--ease); }
.faq-q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--text-muted); }
.faq-a p + p, .faq-a ul { margin-top: .6em; }
.faq-a ul { padding-left: 1.2em; }
.faq-a[hidden] { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary-deep); color: #CFDDD7; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(250, 246, 239, .1); box-shadow: 0 0 0 70px rgba(250, 246, 239, .03), 0 0 0 140px rgba(250, 246, 239, .02);
}
.cta-band__inner { position: relative; display: grid; gap: var(--s4); padding-block: clamp(56px, 7vw, 88px); align-items: center; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { color: var(--warm-bg); }
.cta-band p { margin-top: 12px; font-size: 1.125rem; max-width: 52ch; }
.cta-band .btn-row { margin-top: 0; }
@media (min-width: 1024px) { .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- Formularios ---------- */
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-1); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card__intro { color: var(--text-muted); margin-bottom: var(--s3); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 650; font-size: .975rem; color: var(--primary-deep); }
.form-input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 10px;
  background: var(--white); border: 1.5px solid #CFC6B6; font-size: 1.0625rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea.form-input { min-height: 120px; resize: vertical; }
select.form-input {
  appearance: none; padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D36' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 61, 54, .14); }
.form-input[aria-invalid="true"] { border-color: var(--error); }
.form-help { font-size: .875rem; color: var(--text-muted); }
.form-error { font-size: .9rem; color: var(--error); font-weight: 600; }
.form-error:empty { display: none; }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text-muted); cursor: pointer; }
.form-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status--ok { background: #E3F1E8; color: var(--ok); }
.form-status--error { background: #FBE6DF; color: var(--error); }
.form-foot { font-size: .875rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ---------- Contacto ---------- */
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--sage); color: var(--primary); flex: none; }
.contact-list strong { display: block; color: var(--primary-deep); }
.contact-list a { font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.hours td:last-child { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--sage); aspect-ratio: 16 / 10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-deep); color: #B9CBC3; font-size: .975rem; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #E6EEEA; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 40px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 16px; }
.footer-list { display: grid; gap: 8px; }
.footer-list a { display: inline-block; padding-block: 3px; }
.site-footer .brand { color: var(--warm-bg); }
.site-footer .brand__tag { color: #9DB3AA; }
.footer-about { margin-top: 16px; max-width: 38ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: .25em; color: var(--accent-light); }
.subfooter { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(250, 246, 239, .12); padding-block: 22px 28px; font-size: .875rem; }
.subfooter .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.subfooter ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 1099px) { .site-footer { padding-bottom: 76px; } }

/* ---------- Barra móvil fija ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 239, .96); border-top: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mobile-bar .btn { min-height: 50px; padding: 10px 12px; font-size: 1rem; }
@media (min-width: 1100px) { .mobile-bar { display: none; } }
.wa-float {
  display: none; position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #1F7A4D; color: var(--white);
  place-items: center; box-shadow: var(--shadow-2); transition: transform .2s var(--ease), background-color .2s;
}
.wa-float:hover { transform: scale(1.06); background: #17603C; color: var(--white); }
.wa-float .icon { width: 30px; height: 30px; }
@media (min-width: 1100px) { .wa-float { display: grid; } }

/* ---------- Home: piezas ---------- */
.why-grid { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: 1.2fr 1fr 1fr; } .why-grid > :first-child { grid-row: span 2; } }
.why-feature {
  background: var(--primary); color: #DCE7E2; border-radius: 20px; padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden;
}
.why-feature h3 { color: var(--warm-bg); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.why-feature__clock { white-space: nowrap; font-family: var(--font-head); font-size: clamp(2.75rem, 2.2rem + 2.2vw, 4rem); line-height: 1; color: var(--accent-light); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.why-feature__clock small { display: block; font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #CFDDD7; margin-top: 10px; }

.barrios-wrap { display: grid; gap: var(--s5); }
@media (min-width: 1024px) { .barrios-wrap { grid-template-columns: 1fr 1fr; } }
.zone-list { display: grid; gap: 10px; }
.zone-list a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 16px 20px; min-height: 60px; border-radius: 14px; background: var(--paper); border: 1px solid var(--border);
  text-decoration: none; color: var(--primary-deep); font-weight: 650;
  transition: border-color .18s, transform .18s var(--ease);
}
.zone-list a:hover { border-color: var(--accent); transform: translateX(4px); color: var(--primary-deep); }
.zone-list__time { font-size: .875rem; font-weight: 700; color: var(--accent); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }

.home-photo { position: relative; }
.home-photo .media { max-width: 100%; rotate: -1.2deg; box-shadow: var(--shadow-2); border: 6px solid var(--paper); }
.home-photo__note {
  position: absolute; right: -6px; bottom: -22px; background: var(--accent); color: var(--white);
  padding: 12px 16px; border-radius: 14px; font-weight: 650; font-size: .95rem; box-shadow: var(--shadow-2); max-width: 230px; rotate: 2deg;
}

.reviews-pending { display: none; }

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .hero .hero-anim { animation: rise .7s var(--ease) both; }
  .hero .hero-anim:nth-child(2) { animation-delay: .06s; }
  .hero .hero-anim:nth-child(3) { animation-delay: .12s; }
  .hero .hero-anim:nth-child(4) { animation-delay: .18s; }
  .hero .hero-anim:nth-child(5) { animation-delay: .24s; }
  .hero .hero-anim:nth-child(6) { animation-delay: .3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(72px, 10vw, 140px); }
.notfound__code { font-family: var(--font-head); font-size: clamp(5rem, 4rem + 6vw, 9rem); line-height: 1; color: var(--accent); font-style: italic; }
.notfound .btn-row { justify-content: center; }
.notfound .link-list { max-width: 480px; margin: var(--s5) auto 0; text-align: left; }

/* ---------- Legal ---------- */
.legal .prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.pending { background: #FFF4CC; padding: 0 4px; border-radius: 4px; }

/* ---------- Ajustes ---------- */
.subfooter ul { list-style: none; }
.form-field .form-check { font-weight: 400; color: var(--text-muted); font-size: .95rem; }
.split > *, .grid > *, .form-grid > *, .hero__grid > *, .page-hero__grid > *, .barrios-wrap > * { min-width: 0; }
.form-input { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 479px) {
  .brand__tag { font-size: .62rem; letter-spacing: .06em; white-space: nowrap; }
  .brand__name { font-size: 1.125rem; }
}

/* ==========================================================
   Lista de zonas (todas las pantallas)
   ========================================================== */
.zone-list__txt { display: flex; flex-direction: column; gap: 2px; }
.zone-list__pre { font-size: .8rem; font-weight: 600; color: var(--text-muted); letter-spacing: .02em; }
.zone-list__name { font-size: 1.0625rem; font-weight: 700; color: var(--primary-deep); }
.zone-list__time .icon { width: 20px; height: 20px; }
.topbar__short { display: none; }
.card__link { display: inline; }
.card__link .icon { display: inline-block; margin-left: 4px; }
.contact-list a, .footer-contact a { overflow-wrap: anywhere; }

/* ==========================================================
   MÓVIL (< 640px)
   ========================================================== */
@media (max-width: 639px) {
  body { font-size: 1.0625rem; }
  .container { padding-inline: 18px; }
  .section { padding-block: 52px; }
  .section-head { margin-bottom: 28px; }
  .section-intro, .lead { font-size: 1.0625rem; }
  h2 { font-size: 1.75rem; line-height: 1.18; }
  h3 { font-size: 1.2rem; }
  .eyebrow { font-size: .75rem; letter-spacing: .12em; margin-bottom: 12px; }

  /* Topbar en una línea */
  .topbar { font-size: .8125rem; }
  :root { --topbar-h: 34px; }
  .topbar__long { display: none; }
  .topbar__short { display: inline; }

  /* Header */
  :root { --header-h: 64px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.125rem; }
  .brand__tag { font-size: .66rem; letter-spacing: .05em; white-space: nowrap; }

  /* Hero home */
  .hero { padding-block: 28px 44px; }
  .hero-badge { font-size: .8125rem; margin-bottom: 16px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-services { font-size: .72rem; letter-spacing: .12em; margin-top: 14px; }
  .hero-subtitle { font-size: 1.0625rem; margin-top: 16px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .hero-ctas .btn { padding: 12px 10px; font-size: .975rem; min-height: 52px; }
  .hero-trust { flex-direction: column; gap: 8px; margin-top: 22px; font-size: .9375rem; }
  .hero-form { border-radius: 18px; padding: 22px 18px; }

  /* Hero interiores */
  .page-hero { padding-block: 24px 40px; }
  .page-hero::after { display: none; }
  .page-hero h1 { font-size: 2.05rem; line-height: 1.12; }
  .page-hero .lead { margin-top: 16px; }
  .page-hero .btn-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .page-hero__media { rotate: 0deg; border-width: 4px; }
  .breadcrumbs { font-size: .8125rem; margin-bottom: 16px; }
  .btn-row .btn { width: 100%; }

  /* Tarjetas compactas: icono a la izquierda del título */
  .card { padding: 20px 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .card > * { grid-column: 1 / -1; }
  .card > .icon--lg { grid-column: 1; grid-row: 1; width: 44px; height: 44px; padding: 11px; border-radius: 12px; margin: 0; }
  .card > .icon--lg + h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .card > h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .card > .icon--lg ~ p:first-of-type { margin-top: 12px; }
  .card p { font-size: 1rem; }
  .card__link { padding-top: 12px; }
  .grid { gap: 14px; }
  .why-feature { padding: 26px 22px; border-radius: 18px; }
  .why-feature__clock { font-size: 3rem; }

  /* Cifras en 2 columnas */
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-block: 24px; }
  .stat__num { font-size: 1.9rem; }
  .stat__label { font-size: .875rem; }

  /* Pasos */
  .steps > li { padding-left: 58px; }
  .steps > li::before { width: 44px; height: 44px; font-size: 1.05rem; }
  .steps > li:not(:last-child)::after { left: 21px; top: 52px; }
  .steps h3 { padding-top: 7px; font-size: 1.125rem; }

  /* Foto de la home */
  .home-photo .media { rotate: 0deg; border-width: 4px; }
  .home-photo__note { position: static; display: inline-block; margin-top: 12px; rotate: 0deg; max-width: none; font-size: .9rem; }

  /* Precios compactos */
  .pricing { gap: 14px; }
  .price-card { padding: 22px 20px 20px; border-radius: 16px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; }
  .price-card > * { grid-column: 1 / -1; }
  .price-card__kicker { grid-column: 1; }
  .price-card h3 { grid-column: 1; grid-row: 2; font-size: 1.2rem; margin: 2px 0 0; }
  .price-card__amount { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 2.6rem; text-align: right; }
  .price-card__amount small { display: block; font-size: .8rem; margin: 2px 0 0; }
  .price-card ul { margin: 14px 0 16px; gap: 6px; font-size: .9375rem; }
  .price-card .btn { min-height: 48px; }
  .price-card__badge { left: 20px; }
  .pricing-note { font-size: .9375rem; }

  /* Casos, callouts, FAQ */
  .case-card { padding: 22px 20px 20px; }
  .case-card blockquote { font-size: 1.125rem; }
  .callout { padding: 16px 18px; }
  .faq-q { padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px; }

  /* Zonas */
  .zone-list a { padding: 12px 16px; min-height: 56px; }
  .chips { gap: 8px; }
  .chips li { font-size: .875rem; padding: 6px 12px; }
  .barrios-wrap { gap: 36px; }

  /* CTA y formulario */
  .cta-band__inner { padding-block: 48px; gap: 24px; }
  .cta-band .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-band .btn-row .btn--primary { grid-column: 1 / -1; }
  .cta-band .btn-row .btn { padding: 12px 10px; font-size: .975rem; }
  .form-card { padding: 22px 18px; border-radius: 18px; }

  /* Footer más corto */
  .site-footer { padding-top: 48px; font-size: .9375rem; }
  .footer-grid { gap: 32px; }
  .footer-grid > div:nth-child(2) .footer-list,
  .footer-grid > div:nth-child(3) .footer-list { grid-template-columns: 1fr 1fr; column-gap: 16px; gap: 2px 16px; }
  .footer-list a { padding-block: 6px; }
  .subfooter { margin-top: 36px; }
}

/* ==========================================================
   MÓVIL — compactación (rejillas tipo app)
   ========================================================== */
@media (max-width: 639px) {
  /* Cabecera en pantallas estrechas */
  .site-header .container { gap: 10px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand__text { min-width: 0; }
  .brand__tag { white-space: normal; line-height: 1.25; }
  .nav-toggle { flex: none; margin-right: -6px; }

  /* Servicios: baldosas 2x4 */
  .service-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-grid .service-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; min-height: 128px; }
  .service-grid .service-card > .icon--lg { margin: 0; }
  .service-grid .service-card h3 { font-size: 1.02rem; line-height: 1.25; margin: 0; }
  .service-grid .service-card p, .service-grid .service-card .card__link { display: none; }

  /* Zonas: rejilla de 2 columnas, solo el nombre */
  .zone-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .zone-list a { min-height: 54px; padding: 10px 12px; border-radius: 12px; grid-template-columns: 1fr auto; gap: 6px; }
  .zone-list__pre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .zone-list__name { font-size: .95rem; line-height: 1.25; }
  .zone-list__time .icon { width: 16px; height: 16px; }
  .zone-list a:hover { transform: none; }

  /* Casos tipo más compactos */
  .case-card { padding: 18px 18px 16px; }
  .case-card blockquote { font-size: 1.05rem; line-height: 1.5; }
  .case-card__tag { margin-bottom: 10px; }

  /* Hero: algo menos de aire */
  .hero-subtitle { margin-top: 14px; }
  .hero-trust { margin-top: 18px; }
}
@media (max-width: 359px) {
  .brand__tag { display: none; }
  .hero h1 { font-size: 2.3rem; }
  .service-grid .service-card h3 { font-size: .95rem; }
}

/* ==========================================================
   Blindaje anti-desbordamiento horizontal
   ========================================================== */
html, body { max-width: 100%; overflow-x: clip; }
body { overflow-wrap: break-word; }
img, svg, iframe, video, table { max-width: 100%; }
.hero, .page-hero, .section, .cta-band, .site-footer { max-width: 100vw; }
@media (max-width: 339px) {
  .zone-list, .service-grid { grid-template-columns: 1fr; }
  .container { padding-inline: 14px; }
}
@media (max-width: 1099px) { .topbar__item:last-child { display: none; } }
