:root {
    /* --- PALETA ORGÁNICA (Tierra y Agua) --- */
    --color-sand: #E5D3B3;
    /* Tono arena principal */
    --color-sand-light: #F5F0E6;
    /* Fondo tipo arena suave */
    --color-sand-dark: #C5B08A;
    /* Acentos tierra */

    --color-turquoise: #008A8A;
    /* Turquesa del logo */
    --color-deep-blue: #0b1e3b;
    /* Azul profundo elegante */

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Open Sans', system-ui, sans-serif;
    --font-sans-light: 'Open Sans', system-ui, sans-serif;
    /* Light weight handled by font-weight */

    --color-warm-action: #E87404;
    /* Naranja cálido para WhatsApp */
    --color-warm-hover: #c25e00;

    --color-texto-principal: #2C3E50;
    --color-texto-secundario: #5D6D7E;
    --color-blanco: #ffffff;

    /* --- SOMBRAS Y BORDES --- */
    --sombra-suave: 0 4px 20px rgba(0, 0, 0, 0.05);
    --sombra-elegante: 0 10px 30px rgba(11, 30, 59, 0.08);
    --borde-radio: 12px;
    --transicion: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Open Sans', system-ui, sans-serif;
    background-color: var(--color-sand-light);
    color: var(--color-texto-principal);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--color-deep-blue);
    font-weight: 700;
}

.text-light-sans {
    font-family: var(--font-sans);
    font-weight: 300;
}

/* === Responsive: Reducir gap en móviles para evitar desbordamiento === */
@media (max-width: 991.98px) {

    .row.g-5,
    .row.gx-5 {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }

    .row.g-5>[class*="col-"],
    .row.gx-5>[class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Opcional: Elimina gap en pantallas muy pequeñas */
@media (max-width: 575.98px) {

    .row.g-5,
    .row.gx-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 1rem !important;
        /* Espacio vertical si no hay horizontal */
    }

    .row.g-5>[class*="col-"],
    .row.gx-5>[class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* === UTILS === */
.text-turquoise {
    color: var(--color-turquoise) !important;
}

.text-sand {
    color: var(--color-sand-dark) !important;
}

.bg-sand {
    background-color: var(--color-sand) !important;
}

.bg-sand-light {
    background-color: var(--color-sand-light) !important;
}

.bg-turquoise {
    background-color: var(--color-turquoise) !important;
    color: white;
}

.bg-turquoise .section-title,
.bg-turquoise p:not(.service-card p) {
    color: white !important;
}

.service-card h3 {
    color: var(--color-deep-blue);
}

.service-card p {
    color: var(--color-texto-secundario);
}

.ai-center {
    align-items: center;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: var(--color-deep-blue);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 30, 59, 0.2), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-logo {
    max-width: 320px;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4));
}

.hero-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.btn-hero {
    background-color: var(--color-turquoise);
    color: white;
    padding: 1.25rem 3.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 138, 138, 0.3);
    transition: var(--transicion);
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background-color: #007373;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 138, 138, 0.5);
    color: white;
}

.btn-wa {
    background-color: #2FBD38;
    color: white;
    padding: 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 138, 138, 0.3);
    transition: var(--transicion);
    text-decoration: none;
    display: inline-block;
}

.btn-wa:hover {
    background-color: #007373;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 138, 138, 0.5);
    color: white;
}

/* === SECCIONES GENERALES === */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-turquoise);
    margin: 15px auto 0;
}

/* === EDITORIAL LAYOUT (Asymmetric 70/30) === */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .editorial-grid {
        grid-template-columns: 7fr 3fr;
    }

    .editorial-grid.reversed {
        grid-template-columns: 3fr 7fr;
    }
}

.editorial-img-container {
    position: relative;
    overflow: hidden;
    height: 600px;
    border-radius: 4px;
    /* Minimalist */
}

.editorial-img-container.full-bleed {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.parallax-img {
    transform: scale(1.1);
    will-change: transform;
}

.editorial-content {
    padding: 2rem;
}

/* === HOVER GRID (Events) === */
.hover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hover-item {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.hover-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 30, 59, 0.9), transparent);
    opacity: 1;
    transition: background 0.5s ease, opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.hover-item:hover .hover-overlay {
    background: linear-gradient(to top, rgba(11, 30, 59, 1), rgba(11, 30, 59, 0.2));
}

.hover-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white !important;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.hover-item:hover .hover-title {
    transform: translateY(-5px);
}

.hover-desc {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.hover-item:hover .hover-desc {
    opacity: 1;
    transform: translateY(-5px);
}

/* === ELEGANT CAROUSEL GALLERY === */
.carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0 3rem;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 1rem);
    scroll-snap-align: center;
    min-width: 300px;
    height: 500px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        flex: 0 0 85%;
    }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: -1rem;
}

.carousel-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--color-turquoise);
    background: transparent;
    color: var(--color-turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transicion);
}

.carousel-nav-btn:hover {
    background: var(--color-turquoise);
    color: white;
    transform: translateY(-3px);
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === TARJETAS DE SERVICIOS === */
.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--borde-radio);
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-elegante);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-turquoise);
    margin-bottom: 2rem;
}

.check-marker {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevents stretching or squeezing in flex containers */
}

/* === GALERÍA === */
.gallery-img-wrapper {
    overflow: hidden;
    border-radius: var(--borde-radio);
    box-shadow: var(--sombra-suave);
    background-color: white;
    padding: 10px;
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.8s ease;
}

/* === CALENDARIO === */
.calendar-card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--sombra-elegante);
    background: white;
    overflow: hidden;
}

.calendar-header {
    background-color: var(--color-deep-blue);
    padding: 2rem;
}

.calendar-header button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.calendar-table th {
    padding: 1.25rem;
    color: var(--color-turquoise);
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.calendar-table td {
    padding: 1.25rem;
    cursor: default;
    position: relative;
    text-align: center;
}

.calendar-day.today {
    background-color: var(--color-sand);
}

.calendar-day.past-day {
    background-color: #f0f0f0;
    color: #b0b0b0;
    cursor: default;
    opacity: 0.6;
}

.calendar-day.booked {
    color: #a5a5a5;
    position: relative;
    cursor: not-allowed;
}

.calendar-day.booked::after {
    content: '✕';
    color: #dc3545;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    opacity: 0.7;
}

/* === FOOTER === */
.footer {
    background-color: var(--color-deep-blue);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0;
    text-align: center;
}

.footer h3 {
    color: white;
    margin-bottom: 2rem;
}

/* === WHATSAPP FLOTANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: #2FBD38;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transicion);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) rotate(5deg);
    color: white;
}

/* === CONTACT ACTIONS REDESIGN === */
.contact-actions-container {
    background-color: var(--color-sand) !important;
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
}

.wa-wrapper {
    display: flex;
    justify-content: center;
    /* centra horizontalmente */
    align-items: center;
    /* centra verticalmente */
    height: 160px;
}

.qr-wrapper {
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--color-turquoise);
    display: inline-block;
    width: 160px;
    height: 160px;
    box-shadow: var(--sombra-suave);
}

.qr-wrapper img {
    border-radius: 8px;
    display: block;
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
}

.bg-whatsapp {
    background-color: #2FBD38 !important;
    color: white !important;
    border: none !important;
}

.bg-whatsapp:hover {
    background-color: #128C7E !important;
    color: white !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }

    .hero-text {
        font-size: 1.35rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === FOOTER WEBZ === */
.footer-webz {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0f254a;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.footer-webz a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transicion);
}

.footer-webz a:hover {
    color: var(--color-turquoise);
}