/*Reset*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Segoe UI', Arial, sans-serif;
    background: white;
    color: #1a1a2e;
}

/*Navbar*/
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    border-bottom: 1px solid #e9ecef;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}
.navbar-logo{
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-icon{
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.navbar-nombre{
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
    line-height: 1;
}
.navbar-nombre b{
    color: #00B4C8;
}
.navbar-arenal {
    font-size: 11px;
    color: #00B4C8;
    font-weight: 600;
    letter-spacing: 1px;
}
.navbar-links{
    display: flex;
    gap: 32px;
}
.navbar-links a{
    font-size: 14px;
    color: #6B6B6B;
    text-decoration: none;
}
.navbar-links a:hover{
    color: #00B4C8;
}
.btn-idioma{
    padding: 8px 18px;
    border: 1.5px solid #1a1a2e;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.btn-idioma:hover{
    border-color: #00B4C8;
    color: #00B4C8;
}

/*Hero*/
.hero{
    background: #E6F8FA;
    padding: 32px 40px;
    text-align: center;
    border-bottom: 1px solid #b2e8ef;
}
.hero h1{
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.hero h1 span{
    color: #00B4C8;
}
.hero p{
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 16px;
}
.hero-badges{
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.badge{
    background: white;
    border: 1px solid #b2e8ef;
    color: #00818F;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
}

/*Contenido principal*/
.main-content{
    display: grid;
    grid-template-columns: 1fr 380px;
    min-height: 650px;
    border-bottom: 1px solid #e9ecef;
}

/*Calendario*/
.calendario-side{
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e9ecef;
}
.calendario-input{
    display: none;
}
.flatpickr-calendar{
    box-shadow: none;
    border: none;
    transform: scale(1.5);
    transform-origin: top center;
     margin-bottom: 200px;
}
/*Dias pasados*/
.flatpickr-day.flatpickr-disabled {
    background: #f0f0f0 !important;
    color: #ccc !important;
    cursor: not-allowed !important;
}

/*Fechas bloqueadas por Airbnb*/
.flatpickr-day.fecha-airbnb {
    background: repeating-linear-gradient(
        45deg,
        #f0f0f0,
        #f0f0f0 2px,
        white 2px,
        white 8px
    ) !important;
    color: #A32D2D !important;
    cursor: not-allowed !important;
}

/*Formulario*/
.formulario-side{
    padding: 24px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/*Fechas resumen*/
.fechas-resumen{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.fecha-box {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 14px;
}
.fecha-box label{
    display: block;
    font-size: 10px;
    color: #9B9B9B;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.fecha-box span{
    font-size: 13px;
    font-weight: 600;
    color: #00B4C8;
}

/*Campos*/
.campo{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.campo label{
    font-size: 12px;
    color: #6B6B6B;
    font-weight: 500;
}
.campo :is(input, select){
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 13px;
    background: white;
    color: #1a1a2e;
    outline: none;
}
.campo :is(input, select):focus{
    border-color: #00B4C8;
}

/*Precio resumen*/
.precio-resumen{
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}
.precio-fila{
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6B6B6B;
    padding: 3px 0;
}
.precio-fila.total {
    font-weight: 600;
    color: #1a1a2e;
    border-top: 1px solid #e9ecef;
    margin-top: 6px;
    padding-top: 8px;
}

/*Botones*/
.btn-pago{
    width: 100%;
    padding: 12px;
    background: white;
    color: #1a1a2e;
    border: 1.5px solid #1a1a2e;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 16px;
}
.btn-pago:hover{
    background: #1a1a2e;
    color: white;
}
.btn-whatsapp {
    width: 100%;
    padding: 12px;
    background: white;
    color: #1a1a2e;
    border: 1.5px solid #1a1a2e;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 16px;
}
.btn-whatsapp:hover{
    background: #25D366;
    color: white;
    border-color: #25D366;
}
.resumen-precio {
    background: #E6F8FA;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #1a1a2e;
    margin-top: 12px;
    margin-bottom: 12px;
    line-height: 1.8;
}
.horarios-info {
    background: #E6F8FA;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: #1a1a2e;
    margin-top: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
}

/*Footer*/
.footer{
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e9ecef;
    font-size: 13px;
    color: #6B6B6B;
}
.footer b{
    color: #00B4C8;
}
.footer-social{
    display: flex;
    gap: 12px;
    font-size: 13px;
}
.footer-social a{
    text-decoration: none;
}
.social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.footer-social a:hover {
    color: #00B4C8;
}
.alerta-error {
    background: #FCEBEB;
    border: 1px solid #E24B4A;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.alerta-error p {
    color: #A32D2D;
    font-size: 13px;
    margin: 0;
}
/*Responsivo*/
@media (max-width: 768px){
    .navbar {
        padding: 14px 20px;
        flex-wrap: wrap;
        position: relative;
    }

    .navbar-links{
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 16px;
        border-top: 1px solid #e9ecef;
        padding-top: 10px;
    }

    .hero{
        padding: 24px 20px;
    }

    .hero h1{
        font-size: 18px;
    }

    .main-content{
        grid-template-columns: 1fr;
    }

    .calendario-side{
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    .flatpickr-calendar {
        transform: scale(1);
        margin-bottom: 0;
    }


    .formulario-side{
        padding: 20px;
    }

    .footer{
        padding: 14px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .btn-idioma{
        position: absolute;
        right: 20px;
        top: 14px;
    }
}
@media (max-width: 1024px){
    .main-content {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .flatpickr-calendar {
        transform: scale(1);
        margin-bottom: 0;
    }

    .calendario-side {
        display: flex;
        justify-content: center;
        padding: 20px;
    }

    .formulario-side {
        width: 100%;
        padding: 20px;
    }
}
