/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --emerald: #059669;
    --emerald-dark: #047857;
    --emerald-light: #10b981;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --cream: #faf8f0;
    --cream-dark: #f5f0e1;
    --cream-mid: #f0ead6;
    --dark: #1a2e26;
    --dark-soft: #2d4a3e;
    --text: #1f3a2e;
    --text-light: #5a7d6c;
    --white: #ffffff;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(5, 150, 105, 0.08);
    --shadow-lg: 0 12px 48px rgba(5, 150, 105, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--dark); }

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

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

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

/* ─── UTILITIES ─── */
.text-gradient {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald);
    background: var(--emerald-50);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald);
    color: var(--white);
    border-color: var(--emerald);
}
.btn-primary:hover {
    background: var(--emerald-dark);
    border-color: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--emerald);
    border-color: var(--emerald);
}
.btn-ghost:hover {
    background: var(--emerald);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--emerald);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--emerald);
    transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.btn-block { width: 100%; justify-content: center; }

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(250, 248, 240, 0.95);
    box-shadow: 0 4px 24px rgba(5, 150, 105, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--emerald);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--text);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--emerald);
    background: var(--emerald-50);
}

.btn-nav {
    background: var(--emerald) !important;
    color: var(--white) !important;
}
.btn-nav:hover {
    background: var(--emerald-dark) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--cream);
    padding-top: 72px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
}
.geo-circle--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(5,150,105,0.08) 0%, transparent 70%);
    top: -200px; right: -150px;
}
.geo-circle--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
    bottom: 10%; left: -100px;
}
.geo-circle--3 {
    width: 200px; height: 200px;
    background: rgba(5, 150, 105, 0.1);
    bottom: 15%; right: 5%;
}

.geo-tri {
    position: absolute;
    width: 0; height: 0;
    border-style: solid;
}
.geo-tri--1 {
    border-width: 0 0 80px 80px;
    border-color: transparent transparent rgba(5,150,105,0.12) transparent;
    top: 25%; right: 8%;
    transform: rotate(20deg);
}

.geo-dots {
    position: absolute;
    top: 30%; left: 5%;
    width: 80px; height: 80px;
    background-image: radial-gradient(circle, var(--emerald) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
}

.geo-square {
    position: absolute;
    border-radius: 8px;
}
.geo-square--1 {
    width: 120px; height: 120px;
    background: rgba(5,150,105,0.08);
    top: 10%; right: 5%;
    transform: rotate(15deg);
}

.hero-inner {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 120px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 480px;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/6;
}
.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.hero-card-tag {
    display: inline-block;
    background: var(--white);
    color: var(--emerald);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 100px;
}

/* Float cards */
.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}
.float-card-icon {
    width: 44px; height: 44px;
    background: var(--emerald-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    flex-shrink: 0;
}
.float-card-num {
    font-weight: 800;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.2;
}
.float-card-label {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.3;
}
.float-card--1 {
    top: 10%; left: -30px;
    animation-delay: 0s;
}
.float-card--2 {
    bottom: 25%; right: -20px;
    animation-delay: 1s;
}
.float-card--3 {
    bottom: 5%; left: 10%;
    animation-delay: 2s;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ─── SECTIONS ─── */
.section {
    padding: 100px 0;
    position: relative;
}

/* ─── ALOJAMIENTOS ─── */
.alojamientos { background: var(--cream); }
.alojamientos::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald), var(--emerald-light), var(--emerald));
}

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

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card--primary {
    background: var(--emerald);
    color: var(--white);
}
.card--primary .card-title,
.card--primary .card-text { color: var(--white); }
.card--primary .card-text { opacity: 0.85; }
.card--primary .card-features li { color: rgba(255,255,255,0.85); }
.card--primary .card-features li svg { color: rgba(255,255,255,0.7); }

.card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 6/4;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.05); }

.card-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--emerald);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    z-index: 1;
}
.card-badge--new { background: #f59e0b; }

.card-body { padding: 28px; }

.card-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}
.card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text);
}
.card-features li svg { color: var(--emerald); flex-shrink: 0; }

/* ─── EXPERIENCIAS ─── */
.experiencias { background: var(--emerald); color: var(--white); overflow: hidden; }
.experiencias .section-tag { background: rgba(255,255,255,0.15); color: var(--white); }
.experiencias .section-title { color: var(--white); }
.experiencias .section-desc { color: rgba(255,255,255,0.75); }

.exp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.exp-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.exp-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-6px);
}
.exp-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 16px 0 10px;
}
.exp-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}
.exp-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.exp-bg-shape { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* ─── ENTORNO ─── */
.entorno { background: var(--cream-dark); }

.entorno-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.entorno-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.entorno-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.entorno-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: var(--text);
}
.entorno-list-icon {
    width: 48px; height: 48px;
    background: var(--emerald-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    flex-shrink: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item--1 { grid-row: 1 / 3; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--1 img { aspect-ratio: 3/4; }
.gallery-item--2 img, .gallery-item--3 img { aspect-ratio: 4/3; }

/* ─── CTA ─── */
.cta-section { padding: 100px 0; background: var(--cream); }

.cta-card {
    background: var(--emerald);
    border-radius: 32px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 20px;
}
.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 40px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.cta-circle--1 { width: 400px; height: 400px; top: -150px; left: -100px; }
.cta-circle--2 { width: 250px; height: 250px; bottom: -80px; right: -50px; }
.cta-geo {
    position: absolute;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    top: 15%; right: 10%;
    transform: rotate(30deg);
}

/* ─── CONTACTO ─── */
.contacto { background: var(--cream); }

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.info-card:hover { transform: translateX(6px); }
.info-card-icon {
    width: 52px; height: 52px;
    background: var(--emerald-50);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    flex-shrink: 0;
}
.info-card strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}
.info-card a, .info-card span {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
}
.info-card a:hover { color: var(--emerald); }

/* Form */
.contacto-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: var(--emerald);
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 8px;
}
.form-success p { color: var(--text-light); }

/* ─── FOOTER ─── */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer .container { position: relative; z-index: 1; }

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 300px; }

.footer h4 {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a, .footer-legal a {
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover, .footer-legal a:hover { color: var(--emerald-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
}
.footer-bottom a { color: var(--emerald-light); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-cta { justify-content: center; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .float-card--1 { left: 0; }
    .float-card--2 { right: 0; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-grid { grid-template-columns: repeat(2, 1fr); }
    .entorno-grid { grid-template-columns: 1fr; gap: 40px; }
    .contacto-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(5,150,105,0.1);
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-inner { padding-top: 40px; padding-bottom: 100px; }
    .hero-title { font-size: 2.2rem; }
    .float-card { display: none; }
    .cards-grid { grid-template-columns: 1fr; }
    .exp-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-card { padding: 48px 28px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 48px; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
    .contacto-form { padding: 24px; }
}
