/* ═══════════════════════════════════════════════════════
   Dra. Iris Vera — Landing Page
   Estilo: Editorial premium, cálido, anti-template
   ═══════════════════════════════════════════════════════ */


/* ── Reset & Variables ─────────────────────────────── */
:root {
    --bg:           #FAF8F5;
    --bg-alt:       #F3EDE7;
    --text:         #1A1A1A;
    --text-soft:    #8C8279;
    --text-mid:     #5C534A;
    --accent:       #C4A48A;
    --accent-dark:  #B8956A;
    --accent-light: #DCC8B0;
    --gold:         #B8956A;
    --white:        #FFFFFF;
    --border:       #E5DDD4;

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body:    'Inter', 'Helvetica Neue', sans-serif;

    --radius:       10px;
    --radius-lg:    16px;
    --shadow:       0 4px 24px rgba(26, 26, 26, 0.06);
    --shadow-hover: 0 8px 32px rgba(26, 26, 26, 0.10);
    --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Degradé entre secciones */
.snap-section + .section-marquee,
.snap-section + .frase-rotativa-section,
.section-marquee + .snap-section,
.frase-rotativa-section + .snap-section {
    position: relative;
}
.snap-section::after,
.frase-rotativa-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 3;
}
/* Servicios detalle no necesita fades — tapa contenido */
.servicios-detalle::after,
.servicios-detalle::before,
.srv-estrella::after,
.srv-estrella::before {
    display: none !important;
}
.frase-rotativa-section::after {
    background: linear-gradient(to bottom, transparent, var(--bg-alt));
}
.servicios.servicios-bg::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    height: 150px;
}
.testimonios::after {
    background: linear-gradient(to bottom, transparent, var(--bg-alt));
}
/* Top fade para secciones que reciben */
.snap-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, transparent, var(--bg));
    pointer-events: none;
    z-index: 3;
}
.hero::before,
.hero::after {
    display: none; /* hero no necesita fades */
}
.frase-rotativa-section::before {
    background: linear-gradient(to top, transparent, var(--bg));
    height: 80px;
}
.servicios.servicios-bg::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, var(--bg-alt) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}

/* Scroll-snap suave — solo desktop */
@media (min-width: 769px) {
    html {
        scroll-snap-type: y proximity;
    }
    .snap-section {
        scroll-snap-align: start;
    }
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ── Tipografía ────────────────────────────────────── */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }

/* Gradiente sutil en títulos de sección */
.gradient-title {
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-dark) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    font-size: 1rem;
    color: var(--text-mid);
    max-width: 600px;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 0.75rem;
}

/* ── Container ─────────────────────────────────────── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Secciones full-viewport en desktop */
@media (min-width: 769px) {
    .section-full {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ── Separador dorado ──────────────────────────────── */
.divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 2rem auto;
}

/* ── Botón CTA ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-dark);
    color: var(--white);
}
.btn-primary:hover {
    background: #A37F55;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 149, 106, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--accent-dark);
    border: 1.5px solid var(--accent-dark);
}
.btn-outline:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.btn svg {
    width: 18px; height: 18px;
    fill: currentColor;
}

/* ═══════════════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 221, 212, 0.5);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0;
    text-transform: none;
}
.nav-logo span {
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-mid);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--accent-dark);
}

.nav-cta {
    padding: 0.6rem 1.4rem !important;
    font-size: 0.8rem !important;
}

/* Hamburger mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-title-block {
    display: block;
}

.hero-content h1 {
    margin-bottom: 0.2rem;
    font-family: var(--font-display);
    text-transform: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--text);
}
.hero-content h1 em {
    font-style: italic;
    color: var(--accent-dark);
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    max-height: 600px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detalle decorativo */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 1.5px solid var(--accent-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-badge {
    position: absolute;
    bottom: 2rem;
    left: -1.5rem;
    background: var(--white);
    padding: 1rem 1.4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
}
.hero-badge .badge-icon {
    width: 36px; height: 36px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════════════════ */
.servicios {
    background: var(--white);
}

.servicios-bg {
    background: url('../img/despues-2.webp') center/cover no-repeat;
    position: relative;
}

.servicios-overlay {
    background: rgba(255, 255, 255, 0.50);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.servicios-overlay .servicios-links a {
    background: rgba(255, 255, 255, 1);
}

.servicios-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.servicios-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.servicio-card {
    display: block;
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}
.servicio-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.servicio-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.servicio-card:hover .servicio-img img {
    transform: scale(1.05);
}

.servicio-card h3 {
    margin: 1.2rem 0 0.4rem;
    padding: 0 1rem;
}

.servicio-card p {
    font-size: 0.85rem;
    margin: 0 auto;
    padding: 0 1rem 1.5rem;
}

.servicios-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.servicios-links a {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.servicios-links a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--accent-dark);
    transition: var(--transition);
}
.servicios-links a:hover svg {
    stroke: var(--text);
    transform: translateX(3px);
}

.servicios-links a:hover {
    border-color: var(--accent-dark);
}

.servicios-links a:hover span {
    background: var(--text);
}

/* ═══════════════════════════════════════════════════════
   ANTES / DESPUÉS
   ═══════════════════════════════════════════════════════ */
.resultados {
    background: var(--bg);
}

.resultados-header {
    text-align: center;
    margin-bottom: 3rem;
}
.resultados-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}
.resultados-header p {
    margin: 0.8rem auto 0;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(0.7rem, 2.5vw, 1rem);
}

.slider-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }

.slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    scroll-snap-align: start;
}

.slide-half {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.slide-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-label {
    position: absolute;
    bottom: 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(26, 26, 26, 0.55);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.slide-half:first-child .slide-label { left: 0.8rem; }
.slide-half:last-child  .slide-label { right: 0.8rem; }

.slide-divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--white);
    z-index: 2;
    transform: translateX(-50%);
}

.slide-treatment {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.8rem 0 0.4rem;
    letter-spacing: 0.02em;
}

.slider-arrows {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
}

.slider-arrow {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.slider-arrow:hover {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}
.slider-arrow svg {
    width: 18px; height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 1.2rem;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active {
    background: var(--accent-dark);
    width: 24px;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════
   SOBRE MÍ
   ═══════════════════════════════════════════════════════ */
.about {
    background: var(--white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 1.2rem;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--accent-dark);
    line-height: 1;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIOS
   ═══════════════════════════════════════════════════════ */
.testimonios {
    background: var(--bg-alt);
}

.testimonios-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    position: relative;
}

.testimonio-quote {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonio-card p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-mid);
    margin-bottom: 1.2rem;
    max-width: 100%;
}

.testimonio-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.testimonio-role {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.testimonio-stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════
   CALENDARIO / AGENDAMIENTO
   ═══════════════════════════════════════════════════════ */
.agenda {
    background: var(--white);
}

.agenda-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.agenda-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}
.agenda-header p { margin: 0.8rem auto 0; }

.agenda-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
}

/* Steps indicator */
.agenda-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: var(--transition);
}
.step-item.active {
    color: var(--accent-dark);
}

.step-number {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}
.step-item.active .step-number {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
}
.step-item.completed .step-number {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--white);
}

.step-line {
    width: 50px;
    height: 1px;
    background: var(--border);
    margin: 0 0.8rem;
}

/* Calendar grid */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-month {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.calendar-nav-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.calendar-nav-btn:hover {
    border-color: var(--accent-dark);
}
.calendar-nav-btn svg {
    width: 16px; height: 16px;
    stroke: var(--text-mid);
    fill: none;
    stroke-width: 2;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 2rem;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 0;
}

.calendar-day {
    text-align: center;
    padding: 0.7rem 0.3rem;
    border-radius: 8px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    border: 1px solid transparent;
}
.calendar-day:hover:not(.disabled):not(.empty) {
    border-color: var(--accent);
    background: var(--white);
}
.calendar-day.selected {
    background: var(--accent-dark);
    color: var(--white);
    font-weight: 600;
}
.calendar-day.today {
    border-color: var(--accent-light);
    font-weight: 600;
}
.calendar-day.disabled {
    color: var(--border);
    cursor: default;
    background: transparent;
}
.calendar-day.empty {
    cursor: default;
    background: transparent;
}

/* Time slots */
.time-slots-container {
    display: none;
}
.time-slots-container.visible {
    display: block;
}

.time-slots-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.time-slot {
    text-align: center;
    padding: 0.65rem;
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.time-slot:hover {
    border-color: var(--accent);
}
.time-slot.selected {
    background: var(--accent-dark);
    color: var(--white);
    border-color: var(--accent-dark);
}

/* Patient form */
.patient-form {
    display: none;
}
.patient-form.visible {
    display: block;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

/* Confirmation */
.confirmation {
    display: none;
    text-align: center;
    padding: 2rem;
}
.confirmation.visible { display: block; }

.confirmation-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.confirmation h3 { margin-bottom: 0.5rem; }
.confirmation p { margin: 0 auto; }

/* Loading state */
.loading-spinner {
    display: inline-block;
    width: 20px; height: 20px;
    border: 2px solid var(--accent-light);
    border-top-color: var(--accent-dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.agenda-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer {
    background: var(--text);
    color: var(--bg);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--bg);
    margin-bottom: 0.5rem;
}
.footer-brand p {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-bottom: 0.4rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover {
    border-color: var(--accent);
    background: rgba(184, 149, 106, 0.1);
}
.footer-social svg {
    width: 18px; height: 18px;
    fill: var(--bg);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-soft);
}

/* ═══════════════════════════════════════════════════════
   RESULTADOS GRID — 3 columnas en desktop
   ═══════════════════════════════════════════════════════ */
.resultados-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 769px) {
    .resultados-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .resultados .container {
        padding: 0;
        max-width: 100%;
        overflow: visible;
    }
    .resultados .resultados-header {
        padding: 0 1rem;
    }
    .resultados .resultados-cta {
        padding: 0 1rem;
    }
    .resultados-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding: 0 1rem 1rem;
    }
    .resultados-grid::-webkit-scrollbar { display: none; }
    .resultado-card {
        min-width: 80vw;
        max-width: 80vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}
.resultado-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.resultado-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.resultado-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.resultado-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.resultado-img .slide-label {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
}

/* ═══════════════════════════════════════════════════════
   FRASE ROTATIVA — sección fullscreen
   ═══════════════════════════════════════════════════════ */
.frase-rotativa-section {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: var(--bg-alt);
    text-align: center;
    overflow: hidden;
}
.frase-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.frase-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(250, 248, 245, 0.55) 0%,
        rgba(243, 237, 231, 0.65) 50%,
        rgba(250, 248, 245, 0.55) 100%
    );
}
.frase-rotativa-section .frase-rotativa-inner {
    position: relative;
    z-index: 2;
}
.frase-rotativa-section .frase-rotativa-item {
    color: var(--text);
    text-shadow: 0 1px 8px rgba(250, 248, 245, 0.6);
}
@media (max-width: 768px) {
    .frase-rotativa-section {
        height: 70vh;
    }
}
/* Mobile: video más pequeño para rendimiento */
@media (max-width: 768px) {
    .frase-video-bg {
        object-position: center;
    }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS — scroll reveal
   ═══════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delays para elementos consecutivos */
.reveal.visible:nth-child(2) { transition-delay: 0.1s; }
.reveal.visible:nth-child(3) { transition-delay: 0.2s; }
.reveal.visible:nth-child(4) { transition-delay: 0.3s; }

/* Reveal desde la izquierda */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal desde la derecha */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ── Tablet (601–900px) ────────────────────────────── */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-image { order: -1; }
    .hero-content { max-width: 100%; }
    .hero-image-wrapper { max-height: 550px; margin: 0 auto; }
    .hero-title-block { width: 100%; }
    .hero-content h1 { white-space: nowrap; font-size: clamp(2rem, 10vw, 3rem); font-weight: 400; }

    /* Reveals direccionales → verticales en tablet/mobile */
    .reveal-left,
    .reveal-right {
        transform: translateY(30px);
    }
    .reveal-left.visible,
    .reveal-right.visible {
        transform: translateY(0);
    }

    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; max-width: 380px; margin: 0 auto; }
    .hero-image-wrapper::after { display: none; }
    .hero-badge { display: none; }

    .servicios-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }

    .about .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .about-image { max-width: 380px; margin: 0 auto; }
    .about-content p { margin-left: auto; margin-right: auto; }
    .about-stats { justify-content: center; }

    .testimonios-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
    .form-row { grid-template-columns: 1fr; }

    .footer-content { flex-direction: column; align-items: center; text-align: center; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 0.5rem; }

    /* Slider antes/después: stack en mobile */
    .slide { grid-template-columns: 1fr; }
    .slide-half { aspect-ratio: 16/10; }
    .slide-half:first-child .slide-label { left: 0.8rem; }
    .slide-half:last-child .slide-label { left: 0.8rem; right: auto; }
    .slide-divider {
        display: none;
    }
    .slide {
        gap: 3px;
    }
}

/* ── Mobile (≤768px) ───────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0; right: 0;
        background: var(--bg);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        z-index: 99;
    }
    .nav-links.open .nav-cta {
        text-align: center;
        justify-content: center;
    }

    .hero { min-height: auto; padding-top: 90px; padding-bottom: 2rem; }
    h2 { font-size: 1.6rem; }

    .btn { padding: 0.85rem 1.6rem; font-size: 0.85rem; }

    .about-stats { gap: 1.5rem; flex-wrap: wrap; }
    .stat-number { font-size: 1.8rem; }

    .testimonio-video {
        max-width: 280px;
    }

/* Instagram profile card */
.ig-profile-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--white);
    padding: 1.2rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 400px;
}
.ig-profile-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-light);
}
.ig-profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.ig-profile-info strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text);
}
.ig-profile-info span {
    font-size: 0.82rem;
    color: var(--text-soft);
}
.ig-profile-bio {
    font-size: 0.78rem !important;
    color: var(--text-mid) !important;
    margin-top: 0.2rem;
}

    .ig-placeholder {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    .instagram-feed-wrap iframe {
        height: 300px !important;
    }

    .servicios-overlay {
        padding: 2rem 1.2rem;
        border-radius: var(--radius);
    }
}

/* ── Small mobile (≤480px) ─────────────────────────── */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    section { padding: 3rem 0; }

    h2 { font-size: 1.4rem; }

    .hero-image-wrapper { max-height: 380px; }
    .hero-content p { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-image-wrapper { max-width: 300px; max-height: 380px; }

    .servicio-card { padding: 1.8rem 1.2rem; }
    .servicios-grid { max-width: 100%; }

    .slider-container { border-radius: var(--radius); }

    .about-image { max-width: 300px; aspect-ratio: 3/4; }
    .about-stats { gap: 1rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }

    .testimonio-card { padding: 1.5rem; }
    .testimonio-quote { font-size: 2.2rem; }

    .agenda-container { padding: 1.2rem; border-radius: var(--radius); }
    .agenda-steps { gap: 0.2rem; }
    .step-line { width: 16px; margin: 0 0.4rem; }
    .step-item span { font-size: 0.7rem; }
    .step-number { width: 26px; height: 26px; font-size: 0.7rem; }

    .calendar-grid { gap: 3px; }
    .calendar-day { padding: 0.5rem 0.2rem; font-size: 0.8rem; }
    .calendar-day-header { font-size: 0.65rem; }
    .calendar-month { font-size: 1.1rem; }

    .time-slots-grid { grid-template-columns: repeat(2, 1fr); }
    .time-slot { padding: 0.55rem; font-size: 0.8rem; }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer-social a { width: 36px; height: 36px; }
    .footer-social svg { width: 16px; height: 16px; }

    .whatsapp-float { width: 50px; height: 50px; bottom: 1rem; right: 1rem; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ── Touch-friendly: bigger tap targets on mobile ──── */
@media (hover: none) and (pointer: coarse) {
    .calendar-day { min-height: 44px; display: flex; align-items: center; justify-content: center; }
    .time-slot { min-height: 44px; display: flex; align-items: center; justify-content: center; }
    .slider-arrow { width: 48px; height: 48px; }
    .calendar-nav-btn { width: 44px; height: 44px; }
}

/* ── Landscape mobile fix ──────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 80px 0 2rem; }
    .hero-image-wrapper { max-height: 250px; }
}

.ubicacion-titulo {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.ubicacion-btn {
    min-width: 260px;
    text-align: center;
    justify-content: center;
}
@media (max-width: 480px) {
    .ubicacion-btn {
        min-width: 0;
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIOS HOME (video)
   ═══════════════════════════════════════════════════════ */
.testimonios-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.testimonio-video {
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.testimonio-video iframe {
    width: 100%;
    height: 100%;
}

.testimonios-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Testimonios home — video grande + reseñas al lado */
.testimonios-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 769px) {
    .testimonios-home-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: center;
    }
}
.testimonios-home-video {
    aspect-ratio: 9/16;
    max-height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 350px;
}
@media (min-width: 769px) {
    .testimonios-home-video {
        max-width: 100%;
        max-height: 600px;
    }
}
.testimonios-home-video iframe {
    width: 100%;
    height: 100%;
}
.testimonios-home-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.testimonios-home-cards .testimonio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════
   SOBRE MÍ PAGE
   ═══════════════════════════════════════════════════════ */
.about-page {
    padding-top: 120px;
}

.about-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-page-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-page-content .about-content p { margin-left: auto; margin-right: auto; }
    .about-page-content .about-stats { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   RESEÑAS PAGE
   ═══════════════════════════════════════════════════════ */
.resenas-page {
    padding-top: 120px;
}

.resenas-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resenas-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.resenas-header p {
    margin: 0.8rem auto 0;
}

/* Video testimoniales grid */
.resenas-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}
@media (min-width: 769px) {
    .resenas-videos {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
.resena-video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.resena-video-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-hover);
}
.resena-video {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 9:16 */
    overflow: hidden;
}
.resena-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (min-width: 769px) {
    .resena-video {
        padding-bottom: 120%; /* menos alto en desktop */
    }
}
.resena-video-info {
    padding: 1rem 1.2rem;
    text-align: center;
}
.resena-video-info strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}
.resena-video-info span {
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* ═══════════════════════════════════════════════════════
   SERVICIOS DETALLE PAGE
   ═══════════════════════════════════════════════════════ */
.servicios-detalle {
    padding-top: 120px;
}
@media (max-width: 768px) {
    .servicios-detalle { padding-top: 80px; }
    .srv-estrella { padding-top: 80px; padding-bottom: 1rem; gap: 1rem; }
    .srv-estrella-top { gap: 1rem; }
    .srv-estrella-info .srv-titulo { font-size: 1.4rem; margin-bottom: 0.6rem; }
    .srv-features { gap: 0.5rem; margin-bottom: 0.8rem; }
    .srv-feature-icon { width: 28px; height: 28px; font-size: 0.75rem; }
    .srv-feature strong { font-size: 0.85rem; }
    .srv-feature p { font-size: 0.78rem; }
    .srv-estrella .btn { padding: 0.7rem 1.4rem; font-size: 0.8rem; }
    .srv-estrella-ba { gap: 0.8rem; }
    .srv-grid { gap: 1rem; }
}

.srv-page-header {
    text-align: center;
    margin-bottom: 3rem;
}
.srv-page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}
.srv-page-header p {
    margin: 0 auto;
    color: var(--text-mid);
}

.srv-titulo {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.srv-desc {
    max-width: 600px;
    color: var(--text-mid);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Featured service (Diseño de Sonrisa) — 2 col layout */
.srv-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
@media (min-width: 769px) {
    .srv-featured {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 2.5rem;
        align-items: center;
    }
}

.srv-video {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.srv-video iframe {
    width: 100%;
    height: 100%;
}

/* Service cards grid */
.srv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (min-width: 769px) {
    .srv-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

.srv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.srv-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.srv-card-media {
    overflow: hidden;
}
.srv-card-body {
    padding: 1.2rem;
}
.srv-card-body .srv-titulo {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
}
.srv-card-body .srv-desc {
    font-size: 0.85rem;
}
.srv-card-body .srv-lista li {
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

/* Grid 5 servicios — sección principal */
.srv-grid-5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 769px) {
    .srv-grid-5 {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .srv-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}
.srv-card-link {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.srv-card-link:hover {
    border-color: var(--accent-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.srv-card-link .srv-card-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.srv-card-link .srv-card-body {
    padding: 1rem;
    text-align: center;
}
.srv-card-link .srv-titulo {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}
.srv-card-link .srv-desc {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin: 0;
}

/* Sección detalle individual */
.srv-seccion-detalle {
    padding: 4rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

/* Grid 3 servicios (blanqueamiento, general, estética) */
.srv-otros-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 769px) {
    .srv-otros-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
.srv-otro-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.srv-otro-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.srv-otro-media img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.srv-otro-body {
    padding: 1.5rem;
}
.srv-otro-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}
.srv-otro-body p {
    font-size: 0.9rem;
    color: var(--text-mid);
}
.srv-otro-body .srv-lista {
    max-width: 100%;
    margin: 0;
}

/* Detalle 2 columnas (implantología) */
.srv-detalle-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 769px) {
    .srv-detalle-2col {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
}
.srv-card-body .srv-desc {
    margin-bottom: 0;
}
.srv-card-body .srv-lista {
    margin: 0;
    max-width: 100%;
}

.srv-galeria {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    border-radius: 0;
}
.srv-galeria::-webkit-scrollbar { display: none; }

.srv-galeria-item {
    min-width: 100%;
    scroll-snap-align: start;
    position: relative;
}
.srv-galeria-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.srv-galeria-ba {
    max-width: 100%;
}
.srv-galeria-ba .srv-galeria-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}
.srv-galeria-ba .srv-galeria-item img {
    aspect-ratio: 3/4;
}
.srv-ba-label {
    position: absolute;
    bottom: 0.6rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}
.srv-ba-label.antes { left: 0.6rem; }
.srv-ba-label.despues { right: 0.6rem; }

.srv-lista {
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}
.srv-lista li {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.srv-swipe {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 0.8rem;
}
.srv-galeria-scroll {
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.srv-galeria-scroll::-webkit-scrollbar { display: none; }
.srv-galeria-scroll .srv-galeria-item { min-width: 100%; scroll-snap-align: start; }

/* Servicio estrella — todo en una pantalla */
.srv-estrella {
    padding-top: 100px;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 769px) {
    .srv-estrella {
        min-height: 100vh;
        padding-top: 90px;
        padding-bottom: 1rem;
        justify-content: center;
        gap: 1.5rem;
    }
}
.srv-estrella-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 769px) {
    .srv-estrella-top {
        grid-template-columns: 1.3fr 1fr;
        gap: 2rem;
        align-items: center;
    }
}
.srv-estrella-video { width: 100%; }
.srv-estrella-info .srv-titulo {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .srv-estrella-info { text-align: center; }
}
.srv-estrella-ba {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 769px) {
    .srv-estrella-ba {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Features con iconos */
.srv-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}
.srv-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    text-align: left;
}
.srv-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    color: var(--accent-dark);
}
.srv-feature strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.15rem;
}
.srv-feature p {
    font-size: 0.85rem;
    color: var(--text-soft);
    max-width: 100%;
    margin: 0;
}

/* Antes/Después grid — 3 columnas desktop, sección propia */
.srv-ba-section {
    padding: 4rem 0;
    background: var(--bg);
}
@media (min-width: 769px) {
    .srv-ba-section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        scroll-snap-align: start;
    }
}
.srv-ba-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.srv-ba-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 769px) {
    .srv-ba-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
.srv-ba-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}
.srv-ba-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.srv-ba-labels {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.srv-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem auto 3rem;
    max-width: 200px;
}

@media (max-width: 480px) {
    .srv-galeria { grid-template-columns: repeat(2, 1fr); }
    .srv-video { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   DESKTOP ONLY (≥901px)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 901px) {
    /* Slider antes/después más grande */
    .slider-container { max-width: 900px; }

    /* Servicios home: overlay más ancho, links en 2 columnas */
    .servicios-overlay {
        max-width: 800px;
        margin: 0 auto;
        padding: 3rem 2.5rem;
    }
    .servicios-overlay {
        max-width: 100%;
        padding: 2.5rem 1rem;
    }
    .servicios-links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: 0.5rem;
        width: 100%;
    }
    .servicios-links a {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        font-size: 0.8rem;
        letter-spacing: 0.06em;
        padding: 0.85rem 1.2rem;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        white-space: nowrap;
    }

    /* Video testimonios: horizontal en desktop */
    .testimonio-video {
        max-width: 700px;
        aspect-ratio: 16/9;
    }

    /* Ubicación: mapa más ancho */
    .ubicacion .container > div[style*="border-radius"] {
        max-width: 700px !important;
    }

    /* Resultados: header y slider más anchos */
    .resultados .container {
        max-width: 1000px;
    }
}

/* ═══════════════════════════════════════════════════════
   WhatsApp floating button
   ═══════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}
.whatsapp-float svg {
    width: 28px; height: 28px;
    fill: #fff;
}

/* ═══════════════════════════════════════════════════════
   Sticky CTA — Agenda tu hora (top bar on scroll)
   ═══════════════════════════════════════════════════════ */
.sticky-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    padding: 0.6rem 1.5rem;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.sticky-cta.visible {
    transform: translateY(0);
}
.sticky-cta .btn {
    padding: 0.7rem 2rem;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════
   SECCION CTA — Evaluacion de sonrisa (home)
   ═══════════════════════════════════════════════════════ */
.cta-evaluacion {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.cta-evaluacion-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-evaluacion-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
}

.cta-evaluacion-inner .cta-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin: 0 auto 1rem;
    max-width: 520px;
    line-height: 1.7;
}

.cta-evaluacion-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-mid);
}

.cta-badge-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.cta-evaluacion .btn-cta-big {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

@media (max-width: 480px) {
    .cta-evaluacion-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .cta-evaluacion .btn-cta-big {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════
   PAGINA AGENDAR — Formulario de evaluacion
   ═══════════════════════════════════════════════════════ */
.agendar-page {
    padding-top: 120px;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.agendar-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.agendar-info h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.agendar-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 100%;
}

.agendar-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.agendar-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.agendar-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-dark);
}

.agendar-detail strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text);
}

.agendar-detail span {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.agendar-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.agendar-form-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-error {
    display: none;
    font-size: 0.78rem;
    color: #c44;
    margin-top: 0.3rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.agendar-processing {
    text-align: center;
    padding: 3rem 1rem;
}

.agendar-processing p {
    margin: 1rem auto 0;
    color: var(--text-soft);
}

@media (max-width: 768px) {
    .agendar-page {
        padding-top: 90px;
    }
    .agendar-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .agendar-info {
        text-align: center;
    }
    .agendar-details {
        align-items: center;
    }
    .agendar-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .agendar-form-card {
        padding: 1.2rem;
        border-radius: var(--radius);
    }
}
