/* ======================================================
   Visioptica — Paleta y Variables
====================================================== */
:root {
    --gold: #B08D3E;
    --gold-light: #D4AF6A;
    --charcoal: #3A3A3A;
    --graphite: #6B6B6B;
    --slate: #5C7080;
    --gradient: linear-gradient(135deg, var(--charcoal) 0%, var(--gold) 100%);
    --gradient-footer: linear-gradient(90deg, var(--charcoal) 0%, var(--gold) 100%);
    --heading: #2A2A2A;
    --text-muted: #6B6B6B;
    --bg-mint: #F7F3EB;
    --bg-light: #FAF9F7;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-soft: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

.text-heading {
    color: var(--heading);
}

.text-teal {
    color: var(--gold) !important;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

/* ===== Logo de marca ===== */
.navbar-logo {
    height: 48px;
    width: auto;
    display: block;
}

.login-logo {
    height: 90px;
    width: auto;
}

.footer-logo-wrap {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 12px;
}

.footer-logo {
    height: 38px;
    width: auto;
    display: block;
}

/* Navbar */
.navbar .nav-link {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold);
}

/* Opción del menú en la que está la persona (Agenda tu cita y carrito) */
.navbar .btn-gradient.is-active {
    box-shadow: 0 0 0 3px rgba(200, 173, 108, 0.45);
}

.navbar .cart-link.active {
    color: var(--gold);
}

.btn-gradient {
    background: var(--gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0.35rem 1rem rgba(176, 141, 62, 0.35);
}

.btn-outline-teal {
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-teal:hover {
    background: var(--gold);
    color: #fff;
}

.cart-link:hover {
    color: var(--gold) !important;
}

/* Hero (Ruta corregida apuntando directo a public/assets/img/) */
.hero-section {
    min-height: 85vh;
    background: url('/assets/img/imagen_princi.jpg') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(30, 30, 30, 0.7) 0%, rgba(70, 70, 70, 0.35) 100%);
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 520px;
    opacity: 0.95;
}

.btn-ghost {
    background: #fff;
    color: var(--gold);
    border: 2px solid transparent;
    font-weight: 600;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gold-light);
}

/* Foto de portada como <img> (en lugar de background en línea) */
.hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Stats bar */
.stats-bar {
    background: linear-gradient(90deg, #e8f8f7 0%, #eef4fc 100%);
    box-shadow: var(--shadow-soft);
    margin-top: -2rem;
    position: relative;
    z-index: 2;
    border-radius: 0;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    color: #555;
    font-size: 0.95rem;
}

/* Services */
.section-services {
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef9f8 100%);
}

.section-title {
    color: var(--heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.service-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.service-img {
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-img-bw {
    filter: grayscale(30%);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-mint);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.service-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
}

/* Doctor section */
.section-doctor {
    background: var(--bg-mint);
}

.doctor-photo {
    border-radius: var(--radius-xl);
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.credentials-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.credential-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 0.35rem;
}

/* Features */
.feature-card {
    border-radius: var(--radius-lg) !important;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
}

.feature-icon-teal {
    background: var(--gradient);
}

.feature-icon-blue {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--gold-light) 100%);
}

.info-bar {
    background: #f0f8ff;
    border-radius: var(--radius-lg) !important;
    border: 1px solid rgba(30, 136, 229, 0.15) !important;
}

/* Footer */
.site-footer {
    background: var(--gradient-footer);
}

.footer-text {
    line-height: 1.6;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.newsletter-form .form-control {
    padding: 0.65rem 1.25rem;
}

.footer-bottom {
    background: rgba(0, 40, 100, 0.35);
}

/* Login page */
.login-page {
    position: relative;
    overflow-x: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #5c5c5c 100%);
    z-index: -2;
}

.login-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/img/fondo_medicos.jpg') center/cover;
    opacity: 0.15;
    filter: blur(2px);
}

.login-card {
    border-radius: var(--radius-xl) !important;
    position: relative;
    z-index: 1;
}

.login-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 180, 0.2);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.link-teal {
    color: var(--gold);
    text-decoration: none;
}

.link-teal:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .d-flex.flex-wrap.gap-3 {
        justify-content: center;
    }
}

/* Catálogo de Productos y Carrito */
.filtro-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
}

.product-img-wrap {
    position: relative;
    height: 220px;
    background: var(--bg-mint);
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(58, 58, 58, 0.85);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.carrito-item {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.carrito-item-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 0.75rem;
    background: var(--bg-mint);
}

/* ======================================================
   Planes / Pricing
   ====================================================== */
.section-plans {
    background: var(--bg-light);
}

.plan-card {
    border-radius: var(--radius-xl) !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.plan-card-featured {
    border: 2px solid var(--gold) !important;
    box-shadow: 0 0.75rem 2rem rgba(176, 141, 62, 0.18);
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-name {
    color: var(--heading);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.plan-price-amount {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--heading);
}

.plan-price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.92rem;
    color: #444;
}

.plan-features li i.bi-check2 {
    color: var(--gold);
}

.plan-features li i.bi-x-lg {
    color: #c7c7c7;
}

.plan-features li.text-muted {
    color: #aaa !important;
}

.btn-plan {
    background: var(--gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-plan:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0.35rem 1rem rgba(176, 141, 62, 0.35);
}

.btn-plan-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}

.btn-plan-outline:hover {
    background: var(--gold);
    color: #fff;
}

/* ======================================================
   Planes: detalle de funcionalidades
   ====================================================== */
.plan-billing {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.plan-includes-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.plan-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
}

.plan-more:hover {
    color: var(--charcoal);
    text-decoration: underline;
}

.plan-includes {
    scroll-margin-top: 90px;
}

.plan-includes-lead {
    max-width: 560px;
}

.plan-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.feature-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: var(--gold-light);
}

.feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--bg-mint);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-card .plan-features li {
    padding: 0.25rem 0;
    font-size: 0.88rem;
}
.paginacion-visilux nav {
    width: 100%;
}

.paginacion-visilux .pagination {
    gap: .4rem;
    margin-bottom: 0;
}

.paginacion-visilux .page-link {
    color: var(--charcoal) !important;
    background-color: #fff !important;
    border: 1px solid #E6DCC8 !important;
    border-radius: 50px !important;
    min-width: 42px;
    text-align: center;
    font-weight: 500;
    box-shadow: none !important;
    transition: all .2s ease;
}

.paginacion-visilux .page-link:hover {
    color: #fff !important;
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}

.paginacion-visilux .page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(176, 141, 62, .25) !important;
}

.paginacion-visilux .page-item.active .page-link {
    color: #fff !important;
    background: var(--gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(176, 141, 62, .3) !important;
}

.paginacion-visilux .page-item.disabled .page-link {
    color: #B9AD97 !important;
    background-color: var(--bg-light) !important;
}

.paginacion-visilux p.small {
    color: var(--graphite);
    margin: 0 1rem 0 0;
}

.paginacion-visilux p.small .fw-semibold {
    color: var(--gold);
}

/* =====================================================
   MODO NIÑOS  (home: tarjeta infantil + página /productos/ninos)
===================================================== */
.service-card-kids {
    position: relative; overflow: hidden; border-radius: 34px !important;
    background-color: #fff3b0;
    background-image: linear-gradient(180deg, rgba(255,243,176,.55), rgba(255,209,230,.55)), url('../img/fondo-ninos-caritas.jpg');
    background-size: auto, 340px;
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    border: 5px solid transparent !important;
    background-clip: padding-box;
    box-shadow: 0 0 0 5px #ff6b9d, 0 0 0 10px #ffd23f, 0 0 0 15px #29b6f6, 0 18px 30px rgba(91,75,219,.25) !important;
    margin: 15px; font-family: 'Fredoka', 'Poppins', sans-serif;
}
.sk-photo { margin: 22px 22px 0; border-radius: 28px; overflow: hidden; border: 5px solid #fff;
    box-shadow: 0 6px 0 #5b4bdb; transform: rotate(-1.5deg); position: relative; z-index: 1; }
.sk-photo .service-img { display: block; width: 100%; height: 220px; object-fit: cover; border: 0; }
.sk-body { position: relative; z-index: 1; background: rgba(255,255,255,.85); margin: 16px 18px 18px; border-radius: 24px; }
.service-card-kids h3 { font-family: 'Fredoka', 'Poppins', sans-serif; color: #5b4bdb; text-shadow: 2px 2px 0 #fff; }
.service-card-kids p { color: #4a3f8f; font-weight: 500; }
.service-card-kids .service-icon { background: #ff5a5f !important; color: #fff !important; border-radius: 50% !important;
    width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem;
    box-shadow: 0 4px 0 #c23a3f; animation: skBeat 1.4s ease-in-out infinite; }
@keyframes skBeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18) rotate(8deg); } }
.sk-sticker { position: absolute; top: 34px; right: 30px; z-index: 3; background: #ff5a5f; color: #fff; font-weight: 700;
    padding: .35rem 1rem; border-radius: 50px; border: 3px dashed #fff; transform: rotate(6deg); box-shadow: 0 4px 0 #c23a3f; }
.sk-deco { position: absolute; z-index: 2; font-size: 2.2rem; animation: kidsFloat 4s ease-in-out infinite; pointer-events: none; }
.sk-d1 { top: 6px; left: 10px; } .sk-d2 { top: 190px; left: 6px; animation-delay: .6s; }
.sk-d3 { top: 175px; right: 10px; animation-delay: 1.2s; } .sk-d4 { bottom: 14px; right: 18px; animation-delay: 1.8s; }
.sk-d5 { bottom: 70px; left: 8px; animation-delay: 2.4s; }
.sk-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0; }
.sk-chips li { padding: .4rem .9rem; border-radius: 50px; font-weight: 600; color: #fff; border: 3px solid #fff;
    box-shadow: 0 3px 0 rgba(0,0,0,.18); transition: transform .2s; }
.sk-chips li::before { display: none !important; content: none !important; }
.sk-chips li:hover { transform: rotate(-4deg) scale(1.07); }
.sk-chips .c1 { background: #29b6f6; } .sk-chips .c2 { background: #5cc43a; } .sk-chips .c3 { background: #8e6bff; }
.btn-kids-link {
    display: inline-block; padding: .65rem 1.5rem; border-radius: 50px; font-size: 1.05rem;
    background: linear-gradient(135deg,#ff6b9d,#ffb347); color: #fff; font-weight: 700;
    text-decoration: none; box-shadow: 0 5px 0 #d94b7e; transition: transform .2s;
}
.btn-kids-link:hover { color: #fff; transform: translateY(-3px) rotate(-2deg); }

.kids-page { font-family: 'Fredoka', 'Poppins', sans-serif;
    background: #fffdf5 url('../img/fondo-ninos-juguetes.jpg') center top/520px repeat; }
.kids-hero { padding: 70px 0 90px; position: relative; overflow: hidden;
    background: linear-gradient(180deg, rgba(255,214,102,.88), rgba(255,160,200,.82) 70%, rgba(255,253,245,0)); }
.kids-title { font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem); color: #3b2f8f; text-shadow: 3px 3px 0 #fff; line-height: 1.1; }
.kids-title span { color: #ff5a5f; }
.kids-title em { font-style: normal; color: #fff; background: #29b6f6; padding: 0 .4em; border-radius: 18px;
    display: inline-block; transform: rotate(-3deg); box-shadow: 0 6px 0 #0288d1; }
.kids-sub { font-size: 1.15rem; color: #4a3f8f; max-width: 560px; margin: 1rem auto 1.5rem; }
.kids-sticker { display: inline-block; background: #fff; color: #ff5a5f; font-weight: 700; padding: .35rem 1.2rem;
    border-radius: 50px; border: 3px dashed #ff5a5f; transform: rotate(-4deg); margin-bottom: 1rem; }
.kids-float { position: absolute; font-size: 2.8rem; animation: kidsFloat 4s ease-in-out infinite; }
.k1 { top: 0; left: 6%; } .k2 { top: 30%; right: 8%; animation-delay: .8s; }
.k3 { bottom: 0; left: 12%; animation-delay: 1.6s; } .k4 { top: 8%; right: 22%; animation-delay: 2.2s; }
@keyframes kidsFloat { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

.kids-search { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center;
    background: #fff; max-width: 640px; margin: 0 auto; padding: .6rem .8rem; border-radius: 50px;
    border: 4px solid #5b4bdb; box-shadow: 0 6px 0 #3b2f8f; }
.kids-search i { color: #5b4bdb; margin-left: .5rem; }
.kids-search input { flex: 1; min-width: 140px; border: 0; outline: 0; font-family: inherit; font-size: 1rem; }
.kids-search select { border: 0; background: #f1ecff; border-radius: 20px; padding: .3rem .7rem; font-family: inherit; }
.kids-search button, .kids-btn { border: 0; background: #ff5a5f; color: #fff; font-weight: 600; padding: .5rem 1.4rem;
    border-radius: 50px; box-shadow: 0 4px 0 #c23a3f; text-decoration: none; display: inline-block; }

.kids-body { padding: 10px 0 60px; }
.kids-alert { background: #d8f7c8; border: 3px solid #5cc43a; border-radius: 22px; padding: .8rem 1.2rem; margin-bottom: 1.5rem; font-weight: 500; }
.kids-alert a { margin-left: .8rem; font-weight: 700; color: #2c7a14; }
.kids-alert-warn { background: #fff0b8; border-color: #ffc400; }

.kids-card { --c: #ff5a5f; --c2: #c23a3f; --bg: #ffe3e4;
    background: #fff; border: 4px solid var(--c); border-radius: 30px; overflow: hidden; height: 100%;
    box-shadow: 0 8px 0 var(--c2); transition: transform .25s; display: flex; flex-direction: column; }
.kids-card:hover { transform: translateY(-8px) rotate(-1.5deg); }
.kids-card:nth-child(even):hover { transform: translateY(-8px) rotate(1.5deg); }
.kc-rojo { --c:#ff5a5f; --c2:#c23a3f; --bg:#ffe3e4; }
.kc-azul { --c:#29b6f6; --c2:#0288d1; --bg:#dff3ff; }
.kc-amarillo { --c:#ffc400; --c2:#c79500; --bg:#fff4c7; }
.kc-verde { --c:#5cc43a; --c2:#3a9120; --bg:#e2f8d8; }
.kc-rosa { --c:#ff6b9d; --c2:#d94b7e; --bg:#ffe0ec; }
.kc-morado { --c:#8e6bff; --c2:#5b3fd1; --bg:#ece5ff; }
.kids-img { position: relative; height: 190px; background: var(--bg); display: flex; align-items: center; justify-content: center;
    border-bottom: 4px dashed var(--c); }
.kids-img img { max-width: 85%; max-height: 85%; object-fit: contain; }
.kids-img > i { font-size: 4.5rem; color: var(--c); }
.kids-tag { position: absolute; top: 10px; right: 10px; font-size: 1.6rem; background: #fff; width: 46px; height: 46px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--c2); }
.kids-info { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.kids-info small { color: var(--c2); text-transform: uppercase; font-weight: 600; letter-spacing: .5px; }
.kids-info h5 { font-weight: 700; color: #3b2f8f; margin: .2rem 0 .4rem; }
.kids-info p { color: #6b6b8a; font-size: .88rem; flex: 1; }
.kids-foot { display: flex; justify-content: space-between; align-items: center; }
.kids-price { background: var(--c); color: #fff; font-weight: 700; padding: .25rem .9rem; border-radius: 50px; font-size: 1.1rem; }
.kids-price small { color: #fff; }
.kids-add { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c); color: #fff; font-size: 1.3rem;
    box-shadow: 0 4px 0 var(--c2); transition: transform .2s; }
.kids-add:hover:not(:disabled) { transform: scale(1.15) rotate(12deg); }
.kids-add:disabled { opacity: .45; }

.kids-empty { text-align: center; background: #fff; border: 4px dashed #ff6b9d; border-radius: 30px; padding: 3rem 1rem; }
.kids-empty div { font-size: 4rem; }
.kids-tip { display: flex; gap: 1rem; align-items: center; margin-top: 3rem; background: #fff; border: 4px solid #8e6bff;
    border-radius: 30px; padding: 1.2rem 1.5rem; box-shadow: 0 6px 0 #5b3fd1; color: #3b2f8f; }
.kids-tip > span { font-size: 2.5rem; }
.kids-tip a { font-weight: 700; color: #ff5a5f; }

/* ======================================================
   Páginas "Terapia Visual" y "Conócenos" (rediseño)
   Banner, secciones, tarjetas, sección infantil y contacto
====================================================== */

/* ---------- Animación de entrada (solo CSS) ---------- */
@keyframes aparecer { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { animation: aparecer .7s ease both; }
.reveal-grupo > * { animation: aparecer .7s ease both; }
.reveal-grupo > *:nth-child(2) { animation-delay: .12s; }
.reveal-grupo > *:nth-child(3) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-grupo > * { animation: none !important; }
}

/* ---------- Banner de página ---------- */
.page-header { position: relative; overflow: hidden; padding: 5rem 0 6.5rem; color: #fff;
    background: radial-gradient(900px 380px at 85% -10%, rgba(212,175,106,.45), transparent 60%),
                radial-gradient(700px 320px at 0% 110%, rgba(176,141,62,.35), transparent 60%),
                linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 55%, #5a4a2a 100%); }
.page-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; background: #fff;
    clip-path: ellipse(60% 100% at 50% 100%); }
.page-header .container { position: relative; z-index: 1; }
.page-eyebrow { display: inline-block !important; padding: .35rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(212,175,106,.5); background: rgba(255,255,255,.06); }
.page-title { font-weight: 700; letter-spacing: -.02em; text-shadow: 0 .3rem 1.5rem rgba(0,0,0,.35); }
.page-subtitle { max-width: 640px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.ph-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(212,175,106,.25); pointer-events: none; }
.ph-ring.r1 { width: 320px; height: 320px; right: -80px; top: -90px; }
.ph-ring.r2 { width: 190px; height: 190px; left: 6%; bottom: -70px; }
.ph-ring.r3 { width: 90px; height: 90px; left: 18%; top: 38px; background: rgba(212,175,106,.1); border: 0; }
.ph-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.ph-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 500;
    color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.ph-chip i { color: var(--gold-light); }

/* ---------- Textos pequeños sobre los títulos ---------- */
.cn-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.cn-eyebrow::before, .cn-eyebrow::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-light); }

/* ---------- Iconos dorados (las páginas nuevas los quieren con degradado) ---------- */
.cn-card .feature-icon, .cn-valor .feature-icon { background: var(--gradient); color: #fff; box-shadow: 0 .5rem 1rem rgba(176,141,62,.3); }

/* ---------- Conócenos ---------- */
.cn-stats { margin-top: -3.4rem; position: relative; z-index: 2; }
.cn-stats-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border-radius: 1.25rem; padding: 1.4rem .5rem;
    box-shadow: 0 1rem 2.5rem rgba(60,45,10,.14); border: 1px solid #eee6d4; }
.cn-stat { text-align: center; padding: .4rem 1rem; }
.cn-stat + .cn-stat { border-left: 1px solid #eee6d4; }
.cn-stat b { display: block; font-size: 2rem; line-height: 1.1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cn-stat span { font-size: .82rem; color: var(--text-muted); }
@media (max-width: 575px) { .cn-stat + .cn-stat { border-left: 0; } }

.cn-card { position: relative; overflow: hidden; border: 1px solid #eee6d4 !important; border-radius: 1.5rem !important; background: linear-gradient(180deg, #fff, #fdfaf3);
    box-shadow: 0 .6rem 1.6rem rgba(60,45,10,.07) !important; }
.cn-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 170px; height: 170px; border-radius: 50%; background: var(--bg-mint); z-index: 0; }
.cn-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient); }
.cn-card > * { position: relative; z-index: 1; }
.cn-card .feature-icon { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 18px; }

.cn-valores { position: relative; padding: 5rem 0; background: var(--bg-mint); }
.cn-valor { height: 100%; background: #fff; border-radius: 1.25rem; padding: 2rem 1.5rem; border: 1px solid #eee6d4; box-shadow: 0 .5rem 1.4rem rgba(60,45,10,.06);
    transition: transform .25s, box-shadow .25s, border-color .25s; }
.cn-valor:hover { transform: translateY(-6px); border-color: var(--gold-light); box-shadow: 0 1.2rem 2rem rgba(60,45,10,.12); }
.cn-valor .feature-icon { width: 66px; height: 66px; font-size: 1.7rem; border-radius: 50%; box-shadow: 0 0 0 7px var(--bg-mint), 0 .5rem 1rem rgba(176,141,62,.3); }

.cn-contacto .map-frame { width: 100%; height: 320px; border: 0; border-radius: 1.25rem; box-shadow: 0 .8rem 2rem rgba(60,45,10,.14); }
.cn-info { display: grid; gap: .75rem; margin-top: 1.25rem; }
.cn-info-item { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; background: #fff; border: 1px solid #eee6d4; border-radius: 1rem; color: var(--text-muted); transition: border-color .2s, transform .2s; }
.cn-info-item:hover { border-color: var(--gold-light); transform: translateX(4px); }
.cn-info-item i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--bg-mint); color: var(--gold); }
.cn-form { background: #fff; border: 1px solid #eee6d4; border-radius: 1.5rem; padding: 2rem; box-shadow: 0 1rem 2.4rem rgba(60,45,10,.1); }
.cn-form .form-control { border-radius: .85rem; padding: .7rem 1rem; border-color: #e6dcc3; background: #fdfbf6; }
.cn-form .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 .22rem rgba(176,141,62,.2); background: #fff; }

/* ======================================================
   Inicio (rediseño): hero a pantalla completa, servicios numerados,
   perfil profesional y ventajas. La tarjeta infantil usa los estilos
   de "MODO NIÑOS" y no se modifica.
====================================================== */
.ini-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.ini-eyebrow::before, .ini-eyebrow::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-light); }
.ini-eyebrow-claro { color: var(--gold-light); }

/* ---------- Inicio: resumen de Terapia Visual ---------- */
.ini-terapia { position: relative; overflow: hidden; padding: 5.5rem 0; background: radial-gradient(600px 320px at 100% 0%, rgba(212,175,106,.25), transparent 65%), linear-gradient(180deg, #fdfaf3, #fff); }
.ini-terapia-cabecera { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.ini-terapia-titulo { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; color: var(--heading); margin-bottom: 1.1rem; }
.ini-terapia-titulo span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ini-terapia-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.3rem; }
.ini-terapia-chips span { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 500; background: #fff; border: 1px solid #eee6d4; box-shadow: 0 .3rem .9rem rgba(60,45,10,.07); }
.ini-terapia-chips i { color: var(--gold); }
.ini-caja { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 1.2rem; border-radius: 2rem; background: #fff; border: 1px solid #eee6d4; box-shadow: 0 1.4rem 3rem rgba(60,45,10,.14); }
/* Cuadro abierto: la tarjeta infantil original a la izquierda y el bloque de adultos a la derecha, con marco dorado a juego */
.ini-caja-abierta { padding: 0; gap: 1.5rem; background: none; border: 0; box-shadow: none; align-items: stretch; }
.ini-caja-abierta .service-card-kids { height: auto !important; }
.ini-caja-abierta .ini-bloque-adultos { margin: 15px; box-shadow: 0 0 0 5px #f3e6c8, 0 0 0 10px var(--gold-light), 0 0 0 15px var(--gold), 0 18px 30px rgba(120,90,30,.25); }
.ini-bloque { position: relative; overflow: hidden; padding: 1.8rem; border-radius: 1.5rem; }
.ini-bloque-ninos { font-family: 'Fredoka', 'Poppins', sans-serif; background: radial-gradient(240px 140px at 0% 0%, rgba(255,179,0,.22), transparent 70%), radial-gradient(240px 140px at 100% 100%, rgba(41,182,246,.22), transparent 70%), linear-gradient(180deg, #fff8e1, #e8f7ff); }
.ini-bloque-adultos { background: radial-gradient(240px 140px at 100% 0%, rgba(212,175,106,.35), transparent 70%), radial-gradient(240px 140px at 0% 100%, rgba(176,141,62,.18), transparent 70%), linear-gradient(180deg, #fdf3dc, #f3e6c8); }
.ini-bloque-foto { position: relative; height: 210px; margin: -1.8rem -1.8rem 0; overflow: hidden; }
.ini-bloque-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ini-bloque:hover .ini-bloque-foto img { transform: scale(1.06); }
.ini-bloque-foto::after { content: ''; position: absolute; inset: 0; }
.ini-bloque-ninos .ini-bloque-foto::after { background: linear-gradient(180deg, transparent 35%, rgba(255,248,225,.7) 70%, #fff8e1 100%); }
.ini-bloque-adultos .ini-bloque-foto::after { background: linear-gradient(180deg, transparent 35%, rgba(253,243,220,.7) 70%, #fdf3dc 100%); }

.ini-bloque-foto + .ini-bloque-cabecera { margin-top: -1.3rem; position: relative; z-index: 1; }
.ini-bloque-cabecera { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.ini-bloque-icono { width: 50px; height: 50px; flex: none; display: grid; place-items: center; font-size: 1.4rem; color: #fff; }
.ini-bloque-ninos .ini-bloque-icono { border-radius: 50% 50% 50% 12px; background: #ffb300; box-shadow: 0 .25rem 0 #e69a00; transform: rotate(-6deg); }
.ini-bloque-adultos .ini-bloque-icono { border-radius: 50% 50% 50% 12px; background: var(--gradient); box-shadow: 0 .25rem 0 #8a6a25; transform: rotate(-6deg); }
.ini-bloque-cabecera h3 { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.ini-bloque-ninos h3 { font-family: 'Fredoka', sans-serif; background: linear-gradient(90deg, #ef5350, #ffb300 45%, #66bb6a 75%, #29b6f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ini-bloque-adultos h3 { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ini-bloque-cabecera small { font-size: .82rem; color: var(--text-muted); }
.ini-bloque-adultos .ini-bloque-cabecera small { color: var(--text-muted); }
.ini-fila-terapia { --c: #ef5350; --c-soft: #ffebee; display: flex; align-items: center; gap: .9rem; margin-bottom: .75rem; padding: .8rem 1rem; border-radius: 1.1rem; text-decoration: none; color: var(--heading);
    background: #fff; box-shadow: 0 .25rem 0 var(--c), 0 .6rem 1.2rem rgba(0,0,0,.07); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.ini-fila-terapia:last-child { margin-bottom: 0; }
.ini-fila-terapia:hover { transform: translateX(6px); color: var(--heading); }
.ini-fila-terapia.rojo { --c: #ef5350; --c-soft: #ffebee; } .ini-fila-terapia.azul { --c: #29b6f6; --c-soft: #e1f5fe; } .ini-fila-terapia.amarillo { --c: #ffb300; --c-soft: #fff3cd; }
.ini-fila-terapia.dorado { --c: var(--gold); --c-soft: #f3e6c8; }
.ini-fila-icono { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50% 50% 50% 10px; background: var(--c); color: #fff; font-size: 1.2rem; box-shadow: 0 0 0 4px var(--c-soft); }
.ini-fila-terapia.dorado .ini-fila-icono { border-radius: 12px; background: var(--gradient); }
.ini-fila-terapia b { display: block; font-size: .98rem; line-height: 1.2; }
.ini-fila-terapia em { display: block; font-style: normal; font-size: .8rem; color: var(--text-muted); font-family: 'Poppins', sans-serif; }
.ini-bloque { display: flex; flex-direction: column; }
.ini-bloque-adultos .ini-fila-terapia { flex: 1; align-items: center; gap: .7rem; padding: .9rem .9rem; }
.ini-bloque-adultos .ini-fila-icono { width: 46px; height: 46px; font-size: 1.25rem; }
.ini-bloque-adultos .ini-fila-terapia b { font-size: .98rem; margin-bottom: .15rem; overflow-wrap: anywhere; }


.ini-bloque-enlace { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; padding: .65rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none;
    font-family: 'Poppins', sans-serif; transition: transform .2s, gap .2s; position: relative; z-index: 1; }
.ini-bloque-enlace:hover { gap: .8rem; transform: translateY(-2px); }
.ini-bloque-ninos .ini-bloque-enlace { color: #fff; background: linear-gradient(135deg, #ef5350, #ffb300); box-shadow: 0 .25rem 0 #c6792a; }
.ini-bloque-adultos .ini-bloque-enlace { color: #fff; background: var(--gradient); box-shadow: 0 .25rem 0 #8a6a25; }
.ini-bloque-ninos .ini-bloque-enlace:hover, .ini-bloque-adultos .ini-bloque-enlace:hover { color: #fff; }
@media (max-width: 767px) { .ini-caja { grid-template-columns: 1fr; } }

/* ---------- Perfil profesional ---------- */
.ini-doctor { position: relative; overflow: hidden; padding: 5.5rem 0; color: #fff; background: linear-gradient(135deg, #2a2a2a, #4a3d22); }
.ini-doctor::before { content: ''; position: absolute; width: 440px; height: 440px; right: -130px; top: -150px; border-radius: 50%; border: 1px solid rgba(212,175,106,.3); }
.ini-doctor::after { content: ''; position: absolute; width: 220px; height: 220px; left: -80px; bottom: -90px; border-radius: 50%; background: rgba(212,175,106,.08); }
.ini-doctor .container { position: relative; z-index: 1; }
.ini-doctor h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.ini-doctor-texto { color: rgba(255,255,255,.75); margin-bottom: 1.6rem; }
.ini-doctor-foto { position: relative; }
.ini-doctor-foto img { width: 100%; max-height: 500px; object-fit: cover; border-radius: 1.75rem; border: 6px solid rgba(255,255,255,.1); box-shadow: 0 1.5rem 3rem rgba(0,0,0,.35); }
.ini-doctor-etiqueta { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); white-space: nowrap; padding: .6rem 1.3rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #2a2a2a; background: #fff; box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.25); }
.ini-doctor-etiqueta i { color: var(--gold); }
.ini-credenciales { display: grid; gap: .8rem; padding: 0; margin: 0; }
.ini-credenciales li { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: transform .25s, border-color .25s; }
.ini-credenciales li:hover { transform: translateX(6px); border-color: var(--gold-light); }
.ini-credenciales strong { color: #fff; }
.ini-credenciales span.small { color: rgba(255,255,255,.65); }
.ini-cred-icono { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--gradient); color: #fff; font-size: 1.2rem; }

/* ---------- Por qué elegirnos ---------- */
.ini-porque { background: #fff; padding: 5.5rem 0; }
.ini-ventaja { display: flex; gap: 1.2rem; align-items: flex-start; height: 100%; padding: 1.8rem; border-radius: 1.5rem; border: 1px solid #eee6d4; background: linear-gradient(180deg, #fff, #fdfaf3);
    box-shadow: 0 .5rem 1.4rem rgba(60,45,10,.06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ini-ventaja:hover { transform: translateY(-5px); border-color: var(--gold-light); box-shadow: 0 1.2rem 2rem rgba(60,45,10,.12); }
.ini-ventaja-icono { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--gradient); color: #fff; font-size: 1.6rem; box-shadow: 0 .5rem 1rem rgba(176,141,62,.3); }
.ini-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 3.5rem; padding: 2.4rem 2.6rem; border-radius: 2rem; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(500px 240px at 90% 0%, rgba(212,175,106,.4), transparent 60%), linear-gradient(135deg, #2a2a2a, #4a3d22); box-shadow: 0 1.5rem 3rem rgba(40,30,10,.25); }
.ini-cta h3 { color: #fff; } .ini-cta p { color: rgba(255,255,255,.78); }
.ini-cta-btn { background: #fff; color: #2a2a2a; font-weight: 600; box-shadow: 0 .4rem 0 var(--gold-light); transition: transform .2s, box-shadow .2s; }
.ini-cta-btn:hover { color: #2a2a2a; transform: translateY(-2px); box-shadow: 0 .6rem 0 var(--gold-light); }

}

/* ======================================================
   Terapia Visual (rediseño): hero con órbita, sección infantil
   (mismos colores), adultos, paso a paso y llamado a la acción.
====================================================== */
.tp-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.tp-eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-light); }
.tp-eyebrow-claro { color: var(--gold-light); }

/* ---------- Hero ---------- */
.tp-hero { position: relative; overflow: hidden; padding: 4.5rem 0 5.5rem; background: radial-gradient(700px 380px at 95% 0%, rgba(212,175,106,.3), transparent 65%), linear-gradient(180deg, #fdfaf3, #fff); }
.tp-titulo { font-size: clamp(2.8rem, 6.5vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: var(--heading); margin-bottom: 1.2rem; animation: tpAparecer .8s ease both; }
.tp-titulo em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tp-subtitulo { color: var(--text-muted); font-size: 1.08rem; max-width: 520px; animation: tpAparecer .8s .1s ease both; }
.tp-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.6rem; animation: tpAparecer .8s .2s ease both; }
.tp-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.05rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--heading); background: #fff; border: 1px solid #eee6d4; box-shadow: 0 .3rem .9rem rgba(60,45,10,.07); }
.tp-chip i { color: var(--gold); }
@keyframes tpAparecer { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Órbita decorativa (solo CSS) */
.tp-orbita { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; }
.tp-anillo { position: absolute; border-radius: 50%; inset: 0; border: 1px dashed rgba(176,141,62,.45); }
.tp-anillo.a2 { inset: 14%; border-style: solid; border-color: rgba(176,141,62,.25); }
.tp-anillo.a3 { inset: 28%; background: radial-gradient(circle, rgba(212,175,106,.25), rgba(212,175,106,.05) 70%); border: 0; }
.tp-ojo { position: absolute; inset: 36%; display: grid; place-items: center; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 3rem; box-shadow: 0 1.2rem 2.4rem rgba(176,141,62,.4); }
.tp-sat { position: absolute; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 1.6rem; box-shadow: 0 .8rem 1.6rem rgba(60,45,10,.18); animation: tpFlota 5s ease-in-out infinite; }
.tp-sat.s1 { top: 4%; left: 42%; color: #29b6f6; }
.tp-sat.s2 { top: 44%; right: -2%; color: var(--gold); animation-delay: -1.5s; }
.tp-sat.s3 { bottom: 4%; left: 36%; color: #ffb300; animation-delay: -3s; }
.tp-sat.s4 { top: 40%; left: -2%; color: #ef5350; animation-delay: -4s; }
@keyframes tpFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Introducción ---------- */
.tp-intro { padding: 1rem 0 4.5rem; }
.tp-intro-caja { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: center; padding: 2.4rem 2.6rem; border-radius: 1.75rem; border: 1px solid #eee6d4; position: relative; overflow: hidden;
    background: linear-gradient(180deg, #fff, #fdfaf3); box-shadow: 0 1rem 2.4rem rgba(60,45,10,.08); }
.tp-intro-caja::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gradient); }

/* ---------- Niños: mismos colores de siempre ---------- */
.tp-ninos { position: relative; overflow: hidden; padding: 5.5rem 0 6.5rem; font-family: 'Fredoka', 'Poppins', sans-serif;
    background: radial-gradient(500px 260px at 8% 0%, rgba(255,179,0,.2), transparent 70%), radial-gradient(500px 260px at 95% 100%, rgba(41,182,246,.2), transparent 70%), linear-gradient(180deg, #fff8e1 0%, #e8f7ff 100%); }
.tp-ninos::before, .tp-ninos::after { content: ''; position: absolute; left: 0; right: 0; height: 40px; background: #fff; z-index: 1; }
.tp-ninos::before { top: -1px; clip-path: ellipse(55% 100% at 50% 0%); }
.tp-ninos::after { bottom: -1px; clip-path: ellipse(55% 100% at 50% 100%); }
.tp-figura { position: absolute; z-index: 0; opacity: .4; pointer-events: none; animation: tpFlota 6s ease-in-out infinite; }
.tp-figura.f1 { top: 50px; left: 4%; font-size: 3rem; color: #ffb300; } .tp-figura.f2 { top: 90px; right: 5%; font-size: 3.2rem; color: #29b6f6; animation-delay: -2s; }
.tp-figura.f3 { bottom: 70px; left: 6%; font-size: 3rem; color: #ef5350; animation-delay: -4s; } .tp-figura.f4 { bottom: 80px; right: 4%; font-size: 2.6rem; color: #66bb6a; animation-delay: -1s; }
.tp-ninos-titulo { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--heading); line-height: 1.05; }
.tp-ninos-titulo span { background: linear-gradient(90deg, #ef5350, #ffb300 40%, #66bb6a 70%, #29b6f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tp-ninos-texto { font-family: 'Poppins', sans-serif; color: var(--text-muted); font-size: 1.05rem; margin: 1rem 0 1.4rem; }
.tp-duracion { display: inline-block; padding: .6rem 1.2rem; border-radius: 999px; background: #ffb300; color: #fff; font-weight: 600; box-shadow: 0 .3rem 0 #e69a00; transform: rotate(-1.5deg); }
.tp-lista { display: grid; gap: 1.2rem; }
.tp-item { --c: #ef5350; --c-soft: #ffebee; position: relative; display: flex; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; border-radius: 1.75rem; background: #fff; overflow: hidden;
    box-shadow: 0 .35rem 0 var(--c), 0 1rem 2rem rgba(0,0,0,.08); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.tp-item::before { content: ''; position: absolute; width: 170px; height: 170px; right: -50px; top: -60px; border-radius: 50%; background: var(--c-soft); }
.tp-item > * { position: relative; }
.tp-item:hover { transform: translateX(8px) rotate(-.4deg); }
.tp-item.rojo { --c: #ef5350; --c-soft: #ffebee; } .tp-item.azul { --c: #29b6f6; --c-soft: #e1f5fe; } .tp-item.amarillo { --c: #ffb300; --c-soft: #fff3cd; }
.tp-item-icono { flex: none; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50% 50% 50% 14px; background: var(--c); color: #fff; font-size: 2rem;
    box-shadow: 0 .35rem 0 rgba(0,0,0,.15), 0 0 0 6px var(--c-soft); transform: rotate(-6deg); }
.tp-item h3 { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--c); margin-bottom: .3rem; }
.tp-item p { font-family: 'Poppins', sans-serif; color: var(--text-muted); margin: 0; line-height: 1.6; }
.tp-item-num { position: absolute !important; right: 1.4rem; top: .9rem; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--c); opacity: .4; }

/* ---------- Adultos ---------- */
.tp-adultos { position: relative; overflow: hidden; padding: 5.5rem 0; color: #fff; background: linear-gradient(135deg, #2a2a2a, #4a3d22); }
.tp-adultos::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -150px; border-radius: 50%; border: 1px solid rgba(212,175,106,.3); }
.tp-adultos .container { position: relative; }
.tp-adultos-caja { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; padding: 1rem; border-radius: 2rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 1.6rem 3rem rgba(0,0,0,.3); }
.tp-adultos-foto { position: relative; min-height: 380px; overflow: hidden; border-radius: 1.5rem; }
.tp-adultos-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(35%); transition: transform .6s ease; }
.tp-adultos-caja:hover .tp-adultos-foto img { transform: scale(1.05); }
.tp-adultos-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,42,42,.05) 25%, rgba(42,42,42,.85) 75%, #2e2a1e 100%); }
.tp-adultos-foto-texto { position: absolute; left: 1.8rem; right: 1.8rem; bottom: 1.6rem; z-index: 1; }
.tp-adultos-titulo { font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); color: #fff; margin-bottom: .3rem; }
.tp-adultos-texto { color: rgba(255,255,255,.8); margin: 0; }
.tp-adultos-lista { display: flex; flex-direction: column; gap: 1rem; padding: .6rem .4rem .4rem; justify-content: center; }
.tp-fila { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.4rem; border-radius: 1.25rem; background: linear-gradient(180deg, #fff, #fdfaf3); box-shadow: 0 .3rem 0 var(--gold), 0 1rem 2rem rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.tp-fila:hover { transform: translateX(8px); }
.tp-fila-icono { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--gradient); color: #fff; font-size: 1.6rem; box-shadow: 0 0 0 5px var(--bg-mint); }
.tp-fila h3 { font-size: 1.15rem; font-weight: 700; color: var(--heading); margin-bottom: .25rem; }
.tp-fila p { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.55; }
.tp-adultos-enlace { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; color: #2a2a2a; background: #fff;
    box-shadow: 0 .3rem 0 var(--gold-light); transition: gap .2s, transform .2s; }
.tp-adultos-enlace:hover { gap: .9rem; transform: translateY(-2px); color: #2a2a2a; }

/* ---------- Paso a paso y llamado a la acción ---------- */
.tp-pasos { padding: 5.5rem 0; background: #fff; }
.tp-pasos-fila { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.tp-pasos-fila::before { content: ''; position: absolute; left: 16%; right: 16%; top: 33px; border-top: 2px dashed var(--gold-light); }
.tp-paso { position: relative; text-align: center; padding: 0 1rem; }
.tp-paso-num { width: 66px; height: 66px; margin: 0 auto 1.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 1.6rem; font-weight: 700;
    border: 5px solid #fff; box-shadow: 0 0 0 2px var(--gold-light), 0 .8rem 1.6rem rgba(176,141,62,.3); }
.tp-paso h3 { font-size: 1.15rem; font-weight: 700; color: var(--heading); }
.tp-paso p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.tp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 4rem; padding: 2.4rem 2.6rem; border-radius: 2rem; color: #fff;
    background: radial-gradient(500px 240px at 90% 0%, rgba(212,175,106,.4), transparent 60%), linear-gradient(135deg, #2a2a2a, #4a3d22); box-shadow: 0 1.5rem 3rem rgba(40,30,10,.25); }
.tp-cta h3 { color: #fff; font-weight: 700; } .tp-cta p { color: rgba(255,255,255,.78); margin: 0; }
.tp-cta-btn { background: #fff; color: #2a2a2a; font-weight: 600; box-shadow: 0 .4rem 0 var(--gold-light); transition: transform .2s, box-shadow .2s; }
.tp-cta-btn:hover { color: #2a2a2a; transform: translateY(-2px); box-shadow: 0 .6rem 0 var(--gold-light); }

@media (max-width: 991px) {
    .tp-intro-caja { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.8rem; }
    .tp-pasos-fila { grid-template-columns: 1fr; } .tp-pasos-fila::before { display: none; }
    .tp-item { align-items: flex-start; flex-direction: column; } .tp-cta { justify-content: center; text-align: center; }
    .tp-orbita { width: min(80%, 340px); }
    .tp-adultos-caja { grid-template-columns: 1fr; } .tp-adultos-foto { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) { .tp-titulo, .tp-subtitulo, .tp-chips, .tp-sat, .tp-figura { animation: none !important; } }

/* Foto de la optómetra pediátrica: encuadra el rostro */
.sk-photo .sk-foto-pediatra { object-position: center 20%; }

/* ======================================================
   Terapia Visual (vista actual): introducción, pilares,
   sección para niños, adultos y llamado a la acción.
   Clases tv-* y ninos-* de resources/views/terapia-visual.blade.php
====================================================== */
.tv-intro { padding: 4.5rem 0 3.5rem; background: #fff; }
.tv-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.tv-eyebrow::before, .tv-eyebrow::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-light); }

.tv-pilares { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.tv-pilar { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid #eee6d4;
    border-radius: 1.25rem; box-shadow: 0 .5rem 1.4rem rgba(60,45,10,.06); transition: transform .25s, border-color .25s, box-shadow .25s; }
.tv-pilar:hover { transform: translateY(-4px); border-color: var(--gold-light); box-shadow: 0 1rem 1.8rem rgba(60,45,10,.1); }
.tv-pilar > i { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; font-size: 1.35rem;
    color: #fff; background: var(--gradient); box-shadow: 0 .4rem .9rem rgba(176,141,62,.3); }
.tv-pilar > div { display: flex; flex-direction: column; line-height: 1.25; }
.tv-pilar b { color: var(--heading); font-weight: 600; }
.tv-pilar span { font-size: .85rem; color: var(--text-muted); }
@media (max-width: 991px) { .tv-pilares { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .tv-pilares { grid-template-columns: 1fr; } }

/* ---------- Para niños: colores alegres, como la tarjeta infantil del inicio ---------- */
.ninos-seccion { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff8e1 0%, #fdfaf3 100%); }
.ninos-seccion .section-title span { background: linear-gradient(90deg, #ef5350, #ffb300 45%, #66bb6a 75%, #29b6f6);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.ninos-figura { position: absolute; font-size: 2.2rem; opacity: .18; pointer-events: none; line-height: 1; }
.ninos-f1 { top: 8%;  left: 6%;  color: #ffb300; transform: rotate(-12deg); }
.ninos-f2 { top: 14%; right: 8%; color: #29b6f6; font-size: 1.6rem; }
.ninos-f3 { bottom: 12%; left: 10%; color: #66bb6a; transform: rotate(10deg); }
.ninos-f4 { bottom: 8%; right: 6%; color: #ef5350; font-size: 1.8rem; transform: rotate(18deg); }
.ninos-duracion { font-size: .85rem; font-weight: 600; padding: .5rem 1rem; color: #7a5200; background: #ffe7a3; }

.ninos-card { position: relative; overflow: hidden; font-family: 'Fredoka', 'Poppins', sans-serif; border: 0 !important;
    border-radius: 1.5rem !important; background: #fff; box-shadow: 0 .8rem 1.8rem rgba(60,45,10,.08) !important;
    border-top: 6px solid var(--ninos-color) !important; transition: transform .25s, box-shadow .25s; }
.ninos-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 1.2rem 2.2rem rgba(60,45,10,.14) !important; }
.ninos-card p { font-family: 'Poppins', sans-serif; }
.ninos-rojo     { --ninos-color: #ef5350; --ninos-suave: #fdecea; }
.ninos-azul     { --ninos-color: #29b6f6; --ninos-suave: #e3f5fd; }
.ninos-amarillo { --ninos-color: #ffb300; --ninos-suave: #fff4d6; }
.ninos-num { position: absolute; top: .6rem; right: 1rem; font-size: 3rem; font-weight: 700; line-height: 1; color: var(--ninos-color); opacity: .15; }
.ninos-card .ninos-icono { width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.6rem; color: #fff;
    border-radius: 50% 50% 50% 14px; background: var(--ninos-color); box-shadow: 0 .3rem 0 rgba(0,0,0,.12); transform: rotate(-6deg); }
.ninos-card h3 { color: var(--heading); }

/* ---------- Para adultos ---------- */
.tv-adultos { padding: 5rem 0; background: var(--bg-mint); }
.tv-card { border: 1px solid #eee6d4 !important; border-left: 5px solid var(--gold) !important; border-radius: 1.25rem !important;
    background: #fff; box-shadow: 0 .6rem 1.6rem rgba(60,45,10,.07) !important; transition: transform .25s, box-shadow .25s; }
.tv-card:hover { transform: translateY(-5px); box-shadow: 0 1.1rem 2rem rgba(60,45,10,.12) !important; }

/* ---------- Llamado a la acción ---------- */
.tv-cta { padding: 4.5rem 0 5rem; background: #fff; }
.tv-cta-box { position: relative; overflow: hidden; padding: 3.5rem 1.5rem; border-radius: 2rem; color: #fff;
    background: radial-gradient(600px 260px at 90% 0%, rgba(212,175,106,.45), transparent 60%), linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 55%, #5a4a2a 100%);
    box-shadow: 0 1.2rem 2.6rem rgba(40,30,10,.25); }
.tv-cta-box .section-title { color: #fff; }
.tv-cta-box p { color: rgba(255,255,255,.82); }

/* Inicio: la tarjeta infantil y el bloque de Adultos van sin marco, solo con sombra suave
   (solo en el inicio; en /productos/ninos la tarjeta infantil conserva su marco de colores) */
.ini-caja-abierta .service-card-kids,
.ini-caja-abierta .ini-bloque-adultos {
    margin: 0;
    box-shadow: 0 18px 30px rgba(120,90,30,.18) !important;
}
/* El mismo marquito claro de 5px que ya tenía la tarjeta infantil */
.ini-caja-abierta .ini-bloque-adultos {
    border: 5px solid transparent;
    background-clip: padding-box;
}

/* Página Niños: título "Gafas y cositas para niños" más legible y recuadro de "niños" en rosado */
.kids-title { font-family: 'Fredoka', 'Poppins', sans-serif; font-weight: 700; letter-spacing: .01em; color: #2e2378;
    text-shadow: 0 3px 0 #fff, 0 6px 14px rgba(91,75,219,.18); }
.kids-title span { color: #ff4f8b; }
.kids-title em { color: #fff; background: linear-gradient(135deg, #29b6f6 0%, #8c7cf0 50%, #ff4f8b 100%); padding: .02em .45em .08em;
    border-radius: 20px; box-shadow: 0 6px 0 #9b4fb5, 0 12px 22px rgba(140,90,200,.3); text-shadow: 0 2px 0 rgba(60,30,110,.35); }
