/* ==========================================================================
   ESTILOS GENERALES & MEMBRESÍA PREMIUM
   Proyecto: Palmeras - Luxury Resort & Spa
   Última actualización: 2026-08-21
   ========================================================================== */

:root {
    --gold: #C9A961;
    --gold-light: #e8d5a3;
    --gold-dark: #a88738;
    --dark-brown: #0f0f0e;
    --light-cream: #F5F1E8;
    --dark-green: #1A4D3E;
    --dark-green-light: #2d7a63;
    --soft-beige: #E8DCC4;
    --navbar-height: 76px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--light-cream);
    color: var(--dark-brown);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(26, 77, 62, 0.9) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 77, 62, 0.98) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 1.5px solid var(--gold) !important;
    border-radius: 10px !important;
    padding: 7px 10px !important;
    outline: none !important;
    box-shadow: none !important;
    background: rgba(201, 169, 97, 0.12) !important;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.35) !important;
}

.navbar-toggler-icon {
    width: 22px;
    height: 22px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(0.72rem, 0.8vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.4rem clamp(0.35rem, 0.5vw, 0.6rem) !important;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 65%;
}

.nav-link:hover {
    color: #ffffff !important;
    opacity: 1;
}

.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
    padding: 0.42rem clamp(0.6rem, 0.8vw, 0.9rem) !important;
    border-radius: 50px !important;
    border: none;
    font-weight: 700 !important;
    font-size: clamp(0.72rem, 0.76vw, 0.78rem) !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: #20ba5a !important;
    color: white !important;
}

/* Adaptación para pantallas intermedias (1200px - 1440px) */
@media (min-width: 1200px) and (max-width: 1439.98px) {
    .navbar {
        padding: 0.55rem 0;
    }
    .logo-img {
        height: 36px;
    }
    .navbar-nav {
        gap: 2px;
    }
    .nav-link {
        font-size: 0.73rem !important;
        padding: 0.35rem 0.42rem !important;
        letter-spacing: 0.3px;
    }
    .btn-membresia-nav {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.5px;
        gap: 5px;
    }
    .btn-whatsapp {
        padding: 0.4rem 0.7rem !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.5px;
        gap: 4px;
    }
}

/* Mobile & Tablet Drawer (< 1200px) */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: rgba(15, 45, 36, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-radius: 16px;
        padding: 1.2rem 1.4rem;
        margin-top: 0.85rem;
        border: 1px solid rgba(201, 169, 97, 0.3);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar-nav {
        padding: 0;
        gap: 0.35rem;
    }
    .nav-link {
        padding: 0.65rem 1rem !important;
        font-size: 0.92rem !important;
        border-radius: 10px;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
    }
    .nav-link:hover, .nav-link.active {
        background: rgba(201, 169, 97, 0.18);
        color: var(--gold) !important;
        padding-left: 1.25rem !important;
    }
    .nav-link::after {
        display: none !important;
    }
    .navbar-nav .nav-item:has(.btn-membresia-nav),
    .navbar-nav .nav-item:has(.btn-whatsapp) {
        margin-top: 0.5rem !important;
        margin-left: 0 !important;
    }
    .btn-membresia-nav, .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.2rem !important;
        font-size: 0.9rem !important;
        border-radius: 12px !important;
    }
}

/* Hero Carousel */
.hero-carousel {
    margin-top: var(--navbar-height);
    height: 95vh;
}

.carousel-item {
    height: 95vh;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomParallax 25s infinite alternate ease-in-out;
}

@keyframes zoomParallax {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
    pointer-events: none !important;
}

.carousel-caption {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2rem;
    border: none;
    max-width: 1000px;
    box-shadow: none;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    bottom: auto !important;
    right: auto !important;
    width: 90%;
    z-index: 20 !important;
    pointer-events: auto !important;
}

.carousel-caption a,
.carousel-caption button {
    pointer-events: auto !important;
    position: relative;
    z-index: 25 !important;
    cursor: pointer !important;
}

.carousel-caption h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem) !important;
    font-weight: 800;
    letter-spacing: 6px;
    text-shadow:
        3px 3px 6px rgba(0, 0, 0, 1),
        0 0 25px rgba(0, 0, 0, 0.8),
        0 0 45px rgba(0, 0, 0, 0.6);
    color: #fff;
    margin-bottom: 1.5rem;
}

.carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 2px;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.9);
}

/* Properties Section */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark-green);
    letter-spacing: 4px;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.property-card {
    background: white;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.property-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(26, 77, 62, 0.12);
}

.property-image {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.property-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.property-card:hover .property-image::after {
    opacity: 1;
}

/* Paisajes Section */
.paisajes-section {
    background: linear-gradient(135deg, var(--dark-green) 0%, #2d7a63 100%);
    color: white;
}

.paisaje-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.paisaje-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.paisaje-card:hover img {
    transform: scale(1.1);
}

.paisaje-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: white;
    z-index: 2;
    padding: 3rem 2rem 2rem;
    transition: all 0.5s ease;
}

.paisaje-card:hover .paisaje-text {
    padding-bottom: 3rem;
}

.paisaje-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    transform: translateY(10px);
    transition: all 0.5s var(--transition);
}

.paisaje-card:hover .paisaje-text h3 {
    transform: translateY(0);
    color: var(--gold);
}

/* Galería Section */
.galeria-section {
    background: white;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 380px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 77, 62, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--gold);
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Footer */
.footer {
    background: #0a0a09;
    color: var(--soft-beige);
    border-top: 1px solid rgba(201, 169, 97, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.footer h5 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.footer a {
    color: var(--soft-beige);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.social-links {
    gap: 1.5rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--gold);
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark-brown);
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(201, 169, 97, 0.4);
    border-color: var(--gold);
}

.copyright {
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1fb855;
    color: white;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .experiencia-icon {
        width: 70px;
        height: 70px;
    }

    .experiencia-icon i {
        font-size: 1.5rem;
    }

    .paisaje-card {
        height: 300px;
    }

    .gallery-item {
        height: 250px;
    }

    .brand-text {
        font-size: 1.5rem;
    }
}

/* formulario */

.custom-tabs-palmeras {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.custom-tab-palmeras {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.custom-tab-palmeras:focus {
    outline: none;
}

.custom-tab-palmeras.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #C9A961;
}

.tab-content-container-palmeras {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content-container-palmeras.active {
    display: block;
}

.tab-content-container-palmeras section {
    background: #ffffff !important;
    border: 1px solid #e9edf3;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

#modalTerminos .modal-body {
    background: #ffffff !important;
    padding: 16px 16px 18px !important;
}

#modalTerminos .modal-footer {
    background: #ffffff;
    border-top: 1px solid #e9edf3;
}

#checkbox-section-palmeras {
    display: none !important;
}

#btnAceptar {
    width: min(360px, 100%);
    font-weight: 700;
    border-radius: 12px !important;
    padding: 12px 18px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .custom-tab-palmeras {
        font-size: 13px;
        padding: 12px 10px;
    }
}

@media (max-width: 430px) {
    .custom-tabs-palmeras {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .custom-tab-palmeras {
        padding: 10px 6px;
        font-size: 12px;
        line-height: 1.15;
        white-space: normal;
        word-break: break-word;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #modalTerminos .modal-body {
        padding: 14px 12px 16px !important;
    }
}

/* Modal Backdrop Custom */
.modal-backdrop-custom {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--navbar-height));
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1050;
}

/* Mejoras al modal */
#modalTerminos {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--navbar-height));
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#modalTerminos .modal-dialog {
    margin: 0 auto;
    max-width: 800px;
    width: 95%;
}

#modalTerminos .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#modalTerminos .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}

#modalTerminos .modal-content {
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Botón aceptar mejorado */
#btnAceptar {
    transition: all 0.3s ease;
}

#btnAceptar:not(:disabled):hover {
    background: var(--gold) !important;
    color: var(--dark-brown) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

/* Scrollbar personalizado para el modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #B89647;
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 66px;
    }

    #modalTerminos .modal-dialog {
        width: calc(100% - 24px);
        max-width: 520px;
    }

    #modalTerminos .modal-content {
        max-height: calc(100vh - var(--navbar-height) - 16px);
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    #modalTerminos .modal-dialog {
        width: calc(100% - 16px);
    }
}

/* Flechas del Carrusel - Azules */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #007bff !important;
    /* Azul */
    border-radius: 50% !important;
    padding: 20px !important;
    background-size: 60% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4) !important;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #0056b3 !important;
    /* Azul más oscuro al pasar mouse */
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6) !important;
}

/* Contenedor de las flechas */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1 !important;
}

/* ==========================================================================
   SECCIONES: MEMBRESÍA PREMIUM, CÓMO FUNCIONA & BENEFICIOS
   ========================================================================== */

/* Botón Membresía en Navbar */
.btn-membresia-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--gold), #d8b872) !important;
    color: #1A4D3E !important;
    padding: 0.55rem 1.2rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-membresia-nav i {
    color: #1A4D3E;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.btn-membresia-nav:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.55) !important;
    background: linear-gradient(135deg, #dfc27e, var(--gold)) !important;
    color: #0d2820 !important;
}

.btn-membresia-nav:hover i {
    transform: rotate(15deg) scale(1.15);
}

/* Sección Membresía - Qué incluye */
.section-membresia {
    background: #fbf9f4;
    position: relative;
}

.membership-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(201, 169, 97, 0.25);
    transition: transform 0.5s ease;
}

.membership-image-wrap:hover {
    transform: translateY(-5px);
}

.membership-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.membership-image-wrap:hover img {
    transform: scale(1.05);
}

.membership-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 77, 62, 0.85) 0%, rgba(26, 77, 62, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.membership-image-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.membership-image-overlay p {
    font-size: 0.9rem;
    color: var(--gold-light);
    margin: 5px 0 0 0;
    letter-spacing: 0.5px;
}

.membership-content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.membership-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 169, 97, 0.12);
    color: var(--dark-green);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.membership-feature-box {
    background: #fdfcf9;
    border-radius: 14px;
    padding: 1.3rem 1.1rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.membership-feature-box:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(26, 77, 62, 0.08);
    border-color: rgba(201, 169, 97, 0.4);
}

.membership-feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-feature-title i {
    color: var(--gold);
    font-size: 1.1rem;
}

.membership-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.membership-list li {
    font-size: 0.85rem;
    color: #4b5563;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.45;
}

.membership-list li i {
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Sección Cómo Funciona */
.section-como-funciona {
    background: #f0eae1;
    position: relative;
}

.process-grid-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    height: 100%;
    border: 1px solid rgba(201, 169, 97, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.process-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 77, 62, 0.1);
    border-color: var(--gold);
}

.process-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dark-green), #2d7a63);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.25);
    transition: transform 0.3s ease;
}

.process-grid-card:hover .process-icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--gold), #d8b872);
    color: var(--dark-green);
}

.process-card-text h6 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.35rem;
}

.process-card-text p {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Sección Beneficios */
.section-beneficios {
    background: #ffffff;
    position: relative;
}

.benefit-card-palmeras {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-card-palmeras:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(26, 77, 62, 0.12);
    border-color: rgba(201, 169, 97, 0.4);
}

.benefit-img-container {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: #1A4D3E;
}

.benefit-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.benefit-card-palmeras:hover .benefit-img-container img {
    transform: scale(1.08);
}

.benefit-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(26, 77, 62, 0.9);
    backdrop-filter: blur(8px);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(201, 169, 97, 0.4);
}

.benefit-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.benefit-body h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
}

.benefit-body p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Modal Membresía Premium */
.modal-membresia-luxury .modal-content {
    border-radius: 22px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-membresia-luxury .modal-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, #256653 100%);
    color: white;
    padding: 1.8rem 2.2rem;
    border: none;
}

.modal-membresia-luxury .modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-membresia-luxury .modal-title i {
    color: var(--gold);
}

.modal-membresia-luxury .modal-body {
    padding: 2.2rem;
    background: #fdfcf9;
}

.modal-notice-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.modal-notice-box h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-green);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-notice-box h6 i {
    color: var(--gold);
}

.modal-notice-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-notice-box ul li {
    font-size: 0.85rem;
    color: #555;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.modal-notice-box ul li i {
    color: var(--dark-green);
    margin-top: 3px;
    font-size: 0.8rem;
}

.form-floating-palmeras .form-control,
.form-floating-palmeras .form-select {
    border-radius: 12px;
    border: 1.5px solid #e2ddd3;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    background: #ffffff;
    transition: all 0.25s ease;
}

.form-floating-palmeras .form-control:focus,
.form-floating-palmeras .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(201, 169, 97, 0.2);
}

.btn-solicitar-membresia {
    background: linear-gradient(135deg, var(--dark-green), #2d7a63);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    width: 100%;
    box-shadow: 0 6px 20px rgba(26, 77, 62, 0.3);
    transition: all 0.3s ease;
}

.btn-solicitar-membresia:hover {
    background: linear-gradient(135deg, var(--gold), #d8b872);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.45);
}

.btn-solicitar-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.95rem 2rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95rem !important;
    width: 100%;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4) !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
}

.btn-solicitar-whatsapp:hover {
    background: linear-gradient(135deg, #20ba5a, #0e7065) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55) !important;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA PROGRAMA VIAJERO (programa_viajero.php)
   ========================================================================== */

.page-hero-traveler {
    margin-top: var(--navbar-height);
    min-height: 60vh;
    background: linear-gradient(rgba(15, 38, 31, 0.75), rgba(26, 77, 62, 0.85)), url('img/portada/familia_viajera.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 5rem 1.5rem;
    position: relative;
}

.page-hero-traveler::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--light-cream), transparent);
}

.hero-traveler-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 169, 97, 0.25);
    backdrop-filter: blur(10px);
    color: var(--gold-light);
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-traveler-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-traveler-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Tarjetas de Niveles de Membresía */
.tier-card-palmeras {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tier-card-palmeras.featured {
    border: 2px solid var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(201, 169, 97, 0.25);
}

.tier-card-palmeras:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(26, 77, 62, 0.15);
}

.tier-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    background: #fdfcf9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tier-header.featured-header {
    background: linear-gradient(135deg, var(--dark-green), #2d7a63);
    color: white;
}

.tier-header.featured-header h3 {
    color: var(--gold);
}

.tier-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.tier-body {
    padding: 2rem 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tier-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.tier-features-list li {
    font-size: 0.92rem;
    color: #4b5563;
    padding: 9px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.tier-features-list li:last-child {
    border-bottom: none;
}

.tier-features-list li i {
    color: var(--gold);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Acordeón FAQ Luxury */
.accordion-palmeras .accordion-item {
    border: 1px solid rgba(201, 169, 97, 0.25);
    border-radius: 14px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.accordion-palmeras .accordion-button {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-green);
    background: #ffffff;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.accordion-palmeras .accordion-button:not(.collapsed) {
    background: rgba(201, 169, 97, 0.08);
    color: var(--dark-green);
}

.accordion-palmeras .accordion-button::after {
    filter: sepia(100%) hue-rotate(30deg) saturate(200%);
}

.accordion-palmeras .accordion-body {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    padding: 1.5rem;
    background: #fdfcf9;
    border-top: 1px solid rgba(201, 169, 97, 0.15);
}

/* Toast Notificaciones */
.toast-container-palmeras {
    position: fixed;
    top: 95px;
    right: 25px;
    z-index: 10000;
    min-width: 320px;
    max-width: 420px;
}

.toast-palmeras {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .membership-image-wrap img {
        height: 360px;
    }
    .membership-content-card {
        padding: 1.8rem;
    }
    .page-hero-traveler {
        min-height: 50vh;
        padding: 4rem 1rem;
    }
}

@media (max-width: 768px) {
    .membership-image-wrap img {
        height: 280px;
    }
    .membership-content-card {
        padding: 1.4rem;
    }
    .btn-membresia-nav {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}