/* ==========================================================================
   Laboratorio Dental David Rodríguez Garbín — hoja de estilos
   Concepto: precisión digital + oficio artesano. Tinta, porcelana y bronce.
   ========================================================================== */

:root {
  --ink: #0e1822;
  --ink-2: #16232f;
  --ink-3: #22323f;
  --porcelain: #f4f1ea;
  --paper: #fbfaf6;
  --white: #ffffff;
  --text: #1b2530;
  --muted: #5b6672;
  --muted-on-dark: #a9b4bf;
  --line: #e3ded3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --bronze: #93643a;
  --bronze-2: #c99a6c;
  --signal: #4fb3a9;

  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 24, 34, .06), 0 12px 32px -12px rgba(14, 24, 34, .18);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1, h2 { font-variation-settings: "opsz" 96; }
h3, h4 { letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--bronze); font-weight: 400; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Etiquetas técnicas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--bronze-2); }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.on-dark .lead { color: var(--muted-on-dark); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--f-sans);
  padding: 1rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--bronze); color: var(--white); }
.btn-primary:hover { background: #7d5430; }
.btn-ghost { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.text-link {
  font-weight: 600; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: .4em; border-bottom: 1px solid var(--bronze); padding-bottom: 2px;
}
.text-link:hover { color: var(--bronze); }
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(14, 24, 34, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark); color: var(--white);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); min-width: 0; }
.brand-mark { width: auto; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--f-serif); font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-2); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--white);
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; flex: none;
}
.nav-toggle svg { width: 22px; height: 22px; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: .55rem .85rem; border-radius: 999px; text-decoration: none;
  font-size: .95rem; font-weight: 500; color: #d9dfe5; transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.07); }
.main-nav .nav-cta { background: var(--bronze); color: var(--white); margin-left: 8px; padding: .6rem 1.1rem; }
.main-nav .nav-cta:hover, .main-nav .nav-cta[aria-current="page"] { background: #7d5430; color: var(--white); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink);
    border-bottom: 1px solid var(--line-dark); padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .main-nav .nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { color: var(--bronze-2); }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 1.6rem; font-size: .9rem; color: var(--muted-on-dark); display: flex; align-items: center; gap: .5em; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(79,179,169,.18); flex: none; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-visual svg { width: 100%; height: 100%; }
.cad-line { stroke: rgba(255,255,255,.55); }
.cad-mesh { stroke: rgba(201,154,108,.55); }
.cad-dim { stroke: var(--signal); }
.cad-label { fill: var(--muted-on-dark); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; }
.cad-label-accent { fill: var(--signal); }
.scan { animation: scan 5.5s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 55% { transform: translateY(268px); opacity: 1; } 62%, 100% { transform: translateY(268px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scan { animation: none; opacity: 0; } }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 320px; margin-top: 8px; }
}

/* ---------- Franja de datos ---------- */
.facts { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--line-dark); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 28px 20px; border-left: 1px solid var(--line-dark); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.fact-value { font-family: var(--f-serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; display: block; margin-bottom: .35em; }
.fact-label { font-size: .9rem; color: var(--muted-on-dark); }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:nth-child(odd) { padding-left: 0; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--porcelain); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Pioneros / timeline ---------- */
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--bronze);
}
.timeline .when { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; color: var(--bronze); text-transform: uppercase; }
.timeline h3 { margin: .2em 0 .3em; font-size: 1.2rem; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Tarjetas de servicio ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: #d3c6b3; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--porcelain); display: grid; place-items: center; margin-bottom: 20px; color: var(--bronze); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card .text-link { align-self: flex-start; font-size: .95rem; }
.card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card.featured p { color: var(--muted-on-dark); }
.card.featured .card-icon { background: rgba(255,255,255,.07); color: var(--bronze-2); }
.card.featured .text-link { color: var(--white); }
.card .tag {
  position: absolute; top: 22px; right: 22px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--signal); border: 1px solid rgba(79,179,169,.4); padding: 4px 8px; border-radius: 999px;
}

/* ---------- Proceso ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 20px 0 0; position: relative; }
.steps li::before {
  content: "0" counter(step); display: block; font-family: var(--f-mono); font-size: .85rem; color: var(--bronze-2);
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-dark);
}
.steps h3 { font-size: 1.15rem; margin-bottom: .4em; }
.steps p { color: var(--muted-on-dark); font-size: .97rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Atención personalizada ---------- */
.promise { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 22px; height: 22px; color: var(--bronze); margin-top: 3px; }
.check-list strong { display: block; font-weight: 700; }
.check-list span { color: var(--muted); font-size: .98rem; }
.on-dark .check-list span { color: var(--muted-on-dark); }

blockquote.pull {
  margin: 0; font-family: var(--f-serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; font-style: italic; font-weight: 400;
}
blockquote.pull footer { margin-top: 1.2rem; font-family: var(--f-mono); font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Materiales ---------- */
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.material { background: var(--paper); padding: 24px; }
.material h3 { font-size: 1.15rem; margin-bottom: .3em; }
.material p { color: var(--muted); font-size: .96rem; margin: 0; }
.material .spec { display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: .6em; }
@media (max-width: 860px) { .materials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .materials { grid-template-columns: 1fr; } }

/* ---------- Zona ---------- */
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .45rem .9rem; font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--f-serif); font-size: 1.2rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 72ch; }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); color: var(--white); border-radius: calc(var(--radius) * 1.5); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(201,154,108,.25); box-shadow: 0 0 0 40px rgba(201,154,108,.04), 0 0 0 80px rgba(201,154,108,.03); pointer-events: none; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted-on-dark); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Página interior ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 18ch; }
.breadcrumbs { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 1.4rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5em; color: var(--bronze-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: #36414c; }

.service-block { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 5vw, 64px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block .service-meta .spec { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: .6rem; }
.service-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.service-block p { color: #36414c; }
.service-block ul { padding-left: 1.2em; color: #36414c; }
.service-block li { margin-bottom: .35em; }
@media (max-width: 820px) { .service-block { grid-template-columns: 1fr; gap: 8px; } }

.aside-box { background: var(--porcelain); border-radius: var(--radius); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-box h3 { font-size: 1.2rem; }
.aside-box p { color: var(--muted); font-size: .98rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--porcelain); color: var(--bronze); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span.v { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--bronze); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(176,127,82,.18); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--bronze); }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-size: .95rem; font-weight: 600; color: var(--ink); }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--porcelain); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h2 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 1rem; font-weight: 500; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #d9dfe5; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Botón flotante WhatsApp ---------- */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 28px; height: 28px; }

/* ---------- Aparición suave ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Dato pendiente de completar en datos.json */
.pending { background: #fff3cd; color: #7a5b00; border-radius: 4px; padding: 0 .3em; font-weight: 600; font-size: .92em; }

/* ---------- Ajustes responsive finos ---------- */
@media (max-width: 980px) and (min-width: 561px) { .steps li { padding-right: 12px; } }
@media (max-width: 560px) {
  .steps li { padding-right: 0; }
  .eyebrow { letter-spacing: .1em; font-size: .72rem; }
  .eyebrow::before { width: 18px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .map-wrap { aspect-ratio: 4 / 3; }
  .site-footer { padding-bottom: 96px; }
  .brand-sub { letter-spacing: .1em; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .98rem; }
  .brand-mark { height: 34px; }
}
.contact-list a { display: inline-block; padding: 6px 0; margin: -6px 0; }
.fact-value { white-space: nowrap; }
@media (max-width: 560px) { .hero-visual { max-width: 260px; } }
@media (max-width: 400px) {
  .eyebrow { font-size: .68rem; letter-spacing: .08em; }
  .fact-value { font-size: 1.55rem; }
}
