*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    transition: all ease-in 0.3s;
}

:root {
    --verde: #2d6a4f;
    --verde-light: #52b788;
    --verde-pale: #d8f3dc;
    --tierra: #a07850;
    --crema: #faf7f2;
    --texto: #1a2e1e;
    --texto-suave: #4a5e4f;
    --blanco: #ffffff;
    --sombra: 0 4px 24px rgba(30, 60, 30, .13);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--crema);
    color: var(--texto);
    font-size: 16px;
    line-height: 1.65;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, .93);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e0d8c8;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1rem;
}

.brand h1 {
    font-size: 1.3rem;
    color: var(--verde);
    letter-spacing: -.5px;
}

.brand {
    text-decoration: none;
}

.navlinks {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--texto-suave);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .3px;
    transition: color .2s;
}

.nav-item:hover {
    color: var(--verde);
}

#menu-hamburger {
    display: none;
}

#menu-hamburger button {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--verde);
    cursor: pointer;
}

.navlinksMobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--crema);
    border-bottom: 1px solid #e0d8c8;
    padding: .75rem 1.25rem;
    gap: .75rem;
    position: fixed;
    top: -300px;
    z-index: 2000;

}

.navlinksMobile.open {
    top: 48px;
}

.hero {
    background:
        linear-gradient(to bottom, rgba(20, 48, 24, .55) 0%, rgba(20, 48, 24, .3) 100%),
        url('img/portada.jpeg') center/cover no-repeat;
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--crema), transparent);
}

.heroContent {
    position: relative;
    z-index: 2;
    padding: 4rem 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--verde-light);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.4);
    }
}

.heroGrid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

.heroGrid h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.heroGrid p {
    color: rgba(255, 255, 255, .88);
    max-width: 560px;
}

.heroActions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.4rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .15s, box-shadow .15s, background .2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.btn.primary {
    background: var(--verde-light);
    color: #fff;
}

.btn.secondary {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn.dark {
    background: var(--verde);
    color: #fff;
}

.btn.outline {
    background: transparent;
    border: 2px solid var(--verde);
    color: var(--verde);
}

/* ── INFO CARD en hero ── */
.infoCard {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--sombra);
}

.infoRow {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: .9rem 0;
    border-bottom: 1px solid #eee;
}

.infoRow:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.infoRow:first-child {
    padding-top: 0;
}

.icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.infoRow h3 {
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--verde);
    margin-bottom: .1rem;
}

.infoRow p {
    font-size: .85rem;
    color: var(--texto-suave);
    line-height: 1.4;
}

section {
    padding: 5rem 0;
}

.sectionTitle {
    text-align: center;
    margin-bottom: 3rem;
}

.sectionTitle h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--texto);
    margin-bottom: .5rem;
}

.sectionTitle span {
    color: var(--texto-suave);
    font-size: .95rem;
}

#galeria {
    background: var(--blanco);
}

.carousel {
    position: relative;
    overflow: hidden;
}

.fadeLeft,
.fadeRight {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.fadeLeft {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.fadeRight {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .5rem 2.5rem 1.25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.track::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 300px;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sombra);
}

.slide img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.slide video {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 260px;
}

.caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem;
    background: #fff;
}

.caption b {
    display: block;
    font-size: .9rem;
    color: var(--texto);
}

.caption small {
    font-size: .78rem;
    color: var(--texto-suave);
}

.chip {
    background: var(--verde-pale);
    color: var(--verde);
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 50px;
    white-space: nowrap;
}

.dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .75rem;
}

.dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    animation: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.dots .dot.active {
    background: var(--verde-light);
    transform: scale(1.3);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--blanco);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--sombra);
}

.feature b {
    display: block;
    font-size: 1.05rem;
    color: var(--verde);
    margin-bottom: .5rem;
}

.feature p {
    font-size: .9rem;
    color: var(--texto-suave);
}

/* ── TARIFAS ── */
#detalles {
    background: var(--verde-pale);
}

.tarifas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tarifa-card {
    background: var(--blanco);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--sombra);
    text-align: center;
}

.tarifa-card.destacada {
    background: var(--verde);
    color: #fff;
}

.tarifa-card.destacada h3,
.tarifa-card.destacada p,
.tarifa-card.destacada ul {
    color: #fff;
}

.tarifa-card h3 {
    font-size: 1.1rem;
    margin-bottom: .25rem;
    color: var(--texto-suave);
}

.tarifa-card.destacada h3 {
    color: rgba(255, 255, 255, .8);
}

.precio {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--verde);
    line-height: 1;
    margin: .5rem 0;
}

.tarifa-card.destacada .precio {
    color: var(--verde-pale);
}

.precio-sub {
    font-size: .82rem;
    color: var(--texto-suave);
}

.tarifa-card.destacada .precio-sub {
    color: rgba(255, 255, 255, .7);
}

.tarifa-card ul {
    list-style: none;
    margin: 1.25rem 0 0;
    text-align: left;
}

.tarifa-card ul li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .88rem;
    color: var(--texto-suave);
    padding: .3rem 0;
}

.tarifa-card.destacada ul li {
    color: rgba(255, 255, 255, .85);
}

.tarifa-card ul li::before {
    content: '✓';
    color: var(--verde-light);
    font-weight: 700;
    flex-shrink: 0;
}

.tarifa-card.destacada ul li::before {
    color: var(--verde-pale);
}

.extras {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--texto-suave);
    font-size: .9rem;
}

.extras b {
    color: var(--verde);
}

.sena-box {
    background: var(--blanco);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--sombra);
    max-width: 680px;
    margin: 2.5rem auto 0;
    border-left: 4px solid var(--verde-light);
}

.sena-box h4 {
    font-size: 1.1rem;
    color: var(--verde);
    margin-bottom: .75rem;
}

.sena-box p {
    font-size: .9rem;
    color: var(--texto-suave);
    margin-bottom: .5rem;
}

.ctaBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.ctaBox h4 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.ctaBox p {
    color: var(--texto-suave);
    max-width: 480px;
}

.ctaBtns {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

#ubicacion {
    background: var(--blanco);
}

#ubicacion .container {
    text-align: center;
}

#ubicacion iframe {
    border-radius: 16px;
    margin-top: 1.5rem;
    max-width: 100%;
    box-shadow: var(--sombra);
}

footer {
    background: var(--texto);
    color: rgba(255, 255, 255, .6);
    text-align: center;
    padding: 1.5rem 0;
    font-size: .82rem;
}

footer a {
    color: var(--verde-light);
    text-decoration: none;
}

#whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

#whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .6);
}

/* ── VIDEOS ── */
.videos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    padding: 0 1.25rem 1rem;
}

.videos-grid video {
    max-height: 540px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .heroGrid {
        grid-template-columns: 1fr;
    }

    .infoCard {
        display: none;
    }

    .navlinks {
        display: none;
    }

    #menu-hamburger {
        display: block;
    }

    .ctaBox {
        flex-direction: column;
        text-align: center;
    }

    .sena-box {
        margin: 1.5rem 1rem 0;
    }

    .videos-grid .slide {
        width: 100%;
    }
}