/* ============================================================
   deOLIVEIRA | Clinic — Hoja de estilo compartida
   Marca: Manual deOLIVEIRA 2026  ·  Lato + Playfair Display
   ============================================================ */

/* ====== TOKENS DE MARCA ====== */
:root {
    /* Paleta oficial (Manual 2026) */
    --oliva:        #303b35;  /* Oliva dulce — principal */
    --bosque:       #1f2322;  /* Bosque oscuro */
    --blanco:       #ffffff;
    --granito:      #8f7a77;  /* Granito rosado — decorativo, no texto pequeño */
    --ciruelo:      #82555e;  /* Ciruelo chocolate */
    --dorado:       #deb55d;  /* Dorado — solo para resaltar */
    --dorado-hover: #c9a24a;
    --dorado-soft:  rgba(222, 181, 93, 0.15);

    /* Neutros de apoyo */
    --crema:        #f5f0e8;
    --crema-claro:  #faf7f2;
    --borde:        #e8e2db;

    /* Texto (contraste reforzado para pacientes mayores) */
    --texto:        #2a2a2a;  /* cuerpo  ~13:1 sobre blanco */
    --texto-light:  #4a4a4a;  /* secundario ~8:1 sobre blanco */

    /* Escala z-index */
    --z-deco: 0;
    --z-base: 1;
    --z-nav: 100;
    --z-menu: 110;
    --z-mobilebar: 9999;
}

/* ====== RESET ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
    font-family: 'Lato', sans-serif;
    font-size: 19px;             /* legibilidad: pacientes mayores (50+), visión reducida */
    font-weight: 400;
    color: var(--texto);
    line-height: 1.85;
    background: var(--blanco);
    overflow-x: clip;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.3;
}

h1 em, h2 em, h3 em { font-style: italic; font-weight: inherit; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ====== ACCESIBILIDAD ====== */
/* Salto al contenido */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 10000;
    background: var(--dorado);
    color: var(--bosque);
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* Foco visible coherente en toda la web */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq-question:focus-visible {
    outline: 3px solid var(--dorado);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Respeta a quien reduce el movimiento */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal, .reveal-scale, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
    .hline > span, .tl-inner { transform: none !important; }
    .hero-ed-top, .hero-ed-sub, .hero-ed-stats { opacity: 1 !important; }
    .ad-item .ad-img { clip-path: none !important; transform: none !important; }
    .trat-group-media::after { display: none !important; }
    .trat-group-media img, .armo-foto img { transform: none !important; }
}

/* ====== DECORACIÓN (olivos) ====== */
.olive-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.10;
    z-index: var(--z-deco);
}
.olive-deco img { width: 100%; height: 100%; object-fit: contain; }
.olive-deco.far img { filter: blur(2.5px); }
/* Olivo que flota POR ENCIMA de las secciones (con relieve) */
.olive-float { z-index: 6; }
.olive-float img { filter: drop-shadow(0 6px 9px rgba(31,35,34,0.35)) drop-shadow(0 22px 34px rgba(31,35,34,0.45)); }
@media (max-width: 768px) { .olive-deco { display: none; } }

/* ====== SEPARADORES DORADOS ====== */
.gold-divider {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin: 0 auto;
}
.gold-divider::before, .gold-divider::after {
    content: ''; width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}
.gold-diamond {
    width: 6px; height: 6px; background: var(--dorado);
    transform: rotate(45deg); flex-shrink: 0;
}

/* ====== ANIMACIONES DE ENTRADA (suaves y elegantes) ====== */
.reveal       { opacity: 0; transform: translateY(48px); }
.reveal-scale { opacity: 0; transform: scale(0.94); }
.reveal-left  { opacity: 0; transform: translateX(-48px); }
.reveal-right { opacity: 0; transform: translateX(48px); }
.reveal, .reveal-scale, .reveal-left, .reveal-right {
    filter: blur(8px);
    transition: opacity 1.1s cubic-bezier(0.22, 0.61, 0.25, 1),
                transform 1.1s cubic-bezier(0.22, 0.61, 0.25, 1),
                filter 1s ease;
    will-change: opacity, transform;
}
.reveal.visible, .reveal-scale.visible,
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; filter: blur(0); }

/* Fundido de entrada compartido (lo usa el hero editorial) */
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.stagger-1 { transition-delay: 0.08s; animation-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; animation-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; animation-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; animation-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; animation-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; animation-delay: 0.48s; }

.gold-divider-animated::before,
.gold-divider-animated::after { transform: scaleX(0); transition: transform 0.8s ease 0.3s; }
.gold-divider-animated.visible::before,
.gold-divider-animated.visible::after { transform: scaleX(1); }

/* ====== BOTONES ====== */
.btn-primary {
    position: relative; overflow: hidden;
    display: inline-block; padding: 16px 42px;
    background: var(--dorado); color: var(--bosque);
    font-family: 'Lato', sans-serif; font-size: 0.95rem; font-weight: 700;
    letter-spacing: 0.08em; border: none; cursor: pointer;
    transition: background 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -130%;
    width: 55%; height: 100%; transform: skewX(-20deg);
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.65s ease; pointer-events: none;
}
.btn-primary:hover {
    background: var(--dorado-hover);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 5px 14px rgba(222, 181, 93, 0.2);
}
.btn-primary:hover::after { left: 140%; }

.btn-secondary {
    display: inline-block; padding: 14px 36px;
    border: 1.5px solid var(--oliva); color: var(--oliva);
    font-family: 'Lato', sans-serif; font-size: 0.95rem; font-weight: 700;
    letter-spacing: 0.05em; cursor: pointer;
    position: relative; overflow: hidden;
    transition: color 0.4s ease;
}
.btn-secondary::before {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 0; background: var(--oliva);
    transition: height 0.4s ease; z-index: 0;
}
.btn-secondary span { position: relative; z-index: 1; }
.btn-secondary:hover { color: #fff; }
.btn-secondary:hover::before { height: 100%; }

/* ====== NAV + MEGA MENÚ ====== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: var(--z-nav);
    padding: 22px 50px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
    background: rgba(40, 50, 45, 0.78);
    padding: 14px 50px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 0 rgba(222,181,93,0.28), 0 10px 40px rgba(0,0,0,0.22);
}
.nav-logo img { height: 50px; width: auto; display: block; }

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #fff; font-size: 0.85rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 8px 0; background: none; border: none; cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: color 0.3s;
}
.nav-link:hover, .nav-item:hover .nav-link,
.nav-item:focus-within .nav-link { color: var(--dorado); }
.nav-link .chev { width: 10px; height: 10px; transition: transform 0.3s; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

.nav-cta {
    padding: 11px 28px;
    background: transparent;
    border: 1px solid var(--dorado); color: var(--dorado);
    font-family: 'Lato', sans-serif; font-weight: 400;
    text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.nav-cta:hover { background: var(--dorado); color: var(--bosque); }

/* Desplegable */
.dropdown {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: rgba(31, 35, 34, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(222,181,93,0.2);
    border-radius: 8px; padding: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: var(--z-menu);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border-radius: 6px;
    color: rgba(255,255,255,0.85); font-size: 0.92rem;
    text-transform: none; letter-spacing: 0.02em;
    transition: background 0.25s ease, color 0.25s ease;
}
.dropdown a:hover { background: rgba(222,181,93,0.12); color: var(--dorado); }
.dropdown a svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.2; fill: none; flex-shrink: 0; opacity: 0.85; }

/* Hamburguesa */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* Destello dorado del titular (lo usa el hero editorial) */
@keyframes goldGlint {
    0%, 52%  { background-position: 100% 0; }  /* reposo: oro liso */
    82%, 100% { background-position: 0% 0; }   /* el brillo cruza y sale */
}
/* Flotación suave de la ilustración del hero */
@keyframes heroWmFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(1.5deg); } }

/* ====== HERO EDITORIAL CONTEMPORÁNEO (quiet luxury) ====== */
.hero-ed {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: space-between;
    padding-top: 130px; color: #fff; overflow: hidden;
    /* Base de cuero: degradado de tono + brillo cálido arriba-izquierda + vETA oscura abajo-derecha */
    background:
        radial-gradient(80% 70% at 18% 22%, rgba(74,86,74,0.55) 0%, rgba(74,86,74,0) 60%),
        radial-gradient(120% 120% at 88% 92%, rgba(15,18,17,0.55) 0%, rgba(15,18,17,0) 55%),
        radial-gradient(120% 100% at 75% 8%, #2c3631 0%, var(--bosque) 72%);
}
/* Grano de cuero: poros finos + moteado de piel, repujado con soft-light.
   Más marcado a la izquierda y se difumina hacia la derecha. */
.hero-ed::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.6'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='620'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.014 0.02' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 200px 200px, 640px 640px;
    opacity: 0.42; mix-blend-mode: soft-light;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 26%, rgba(0,0,0,0.4) 66%, transparent 100%);
            mask-image: linear-gradient(90deg, #000 0%, #000 26%, rgba(0,0,0,0.4) 66%, transparent 100%);
}
.hero-ed > * { position: relative; z-index: 1; }

/* Ilustración de rostro protagonista a la derecha (flota + sigue al ratón) */
.hero-ed-pattern {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.07;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.25, 1);
    will-change: transform;
}
.hero-ed-pattern img {
    position: absolute; top: -85px; right: -400px;
    width: 1470px; height: auto;
    filter: brightness(0) invert(1);
    animation: heroWmFloat 17s ease-in-out infinite;
}
.hero-ed-main { transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.25, 1); will-change: transform; }
@media (max-width: 768px) {
    .hero-ed-pattern { opacity: 0.08; }
    .hero-ed-pattern img { width: 560px; right: -95px; top: 70px; }
}

/* Fila superior: miga de pan + localización */
.hero-ed-top {
    width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 48px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    opacity: 0; animation: heroFade 1s ease 0.9s forwards;
}
.hero-ed-crumb { display: flex; gap: 12px; align-items: center; }
.hero-ed-crumb a { transition: color 0.3s; }
.hero-ed-crumb a:hover { color: var(--dorado); }
.hero-ed-crumb [aria-current] { color: var(--dorado); }

/* Titular a escala de portada, anclado abajo-izquierda */
.hero-ed-main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 40px 48px; }
.hero-ed h1 {
    font-size: clamp(3.2rem, 9.5vw, 7.2rem);
    line-height: 1.02; letter-spacing: -0.02em; font-weight: 400;
}
.hero-ed h1 em {
    padding-right: 0.06em;
    /* Oro con una franja de brillo marcada (casi blanca) que cruza el texto */
    background: linear-gradient(100deg,
        #b8893f 0%, #ddb255 33%,
        #f7e9b4 45%, #fffdf6 50%, #f7e9b4 55%,
        #ddb255 67%, #b8893f 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: goldGlint 4.5s ease-in-out infinite;
}
/* Reveal cinético por líneas (máscara) */
.hline { display: block; overflow: hidden; }
.hline > span { display: block; transform: translateY(115%); animation: edLineUp 1.15s cubic-bezier(0.22, 0.61, 0.25, 1) 0.15s forwards; }
.hline:nth-child(2) > span { animation-delay: 0.3s; }
@keyframes edLineUp { to { transform: translateY(0); } }

/* Línea de apoyo + CTA silencioso */
.hero-ed-sub {
    display: flex; align-items: center; flex-wrap: wrap; gap: 18px 56px;
    margin-top: 38px;
    opacity: 0; animation: heroFade 1s ease 1s forwards;
}
.hero-ed-sub p { font-size: 1.12rem; color: rgba(255,255,255,0.82); margin: 0; }
.cta-line {
    position: relative; display: inline-flex; align-items: center; gap: 12px;
    background: none; border: none; cursor: pointer; padding: 6px 0;
    font-family: 'Lato', sans-serif; font-size: 1rem; font-weight: 600;
    letter-spacing: 0.05em; color: #fff;
    transition: color 0.35s ease;
}
.cta-line svg { width: 22px; height: 22px; transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.25, 1); }
.cta-line::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: var(--dorado); transform: scaleX(1); transform-origin: left;
}
.cta-line:hover { color: var(--dorado); }
.cta-line:hover svg { transform: translateX(7px); }
.cta-line:hover::after { animation: ctaRedraw 0.7s cubic-bezier(0.6, 0.05, 0.25, 1); }
@keyframes ctaRedraw {
    0%   { transform: scaleX(1); transform-origin: right; }
    49%  { transform: scaleX(0); transform-origin: right; }
    50%  { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

/* Franja inferior de datos, en susurro */
.hero-ed-stats {
    list-style: none; width: 100%; max-width: 1240px; margin: 56px auto 0; padding: 26px 48px 32px;
    display: flex; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap;
    border-top: 1px solid rgba(222,181,93,0.28);
    font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.62);
    opacity: 0; animation: heroFade 1s ease 1.15s forwards;
}

@media (max-width: 768px) {
    .hero-ed { padding-top: 100px; min-height: 90vh; }
    .hero-ed-top, .hero-ed-main { padding-left: 22px; padding-right: 22px; }
    .hero-ed-main { padding-top: 24px; padding-bottom: 24px; }
    .hero-ed h1 { font-size: clamp(2.5rem, 12.5vw, 4.4rem); }
    .hero-ed-sub { margin-top: 26px; gap: 16px 28px; }
    .hero-ed-sub p { font-size: 1.05rem; }
    .cta-line { padding: 10px 0; }
    /* Los datos, apilados y legibles en columna */
    .hero-ed-stats {
        flex-direction: column; align-items: flex-start; gap: 9px;
        margin-top: 38px; padding: 22px 22px 28px;
    }
}

/* ====== REVEAL CINÉTICO DE TITULARES (todas las secciones) ====== */
.tl-mask { display: block; overflow: hidden; }
.tl-inner { display: block; transform: translateY(118%); transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.25, 1) 0.08s; }
.visible .tl-inner { transform: none; }

/* ====== CORTINA + ZOOM EN IMÁGENES AL REVELARSE ====== */
.trat-group-media img { transform: scale(1.16); transition: transform 1.5s cubic-bezier(0.22, 0.61, 0.25, 1) 0.15s; }
.trat-group-media.visible img { transform: scale(1); }
.trat-group-media::after {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: var(--oliva); transform: translateY(0);
    transition: transform 0.9s cubic-bezier(0.6, 0.05, 0.25, 1) 0.05s;
}
.trat-group-media.visible::after { transform: translateY(-101%); }

.ad-item .ad-img {
    clip-path: inset(0 0 100% 0); transform: scale(1.14);
    transition: clip-path 1s cubic-bezier(0.6, 0.05, 0.25, 1), transform 1.7s cubic-bezier(0.22, 0.61, 0.25, 1);
}
.ad-item.visible .ad-img { clip-path: inset(0 0 0 0); transform: scale(1); }

.armo-foto img { transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.25, 1) 0.1s; }
.armo-foto:not(.visible) img { transform: scale(1.15); }
.armo-foto.visible img { transform: scale(1); }

/* ====== GUÍA DE ARMONIZACIÓN ====== */
.armonizacion { background: var(--crema-claro); padding: 130px 0; position: relative; overflow: clip; }
.armonizacion .container { position: relative; z-index: 2; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ciruelo); margin-bottom: 12px; }

.armo-grid { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; margin-top: 50px; }

.armo-foto { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 26px 64px rgba(31,35,34,0.18); }
.armo-foto img { width: 100%; height: auto; display: block; filter: grayscale(0.06) contrast(1.02); }

/* Regiones resaltadas sobre la cara (rectángulos redondeados) */
.armo-region {
    position: absolute; border-radius: 16px;
    background: rgba(222,181,93,0.12);
    border: 2.5px solid var(--dorado);
    box-shadow: 0 0 22px rgba(222,181,93,0.6), inset 0 0 20px rgba(222,181,93,0.14);
    opacity: 0; transition: opacity 0.45s ease; pointer-events: none; transform-origin: center;
}
.armo-region.active { opacity: 1; animation: regionPop 0.55s cubic-bezier(0.34, 1.4, 0.5, 1), regionGlow 2.4s ease-in-out infinite 0.55s; }
@keyframes regionGlow {
    0%, 100% { box-shadow: 0 0 18px rgba(222,181,93,0.5), inset 0 0 18px rgba(222,181,93,0.12); }
    50%      { box-shadow: 0 0 30px rgba(222,181,93,0.85), inset 0 0 24px rgba(222,181,93,0.2); }
}
@keyframes regionPop {
    0%   { transform: scale(0.88); opacity: 0; }
    60%  { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
/* Las 3 zonas con el mismo tamaño (el del medio), colocadas por tercios */
.armo-region-superior { top: 22%; left: 6%; width: 88%; height: 18%; }  /* frente, entrecejo y mirada */
.armo-region-medio    { top: 40%; left: 6%; width: 88%; height: 18%; }  /* ojeras, nariz y pómulos */
.armo-region-inferior { top: 57%; left: 6%; width: 88%; height: 18%; }  /* labios, mentón y sonrisa */

/* Puntos clicables */
.armo-hotspot { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border: none; background: none; cursor: pointer; padding: 0; z-index: 3; }
.armo-hotspot span { display: block; width: 16px; height: 16px; margin: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.5), 0 2px 6px rgba(0,0,0,0.3); position: relative; transition: background 0.3s, box-shadow 0.3s; }
.armo-hotspot span::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.95); animation: hotPulse 2.2s ease-out infinite; }
.armo-hotspot.active span { background: var(--dorado); box-shadow: 0 0 0 5px rgba(222,181,93,0.45), 0 2px 8px rgba(0,0,0,0.3); }
.armo-hotspot.active span::after { border-color: var(--dorado); }
@keyframes hotPulse { 0% { transform: scale(0.7); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }

/* Pista "Pincha aquí" */
.armo-hint {
    position: absolute; z-index: 4; top: 11%; left: 51%; transform: translateX(-50%);
    background: var(--bosque); color: #fff; font-family: 'Lato', sans-serif;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
    padding: 9px 16px; border-radius: 30px; white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.28);
    animation: hintBounce 1.6s ease-in-out infinite;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.armo-hint::after {
    content: ''; position: absolute; bottom: -5px; left: 50%;
    transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: var(--bosque);
}
.armo-hint .hint-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dorado); box-shadow: 0 0 0 3px rgba(222,181,93,0.35); }
.armo-hint.hidden { opacity: 0; visibility: hidden; }
@keyframes hintBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-7px); } }

/* Panel de zonas (acordeón) */
.armo-zone { border-bottom: 1px solid var(--borde); }
.armo-zone-head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 4px; background: none; border: none; cursor: pointer; text-align: left; }
.armo-zone-n { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dorado); flex-shrink: 0; }
.armo-zone-t { flex: 1; font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--oliva); }
.armo-zone-t small { display: block; font-family: 'Lato', sans-serif; font-size: 0.85rem; color: var(--texto-light); margin-top: 2px; }
.armo-chev { width: 11px; height: 11px; border-right: 2px solid var(--granito); border-bottom: 2px solid var(--granito); transform: rotate(45deg); transition: transform 0.3s ease; flex-shrink: 0; }
.armo-zone.open .armo-chev { transform: rotate(-135deg); }
.armo-zone-body { overflow: hidden; max-height: 0; transition: max-height 0.45s ease; }
.armo-zone-body-inner { padding: 4px 0 22px; }

.armo-trat { display: flex; align-items: center; gap: 14px; padding: 15px 18px; margin-bottom: 8px; border: 1px solid var(--borde); border-radius: 12px; background: #fff; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.armo-trat:hover { border-color: var(--dorado); transform: translateX(4px); box-shadow: 0 6px 18px rgba(31,35,34,0.06); }
.armo-trat-info { flex: 1; }
.armo-trat-info strong { display: block; font-weight: 700; color: var(--oliva); font-size: 1rem; }
.armo-trat-info span { font-size: 0.85rem; color: var(--texto-light); }
.armo-wa { display: flex; align-items: center; gap: 6px; flex-shrink: 0; color: var(--ciruelo); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; transition: color 0.3s ease; }
.armo-trat:hover .armo-wa { color: var(--dorado); }
.armo-wa svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 900px) {
    .armo-grid { grid-template-columns: 1fr; gap: 32px; }
    .armo-foto { max-width: 360px; margin: 0 auto; }
}

/* ====== GRID DE TRATAMIENTOS (agrupado y diferenciado) ====== */
.section-header { text-align: center; margin-bottom: 16px; }
.section-header h2 { font-size: clamp(2.3rem, 4vw, 3.3rem); color: var(--oliva); margin-bottom: 14px; letter-spacing: -0.01em; }
.section-header p { font-size: 1.15rem; color: var(--texto-light); max-width: 660px; margin: 0 auto; }
.section-divider { margin: 26px auto 0; }

/* Cabecera de la zona de tratamientos */
.trat-intro { background: var(--blanco); padding: 110px 0; position: relative; overflow: clip; box-shadow: inset 0 34px 40px -22px rgba(31,35,34,0.7); }
/* Sombra corta al arranque de la sección blanca que va tras el hero: el hero
   proyecta la sombra sobre el blanco de debajo (no sobre el crema del propio hero). */
.clinica-hero + .clinica-section,
.trat-hero + .ficha {
    box-shadow: inset 0 20px 22px -18px rgba(31,35,34,0.42);
}
.trat-intro + .trat-group { padding-top: 40px; }

/* Cada grupo es una banda con su propio tono y color de acento */
.trat-group { padding: 84px 0; position: relative; overflow: clip; }
.trat-group .container { position: relative; z-index: 2; }
.group-1 { background: var(--crema-claro); --accent: var(--dorado);  --accent-soft: rgba(222,181,93,0.16); }
.group-2 { background: var(--blanco);      --accent: var(--ciruelo); --accent-soft: rgba(130,85,94,0.12); }
.group-3 { background: var(--oliva);       --accent: var(--dorado);  --accent-soft: rgba(222,181,93,0.18); color: #fff; }

/* Encabezado del grupo: número grande + nombre + descripción */
.trat-group-head { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 40px; max-width: 720px; }
.trat-group-num {
    font-family: 'Playfair Display', serif; font-size: 3.2rem; line-height: 0.9;
    color: var(--accent); font-weight: 500; flex-shrink: 0;
}
.trat-group-name { font-size: 1.7rem; color: var(--oliva); margin-bottom: 6px; }
.trat-group-desc { font-size: 1.05rem; color: var(--texto-light); }
.group-3 .trat-group-name { color: #fff; }
.group-3 .trat-group-desc { color: rgba(255,255,255,0.72); }

.trat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Layout a 2 columnas con imagen lateral alternada */
.trat-group-layout { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.group-2 .trat-group-layout { grid-template-columns: 1fr 380px; }
.group-2 .trat-group-media { order: 2; }
.group-2 .trat-group-content { order: 1; }
.trat-group-content .trat-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.trat-group-content .trat-group-head { margin-bottom: 32px; }

.trat-group-media {
    position: relative; min-height: 480px; border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(31,35,34,0.16);
}
.trat-group-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }

@media (max-width: 900px) {
    .trat-group-layout, .group-2 .trat-group-layout { grid-template-columns: 1fr; gap: 32px; }
    .group-2 .trat-group-media, .group-2 .trat-group-content { order: 0; }
    .trat-group-media { min-height: 280px; }
    .trat-group-content .trat-grid { grid-template-columns: 1fr; }
}

.trat-card {
    position: relative; border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 34px 30px; background: #fff;
    border: 1px solid rgba(31,35,34,0.06);
    box-shadow: 0 12px 40px rgba(31,35,34,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}
.trat-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 3px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.trat-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(31,35,34,0.14); border-color: var(--accent); }
.trat-card:hover::after { transform: scaleX(1); }
.trat-card-icon {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--oliva);
    margin-bottom: 18px; transition: background 0.3s ease, color 0.3s ease;
}
.trat-card:hover .trat-card-icon { background: var(--accent); color: #fff; }
.trat-card-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.3; fill: none; }
.trat-card h3 { font-size: 1.18rem; color: var(--oliva); margin-bottom: 8px; }
.trat-card p { font-size: 0.95rem; color: var(--texto-light); font-weight: 400; line-height: 1.6; }
.trat-card .trat-link {
    margin-top: 16px; font-size: 0.78rem; color: var(--accent);
    letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
    opacity: 0; transform: translateY(8px); transition: all 0.4s ease;
}
.trat-card:hover .trat-link { opacity: 1; transform: translateY(0); }

/* Entrada animada de las tarjetas (cascada) — compatible con el hover */
.trat-card.reveal-scale { opacity: 0; transform: none; filter: none; }
.trat-card.reveal-scale.visible { opacity: 1; animation: cardIn 0.75s cubic-bezier(0.22, 0.61, 0.25, 1) backwards; }
@keyframes cardIn {
    from { opacity: 0; transform: translateY(42px) scale(0.96); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

/* Grupo 3 en banda oscura: tarjetas translúcidas */
.group-3 .trat-card { background: rgba(255,255,255,0.04); border-color: rgba(222,181,93,0.18); box-shadow: none; }
.group-3 .trat-card h3 { color: #fff; }
.group-3 .trat-card p { color: rgba(255,255,255,0.72); }
.group-3 .trat-card-icon { color: #fff; }
.group-3 .trat-card:hover { background: rgba(255,255,255,0.07); border-color: var(--dorado); }
.group-3 .trat-card:hover .trat-card-icon { color: var(--oliva); }

/* ====== ANTES / DESPUÉS ====== */
.resultados { background: var(--crema-claro); padding: 130px 0; position: relative; overflow: hidden; }
.resultados .container { position: relative; z-index: 2; }
.ad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.ad-item {
    border-radius: 16px; overflow: hidden; background: #fff;
    box-shadow: 0 14px 44px rgba(31,35,34,0.10);
    border-bottom: 2px solid transparent;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.ad-item:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(31,35,34,0.16); border-bottom-color: var(--dorado); }
.ad-img { width: 100%; height: 300px; object-fit: cover; object-position: center; }
.ad-info { padding: 20px 24px; }
.ad-info h4 { font-size: 1.1rem; color: var(--oliva); margin-bottom: 4px; }
.ad-info span { font-size: 0.95rem; color: var(--texto-light); font-weight: 400; }
.btn-center { text-align: center; margin-top: 50px; }

/* ====== CITA DRA. SANDRA DE OLIVEIRA ====== */
.cita { position: relative; padding: 130px 0; background: var(--oliva); overflow: hidden; }
.cita-bg { position: absolute; left: 0; right: 0; top: -120%; height: 340%; opacity: 0.35; will-change: transform; }
.cita-bg img { width: 100%; height: 100%; object-fit: cover; }
.cita .container { position: relative; z-index: 2; }
.cita-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.cita-foto {
    width: 280px; height: 340px; border-radius: 18px; object-fit: cover;
    border: 1px solid rgba(222,181,93,0.4);
    background: rgba(255,255,255,0.04);
}
.cita-foto.placeholder {
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45); font-size: 0.85rem; text-align: center; padding: 20px;
}
.cita-texto { border-left: 2px solid var(--dorado); padding-left: 36px; }
.cita-texto blockquote {
    font-family: 'Playfair Display', serif; font-style: italic;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.5; color: #fff; margin-bottom: 24px;
}
.cita-autor { font-size: 0.95rem; color: var(--dorado); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.cita-cargo { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: none; letter-spacing: 0.02em; font-weight: 400; margin-top: 4px; }
.cita-equipo { margin-top: 22px; font-size: 0.98rem; font-weight: 400; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 560px; }

/* ====== FAQ (acordeón accesible) ====== */
.faq { background: var(--blanco); padding: 130px 0; position: relative; overflow: clip; }
.faq .container { position: relative; z-index: 2; max-width: 1140px; }
.faq-list {
    margin-top: 50px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0 64px; align-items: start;
}
@media (max-width: 900px) { .faq-list { grid-template-columns: 1fr; gap: 0; } }
.faq-item { border-bottom: 1px solid var(--borde); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 26px 4px; font-family: 'Playfair Display', serif;
    font-size: 1.2rem; color: var(--oliva);
}
.faq-question .faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 14px; height: 2px; background: var(--dorado);
    transform: translate(-50%, -50%); transition: transform 0.3s ease;
}
.faq-question .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 4px 26px; color: var(--texto-light); font-size: 1.02rem; }
.faq-inline-link {
    background: none; border: none; padding: 0; cursor: pointer;
    font: inherit; color: var(--ciruelo); text-decoration: underline; text-underline-offset: 2px;
}
.faq-inline-link:hover { color: var(--dorado); }

/* CTA silencioso (variante para fondos claros) */
.cta-line-dark { color: var(--oliva); }
.cta-line-dark:hover { color: var(--ciruelo); }

/* ====== PROCESO (aperitivo de la primera consulta) ====== */
.proceso { background: var(--blanco); padding: 130px 0; position: relative; overflow: clip; }
.proceso .container { position: relative; z-index: 2; max-width: 1060px; }
.proceso-stepper { margin: 64px 0 50px; }
.proceso-steps {
    list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; position: relative;
}
/* línea de "timeline" detrás de los números */
.proceso-steps::before {
    content: ''; position: absolute; top: 32px; left: 18%; right: 18%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--borde) 18%, var(--borde) 82%, transparent);
    z-index: 0;
}
.proceso-step {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    padding: 6px; position: relative; z-index: 1;
}
/* número en círculo: afordancia clara de "esto se pulsa" */
.proceso-num {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 1.7rem; line-height: 1;
    color: var(--granito); background: var(--blanco); border: 1.5px solid var(--borde);
    transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.proceso-step-t {
    font-family: 'Playfair Display', serif; font-size: 1.22rem; color: var(--texto-light);
    transition: color 0.35s ease; position: relative;
}
.proceso-step:hover .proceso-num { border-color: var(--dorado); color: var(--dorado); transform: translateY(-4px); }
.proceso-step.active .proceso-num {
    background: var(--dorado); border-color: var(--dorado); color: #fff;
    box-shadow: 0 10px 24px rgba(222,181,93,0.4); animation: procesoPulse 2.4s ease-in-out infinite;
}
@keyframes procesoPulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(222,181,93,0.4); }
    50%      { box-shadow: 0 12px 30px rgba(222,181,93,0.55), 0 0 0 7px rgba(222,181,93,0.12); }
}
.proceso-step.active .proceso-step-t { color: var(--oliva); }
.proceso-hint {
    text-align: center; margin-top: 26px;
    font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--granito);
    display: flex; align-items: center; justify-content: center; gap: 9px;
}
.proceso-hint span { width: 7px; height: 7px; border-radius: 50%; background: var(--dorado); animation: hintBlink 1.6s ease-in-out infinite; }
@keyframes hintBlink { 0%, 100% { opacity: 0.3; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
.proceso-step.active .proceso-step-t::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px;
    background: var(--dorado); transform: scaleX(1); transform-origin: center;
}
.proceso-step .proceso-step-t::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px;
    background: var(--dorado); transform: scaleX(0); transform-origin: center; transition: transform 0.4s ease;
}
.proceso-panels { max-width: 660px; margin: 44px auto 0; min-height: 96px; }
.proceso-panel { text-align: center; }
.proceso-panel[hidden] { display: none; }
.proceso-panel:not([hidden]) { animation: panelFade 0.5s ease; }
.proceso-panel p { font-size: 1.14rem; color: var(--texto-light); line-height: 1.85; }
.proceso-panel strong { color: var(--oliva); font-weight: 700; }
@keyframes panelFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.proceso-cta { text-align: center; }
@media (max-width: 768px) {
    .proceso-steps { grid-template-columns: 1fr; gap: 28px; }
    .proceso-steps::before { display: none; }
}

/* ====== MARCAS (carrusel de logos) ====== */
.marcas { background: var(--blanco); padding: 90px 0; position: relative; overflow: hidden; }
.marcas .container { text-align: center; }
.marcas-title { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--granito); margin: 0; }
.marcas-carousel { margin-top: 46px; width: 100%; overflow: hidden; position: relative; }
.marcas-carousel::before, .marcas-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none; }
.marcas-carousel::before { left: 0; background: linear-gradient(90deg, var(--blanco), transparent); }
.marcas-carousel::after { right: 0; background: linear-gradient(-90deg, var(--blanco), transparent); }
.marcas-track { display: flex; align-items: center; gap: 96px; width: max-content; animation: scrollMarcas 21s linear infinite; }
.marcas-track:hover { animation-play-state: paused; }
@keyframes scrollMarcas { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marca-logo { height: 82px; width: auto; max-width: 210px; object-fit: contain; flex-shrink: 0; opacity: 1; }
@media (max-width: 768px) { .marca-logo { height: 62px; max-width: 150px; } .marcas-track { gap: 52px; } }

/* ====== RESEÑAS (carrusel automático) ====== */
.resenas { background: var(--blanco); padding: 130px 0 140px; position: relative; overflow: hidden; }
.resenas .container { position: relative; z-index: 2; }
.resenas-rating { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.resenas-rating .rk-num { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: var(--oliva); line-height: 1; }
.resenas-rating .rk-stars { color: var(--dorado); font-size: 1.25rem; letter-spacing: 3px; }
.resenas-rating .rk-meta { font-size: 0.95rem; color: var(--texto-light); }
.resenas-rating .rk-sep { width: 1px; height: 34px; background: var(--borde); }

.resenas-carousel { margin-top: 56px; overflow: hidden; width: 100%; position: relative; }
.resenas-carousel::before, .resenas-carousel::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.resenas-carousel::before { left: 0; background: linear-gradient(90deg, var(--blanco), transparent); }
.resenas-carousel::after { right: 0; background: linear-gradient(-90deg, var(--blanco), transparent); }

.resenas-track { display: flex; gap: 28px; width: max-content; animation: scrollResenas 60s linear infinite; }
.resenas-track:hover { animation-play-state: paused; }
@keyframes scrollResenas { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.resena-card {
    width: 360px; flex-shrink: 0; background: var(--crema-claro);
    border: 1px solid var(--borde); border-radius: 16px; padding: 32px 30px;
    display: flex; flex-direction: column;
    box-shadow: 0 12px 36px rgba(31,35,34,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.resena-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(31,35,34,0.1); border-color: var(--dorado); }
.resena-stars { color: var(--dorado); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 16px; }
.resena-text { font-style: italic; color: var(--texto-light); line-height: 1.75; font-size: 1.02rem; margin-bottom: 20px; flex: 1; }
.resena-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resena-autor { font-weight: 700; color: var(--oliva); font-size: 0.98rem; }
.resena-fecha { display: block; font-weight: 400; font-size: 0.8rem; color: var(--granito); margin-top: 2px; }
.resena-fuente { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--granito); flex-shrink: 0; }
.resena-fuente svg { width: 16px; height: 16px; }

@media (max-width: 768px) { .resena-card { width: 290px; padding: 28px 24px; } }

/* ====== CTA FINAL + FORMULARIO ====== */
.cta-final { background: var(--bosque); color: #fff; padding: 110px 0; position: relative; overflow: hidden; }
.cta-final::before, .cta-final::after {
    content: ''; position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}
.cta-final::before { top: 0; } .cta-final::after { bottom: 0; }
.cta-final .container { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-texto h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; color: #fff; margin-bottom: 18px; }
.cta-texto p { font-size: 1.1rem; font-weight: 400; opacity: 0.85; margin-bottom: 24px; }
.cta-texto .urgencia { font-size: 0.9rem; font-style: italic; color: var(--dorado); opacity: 0.85; }

.form-card { background: var(--blanco); border-radius: 18px; padding: 46px 42px; box-shadow: 0 30px 70px rgba(0,0,0,0.28); }
.form-card h3 { font-size: 1.5rem; color: var(--oliva); margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--texto-light); margin-bottom: 6px; font-weight: 400; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 16px; border: 1px solid var(--borde); border-radius: 6px;
    font-family: 'Lato', sans-serif; font-size: 0.98rem; color: var(--texto);
    background: var(--crema-claro); transition: border-color 0.3s ease; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--dorado); }
.form-group select { appearance: none; cursor: pointer; }
.form-legal { font-size: 0.82rem; color: var(--texto-light); margin: 16px 0; display: flex; align-items: flex-start; gap: 8px; }
.form-legal input[type="checkbox"] { margin-top: 4px; accent-color: var(--dorado); width: 16px; height: 16px; flex-shrink: 0; }
.form-legal a { color: var(--ciruelo); text-decoration: underline; }
.form-card .btn-primary { width: 100%; text-align: center; margin-top: 6px; }
.form-nota { font-size: 0.82rem; color: var(--texto-light); font-style: italic; margin-top: 14px; text-align: center; }

/* ====== POPUP / MODAL DE RESERVA ====== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(31,35,34,0.72); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    background: linear-gradient(180deg, #fffefb 0%, var(--blanco) 24%);
    border-radius: 14px; border: 1px solid rgba(222,181,93,0.35);
    width: min(520px, 100%); max-height: 92vh; overflow-y: auto;
    position: relative; padding: 44px 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(222,181,93,0.18), 0 0 60px rgba(222,181,93,0.16);
    transform: translateY(20px) scale(0.98); transition: transform 0.3s ease;
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 40px; height: 40px; border: none; background: none; cursor: pointer;
    color: var(--texto-light); border-radius: 50%; transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--crema); color: var(--oliva); }
.modal-close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.modal h3 { font-size: 1.6rem; color: var(--oliva); margin-bottom: 6px; }
.modal .modal-sub { font-size: 0.98rem; color: var(--texto-light); margin-bottom: 22px; }
.modal .btn-primary { width: 100%; text-align: center; margin-top: 6px; }
body.modal-open { overflow: hidden; }
@media (max-width: 768px) { .modal { padding: 40px 24px; } }

/* ====== POPUP DE TRATAMIENTO ====== */
#modal-trat .modal { position: relative; padding: 40px 38px; }
/* Marco dorado metálico interior, separado del borde (como la línea verde) */
#modal-trat .modal::before {
    content: ''; position: absolute; inset: 16px; border-radius: 10px; padding: 1.5px;
    background: linear-gradient(135deg, #f0d588, #b8893f 28%, #f5e8bb 52%, #c9a24a 76%, #e8c879);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.mt-actions { text-align: right; }
.mt-eyebrow { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ciruelo); text-align: right; margin: 0 0 4px; }
.mt-img { width: 100%; max-height: 240px; object-fit: cover; border-radius: 12px; margin-bottom: 22px; }
.modal .mt-title { font-size: 1.7rem; color: var(--oliva); margin-bottom: 34px; }
.mt-desc { color: var(--texto-light); font-size: 1.05rem; line-height: 1.8; margin-bottom: 48px; }
.mt-desc p { margin-bottom: 14px; }
.mt-desc p:last-child { margin-bottom: 0; }
.btn-wa {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: 30px;
    background: var(--oliva); color: #fff;
    font-family: 'Lato', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(48,59,53,0.12);
    transition: background 0.4s ease, color 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.btn-wa:hover { background: var(--dorado); color: var(--bosque); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(222,181,93,0.32); border-color: rgba(222,181,93,0.5); }
.btn-wa svg { width: 15px; height: 15px; fill: currentColor; }

/* ====== FOOTER ====== */
.footer-map { position: relative; height: 360px; }
.footer-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05) brightness(0.96); }
.footer-map-card {
    position: absolute; top: 50%; left: max(48px, 6vw); transform: translateY(-50%); z-index: 2;
    background: var(--oliva); color: #fff; padding: 36px 40px; border-radius: 14px;
    max-width: 360px; box-shadow: 0 24px 56px rgba(0,0,0,0.32);
}
.footer-map-eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dorado); margin-bottom: 16px; }
.footer-map-addr { font-size: 1.08rem; line-height: 1.55; margin-bottom: 14px; }
.footer-map-hours { font-size: 0.92rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 20px; }
.footer-map-link { color: var(--dorado); font-weight: 700; font-size: 0.92rem; transition: color 0.3s; }
.footer-map-link:hover { color: #fff; }
@media (max-width: 768px) {
    .footer-map { height: 440px; }
    .footer-map-card { left: 16px; right: 16px; max-width: none; padding: 26px 24px; }
}

.footer { background: var(--oliva); color: #fff; padding: 0 0 30px; position: relative; overflow: hidden; }
.footer .container { padding-top: 100px; }
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.95rem; font-weight: 400; opacity: 0.55; line-height: 1.7; }
.footer-col h4 {
    font-family: 'Lato', sans-serif; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 20px;
    color: var(--dorado); position: relative; padding-bottom: 12px;
}
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 1px; background: var(--dorado); opacity: 0.4; }
.footer-col a { display: block; font-size: 0.95rem; font-weight: 400; opacity: 0.6; margin-bottom: 12px; transition: opacity 0.3s, color 0.3s; }
.footer-col a:hover { opacity: 1; color: var(--dorado); }
.footer-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(222,181,93,0.2), transparent); margin-bottom: 24px; }
.footer-bottom { text-align: center; font-size: 0.85rem; opacity: 0.4; }
.footer-bottom a:hover { color: var(--dorado); opacity: 1; }

/* ====== BARRA MÓVIL FIJA ====== */
.mobile-bar { display: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .trat-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .cita-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .cita-foto { margin: 0 auto; }
    .cita-texto { border-left: none; border-top: 2px solid var(--dorado); padding-left: 0; padding-top: 28px; }
}

@media (max-width: 768px) {
    .container { padding: 0 22px; }
    .nav { padding: 16px 22px; }
    .nav.scrolled { padding: 12px 22px; }
    /* Sin backdrop-filter en móvil: crea un containing block y atrapa el menú lateral fixed */
    .nav, .nav.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

    /* Menú móvil */
    .nav-links {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(82vw, 360px); flex-direction: column; align-items: flex-start;
        gap: 6px; padding: 90px 28px 40px;
        background: rgba(31,35,34,0.98); backdrop-filter: blur(14px);
        transform: translateX(100%); transition: transform 0.35s ease;
        overflow-y: auto; z-index: var(--z-menu);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-item { width: 100%; }
    .nav-link { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 0.95rem; }
    .dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        min-width: 0; width: 100%; background: none; border: none; box-shadow: none;
        padding: 0 0 10px 14px; max-height: 0; overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .nav-item.open .dropdown { max-height: 600px; }
    .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { transform: none; }
    .nav-toggle { display: block; z-index: var(--z-menu); }
    .nav-cta { display: inline-block; margin-top: 10px; }

    .trat-grid, .ad-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }

    /* Espaciado vertical proporcionado en móvil (los 130px de escritorio son enormes aquí) */
    .armonizacion, .resultados, .cita, .faq, .proceso, .resenas { padding-top: 78px; padding-bottom: 78px; }
    .resenas { padding-bottom: 88px; }
    .trat-intro { padding: 66px 0; }
    .trat-group { padding: 56px 0; }
    .marcas { padding: 58px 0; }
    .cta-final { padding: 84px 0; }
    .section-header { margin-bottom: 8px; }

    /* Encabezado de grupo más compacto */
    .trat-group-head { gap: 16px; margin-bottom: 28px; }
    .trat-group-num { font-size: 2.6rem; }
    .trat-group-name { font-size: 1.45rem; }

    /* Formulario: menos relleno lateral para ganar ancho de campo */
    .form-card { padding: 32px 22px; }
    .form-card h3 { font-size: 1.35rem; }

    /* Valoración de reseñas centrada sin desbordar */
    .resenas-rating { gap: 12px; }
    .resenas-rating .rk-num { font-size: 2.2rem; }

    /* Barra inferior fija (WhatsApp + Llamar) */
    .mobile-bar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0;
        z-index: var(--z-mobilebar); box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    }
    .mobile-bar a {
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
        padding: 18px 0; font-family: 'Lato', sans-serif; font-size: 1rem; font-weight: 600;
        letter-spacing: 0.05em; text-transform: uppercase; transition: opacity 0.3s;
    }
    .mobile-bar a:active { opacity: 0.85; }
    .mobile-bar .mobile-bar-whatsapp { background: var(--crema); color: var(--oliva); }
    .mobile-bar .mobile-bar-llamar { background: var(--dorado); color: var(--oliva); }
    .mobile-bar svg { width: 22px; height: 22px; fill: currentColor; }
    body { padding-bottom: 60px; }
}

/* Enlaces legales en el pie (añadido) */
.footer-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 24px; }
.footer-legal { display:flex; flex-wrap:wrap; gap:8px 20px; }
.footer-legal a { font-size:0.85rem; opacity:0.55; transition:opacity .3s,color .3s; }
.footer-legal a:hover { opacity:1; color:var(--dorado); }
@media (max-width:600px){ .footer-bottom{ justify-content:center; text-align:center; } }

/* ============================================================
   MEGA MENÚ de Tratamientos
   ============================================================ */
.dropdown--mega {
    position: fixed; top: 90px; left: 50%; right: auto;
    transform: translateX(-50%) translateY(10px);
    width: min(1200px, 95vw); min-width: 0;
    padding: 24px 36px;
    display: grid; grid-template-columns: 1fr 232px; gap: 36px;
}
.nav.scrolled .dropdown--mega { top: 78px; }
.nav-item:hover .dropdown--mega,
.nav-item:focus-within .dropdown--mega { transform: translateX(-50%) translateY(0); }
/* Puente invisible para no perder el hover al bajar del enlace al panel */
.dropdown--mega::before { content: ''; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }
/* Una columna por categoría, separadas con una línea vertical dorada */
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.mega-col { padding: 0 26px; border-right: 1px solid rgba(222,181,93,0.16); }
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child { border-right: 0; padding-right: 0; }
/* Cabecera de categoría (destacada) */
.dropdown--mega .mega-cat--main {
    display: block; font-family: 'Playfair Display', serif; font-size: 1.16rem; color: var(--dorado);
    padding: 0 0 10px; margin: 0 0 8px; border-bottom: 1px solid rgba(222,181,93,0.28);
    text-transform: none; letter-spacing: 0.01em; line-height: 1.2;
}
.dropdown--mega .mega-cat--main:not(:first-child) { margin-top: 20px; }
.dropdown--mega .mega-cat--main:hover { background: none; color: #fff; }
/* Subgrupo dentro de una categoría */
.mega-sub {
    margin: 13px 0 4px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(222,181,93,0.62); font-weight: 700;
}
.dropdown--mega a {
    display: block; padding: 3.5px 0; border-radius: 0;
    font-size: 0.85rem; color: rgba(255,255,255,0.80); letter-spacing: 0.01em;
    transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
}
.dropdown--mega a:hover { background: none; color: var(--dorado); padding-left: 6px; }
.mega-cta {
    background: linear-gradient(160deg, rgba(222,181,93,0.16), rgba(222,181,93,0.03));
    border: 1px solid rgba(222,181,93,0.30); border-radius: 14px; padding: 28px 26px;
    display: flex; flex-direction: column; justify-content: center;
}
.mega-cta-eyebrow { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dorado); margin-bottom: 12px; }
.mega-cta-title { font-family: 'Playfair Display', serif; font-size: 1.42rem; color: #fff; line-height: 1.2; }
.mega-cta-price { font-family: 'Playfair Display', serif; font-size: 2.3rem; color: var(--dorado); margin: 2px 0 12px; }
.mega-cta-text { font-size: 0.85rem; color: rgba(255,255,255,0.72); line-height: 1.55; margin-bottom: 20px; }
.mega-cta-btn {
    border: 0; cursor: pointer; align-self: flex-start; background: var(--dorado); color: var(--bosque);
    font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase;
    padding: 12px 22px; border-radius: 999px; transition: background 0.25s ease;
}
.mega-cta-btn:hover { background: var(--dorado-hover); }
/* Columna derecha del mega: tarjeta estrella (GoldIncision) + CTA de primera consulta.
   Se prefija con .dropdown--mega para ganar a la regla genérica .dropdown--mega a. */
.mega-side { display: flex; flex-direction: column; gap: 14px; }
.dropdown--mega .mega-star {
    display: block; border-radius: 14px; padding: 20px 20px 18px;
    font-size: 1rem; color: var(--bosque);
    background: linear-gradient(150deg, #ecce7c, #d4a84a 55%, #bd8f36);
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 10px 26px rgba(222,181,93,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.dropdown--mega .mega-star:hover {
    transform: translateY(-3px); padding-left: 20px;
    background: linear-gradient(150deg, #f0d488, #d9ae50 55%, #c2932f);
    box-shadow: 0 16px 34px rgba(222,181,93,0.5);
}
.mega-star-eyebrow { display: block; font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: rgba(31,35,34,0.62); margin-bottom: 6px; }
.mega-star-title { display: block; font-family: 'Playfair Display', serif; font-size: 1.45rem; color: var(--bosque); line-height: 1.1; margin-bottom: 6px; }
.mega-star-text { display: block; font-size: 0.76rem; color: rgba(31,35,34,0.8); line-height: 1.45; margin-bottom: 12px; }
.mega-star-cta { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bosque); }
@media (max-width: 1180px) { .dropdown--mega { grid-template-columns: 1fr; } .mega-cta { display: none; } .mega-cols { columns: 3; } }
@media (max-width: 900px) { .mega-cols { columns: 2; } }
/* Móvil: el mega vuelve a acordeón dentro del menú lateral, SOLO categorías (limpio) */
@media (max-width: 768px) {
    .dropdown--mega {
        position: static; transform: none; width: 100%; padding: 0 0 8px 14px;
        display: block; grid-template-columns: none;
    }
    .dropdown--mega::before { display: none; }
    .mega-cols { display: block; }
    .mega-col { gap: 0; }
    .mega-block { margin-bottom: 2px; }
    .mega-cta { display: none; }
    /* En móvil solo las categorías; los tratamientos se ven en cada página de categoría */
    .dropdown--mega .mega-block a:not(.mega-cat) { display: none; }
    .dropdown--mega .mega-cat {
        border-bottom: 0; font-size: 0.95rem; padding: 9px 0; color: rgba(255,255,255,0.85);
    }
    .dropdown--mega .mega-cat:hover { color: var(--dorado); }
}

/* ============================================================
   BARRA INFERIOR MÓVIL (solo portadas de categoría, estilo home)
   ============================================================ */
.tabbar-proto { display: none; }
.tsheet[hidden], .masd[hidden] { display: none; }
.fabp { display: none; }

@media (max-width: 768px) {
    /* En páginas con barra inferior ocultamos la hamburguesa y la barra WA/Llamar */
    body.has-tabbar .nav-toggle { display: none; }
    body.has-tabbar .mobile-bar { display: none; }
    body.has-tabbar { padding-bottom: 64px; }
    body.sheet-open { overflow: hidden; }

    .tabbar-proto {
        display: grid; grid-template-columns: repeat(5, 1fr);
        position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-mobilebar);
        background: #fff; border-top: 1px solid var(--borde);
        box-shadow: 0 -2px 14px rgba(31,35,34,0.07);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .tabp-item {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        min-height: 58px; padding: 8px 3px; background: none; border: 0;
        font-family: 'Lato', sans-serif; font-size: 0.66rem; letter-spacing: 0.01em;
        color: var(--granito); text-decoration: none; cursor: pointer;
    }
    .tabp-item svg { width: 22px; height: 22px; }
    .tabp-item.is-active { color: var(--oliva); }
    .tabp-item--primary { color: var(--oliva); }
    .tabp-item--primary .tabp-ico {
        display: flex; align-items: center; justify-content: center;
        width: 48px; height: 48px; margin-top: -20px; border-radius: 50%;
        background: var(--oliva); box-shadow: 0 6px 16px rgba(48,59,53,0.35);
    }
    .tabp-item--primary .tabp-ico svg { width: 24px; height: 24px; stroke: #fff; }
    .tabp-item--primary span:not(.tabp-ico) { color: var(--oliva); font-weight: 700; }

    /* Hoja inferior (Tratamientos) + drawer (Más) */
    .tsheet, .masd { position: fixed; inset: 0; z-index: 10000; }
    .tsheet__backdrop, .masd__backdrop { position: absolute; inset: 0; background: rgba(31,35,34,0.5); opacity: 0; transition: opacity 0.3s ease; }
    .tsheet__panel, .masd__panel {
        position: absolute; left: 0; right: 0; bottom: 0; max-height: 84vh; overflow-y: auto;
        background: var(--crema); border-radius: 22px 22px 0 0;
        padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0));
        transform: translateY(100%); transition: transform 0.34s ease;
    }
    .tsheet.open .tsheet__backdrop, .masd.open .masd__backdrop { opacity: 1; }
    .tsheet.open .tsheet__panel, .masd.open .masd__panel { transform: translateY(0); }
    .tsheet__grip, .masd__grip { display: block; width: 42px; height: 4px; border-radius: 999px; background: var(--borde); margin: 2px auto 10px; }
    .tsheet__head, .masd__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
    .tsheet__head span, .masd__head span { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--bosque); }
    .tsheet__close, .masd__close { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--bosque); cursor: pointer; flex: 0 0 auto; }
    .tsheet__close svg, .masd__close svg { width: 22px; height: 22px; }

    /* Acordeón por categoría */
    .tacc { border-bottom: 1px solid var(--borde); }
    .tacc__head {
        width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 15px 2px; background: none; border: 0; cursor: pointer; text-align: left;
        font-family: 'Playfair Display', serif; font-size: 1.12rem; color: var(--bosque); text-decoration: none;
    }
    .tacc__go { color: var(--oliva); }
    .tacc__chev { flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid var(--oliva); border-bottom: 2px solid var(--oliva); transform: rotate(45deg); transition: transform 0.3s ease; }
    .tacc__head[aria-expanded="true"] .tacc__chev { transform: rotate(-135deg); }
    .tacc__body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
    .tacc__inner { padding: 0 2px 12px; display: flex; flex-direction: column; }
    .tacc__all { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--oliva); padding: 4px 0 10px; }
    .tacc__body a:not(.tacc__all) { padding: 10px 0; font-size: 0.98rem; color: var(--texto-light); border-top: 1px solid rgba(31,35,34,0.06); }

    /* Drawer Más */
    .masd__list { list-style: none; display: flex; flex-direction: column; margin: 2px 0 0; padding: 0; }
    .masd__list a { display: block; padding: 13px 0; font-size: 1.05rem; color: var(--bosque); border-bottom: 1px solid var(--borde); }
    .masd__contact { display: flex; gap: 12px; margin: 18px 0 14px; }
    .masd__contact a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 1px solid var(--oliva); color: var(--oliva); font-weight: 700; font-size: 0.9rem; }
    .masd__contact svg { width: 18px; height: 18px; }
    .masd__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 0; font-size: 0.76rem; }
    .masd__legal a { color: var(--granito); }

    /* Botones flotantes (teléfono + WhatsApp) sobre la barra */
    .fabp { position: fixed; bottom: 78px; z-index: calc(var(--z-mobilebar) - 1); width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(31,35,34,0.28); }
    .fabp svg { width: 24px; height: 24px; }
    .fabp-call { left: 16px; background: var(--oliva); color: #fff; }
    .fabp-wa { right: 16px; background: #25D366; color: #fff; }
}
