/* =====================================================================
   Smile Dental Center — sitio público (smiledentalcenterec.com)
   Misma identidad que DentalAdmin (MASTER §7): malva #A96E77, neutros cálidos,
   Manrope para texto y Fraunces itálica para titulares (la voz del «Smile» del logo).
   Firma visual: marcos con forma de sonrisa y el trazo de sonrisa que se dibuja.
   ===================================================================== */
:root {
    --malva: #A96E77;
    --malva-ink: #7C4E57;
    --malva-deep: #5A3840;
    --soft: #F2E1DE;
    --rosa: #EDD9D2;
    --beige: #E9DCCC;
    --wood: #D7BEA0;
    --bg: #F4F1EC;
    --blanco: #FFFFFF;
    --ink: #3B2B2E;
    --texto: #4E3D41;
    --muted: #8B7478;
    --line: #EBDFDA;
    --line-strong: #D9C7C2;
    --verde: #4C7F5E;
    --wa: #25D366;
    --wa-ink: #1DA851;
    --f-display: "Fraunces", Georgia, "Times New Roman", serif;
    --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --r: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --sombra: 0 1px 2px rgba(59, 43, 46, .05), 0 10px 30px rgba(59, 43, 46, .07);
    --sombra-lg: 0 24px 60px rgba(59, 43, 46, .16);
    --ancho: 1140px;
    --gutter: clamp(18px, 4vw, 32px);
    --cab-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cab-h) + 12px); }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "tnum" 1;
}
body.sin-scroll { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #D9A6AC; outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

.contenedor { width: min(var(--ancho), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icono { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icono--relleno { fill: currentColor; stroke: none; }

/* ---------- Tipografía ---------- */
.display {
    font-family: var(--f-display);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.06;
    margin: 0;
    font-optical-sizing: auto;
    text-wrap: balance;
}
.display em { font-style: italic; font-weight: 600; color: var(--malva-ink); }
h1.display { font-size: clamp(2.4rem, 5.6vw, 4.5rem); }
h2.display { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--malva-ink);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--wood); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--texto); max-width: 58ch; }
.texto-muted { color: var(--muted); }
.nota { font-size: .85rem; color: var(--muted); }

/* ---------- Firma: la sonrisa ---------- */
.sonrisa { width: 118px; height: 26px; color: var(--malva); overflow: visible; }
.sonrisa path { stroke: currentColor; stroke-width: 4; stroke-linecap: round; fill: none; stroke-dasharray: 170; stroke-dashoffset: 170; animation: trazar 1.1s .45s cubic-bezier(.4, 0, .2, 1) forwards; }
.sonrisa--quieta path { animation: none; stroke-dashoffset: 0; }
@keyframes trazar { to { stroke-dashoffset: 0; } }
.marco-sonrisa { border-radius: 28px 28px 50% 50% / 28px 28px 38% 38%; overflow: hidden; background: var(--soft); }
.marco-sonrisa img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botones ---------- */
.boton {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.boton .icono { width: 1.15em; height: 1.15em; }
.boton--primario { background: var(--malva); color: #fff; box-shadow: 0 8px 20px rgba(169, 110, 119, .28); }
.boton--primario:hover { background: var(--malva-ink); transform: translateY(-1px); }
.boton--secundario { background: #fff; color: var(--malva-ink); border: 1.5px solid var(--line-strong); }
.boton--secundario:hover { border-color: var(--malva); background: var(--soft); }
.boton--claro { background: #fff; color: var(--malva-ink); }
.boton--claro:hover { background: var(--soft); }
.boton--contorno-claro { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.boton--contorno-claro:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.boton--grande { padding: 16px 28px; font-size: 1.05rem; }
.boton--bloque { width: 100%; }

/* ---------- Cabecera ---------- */
.cabecera {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244, 241, 236, .82);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.cabecera.con-sombra { border-bottom-color: var(--line); background: rgba(244, 241, 236, .95); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--cab-h); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg { height: 46px; width: auto; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { padding: 9px 13px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: background .15s ease, color .15s ease; }
.nav a:hover { background: var(--soft); color: var(--malva-ink); }
.nav a[aria-current="page"] { color: var(--malva-ink); background: var(--soft); }
.nav .nav__cta { margin-left: 10px; color: #fff; padding: 12px 20px; }
.nav .nav__cta:hover { background: var(--malva-ink); color: #fff; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--malva-ink); background: var(--soft); }
.menu-btn .icono { width: 24px; height: 24px; }
@media (min-width: 900px) {
    .nav { display: flex; }
    .menu-btn { display: none; }
}
.nav.abierto {
    display: flex; position: fixed; inset: var(--cab-h) 0 0 0; z-index: 40;
    background: var(--bg); flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px var(--gutter) 40px; overflow: auto;
}
.nav.abierto a { font-size: 1.15rem; padding: 14px 16px; border-radius: 14px; }
.nav.abierto .nav__cta { margin: 14px 0 0; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(24px, 5vw, 64px) 0 clamp(52px, 7vw, 96px); }
.hero::before {
    content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; aspect-ratio: 1; z-index: 0;
    background: radial-gradient(closest-side, rgba(242, 225, 222, .9), rgba(242, 225, 222, 0));
    pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.hero__copy > * { opacity: 0; transform: translateY(14px); animation: subir .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__copy > *:nth-child(5) { animation-delay: .32s; }
.hero__copy > *:nth-child(6) { animation-delay: .4s; }
@keyframes subir { to { opacity: 1; transform: none; } }
.hero__titulo { margin: 16px 0 10px; }
.hero__sonrisa { margin: 6px 0 18px; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--malva-ink); }
.chip .icono { width: 15px; height: 15px; }
.hero__media { position: relative; max-width: 520px; margin-inline: auto; opacity: 0; animation: aparecer .9s .2s ease forwards; }
@keyframes aparecer { to { opacity: 1; } }
.hero__foto { aspect-ratio: 4 / 5; box-shadow: var(--sombra-lg); }
.hero__halo { position: absolute; left: -10%; right: -10%; bottom: -6%; height: 34%; z-index: -1; filter: blur(14px); background: radial-gradient(60% 60% at 50% 50%, rgba(215, 190, 160, .6), transparent 70%); }
.flotante {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px;
    box-shadow: var(--sombra-lg); font-size: .85rem; font-weight: 800; line-height: 1.25;
}
.flotante .icono { width: 24px; height: 24px; color: var(--malva); }
.flotante small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.flotante--1 { top: 7%; left: -6%; }
.flotante--2 { bottom: 10%; right: -6%; }
@media (max-width: 640px) { .flotante--1 { left: 0; top: 4%; } .flotante--2 { right: 0; bottom: 6%; } }

/* ---------- Franja de rasgos ---------- */
.franja { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.franja__grid { display: grid; gap: 20px; padding: 28px 0; }
@media (min-width: 700px) { .franja__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .franja__grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.rasgo { display: flex; gap: 14px; align-items: flex-start; }
.rasgo__icono { width: 46px; height: 46px; border-radius: 14px; background: var(--soft); color: var(--malva-ink); display: grid; place-items: center; flex: none; }
.rasgo__icono .icono { width: 24px; height: 24px; }
.rasgo h3 { font-size: 1rem; margin: 2px 0 3px; }
.rasgo p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(60px, 8vw, 110px) 0; }
.seccion--blanca { background: #fff; }
.seccion--suave { background: var(--soft); }
.seccion--oscura { background: linear-gradient(160deg, var(--malva-ink), var(--malva-deep)); color: #fff; }
.seccion--compacta { padding: clamp(40px, 5vw, 64px) 0; }
.seccion__cab { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.seccion__cab .display { margin: 12px 0 12px; }
.seccion__cab p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.seccion__cab--centrada { margin-inline: auto; text-align: center; }
.seccion__cab--centrada .eyebrow { justify-content: center; }
.seccion--oscura .eyebrow { color: var(--beige); }
.seccion--oscura .display em { color: var(--rosa); }
.seccion--oscura .seccion__cab p { color: rgba(255, 255, 255, .78); }
.seccion__pie { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.rejilla { display: grid; gap: 18px; }
@media (min-width: 640px) { .rejilla--2, .rejilla--3, .rejilla--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .rejilla--3 { grid-template-columns: repeat(3, 1fr); } .rejilla--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Tarjetas ---------- */
.tarjeta {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px;
    box-shadow: var(--sombra); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra-lg); border-color: var(--rosa); }
.tarjeta__icono { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--malva-ink); display: grid; place-items: center; margin-bottom: 16px; }
.tarjeta__icono .icono { width: 26px; height: 26px; }
.tarjeta p { margin: 0; color: var(--muted); line-height: 1.55; }
.tarjeta__enlace { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--malva-ink); font-size: .92rem; }
.tarjeta__enlace .icono { transition: transform .15s ease; }
.tarjeta:hover .tarjeta__enlace .icono { transform: translateX(3px); }

/* ---------- Pasos (secuencia real de la primera visita) ---------- */
.pasos { display: grid; gap: 18px; counter-reset: paso; list-style: none; padding: 0; margin: 0; }
@media (min-width: 800px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.paso { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 24px; }
.paso__num { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--malva); margin-bottom: 10px; }
.paso p { margin: 0; color: var(--muted); }
@media (min-width: 800px) {
    .paso:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -24px; width: 24px; height: 2px; background: var(--line-strong); }
}

/* ---------- Equipo ---------- */
.perfil { text-align: left; }
.perfil__foto { aspect-ratio: 5 / 6; margin-bottom: 16px; }
.perfil h3 { margin-bottom: 2px; }
.perfil__rol { color: var(--malva-ink); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.perfil p { margin: 0; }
.placeholder-nombre { border-bottom: 2px dashed var(--line-strong); }

/* ---------- Sedes ---------- */
.sede { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: 18px; display: grid; gap: 18px; box-shadow: var(--sombra-lg); }
@media (min-width: 720px) { .sede { grid-template-columns: 1fr 1.1fr; align-items: stretch; padding: 20px; } }
.sede__foto { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--soft); }
.sede__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .sede__foto { aspect-ratio: auto; height: 100%; min-height: 260px; } }
.sede__cuerpo h3 { font-size: 1.35rem; margin-bottom: 8px; }
.sede__etiqueta { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--malva-ink); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.datos { display: grid; gap: 10px; margin: 0 0 16px; }
.datos li { display: flex; gap: 10px; align-items: flex-start; color: var(--texto); font-size: .95rem; }
.datos .icono { width: 20px; height: 20px; color: var(--malva); margin-top: 2px; }
.sede__acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.sedes-grid { display: grid; gap: 24px; }
@media (min-width: 1100px) { .sedes-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Testimonios ---------- */
.testimonio { position: relative; padding-top: 30px; }
.testimonio__comillas { position: absolute; top: 18px; right: 22px; width: 34px; height: 34px; color: var(--rosa); }
.estrellas { display: inline-flex; gap: 3px; color: #C9963A; margin-bottom: 12px; }
.estrellas .icono { width: 16px; height: 16px; }
.testimonio blockquote { margin: 0 0 18px; font-size: 1rem; color: var(--texto); line-height: 1.6; }
.autor { display: flex; align-items: center; gap: 12px; }
.autor__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--malva); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.autor b { display: block; font-size: .95rem; }
.autor small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; margin-bottom: 10px; }
.faq[open] { border-color: var(--rosa); box-shadow: var(--sombra); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icono { width: 22px; height: 22px; color: var(--malva); transition: transform .2s ease; }
.faq[open] summary .icono { transform: rotate(180deg); }
.faq p { margin: 0 0 18px; color: var(--texto); }

/* ---------- Llamado final ---------- */
.cta-final {
    position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 64px);
    background: linear-gradient(135deg, var(--rosa), var(--soft) 55%, #FBF5F1);
    border: 1px solid var(--line); display: grid; gap: 26px; align-items: center;
}
@media (min-width: 900px) { .cta-final { grid-template-columns: 1.2fr .8fr; } }
.cta-final::after {
    content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
    border: 18px solid rgba(169, 110, 119, .12); pointer-events: none;
}
.cta-final .display { margin: 10px 0 12px; }
.cta-final p { color: var(--texto); font-size: 1.05rem; margin: 0; }
.cta-final__acciones { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-final__acciones { justify-content: flex-end; } }

/* ---------- Hero interior ---------- */
.hero-interior { background: #fff; border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0; }
.hero-interior .display { margin: 12px 0 14px; }
.hero-interior .lead { margin: 0; }
.migas { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.migas a:hover { color: var(--malva-ink); }

/* ---------- Servicio en detalle ---------- */
.servicio-detalle { display: grid; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--cab-h) + 20px); }
.servicio-detalle:last-child { border-bottom: 0; }
@media (min-width: 860px) {
    .servicio-detalle { grid-template-columns: 1fr 1fr; gap: 56px; }
    .servicio-detalle:nth-child(even) .servicio-detalle__media { order: 2; }
}
.servicio-detalle__media { aspect-ratio: 4 / 3; }
.servicio-detalle h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.015em; margin: 8px 0 12px; line-height: 1.15; }
.servicio-detalle__lead { color: var(--texto); font-size: 1.02rem; }
.lista-check { display: grid; gap: 8px; margin: 16px 0 20px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--texto); }
.lista-check .icono { width: 20px; height: 20px; color: var(--verde); margin-top: 3px; }
.dato-linea { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.dato-linea span { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 700; color: var(--malva-ink); background: var(--soft); padding: 6px 11px; border-radius: 999px; }
.dato-linea .icono { width: 16px; height: 16px; }

/* ---------- Nosotros ---------- */
.dos-columnas { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .dos-columnas { grid-template-columns: 1fr 1fr; gap: 64px; } }
.dos-columnas .marco-sonrisa { aspect-ratio: 4 / 5; max-width: 480px; }
.galeria { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .galeria { grid-template-columns: repeat(4, 1fr); } .galeria > :first-child { grid-column: span 2; grid-row: span 2; } }
.galeria figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.galeria > :first-child { aspect-ratio: auto; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.valores .tarjeta h3 { display: flex; align-items: center; gap: 10px; }

/* ---------- Formulario ---------- */
.form { display: grid; gap: 14px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .form__ancho { grid-column: 1 / -1; } }
.campo { display: grid; gap: 6px; }
.campo label { font-size: .85rem; font-weight: 700; color: var(--texto); }
.campo input, .campo select, .campo textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--malva); box-shadow: 0 0 0 4px rgba(169, 110, 119, .14); }
.campo textarea { min-height: 110px; resize: vertical; }
.form__ok { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; background: #E7F0E6; color: #2F5C40; border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.form__ok .icono { width: 20px; height: 20px; margin-top: 2px; }
.mapa { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); aspect-ratio: 16 / 10; }
.mapa iframe { width: 100%; height: 100%; border: 0; }
.horario-tabla { width: 100%; border-collapse: collapse; font-size: .95rem; }
.horario-tabla td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.horario-tabla td:last-child { text-align: right; font-weight: 700; color: var(--malva-ink); }
.horario-tabla tr:last-child td { border-bottom: 0; }

/* ---------- Pie ---------- */
.pie { background: var(--ink); color: rgba(255, 255, 255, .82); padding: clamp(44px, 6vw, 72px) 0 28px; }
.pie__grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .pie__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .pie__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.pie__logo svg { height: 52px; width: auto; margin-bottom: 14px; }
.pie p { color: rgba(255, 255, 255, .7); font-size: .95rem; max-width: 40ch; }
.pie h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.pie li { margin-bottom: 9px; font-size: .95rem; }
.pie a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pie .datos li { color: rgba(255, 255, 255, .8); }
.pie .datos .icono { color: var(--wood); }
.redes { display: flex; gap: 10px; margin-top: 18px; }
.redes a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s ease; }
.redes a:hover { background: var(--malva); }
.redes .icono { width: 20px; height: 20px; }
.pie__bajo { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.pie__bajo a { color: rgba(255, 255, 255, .7); }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
    position: fixed; right: 18px; bottom: 18px; z-index: 45;
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 18px 0 14px; border-radius: 999px;
    background: var(--wa); color: #fff; font-weight: 800; font-size: .95rem;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .38); transition: transform .15s ease, background .15s ease;
}
.wa-flotante:hover { background: var(--wa-ink); transform: translateY(-2px); }
.wa-flotante .icono { width: 26px; height: 26px; }
@media (max-width: 640px) { .wa-flotante { padding: 0; width: 56px; justify-content: center; } .wa-flotante span { display: none; } }

/* ---------- Revelar al hacer scroll ---------- */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revelar { opacity: 1; transform: none; } .hero__copy > *, .hero__media { opacity: 1; transform: none; } .sonrisa path { stroke-dashoffset: 0; } }

/* ---------- Página 404 / legal ---------- */
.prosa { max-width: 72ch; }
.prosa h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.prosa p, .prosa li { color: var(--texto); }
.prosa ul { list-style: disc; padding-left: 20px; }
.centrado { text-align: center; }
