/* ==========================================================================
   JELODA - Software para Centros de Estética y Cosmetología (p/centro-de-estetica/dom/index.css)
   Diseño Premium Dark Glassmorphism, Clinical Emerald & Cyan Aesthetic & Bento Cards
   Clean Code — 100% Separación de Estilos
   ========================================================================== */

/* ── Base layout ── */
.product-page-wrapper.estetica-page {
    padding-top: 160px !important;
    padding-bottom: 120px !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.relative-z { 
    position: relative; 
    z-index: 2; 
}

.product-bg-wave {
    position: absolute; 
    top: 5%; 
    right: -250px; 
    width: 800px; 
    height: auto;
    opacity: 0.22; 
    z-index: 1; 
    pointer-events: none;
    animation: esteticaFloatSlow 16s infinite ease-in-out;
}
.product-bg-wave img { 
    width: 100%; 
    height: auto; 
}

.deco-shapes .shape {
    position: absolute; 
    opacity: 0.45;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.deco-shapes .shape:hover { 
    opacity: 0.85; 
    transform: scale(1.15) rotate(5deg); 
}
.shape-hexa { 
    top: 14%; 
    left: 5%; 
    width: 110px; 
    animation: esteticaFloatSlow 9s infinite ease-in-out; 
}
.shape-diamond { 
    bottom: 22%; 
    right: 5%; 
    width: 130px; 
    animation: esteticaFloatSlow 8s infinite ease-in-out 1.5s; 
}

@keyframes esteticaFloatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2.5deg); }
}

/* ── Badge Estética Médica ── */
.badge-estetica-clinical {
    display: inline-flex !important;
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18) 0%, rgba(16, 185, 129, 0.12) 100%) !important;
    border: 1px solid rgba(6, 182, 212, 0.45) !important;
    color: #22d3ee !important;
    padding: 6px 18px !important; 
    border-radius: 50px !important;
    font-size: 0.78rem !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important; 
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.18) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 12px;
}
.badge-estetica-clinical i { 
    font-size: 1.05rem; 
    margin-right: 7px; 
    color: #34d399;
}
.badge-estetica-clinical:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.28) 0%, rgba(16, 185, 129, 0.22) 100%) !important;
    border-color: rgba(34, 211, 238, 0.75) !important;
    box-shadow: 0 6px 22px rgba(6, 182, 212, 0.3) !important;
    transform: translateY(-2px);
}

/* ── Typography & Gradients ── */
.estetica-hero-title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.5px !important;
}
@media (max-width: 768px) {
    .estetica-hero-title {
        font-size: 2rem !important;
    }
}
.text-estetica-gradient {
    background: linear-gradient(135deg, #22d3ee 0%, #34d399 50%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Buttons ── */
.btn-estetica-clinical {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    font-size: 1.02rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #0891b2 0%, #059669 50%, #10b981 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 8px 26px rgba(8, 145, 178, 0.38);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-estetica-clinical:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(8, 145, 178, 0.5);
    color: #ffffff !important;
}

.btn-estetica-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6 !important;
    border: 1px solid rgba(6, 182, 212, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-estetica-outline:hover {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.6);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ── Hero Stats ── */
.hero-stats-wrapper {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.stat-item-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-item-premium:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.35);
}
.stat-number-estetica {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22d3ee 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.stat-label-premium {
    display: block;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

/* ── AEO Answer Box ── */
.answer-first-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-left: 4px solid #06b6d4;
    border-radius: 0 14px 14px 0;
    padding: 18px 22px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-top: 14px;
    margin-bottom: 24px;
}
.answer-first-box strong {
    color: #a5f3fc;
    font-weight: 700;
}

/* ── Mac Window Frame Mockup ── */
.mac-window-frame {
    background: #0d121c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(6, 182, 212, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mac-window-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 50px rgba(6, 182, 212, 0.18);
}
.mac-window-header {
    background: #151d2e;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mac-window-dots {
    display: flex;
    gap: 6px;
}
.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }
.mac-window-title {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-left: 14px;
    font-family: monospace;
    letter-spacing: 0.5px;
}
.mac-window-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Bento Showcase Card ── */
.showcase-bento-card {
    background: rgba(15, 22, 36, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.showcase-bento-card:hover {
    border-color: rgba(6, 182, 212, 0.32);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}
.bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #22d3ee;
    margin-bottom: 10px;
}
.bento-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}
.bento-desc {
    color: #94a3b8;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.bento-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bento-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.5;
}
.bento-feature-list li i {
    color: #10b981;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Interactive Session Progress Card Preview ── */
.session-pack-card {
    background: #0f172a;
    border: 1px solid rgba(6, 182, 212, 0.28);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.session-pack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 14px;
}
.session-patient {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}
.session-treatment {
    font-size: 0.85rem;
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.12);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
}
.session-dots-progress {
    display: flex;
    gap: 8px;
    margin: 14px 0;
}
.session-dot-item {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}
.session-dot-item.done {
    background: #10b981;
}
.session-dot-item.active {
    background: #06b6d4;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}
.session-details-summary {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 10px;
}
.session-details-summary span.val {
    color: #f1f5f9;
    font-weight: 600;
}

/* ── Consent Signature Mockup Preview ── */
.consent-signature-preview {
    background: #0e1526;
    border: 1px dashed rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 14px;
}
.consent-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 6px;
}
.consent-desc-text {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 10px;
}
.signature-canvas-mock {
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 2px solid #22d3ee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: 1.25rem;
    color: #22d3ee;
}
.signature-badge-dian {
    font-family: monospace;
    font-size: 0.7rem;
    color: #64748b;
}

/* ── Pricing Cards ── */
.pricing-estetica-card {
    background: rgba(15, 22, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 34px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-estetica-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
.pricing-estetica-card.featured {
    border: 2px solid #06b6d4;
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.22);
}
.pricing-badge-top {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}
.pricing-header .pricing-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.pricing-header .pricing-desc {
    display: block;
    font-size: 0.86rem;
    color: #94a3b8;
    min-height: 40px;
    margin-bottom: 18px;
}
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 24px;
}
.pricing-amount .currency {
    font-size: 1.3rem;
    vertical-align: super;
    margin-right: 2px;
}
.pricing-amount .period {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}
.pricing-features li i.check {
    color: #10b981;
    font-size: 1.15rem;
}

/* ── CTA Banner ── */
.estetica-cta-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.14) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.estetica-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}
.estetica-cta-subtitle {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
}
.estetica-cta-guarantee {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .showcase-bento-card {
        padding: 24px 20px;
    }
    .bento-title {
        font-size: 1.3rem;
    }
    .estetica-cta-banner {
        padding: 30px 20px !important;
    }
    .estetica-cta-title {
        font-size: 1.65rem;
    }
}
