/* Variables CSS - Paleta violeta / lavanda */
:root {
    --color-black: #0d0a12;
    --color-dark: #15101f;
    --color-accent: #8b5cf6;
    --color-accent-light: #a78bfa;
    --color-accent-dark: #6d28d9;
    --color-text-light: #f5f3ff;
    --color-text-accent: #c4b5fd;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--color-black);
    color: var(--color-text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Decoraciones de fondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark) 100%);
    overflow: hidden;
}


.decorative-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.corner-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-accent);
    opacity: 0.4;
}

.corner-tl { top: 20px; left: 20px; border-right: none; border-bottom: none; border-radius: 20px 0 0 0; }
.corner-tr { top: 20px; right: 20px; border-left: none; border-bottom: none; border-radius: 0 20px 0 0; }
.corner-bl { bottom: 20px; left: 20px; border-right: none; border-top: none; border-radius: 0 0 0 20px; }
.corner-br { bottom: 20px; right: 20px; border-left: none; border-top: none; border-radius: 0 0 20px 0; }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.main-title {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--color-accent-light);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5), 0 0 20px rgba(139, 92, 246, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.title-accent {
    display: block;
    font-size: 0.55em;
    color: var(--color-text-accent);
    text-shadow: 0 0 15px rgba(167, 139, 250, 0.5), 0 0 30px rgba(139, 92, 246, 0.3);
    font-family: 'Cinzel', serif;
}

.subtitle-main {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: 2px;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.star {
    color: var(--color-accent);
    font-size: 1.5rem;
    animation: twinkle 2s ease-in-out infinite;
}

.divider-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* CTA Hero - persuasivo */
.cta-hero {
    margin-top: 30px;
}

.contact-label {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: var(--color-accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.phone-display {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 25px;
}

.phone-number {
    color: var(--color-accent-light);
    font-weight: 700;
    font-size: 1.15em;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 1px;
    margin: 8px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

.btn-pulse {
    animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(139, 92, 246, 0.7); }
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-accent-light);
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.btn-outline-gold:hover {
    background: var(--color-accent);
    color: var(--color-text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
}

.btn-large {
    padding: 18px 45px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.btn i {
    margin-right: 8px;
}

/* Botón flotante teléfono - principal, más visible */
.btn-float-phone {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6);
    z-index: 1001;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-phone 2s ease-in-out infinite;
}

.btn-float-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 35px rgba(139, 92, 246, 0.8);
}

@keyframes pulse-phone {
    0%, 100% { box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6); }
    50% { box-shadow: 0 4px 35px rgba(139, 92, 246, 0.9); }
}

/* Botón flotante WhatsApp */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8);
}

/* Secciones */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-purpose {
    padding: 70px 20px;
    background: var(--color-dark);
}

.section-specialties {
    padding: 70px 20px;
    background: var(--color-black);
}

.section-services {
    padding: 70px 20px;
    background: var(--color-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 2px;
}

.content-box {
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--color-accent);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.08);
}

.content-text {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.content-text strong {
    color: var(--color-accent-light);
}

.emphasis-intro {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    text-align: center;
}

/* Especialidades grid */
.specialty-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px 30px;
    margin: 0 0 45px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.specialty-grid li {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--color-text-light);
    padding-left: 28px;
    position: relative;
}

.specialty-grid .list-icon {
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.1em;
}

.cta-inline {
    text-align: center;
    padding: 30px 0;
}

.cta-question {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: var(--color-accent-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-invite {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 20px;
    opacity: 0.95;
}

/* Bloques de imagen centrados y sueltos */
.img-block {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-dark);
}

.img-block img {
    max-width: 520px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.12);
    object-fit: cover;
}

.img-block-double {
    gap: 60px;
    flex-wrap: wrap;
}

.img-block-double img {
    max-width: 400px;
}

/* Service cards con iconos */
.service-cards {
    display: grid;
    gap: 35px;
}

.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: flex-start;
    background: rgba(139, 92, 246, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 30px;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    color: var(--color-accent-light);
    font-size: 1.5rem;
}

.service-card-content {
    padding: 0;
}

.service-card-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Final CTA */
.final-cta {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark) 100%);
    text-align: center;
}

.final-cta-title {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-accent);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.final-cta-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 35px;
    opacity: 0.95;
}

.phone-display-final {
    margin-top: 25px;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--color-black);
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.payment-section {
    margin-bottom: 40px;
}

.payment-section h3 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--color-accent);
    margin-bottom: 25px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 50px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    filter: brightness(0.95);
}

.payment-logos img:hover {
    opacity: 1;
    filter: brightness(1.1);
}

.payment-transfer {
    font-size: 0.95rem;
    color: var(--color-accent-light);
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 8px;
}

.footer-text {
    color: var(--color-text-light);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 30px;
}

/* LKT firma - centrado al final */
.lkt-footer-link {
    display: block;
    width: 100%;
    margin-top: 35px;
    text-align: center;
}

.lkt-footer-link img {
    display: block;
    margin: 0 auto;
    height: auto;
    max-height: 50px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lkt-footer-link:hover img {
    opacity: 1;
}

/* Botón Términos */
.btn-terms {
    display: block;
    margin: 20px auto 0;
    padding: 8px 20px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--color-accent-light);
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-terms:hover {
    background: rgba(139, 92, 246, 0.15);
}

/* Modal Términos y condiciones */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.modal-content {
    position: relative;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--color-dark);
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-light);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    padding: 0;
}

.modal-close:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 25px;
    padding-right: 40px;
}

.modal-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.modal-body h3 {
    font-size: 1rem;
    color: var(--color-accent-light);
    margin-top: 20px;
    margin-bottom: 8px;
}

.modal-body p {
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 50px 15px 60px;
    }
    
    .corner-decoration {
        width: 60px;
        height: 60px;
    }
    
    .cta-hero .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 320px;
    }
    
    .service-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card-icon {
        justify-self: center;
    }
    
    .service-card-content {
        padding: 0;
    }
    
    .img-block {
        padding: 50px 20px;
    }
    
    .img-block img {
        max-width: 100%;
    }
    
    .img-block-double {
        flex-direction: column;
        gap: 40px;
    }
    
    .img-block-double img {
        max-width: 100%;
    }
    
    .btn-float-phone {
        bottom: 85px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .btn-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .title-divider {
        gap: 10px;
    }
    
    .divider-line {
        width: 60px;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-logos {
        gap: 15px;
    }
    
    .payment-logos img {
        height: 40px;
    }
}
