/* VARIABLES GENERALES= */
:root {
    --dark: #12100e;
    --dark-soft: #211a16;
    --gold: #d8a84f;
    --gold-light: #f3d38b;
    --cream: #fff8ec;
    --white: #ffffff;
    --brown: #5f3d25;
    --text: #38302a;
    --muted: #756b62;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    --radius: 24px;
}

/* RESETEO BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

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

/* =========================
   HERO Y NAVEGACIÓN
========================= */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(120deg, rgba(18, 16, 14, 0.86), rgba(95, 61, 37, 0.45)),
        url("https://images.unsplash.com/photo-1526392060635-9d6019884377?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(216, 168, 79, 0.18);
    right: -120px;
    bottom: -140px;
    filter: blur(8px);
}

.navbar {
    width: min(1180px, 92%);
    margin: auto;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
}

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

.hero-content {
    width: min(1180px, 92%);
    margin: auto;
    min-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.hero h1,
.section-heading h2,
.fashion-content h2,
.booking-info h2 {
    font-family: 'Playfair Display', serif;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 0.95;
    margin-bottom: 24px;
}

.hero p {
    max-width: 650px;
    font-size: 1.08rem;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-primary {
    border: none;
    cursor: pointer;
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(216, 168, 79, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(216, 168, 79, 0.4);
}

/* SECCIONES GENERALES */
.section {
    width: min(1180px, 92%);
    margin: auto;
    padding: 95px 0;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 4vw, 4rem);
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--muted);
}

/*DESTINOS CON FIGURE/PICTURE */

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.destination-card {
    position: relative;
    min-height: 460px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--dark);
    isolation: isolate;
}

.destination-card picture,
.destination-card img {
    height: 100%;
}

.destination-card .responsive-img {
    height: 460px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.destination-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 16, 14, 0.9), rgba(18, 16, 14, 0.1));
    z-index: 1;
}

.destination-card figcaption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: var(--white);
    background: rgba(18, 16, 14, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    padding: 22px;
    border-radius: 18px;
    opacity: 0.92;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.destination-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    margin-bottom: 8px;
    color: var(--gold-light);
}

.destination-card p {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.88);
}

.destination-card:hover .responsive-img {
    transform: scale(1.05);
    filter: saturate(1.12);
}

.destination-card:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* MODA SOSTENIBLE */
.fashion-section {
    width: 100%;
    background:
        linear-gradient(135deg, rgba(18, 16, 14, 0.95), rgba(95, 61, 37, 0.88)),
        url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    color: var(--white);
    padding-left: max(4%, calc((100% - 1180px) / 2));
    padding-right: max(4%, calc((100% - 1180px) / 2));
}

.fashion-content {
    max-width: 980px;
}

.fashion-content h2 {
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

.fashion-content > p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-list article {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-list article:hover {
    transform: translateY(-8px);
    background: rgba(216, 168, 79, 0.18);
}

.feature-list h3 {
    color: var(--gold-light);
    margin-bottom: 8px;
}

/* =========================
   TABLA AVANZADA
========================= */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
}

.packages-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
    overflow: hidden;
}

.packages-table caption {
    caption-side: top;
    padding: 18px;
    font-weight: 700;
    color: var(--brown);
    background: var(--white);
}

.packages-table thead {
    background: var(--dark-soft);
    color: var(--gold-light);
}

.packages-table th,
.packages-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(95, 61, 37, 0.12);
}

.packages-table tbody th {
    color: var(--brown);
    font-weight: 700;
}

.packages-table tbody tr:nth-child(even) {
    background: #f6ead6;
}

.packages-table tbody tr:hover {
    background: #f0d79d;
    transition: background 0.3s ease;
}

.packages-table tfoot {
    background: var(--dark-soft);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

/* FORMULARIO= */
.booking-section {
    padding-top: 40px;
}

.booking-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    background:
        radial-gradient(circle at top left, rgba(216, 168, 79, 0.22), transparent 40%),
        var(--dark-soft);
    color: var(--white);
    border-radius: 34px;
    padding: 42px;
    box-shadow: var(--shadow);
}

.booking-info {
    padding: 20px;
}

.booking-info h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.booking-info p {
    color: rgba(255, 255, 255, 0.78);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    background: rgba(255, 255, 255, 0.08);
    padding: 28px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    outline: none;
    border-radius: 14px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
    font-family: inherit;
    transition: border 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 168, 79, 0.22);
    transform: translateY(-2px);
}

.form-group input:invalid {
    border-color: rgba(181, 67, 54, 0.8);
}

.form-group input:valid,
.form-group select:valid {
    border-color: rgba(74, 137, 92, 0.8);
}

.range-group input {
    accent-color: var(--gold);
}

.full-width {
    grid-column: 1 / -1;
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 28px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .destination-grid,
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 18px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .destination-grid,
    .feature-list,
    .booking-form {
        grid-template-columns: 1fr;
    }

    .destination-card,
    .destination-card .responsive-img {
        min-height: 420px;
        height: 420px;
    }

    .booking-card {
        padding: 26px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links a {
        font-size: 0.86rem;
    }

    .destination-card,
    .destination-card .responsive-img {
        min-height: 380px;
        height: 380px;
    }

    .destination-card figcaption {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 18px;
    }

    .booking-form {
        padding: 18px;
    }
}
