:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8B2C;
    --navy-blue: #0A192F;
    --dark-blue: #040914;
    --text-light: #f5f5f5;
    --text-gray: #a0aec0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    background-color: transparent;
}

body {
    overflow-x: hidden;
    background-color: transparent;
}

/* Solución compatible con iOS Safari para fondo fijo paralaje */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/fondo.png') no-repeat center center;
    background-size: cover;
    z-index: -2;
    pointer-events: none;
}

/* Typography elements */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section-padding {
    padding: 80px 20px;
    background-color: rgba(4, 9, 20, 0.85);
    /* Semitransparente para ver el fondo */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(4, 9, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    background-color: var(--dark-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 400;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: #000 !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    color: #000 !important;
}

.btn-primary::after {
    display: none;
}

.btn-secondary {
    background: transparent;
    color: var(--gold) !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--gold);
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 9, 20, 0.4), rgba(4, 9, 20, 0.85));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--gold);
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero .title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero .title span {
    color: var(--gold);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

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

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


/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.separator {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 20px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(10, 25, 47, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Tours Section */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.tour-card {
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.6);
}

.tour-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.tour-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image-container img {
    transform: scale(1.1);
}

.tour-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}

.tour-content h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tour-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

.text-center {
    text-align: center;
}


/* Pricing Section */
.pricing {
    position: relative;
    padding: 100px 20px;
}

.pricing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, #0a1730 0%, #03060a 70%);
    opacity: 0.9;
    z-index: 0;
}

.relative {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.price-card {
    background: rgba(10, 25, 47, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.premium {
    border: 2px solid var(--gold);
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(8, 20, 40, 0.95), rgba(15, 30, 60, 0.95));
}

.price-card.premium:hover {
    transform: scale(1.05) translateY(-5px);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header h4 {
    color: var(--text-gray);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.currency {
    font-size: 2rem;
    vertical-align: top;
    margin-right: 5px;
}

.clp {
    font-size: 1rem;
    color: var(--text-gray);
    margin-left: 5px;
}

.price-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
}

.price-features li i {
    color: var(--gold);
    margin-right: 15px;
}

.w-100 {
    width: 100%;
}


/* Contact */
.contact-card {
    background: rgba(10, 25, 47, 0.8);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

.contact-action {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.contact-action h3 {
    font-size: 1.8rem;
    color: #25D366;
    /* WhatsApp color */
    margin-bottom: 15px;
}

.contact-action p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
    background-color: #020509;
    padding: 30px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeInOverlay 0.3s ease;
}

.modal-content {
    background: rgba(10, 25, 47, 0.98);
    border: 1px solid var(--gold);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.close-modal {
    color: var(--text-gray);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--gold);
}

.modal-content h2 {
    color: var(--gold);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-content label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 600;
}

.date-input-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.date-input-wrapper i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
}

.modal-content input[type="text"] {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(4, 9, 20, 0.6);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="text"]:hover {
    outline: none;
    border-color: var(--gold);
    background: rgba(4, 9, 20, 0.9);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(4, 9, 20, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        border-bottom: 1px solid var(--gold);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    body::before {
        /* Alinea el fondo hacia arriba para revelar el cielo y horizonte.
           Esto engaña a la vista haciendo que un fondo cortado se sienta 
           mucho más amplio y lejos de lo que realmente está. */
        background-position: center top !important;
    }

    .hero .title {
        font-size: 2.5rem;
    }

    .price-card.premium {
        transform: scale(1);
    }

    .price-card.premium:hover {
        transform: translateY(-5px);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Custom Luxury Flatpickr Theme */
.flatpickr-calendar {
    background: rgba(4, 9, 20, 0.98) !important;
    border: 1px solid var(--gold) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    border-radius: 15px !important;
    padding: 10px !important;
    font-family: inherit !important;
}

.flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: var(--gold) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: rgba(10, 25, 47, 0.95) !important;
}

span.flatpickr-weekday {
    color: var(--text-light) !important;
    font-weight: 800 !important;
}

.flatpickr-day {
    color: var(--text-gray) !important;
    border-radius: 8px !important;
}

.flatpickr-day:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: var(--gold) !important;
    color: var(--text-light) !important;
}

.flatpickr-day.selected {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #000 !important;
    font-weight: bold;
}

.flatpickr-month .flatpickr-prev-month,
.flatpickr-month .flatpickr-next-month {
    color: var(--gold) !important;
    fill: var(--gold) !important;
}

.flatpickr-month .flatpickr-prev-month:hover,
.flatpickr-month .flatpickr-next-month:hover {
    color: var(--gold-light) !important;
    fill: var(--gold-light) !important;
}

/* Convenios Empresas Section */
.empresa-section {
    display: flex;
    background: rgba(15, 30, 60, 0.95);
    /* Un poco más claro que el azul oscuro base */
    border: 2px solid var(--gold);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    /* Sombra con toque dorado */
}

.empresa-img {
    flex: 1;
    min-height: 400px;
    background: url('img/convenios_empresas.png') no-repeat center center/cover;
    filter: brightness(1.3) contrast(1.1);
    /* Aclara e ilumina la fotografía oscura */
}

.empresa-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empresa-content h3 {
    color: var(--gold-light);
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Letra más grande y brillante */
}

.empresa-content p {
    color: #ffffff;
    /* Texto 100% blanco puro */
    font-size: 1.15rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.empresa-content ul.price-features li {
    font-size: 1.15rem;
    color: #ffffff;
    /* Letras de la lista en blanco puro */
    margin-bottom: 15px;
}

.empresa-content ul.price-features li b {
    color: var(--gold-light);
    /* Resalta las palabras clave en oro claro */
}

@media(max-width: 900px) {
    .empresa-section {
        flex-direction: column;
    }

    .empresa-img {
        min-height: 250px;
    }

    .empresa-content {
        padding: 30px;
    }
}

/* Convenio Form Styles */
.convenio-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.convenio-form .form-row {
    display: flex;
    gap: 15px;
}

.convenio-form .form-row input {
    flex: 1;
    min-width: 0;
}

.convenio-form input,
.convenio-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(4, 9, 20, 0.6);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.convenio-form input::placeholder,
.convenio-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.convenio-form input:focus,
.convenio-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    background: rgba(4, 9, 20, 0.9);
}

.convenio-form textarea {
    resize: vertical;
}

@media(max-width: 600px) {
    .convenio-form .form-row {
        flex-direction: column;
    }
}

/* Gallery Modal Extra Styles */
.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

#gallery-prev:hover,
#gallery-next:hover {
    background: var(--gold) !important;
    color: #000 !important;
}

.seo-text {
    background: #081220;
    padding: 80px 20px;
}

.seo-text .container {
    max-width: 1100px;
    margin: auto;
}

.seo-text h2 {
    color: #d4af37;
    font-size: 2.1rem;
    margin-bottom: 25px;
}

.seo-text p {
    color: #f1f1f1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.faq-section {
    background: #0b1420;
    padding: 80px 20px;
}

.faq-section .container {
    max-width: 1100px;
    margin: auto;
}

.faq-section h2 {
    color: #d4af37;
    font-size: 2.1rem;
    margin-bottom: 35px;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: #e8e8e8;
    line-height: 1.7;
    font-size: 1rem;
}