/* =============================================
   QUINTA EL PARAÍSO DE LEO — Estilos
   Mobile-first | Conversión-focused
   ============================================= */

/* ---- Variables ---- */
:root {
    --green-dark:    #1E3A10;
    --green-primary: #2D5016;
    --green-medium:  #3D6B1F;
    --green-light:   #4A7C2F;
    --green-pale:    #EAF2E3;
    --gold:          #C8A951;
    --gold-light:    #E8C96A;
    --cream:         #F7F4EE;
    --white:         #FFFFFF;
    --dark:          #1A1A1A;
    --text:          #2C2C2C;
    --text-muted:    #6B6B6B;
    --border:        #E0DAD0;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --radius:    8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow:    0 2px 16px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --transition: 0.25s ease;

    --max-width: 1180px;
    --nav-height: 68px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---- Sections ---- */
.section { padding: 4rem 0; }
.section-light { background: var(--cream); }
.section-green { background: var(--green-primary); }
.section-dark  { background: var(--green-dark); }

.section-header-center { text-align: center; margin-bottom: 2.5rem; }

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.section-eyebrow-light { color: var(--gold-light); }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-title-light { color: var(--white); }

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-subtitle-light { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--green-primary);
    color: var(--white);
    border-color: var(--green-primary);
}
.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}
.btn-outline {
    background: transparent;
    color: var(--green-primary);
    border-color: var(--green-primary);
}
.btn-outline:hover {
    background: var(--green-primary);
    color: var(--white);
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}
.btn-whatsapp:hover {
    background: #1EBE57;
    border-color: #1EBE57;
}
.btn-full { width: 100%; }

/* ---- Hero subtitle line separation ---- */
.hero-subtitle-2 { margin-top: 0; }

/* ---- Section subtitle wide (sin max-width) ---- */
.section-subtitle-wide { max-width: none; }

/* ---- La Quinta image ---- */
.section-img-rounded {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ---- Amenidades images ---- */
.amenity-img {
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.amenity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.amenity-card:hover .amenity-img img { transform: scale(1.04); }

/* ---- Gallery images ---- */
.gallery-img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.03); }
.gallery-item { overflow: hidden; }
.gallery-item-large .gallery-img { min-height: 220px; }

/* ---- Event images ---- */
.event-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.event-card:hover .event-img { transform: scale(1.04); }

/* ---- Image Placeholders ---- */
.image-placeholder {
    background: linear-gradient(135deg, var(--green-pale), #d4e8c2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--green-medium);
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 200px;
    padding: 1.5rem;
    text-align: center;
    border: 2px dashed #a8d08a;
}
.image-placeholder-tall { min-height: 380px; }

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1.2;
}
.nav-logo-icon { font-size: 1.25rem; }

.nav-menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.nav-link:hover { color: var(--green-primary); background: var(--green-pale); }
.nav-link-cta {
    background: var(--green-primary);
    color: var(--white) !important;
    padding: 0.4rem 1rem;
}
.nav-link-cta:hover { background: var(--green-dark) !important; color: var(--white) !important; }

.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu open */
.nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0.25rem;
}
.nav-menu.open .nav-link { padding: 0.75rem 1rem; font-size: 1rem; }
.nav-menu.open .nav-link-cta { text-align: center; margin-top: 0.5rem; }

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100svh;
    background-image: url('../assets/img_principal.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: var(--nav-height);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 25, 5, 0.88) 0%,
        rgba(10, 25, 5, 0.55) 50%,
        rgba(10, 25, 5, 0.25) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    padding: 2rem 0 3.5rem;
    width: 100%;
}
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
    margin-bottom: 0.2rem;
}
.hero-subtitle-2 {
    margin-bottom: 1.75rem;
}
.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.hero-ctas .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
}
.hero-ctas .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green-dark);
}
.hero-ctas .btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: scrollBounce 1.8s ease infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
    50% { transform: rotate(45deg) translateY(4px); opacity: 1; }
}

/* =============================================
   LA QUINTA
   ============================================= */
.section-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
.section-text .section-eyebrow { margin-bottom: 0.5rem; }
.section-body {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* =============================================
   AMENIDADES
   ============================================= */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.amenity-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}
.amenity-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.amenity-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.amenity-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.amenity-desc { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.65; }

/* =============================================
   MODALIDADES
   ============================================= */
.modalities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.modality-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.modality-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.modality-card-featured {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 1px var(--green-primary);
}
.modality-card-events {
    grid-column: 1 / -1;
}
.modality-badge {
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    border-radius: 100px;
}
.modality-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.modality-icon { font-size: 1.75rem; }
.modality-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--green-dark);
}
.modality-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}
.modality-features {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.modality-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
}
.modality-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
}

/* =============================================
   GALERÍA
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-lg); }
.gallery-item .image-placeholder { min-height: 140px; border-radius: var(--radius-lg); }
.gallery-item-large {
    grid-column: 1 / -1;
}
.gallery-item-large .image-placeholder { min-height: 220px; }

/* =============================================
   EVENTOS
   ============================================= */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.event-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-card-featured { border-color: var(--gold); }
.event-image .image-placeholder {
    min-height: 120px;
    border-radius: 0;
    font-size: 2.5rem;
}
.event-content { padding: 1.25rem; }
.event-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}
.event-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.events-cta {
    text-align: center;
    background: var(--green-pale);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.events-cta p { font-size: 1.05rem; color: var(--green-dark); font-weight: 500; }

/* =============================================
   COTIZACIÓN
   ============================================= */
.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
.quote-info .section-eyebrow { margin-bottom: 0.5rem; }
.quote-desc {
    color: rgba(255,255,255,0.8);
    margin: 1rem 0 1.5rem;
    line-height: 1.7;
}
.quote-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.quote-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}
.benefit-icon { font-size: 1.1rem; }

/* Form */
.quote-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}
.quote-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-medium);
    box-shadow: 0 0 0 3px rgba(45,80,22,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: -0.5rem;
}

/* =============================================
   CÓMO LLEGAR
   ============================================= */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
.location-map iframe { width: 100%; }
.location-info { display: flex; flex-direction: column; gap: 1rem; }
.location-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.location-icon { font-size: 1.5rem; flex-shrink: 0; }
.location-title {
    font-weight: 600;
    color: var(--green-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.location-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.location-link { color: var(--green-primary); font-weight: 500; }
.location-link:hover { text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.75);
    padding: 3rem 0 1.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.footer-tagline {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}
.footer-nav-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a {
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    text-align: center;
}

/* =============================================
   WHATSAPP FLOTANTE
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    background: #1EBE57;
    transform: scale(1.08);
}
.whatsapp-float-tooltip {
    position: absolute;
    right: 68px;
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; }

/* =============================================
   RESPONSIVE — Tablet (480px+)
   ============================================= */
@media (min-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item-large { grid-column: 1 / -1; }
    .gallery-item .gallery-img { min-height: 160px; }
    .gallery-item-large .gallery-img { min-height: 240px; }
    .form-row { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   RESPONSIVE — Tablet (640px+)
   ============================================= */
@media (min-width: 640px) {
    .hero-content { padding: 3rem 0 5rem; }
    .hero-ctas { flex-direction: row; }
    .hero-ctas .btn { width: auto; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .modalities-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item-large { grid-column: 1 / 3; }
    .gallery-item-large .gallery-img { min-height: 280px; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE — Desktop (900px+)
   ============================================= */
@media (min-width: 900px) {
    .section { padding: 6rem 0; }

    /* Nav */
    .nav-logo { font-size: 1rem; }
    .nav-menu { display: flex; }
    .nav-hamburger { display: none; }

    /* Hero */
    .hero { align-items: center; }
    .hero-content { padding: 4rem 0 6rem; max-width: 640px; }

    /* La Quinta grid */
    .section-grid-2 { grid-template-columns: 1fr 1fr; }

    /* Amenidades */
    .amenities-grid { grid-template-columns: repeat(4, 1fr); }

    /* Modalidades */
    .modalities-grid { grid-template-columns: repeat(4, 1fr); }
    .modality-card-events { grid-column: auto; }

    /* Eventos */
    .events-grid { grid-template-columns: repeat(4, 1fr); }

    /* Cotización */
    .quote-wrapper { grid-template-columns: 1fr 1.2fr; }

    /* Cómo llegar */
    .location-wrapper { grid-template-columns: 1.5fr 1fr; }

    /* Footer */
    .footer-content { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

    /* Gallery */
    .gallery-item .gallery-img { min-height: 200px; }
    .gallery-item-large .gallery-img { min-height: 320px; }
}
