/*==========================================================
                    GOOGLE FONTS
==========================================================*/

:root {

    /*==================================
                COLORES
    ==================================*/

    --color-primary: #299bad;

    --color-primary-dark: #299bad;

    --color-primary-light: #299bad;

    --color-secondary: #7BAA95;

    --color-danger: #D64545;

    --color-danger-dark: #B93232;

    --color-white: #FFFFFF;

    --color-background: #F8FAFB;

    --color-section: #FFFFFF;

    --color-title: #1F2937;

    --color-text: #4B5563;

    --color-text-light: #6B7280;

    --color-border: #E5E7EB;

    /*==================================
                SOMBRAS
    ==================================*/

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, .05);

    --shadow-md: 0 12px 35px rgba(0, 0, 0, .08);

    --shadow-lg: 0 25px 60px rgba(0, 0, 0, .12);

    /*==================================
            BORDER RADIUS
    ==================================*/

    --radius-sm: 12px;

    --radius-md: 20px;

    --radius-lg: 32px;

    --radius-full: 999px;

    /*==================================
            TRANSICIONES
    ==================================*/

    --transition: .35s ease;

    /*==================================
                TAMAÑOS
    ==================================*/

    --container: 1280px;

}

/*==========================================================
                        RESET
==========================================================*/

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Inter', sans-serif;

    background: var(--color-background);

    color: var(--color-text);

    line-height: 1.8;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

}

/*==========================================================
                    TIPOGRAFÍA
==========================================================*/

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Playfair Display', serif;

    color: var(--color-title);

    font-weight: 700;

}

p {

    color: var(--color-text);

}

a {

    text-decoration: none;

    color: inherit;

}

img {

    display: block;

    max-width: 100%;

}

button {

    border: none;

    outline: none;

    background: none;

    cursor: pointer;

    font-family: inherit;

}

input,
select,
textarea {

    font-family: inherit;

    font-size: 1rem;

}

/*==========================================================
                    CONTAINER
==========================================================*/

.container {

    width: min(92%, var(--container));

    margin: auto;

}

/*==========================================================
                    SECCIONES
==========================================================*/

section {

    padding: 120px 0;

    position: relative;

}

/*==========================================================
                        HERO
==========================================================*/

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: linear-gradient(135deg,
            #F8FAFB 0%,
            #FFFFFF 45%,
            #F4F9F7 100%);

}

/*==========================================================
                FONDOS DECORATIVOS
==========================================================*/

.hero::before {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    top: -220px;

    right: -220px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(46, 125, 107, .10),
            transparent 70%);

}

.hero::after {

    content: "";

    position: absolute;

    width: 550px;

    height: 550px;

    bottom: -220px;

    left: -180px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(46, 125, 107, .06),
            transparent 70%);

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(rgba(255, 255, 255, .10),
            rgba(255, 255, 255, .10));

}

/*==========================================================
                GRID
==========================================================*/

.hero-container {

    position: relative;

    z-index: 5;

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    gap: 80px;

    align-items: center;

}

/*==========================================================
                TEXTO
==========================================================*/

.hero-text {

    max-width: 650px;

}

.badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 22px;

    margin-bottom: 28px;

    background: rgba(46, 125, 107, .08);

    color: var(--color-primary);

    border-radius: 999px;

    font-size: .95rem;

    font-weight: 600;

}

.badge i {

    font-size: 15px;

}

.hero h1 {

    font-size: 4rem;

    line-height: 1.12;

    margin-bottom: 28px;

}

.hero p {

    font-size: 1.12rem;

    color: var(--color-text);

    line-height: 1.9;

    margin-bottom: 45px;

}

/*==========================================================
                BOTONES
==========================================================*/

.hero-buttons {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}

.btn-primary {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    padding: 18px 34px;

    border-radius: 999px;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: white;

    font-weight: 600;

    transition: var(--transition);

    box-shadow: var(--shadow-md);

}

.btn-primary:hover {

    transform: translateY(-4px);

    box-shadow: 0 20px 45px rgba(46, 125, 107, .22);

}

.btn-secondary {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    padding: 18px 34px;

    border-radius: 999px;

    border: 2px solid var(--color-primary);

    color: var(--color-primary);

    font-weight: 600;

    transition: var(--transition);

}

.btn-secondary:hover {

    background: var(--color-primary);

    color: white;

}

/*==========================================================
                IMAGEN
==========================================================*/

.hero-image {

    display: flex;

    justify-content: center;

    align-items: center;

}

.hero-image img {

    width: 100%;

    max-width: 620px;

    animation: float 7s ease-in-out infinite;

    user-select: none;

}

/*==========================================================
                ANIMACIÓN
==========================================================*/

@keyframes float {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-14px);

    }

    100% {

        transform: translateY(0);

    }

}

/*==========================================================
                    INFORMACIÓN RÁPIDA
==========================================================*/

.info {

    padding-top: 90px;

    padding-bottom: 110px;

}

.info-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 35px;

}

/*==========================================================
                        TARJETAS
==========================================================*/

.info-card {

    background: var(--color-white);

    border-radius: 28px;

    padding: 45px 35px;

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    border: 1px solid rgba(46, 125, 107, .08);

    position: relative;

    overflow: hidden;

}

.info-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg,
            var(--color-primary),
            var(--color-primary-light));

    transform: scaleX(0);

    transition: .40s;

    transform-origin: left;

}

.info-card:hover {

    transform: translateY(-12px);

    box-shadow: var(--shadow-lg);

}

.info-card:hover::before {

    transform: scaleX(1);

}

/*==========================================================
                        ICONO
==========================================================*/

.info-card i {

    width: 85px;

    height: 85px;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: auto;

    margin-bottom: 30px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: white;

    font-size: 30px;

    box-shadow: 0 15px 35px rgba(46, 125, 107, .22);

}

/*==========================================================
                        TÍTULOS
==========================================================*/

.info-card h3 {

    font-size: 1.55rem;

    margin-bottom: 18px;

}

.info-card p {

    color: var(--color-text-light);

    line-height: 1.9;

    font-size: 1rem;

}

/*==========================================================
                    RESPONSIVE
==========================================================*/

@media(max-width:1100px) {

    .info-grid {

        grid-template-columns: 1fr;

    }

    .info-card {

        max-width: 700px;

        margin: auto;

    }

}

/*==========================================================
                FORMULARIO DE RESERVA
==========================================================*/

.appointment {

    background: #F4F8F7;

}

.appointment-container {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 70px;

    align-items: start;

}

/*==========================================================
                INFORMACIÓN
==========================================================*/

.appointment-info {

    position: sticky;

    top: 120px;

}


.section-tag {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 22px;

    border-radius: 999px;

    background: rgba(46, 125, 107, .08);

    color: var(--color-primary);

    font-weight: 600;

    margin-bottom: 25px;

}

.section-tag i {

    font-size: 15px;

}

.appointment-info h2 {

    font-size: 3rem;

    line-height: 1.2;

    margin-bottom: 25px;

}

.appointment-info p {

    font-size: 1.08rem;

    line-height: 1.9;

    color: var(--color-text-light);

    margin-bottom: 35px;

}

/*==========================================================
                VENTAJAS
==========================================================*/

.advantages {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.advantage {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px 22px;

    background: white;

    border-radius: 18px;

    box-shadow: var(--shadow-sm);

}

.advantage i {

    color: var(--color-primary);

    font-size: 20px;

}

.advantage span {

    font-weight: 500;

}

/*==========================================================
                TARJETA FORMULARIO
==========================================================*/

.appointment-form {

    background: white;

    padding: 45px;

    border-radius: 30px;

    box-shadow: var(--shadow-lg);

    border: 1px solid rgba(46, 125, 107, .08);

}

/*==========================================================
                    GRID
==========================================================*/

.row {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

    margin-bottom: 25px;

}

.full-width {

    margin-bottom: 25px;

}

/*==========================================================
                    INPUTS
==========================================================*/

.input-group {

    display: flex;

    flex-direction: column;

}

.input-group label {

    margin-bottom: 12px;

    font-weight: 600;

    color: var(--color-title);

}

.input-group input,

.input-group select,

.input-group textarea {

    width: 100%;

    padding: 18px 20px;

    border: 1px solid var(--color-border);

    border-radius: 16px;

    background: #FAFBFC;

    transition: var(--transition);

    resize: none;

}

.input-group textarea {

    min-height: 220px;

}

.input-group input:focus,

.input-group select:focus,

.input-group textarea:focus {

    outline: none;

    border-color: var(--color-primary);

    background: white;

    box-shadow: 0 0 0 5px rgba(46, 125, 107, .08);

}

/*==========================================================
                    PRIVACIDAD
==========================================================*/

.privacy-box {

    display: flex;

    align-items: flex-start;

    gap: 22px;

    padding: 28px;

    margin: 35px 0;

    background: rgba(46, 125, 107, .05);

    border: 1px solid rgba(46, 125, 107, .12);

    border-radius: 22px;

}

.privacy-icon {

    width: 70px;

    min-width: 70px;

    height: 70px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: white;

    font-size: 28px;

    box-shadow: var(--shadow-md);

}

.privacy-box h4 {

    font-size: 1.35rem;

    margin-bottom: 12px;

}

.privacy-box p {

    color: var(--color-text-light);

    line-height: 1.8;

}

/*==========================================================
                    CHECKBOX
==========================================================*/

.checkbox-group {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 40px;

}

.checkbox-group input {

    width: 22px;

    height: 22px;

    accent-color: var(--color-primary);

    margin-top: 4px;

}

.checkbox-group label {

    line-height: 1.8;

    color: var(--color-text);

}

.checkbox-group a {

    color: var(--color-primary);

    font-weight: 600;

    transition: var(--transition);

}

.checkbox-group a:hover {

    color: var(--color-primary-dark);

}

/*==========================================================
                    BOTONES
==========================================================*/

.form-buttons {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}

/*==========================================================
                BOTÓN EMERGENCIA
==========================================================*/

.btn-emergency {

    flex: 1;

    min-width: 230px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    padding: 18px;

    border-radius: 18px;

    background: linear-gradient(135deg,
            var(--color-danger),
            var(--color-danger-dark));

    color: white;

    font-size: 1rem;

    font-weight: 600;

    transition: var(--transition);

    box-shadow: 0 15px 35px rgba(214, 69, 69, .25);

}

.btn-emergency:hover {

    transform: translateY(-5px);

    box-shadow: 0 25px 45px rgba(214, 69, 69, .35);

}

/*==========================================================
                BOTÓN ENVIAR
==========================================================*/

.btn-submit {

    flex: 1;

    min-width: 230px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    padding: 18px;

    border-radius: 18px;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: white;

    font-size: 1rem;

    font-weight: 600;

    transition: var(--transition);

    box-shadow: 0 15px 35px rgba(46, 125, 107, .25);

}

.btn-submit:hover {

    transform: translateY(-5px);

    box-shadow: 0 25px 45px rgba(46, 125, 107, .30);

}

.btn-submit:active,

.btn-emergency:active {

    transform: scale(.98);

}

/*==========================================================
                PROCESO DE RESERVA
==========================================================*/

.process {

    background: var(--color-white);

}

.section-title {

    max-width: 760px;

    margin: 0 auto 70px;

    text-align: center;

}

.section-title span {

    display: inline-block;

    padding: 12px 22px;

    margin-bottom: 22px;

    border-radius: 999px;

    background: rgba(46, 125, 107, .08);

    color: var(--color-primary);

    font-weight: 600;

}

.section-title h2 {

    font-size: 3rem;

    margin-bottom: 25px;

}

.section-title p {

    color: var(--color-text-light);

    line-height: 1.9;

}

/*==========================================================
                    TIMELINE
==========================================================*/

.timeline {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.timeline-card {

    position: relative;

    background: white;

    padding: 40px 30px;

    border-radius: 28px;

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    border: 1px solid rgba(46, 125, 107, .08);

}

.timeline-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.timeline-number {

    width: 70px;

    height: 70px;

    margin: 0 auto 28px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: white;

    font-size: 1.6rem;

    font-weight: 700;

    box-shadow: 0 15px 35px rgba(46, 125, 107, .25);

}

.timeline-card h3 {

    margin-bottom: 18px;

    font-size: 1.4rem;

}

.timeline-card p {

    color: var(--color-text-light);

    line-height: 1.8;

}

/*==========================================================
                        FAQ
==========================================================*/

.faq {

    background: #F7FAF9;

}

.faq-container {

    max-width: 900px;

    margin: auto;

}

.faq-item {

    background: white;

    border-radius: 22px;

    margin-bottom: 22px;

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

}

.faq-item:hover {

    box-shadow: var(--shadow-md);

}

.faq-question {

    width: 100%;

    padding: 28px 35px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: white;

    font-size: 1.08rem;

    font-weight: 600;

    color: var(--color-title);

    text-align: left;

}

.faq-question i {

    color: var(--color-primary);

    transition: .35s;

}

.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height .4s ease;

}

.faq-answer p {

    padding: 0 35px 30px;

    color: var(--color-text-light);

    line-height: 1.9;

}

/*==========================================================
                    ESTADO ACTIVO
==========================================================*/

.faq-item.active .faq-answer {

    max-height: 300px;

}

.faq-item.active .faq-question i {

    transform: rotate(45deg);

}

/*==========================================================
                    CONTACTO DIRECTO
==========================================================*/

.contact-cta {

    background: linear-gradient(135deg,
            #F4F9F7,
            #FFFFFF);

}

.contact-card {

    max-width: 1100px;

    margin: auto;

    padding: 70px;

    background: white;

    border-radius: 35px;

    text-align: center;

    box-shadow: var(--shadow-lg);

    border: 1px solid rgba(46, 125, 107, .08);

}

.contact-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 24px;

    margin-bottom: 25px;

    border-radius: 999px;

    background: rgba(46, 125, 107, .08);

    color: var(--color-primary);

    font-weight: 600;

}

.contact-badge i {

    font-size: 16px;

}

.contact-card h2 {

    font-size: 3rem;

    margin-bottom: 25px;

}

.contact-card p {

    max-width: 760px;

    margin: auto;

    margin-bottom: 45px;

    color: var(--color-text-light);

    line-height: 1.9;

}

/*==========================================================
                BOTONES DE CONTACTO
==========================================================*/

.contact-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 50px;

}

.contact-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-width: 220px;

    padding: 18px 30px;

    border-radius: 18px;

    font-weight: 600;

    transition: var(--transition);

    color: white;

}

.contact-btn i {

    font-size: 18px;

}

/*==========================================================
                    TELÉFONO
==========================================================*/

.phone {

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    box-shadow: 0 18px 35px rgba(46, 125, 107, .20);

}

/*==========================================================
                    WHATSAPP
==========================================================*/

.whatsapp {

    background: #25D366;

    box-shadow: 0 18px 35px rgba(37, 211, 102, .22);

}

/*==========================================================
                    EMAIL
==========================================================*/

.email {

    background: #4F7DF3;

    box-shadow: 0 18px 35px rgba(79, 125, 243, .20);

}

.contact-btn:hover {

    transform: translateY(-5px);

}

/*==========================================================
                    EMERGENCIA
==========================================================*/

.emergency-box {

    margin-top: 30px;

    padding: 35px;

    display: flex;

    align-items: center;

    gap: 30px;

    border-radius: 25px;

    background: #FFF5F5;

    border: 2px solid rgba(214, 69, 69, .15);

}

.emergency-icon {

    width: 80px;

    height: 80px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: linear-gradient(135deg,
            var(--color-danger),
            var(--color-danger-dark));

    color: white;

    font-size: 32px;

    flex-shrink: 0;

}

.emergency-content {

    flex: 1;

    text-align: left;

}

.emergency-content h3 {

    margin-bottom: 12px;

    color: var(--color-danger-dark);

}

.emergency-content p {

    margin: 0;

    color: var(--color-text-light);

}

.emergency-btn {

    padding: 18px 28px;

    border-radius: 18px;

    background: linear-gradient(135deg,
            var(--color-danger),
            var(--color-danger-dark));

    color: white;

    font-weight: 600;

    transition: var(--transition);

    box-shadow: 0 18px 35px rgba(214, 69, 69, .25);

}

.emergency-btn:hover {

    transform: translateY(-5px);

    box-shadow: 0 25px 45px rgba(214, 69, 69, .35);

}

/*==========================================================
                        FOOTER
==========================================================*/

.footer {

    background: #1F2937;

    color: #D1D5DB;

    padding: 80px 0 30px;

}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    margin-bottom: 50px;

}

.footer-column h3,

.footer-column h4 {

    color: #FFFFFF;

    margin-bottom: 22px;

}

.footer-column p {

    color: #D1D5DB;

    line-height: 1.9;

}

.footer-column ul {

    list-style: none;

}

.footer-column ul li {

    margin-bottom: 15px;

    display: flex;

    align-items: center;

    gap: 10px;

}

.footer-column a {

    color: #D1D5DB;

    transition: var(--transition);

}

.footer-column a:hover {

    color: var(--color-primary-light);

}

.social-icons {

    display: flex;

    gap: 15px;

    margin-top: 10px;

}

.social-icons a {

    width: 46px;

    height: 46px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    color: white;

    transition: var(--transition);

}

.social-icons a:hover {

    background: var(--color-primary);

    transform: translateY(-4px);

}

.footer-bottom {

    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, .08);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

}

.footer-bottom p {

    color: #9CA3AF;

}

/*==========================================================
                ANIMACIONES
==========================================================*/

.fade-up {

    opacity: 0;

    transform: translateY(40px);

    transition: .8s ease;

}

.fade-up.show {

    opacity: 1;

    transform: translateY(0);

}

/*==========================================================
            MENSAJES DE VALIDACIÓN
==========================================================*/

.error-message {

    margin-top: 8px;

    color: var(--color-danger);

    font-size: .92rem;

}

.success-message {

    margin-top: 15px;

    padding: 16px;

    border-radius: 14px;

    background: #ECFDF5;

    color: #065F46;

    border: 1px solid #A7F3D0;

}

/*==========================================================
                RESPONSIVE
==========================================================*/

@media(max-width:1100px) {
    .appointment-info {

        position: static;
        top: auto;

    }

    .advantages {

        margin-top: 30px;

    }



    .appointment-form {

        width: 100%;

    }

    .appointment-info h2 {

        font-size: 2.3rem;
        line-height: 1.2;

    }

    .hero-container,

    .appointment-container {

        grid-template-columns: 1fr;
        gap: 60px;

    }

    .hero {

        min-height: auto;

        padding: 100px 0;

    }

    .hero-text {

        text-align: center;

        margin: auto;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-image {

        margin-top: 30px;

    }

    .timeline {

        grid-template-columns: repeat(2, 1fr);

    }

    .footer-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .emergency-box {

        flex-direction: column;

        text-align: center;

    }

    .emergency-content {

        text-align: center;

    }

}

@media(max-width:768px) {

    section {

        padding: 80px 0;

    }

    .hero h1 {

        font-size: 2.5rem;

    }

    .section-title h2,

    .contact-card h2,

    .appointment-info h2 {

        font-size: 2.1rem;

    }

    .row {

        grid-template-columns: 1fr;

    }

    .timeline {

        grid-template-columns: 1fr;

    }

    .contact-buttons {

        flex-direction: column;

    }

    .contact-btn,

    .btn-submit,

    .btn-emergency {

        width: 100%;

    }

    .footer-grid {

        grid-template-columns: 1fr;

    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;

    }

    .appointment-form {

        padding: 30px;

    }

    .contact-card {

        padding: 40px 25px;

    }

    .privacy-box {

        flex-direction: column;

        text-align: center;

    }

}

@media(max-width:480px) {

    .hero h1 {

        font-size: 2rem;

    }

    .badge,

    .section-tag,

    .contact-badge {

        font-size: .85rem;

    }

    .hero p,

    .contact-card p,

    .appointment-info p {

        font-size: 1rem;

    }

    .input-group input,

    .input-group select,

    .input-group textarea {

        padding: 16px;

    }

}

/*==========================================================
                BOTÓN VOLVER ARRIBA
==========================================================*/

.back-to-top {

    position: fixed;

    right: 30px;

    bottom: 30px;

    width: 58px;

    height: 58px;

    border: none;

    border-radius: 50%;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: #fff;

    font-size: 20px;

    cursor: pointer;

    display: flex;

    justify-content: center;

    align-items: center;

    box-shadow: var(--shadow-lg);

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: var(--transition);

    z-index: 9999;

}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.back-to-top:hover {

    transform: translateY(-4px);

}
/* ==========================================================
                MODO OSCURO — RESERVA
========================================================== */

body.dark-mode {

    background-color: #000000;
    color: #ffffff;

}


/* ==========================================================
                    TEXTOS
========================================================== */

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {

    color: #ffffff;

}

body.dark-mode p {

    color: #d1d1d1;

}


/* ==========================================================
                    HERO
========================================================== */

body.dark-mode .hero {

    background: #000000;

}

body.dark-mode .hero-overlay {

    background: rgba(0, 0, 0, .15);

}

body.dark-mode .hero p {

    color: #d1d1d1;

}


/* ==========================================================
                    INFORMACIÓN
========================================================== */

body.dark-mode .info {

    background: #000000;

}

body.dark-mode .info-card {

    background: #111111;

    border-color: #2a2a2a;

}

body.dark-mode .info-card p {

    color: #bdbdbd;

}


/* ==========================================================
                FORMULARIO DE RESERVA
========================================================== */

body.dark-mode .appointment {

    background: #000000;

}

body.dark-mode .appointment-info p {

    color: #bdbdbd;

}

body.dark-mode .advantage {

    background: #111111;

    color: #ffffff;

    border: 1px solid #2a2a2a;

}

body.dark-mode .appointment-form {

    background: #111111;

    border-color: #2a2a2a;

}


/* ==========================================================
                    INPUTS
========================================================== */

body.dark-mode .input-group label {

    color: #ffffff;

}

body.dark-mode .input-group input,
body.dark-mode .input-group select,
body.dark-mode .input-group textarea {

    background: #0a0a0a;

    color: #ffffff;

    border-color: #333333;

}

body.dark-mode .input-group input::placeholder,
body.dark-mode .input-group textarea::placeholder {

    color: #888888;

}

body.dark-mode .input-group input:focus,
body.dark-mode .input-group select:focus,
body.dark-mode .input-group textarea:focus {

    background: #111111;

    color: #ffffff;

}


/* ==========================================================
                    PRIVACIDAD
========================================================== */

body.dark-mode .privacy-box {

    background: #111111;

    border-color: #2a2a2a;

}

body.dark-mode .privacy-box h4 {

    color: #ffffff;

}

body.dark-mode .privacy-box p {

    color: #bdbdbd;

}


/* ==========================================================
                    PROCESO
========================================================== */

body.dark-mode .process {

    background: #000000;

}

body.dark-mode .section-title p {

    color: #bdbdbd;

}

body.dark-mode .timeline-card {

    background: #111111;

    border-color: #2a2a2a;

}

body.dark-mode .timeline-card p {

    color: #bdbdbd;

}


/* ==========================================================
                    FAQ
========================================================== */

body.dark-mode .faq {

    background: #000000;

}

body.dark-mode .faq-item {

    background: #111111;

    border: 1px solid #2a2a2a;

}

body.dark-mode .faq-question {

    background: #111111;

    color: #ffffff;

}

body.dark-mode .faq-answer p {

    color: #bdbdbd;

}


/* ==========================================================
                CONTACTO DIRECTO
========================================================== */

body.dark-mode .contact-cta {

    background: #000000;

}

body.dark-mode .contact-card {

    background: #111111;

    border-color: #2a2a2a;

}

body.dark-mode .contact-card p {

    color: #bdbdbd;

}


/* ==========================================================
                    EMERGENCIA
========================================================== */

body.dark-mode .emergency-box {

    background: #111111;

    border-color: #3a3a3a;

}

body.dark-mode .emergency-content p {

    color: #bdbdbd;

}


/* ==========================================================
                    FOOTER
========================================================== */

body.dark-mode .footer {

    background: #000000;

}

body.dark-mode .footer-column h3,
body.dark-mode .footer-column h4 {

    color: #ffffff;

}

body.dark-mode .footer-column p,
body.dark-mode .footer-column a {

    color: #bdbdbd;

}

body.dark-mode .footer-bottom {

    border-color: #2a2a2a;

}
/* ==========================================================
                BOTÓN MODO OSCURO — RESERVA
========================================================== */

.theme-toggle {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #d9e3e0;
    border-radius: 50%;

    background-color: #ffffff;
    color: #287f70;

    cursor: pointer;

    font-size: 16px;

    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .2s ease;

}


/* Hover */

.theme-toggle:hover {

    background-color: #e8f4f1;

    transform: translateY(-2px);

}


/* Pulsación */

.theme-toggle:active {

    transform: scale(.94);

}


/* ==========================================================
            BOTÓN EN MODO OSCURO
========================================================== */

body.dark-mode .theme-toggle {

    background-color: #111111;

    border-color: #333333;

    color: #f5d76e;

}


/* Hover en modo oscuro */

body.dark-mode .theme-toggle:hover {

    background-color: #1c1c1c;

}
/* ==========================================================
                POSICIÓN DEL BOTÓN
========================================================== */

body > .theme-toggle {

    position: fixed;

    top: 25px;
    right: 25px;

    z-index: 9999;

}