/* ============================================================
   VACATION THEME — TrazAndo MI VIAje
   Archivo compartido para todas las páginas de la web
   ============================================================ */

:root {
    --vac-green:  #86B817;
    --vac-green2: #6a9412;
    --vac-orange: #FE8800;
    --vac-ocean:  #0ea5e9;
    --vac-sand:   #f8f3ea;
    --vac-dark:   #14141F;
    --vac-light:  #f9fbf7;
}

/* ── TIPOGRAFÍA GLOBAL ─────────────────────────────────────── */
body { font-family: 'Heebo', sans-serif; }
.vac-serif { font-family: 'Playfair Display', serif; }
.vac-serif-italic { font-family: 'Playfair Display', serif; font-style: italic; }
.text-vac-green { color: var(--vac-green); }
.text-vac-orange { color: var(--vac-orange); }

/* ── ETIQUETA DE SECCIÓN (pequeño chip arriba del h1) ─────── */
.vac-tag {
    display: inline-block;
    background: rgba(134,184,23,0.1);
    color: var(--vac-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(134,184,23,0.2);
}

/* ── HERO DE PÁGINAS INTERNAS ──────────────────────────────── */
.inner-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(10, 20, 10, 0.72) 0%,
        rgba(20, 35, 10, 0.55) 60%,
        rgba(10, 20, 10, 0.72) 100%);
    z-index: 1;
}
.inner-hero .container { position: relative; z-index: 2; }
.inner-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(134,184,23,0.15);
    border: 1px solid rgba(134,184,23,0.4);
    color: #c8e46a;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.inner-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.6rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.inner-hero h1 em {
    font-style: italic;
    color: #c8e46a;
}
.inner-hero p.lead {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 0;
}
.inner-hero .breadcrumb-item a { color: rgba(255,255,255,0.6); text-decoration: none; }
.inner-hero .breadcrumb-item.active { color: var(--vac-green); }
.inner-hero .breadcrumb-divider { color: rgba(255,255,255,0.3); }
.inner-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}
.inner-hero-stat {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 18px 24px;
    text-align: center;
    color: #fff;
}
.inner-hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #c8e46a; }
.inner-hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── TARJETAS VACACIONES ───────────────────────────────────── */
.vac-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    padding: 2.2rem 1.6rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.vac-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vac-green), var(--vac-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.vac-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(134,184,23,0.1); border-color: rgba(134,184,23,0.15); }
.vac-card:hover::after { transform: scaleX(1); }
.vac-card-icon {
    width: 68px; height: 68px;
    margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(134,184,23,0.08);
    border-radius: 50%;
    color: var(--vac-green);
    font-size: 1.7rem;
    transition: all 0.4s ease;
}
.vac-card:hover .vac-card-icon { background: var(--vac-green); color: #fff; transform: scale(1.1) rotate(5deg); }

/* ── DESTINO CARD ──────────────────────────────────────────── */
.dest-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    cursor: pointer;
}
.dest-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165,0.84,0.44,1);
    display: block;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.82) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.8rem;
    transition: 0.4s;
}
.dest-card-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.dest-card-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(12px);
}
.dest-card:hover .dest-card-wa { opacity: 1; transform: translateY(0); }
.dest-card-wa:hover { background: var(--vac-green); border-color: var(--vac-green); color: #fff; }

/* ── SECCIÓN WAVE BACKGROUND ───────────────────────────────── */
.wave-section {
    background: var(--vac-sand);
    position: relative;
}
.wave-section::before {
    content: '';
    position: absolute;
    top: -40px; left: 0; right: 0;
    height: 80px;
    background: inherit;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── STRIP DE CONFIANZA ────────────────────────────────────── */
.trust-strip { background: var(--vac-light); border-top: 1px solid #e8f0e0; border-bottom: 1px solid #e8f0e0; padding: 18px 0; }
.trust-strip-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; color: #374151; padding: 4px 0; }
.trust-strip-item i { color: var(--vac-green); font-size: 1rem; }

/* ── BOTONES VACACIONES ────────────────────────────────────── */
.btn-vac { background: var(--vac-green); border: none; color: #fff; border-radius: 50px; font-weight: 700; transition: 0.3s; }
.btn-vac:hover { background: var(--vac-green2); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(134,184,23,0.35); }
.btn-vac-outline { border: 2px solid var(--vac-green); color: var(--vac-green); border-radius: 50px; font-weight: 700; background: transparent; transition: 0.3s; }
.btn-vac-outline:hover { background: var(--vac-green); color: #fff; }
.btn-vac-wa { background: #25D366; border: none; color: #fff; border-radius: 50px; font-weight: 700; transition: 0.3s; }
.btn-vac-wa:hover { background: #1da851; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,0.4); }

/* ── COUNTER STRIP ─────────────────────────────────────────── */
.counter-strip { background: linear-gradient(135deg, var(--vac-dark) 0%, #1e2a0e 50%, var(--vac-dark) 100%); padding: 50px 0; }
.counter-num { font-family: 'Nunito', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--vac-green); line-height: 1; }
.counter-label { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }
.counter-icon { font-size: 1.5rem; color: rgba(134,184,23,0.4); margin-bottom: 10px; }

/* ── GALERÍA MINI ──────────────────────────────────────────── */
.mini-gallery img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%; height: 100%;
    transition: transform 0.5s ease;
}
.mini-gallery-item { overflow: hidden; border-radius: 12px; position: relative; }
.mini-gallery-item:hover img { transform: scale(1.06); }
.mini-gallery-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: 0.4s;
}
.mini-gallery-item:hover::after { opacity: 1; }

/* ── TESTIMONIOS ───────────────────────────────────────────── */
.vac-testimonial {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    margin: 10px;
}
.vac-testimonial::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 0.7;
    position: absolute;
    top: 30px; left: 24px;
    color: rgba(134,184,23,0.08);
    pointer-events: none;
}
.vac-testimonial .stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 14px; }

/* ── FORMULARIO VACACIONAL ─────────────────────────────────── */
.vac-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.vac-form-card .form-label { font-weight: 600; font-size: 0.83rem; color: #374151; margin-bottom: 6px; }
.vac-form-card .form-control,
.vac-form-card .form-select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.88rem;
    padding: 11px 14px;
    transition: 0.2s;
}
.vac-form-card .form-control:focus,
.vac-form-card .form-select:focus {
    border-color: var(--vac-green);
    box-shadow: 0 0 0 3px rgba(134,184,23,0.15);
}

/* ── ICON BENEFIT ITEM ─────────────────────────────────────── */
.benefit-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.benefit-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 10px; background: rgba(134,184,23,0.1); display: flex; align-items: center; justify-content: center; color: var(--vac-green); font-size: 1.1rem; }
.benefit-text h6 { font-weight: 700; color: var(--vac-dark); margin-bottom: 2px; font-size: 0.9rem; }
.benefit-text p { font-size: 0.82rem; color: #6b7280; line-height: 1.5; margin: 0; }

/* ── FLOATING WHATSAPP ─────────────────────────────────────── */
.whatsapp-fixed {
    position: fixed; bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-fixed:hover { transform: scale(1.12); color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,0.6); }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 6px 36px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ── SPINNER ANIMADO ───────────────────────────────────────── */
.airplane-container {
    animation: flyAcross 1.5s ease-in-out infinite alternate;
}
@keyframes flyAcross {
    from { transform: translateX(-20px) rotate(-5deg); }
    to   { transform: translateX(20px) rotate(5deg); }
}

/* ── SECTION DIVIDER WAVE ──────────────────────────────────── */
.section-wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.section-wave svg { display: block; }

/* ── BADGE CATEGÍA BLOG ────────────────────────────────────── */
.badge-category {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
}

/* ── ANIMACIONES SUAVES ────────────────────────────────────── */
[data-wow-delay] { will-change: transform, opacity; }

@media (max-width: 768px) {
    .inner-hero { padding: 80px 0 60px; }
    .inner-hero h1 { font-size: 2.2rem; }
    .vac-form-card { padding: 1.8rem; }
    .counter-num { font-size: 2rem; }
}
