/* ============================================
   RutaViajeraSJR — Premium CSS Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@600;700;800;900&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
    /* Core Palette */
    --navy-900: #06101C;
    --navy-800: #0D1B2A;
    --navy-700: #152538;
    --navy-600: #1E3247;
    --navy-500: #2A4460;
    --primary: #0D1B2A;

    /* Gold Palette */
    --gold-400: #F0D78C;
    --gold-500: #D4B34B;
    --gold-600: #C9A227;
    --accent: #D4B34B;
    --accent-hover: #C9A227;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50:  #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-900: #111827;
    --text-dark: #111827;
    --text-light: #F9FAFB;

    /* UI */
    --bg-light: #FFFFFF;
    --bg-accent: #F3F4F6;
    --border-light: rgba(201, 162, 39, 0.2);
    --border-card: rgba(255,255,255,0.08);

    /* Glassmorphism */
    --glass-white: rgba(255, 255, 255, 0.08);
    --glass-dark: rgba(6, 16, 28, 0.65);

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:  0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg:  0 20px 50px rgba(0,0,0,0.18);
    --shadow-gold: 0 10px 32px rgba(212,179,75,0.3);

    /* Transitions */
    --ease: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ——— Reset ——— */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

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

/* ——— Scrollbar ——— */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--gold-600); border-radius: 6px; }

/* =========================================
   HEADER
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--ease);
}

header.scrolled {
    background: rgba(6, 16, 28, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 14px 6%;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: -0.5px;
    transition: var(--ease);
}

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.brand-rutas {
    color: white;
}

.brand-viajeras {
    color: var(--gold-400);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

header.scrolled .brand-viajeras {
    color: var(--gold-400);
    text-shadow: none;
}

/* Nav */
nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

nav ul li a {
    text-decoration: none;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    transition: var(--ease);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: var(--ease);
    border-radius: 2px;
}

nav ul li a:hover {
    color: var(--gold-400);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Header Buttons */
.header-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 60%, var(--gold-600) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold-400);
    color: var(--gold-400);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 6%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/imagen_con_sombra_avion.png') center/cover no-repeat;
    transform: scale(1.05);
    transition: transform 0.1s linear;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6,16,28,0.45) 0%,
        rgba(6,16,28,0.35) 40%,
        rgba(6,16,28,0.75) 100%
    );
}

/* Animated grain overlay */
.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.4);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease both;
    transition: var(--ease);
    cursor: pointer;
}

.hero-eyebrow:hover {
    background: rgba(201, 162, 39, 0.25);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    color: white;
}

.hero-eyebrow i {
    font-size: 0.75rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.9s ease 0.15s both;
    letter-spacing: -1px;
}

.hero h1 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold-400);
    font-weight: 700;
}

.hero > .hero-content > p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.82);
    margin-bottom: 44px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 0.9s ease 0.3s both;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.45s both;
}

/* Hero Stats Bar */
.hero-stats-mobile {
    display: none;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0;
    background: rgba(6, 16, 28, 0.7);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: fadeIn 1s ease 0.7s both;
    overflow-x: auto;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 48px;
    border-right: 1px solid rgba(255,255,255,0.06);
    min-width: 160px;
}

.hero-stat:last-child { border-right: none; }

.hero-stat strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
}

.hero-stat span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* =========================================
   SECTIONS GENERAL
   ========================================= */
.section {
    padding: 110px 6%;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 2px;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title .section-tag {
    justify-content: center;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-800);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title p {
    max-width: 540px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.05rem;
}

.section-title .underline-bar {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    margin: 18px auto 0;
    border-radius: 3px;
}

/* =========================================
   SERVICES GRID
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.service-card {
    background: var(--white);
    padding: 20px 12px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    opacity: 0;
    transition: var(--ease);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(201,162,39,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: var(--ease);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,162,39,0.3);
    transform: translateY(-8px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201,162,39,0.12), rgba(201,162,39,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--gold-500);
    transition: var(--ease);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    box-shadow: var(--shadow-gold);
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-800);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    display: none;
}

/* =========================================
   DESTINATIONS
   ========================================= */
#destinos {
    background: var(--gray-50);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.destination-card {
    position: relative;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover img {
    transform: scale(1.08);
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(6,16,28,0.9) 0%,
        rgba(6,16,28,0.4) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 16px;
    transition: var(--ease);
}

.destination-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(201,162,39,0.9);
    backdrop-filter: blur(4px);
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.destination-overlay h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.destination-overlay p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-bottom 0.3s ease;
}

.destination-card:hover .destination-overlay p {
    max-height: 60px;
    margin-bottom: 18px;
}

.destination-overlay .btn {
    align-self: flex-start;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

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

/* =========================================
   PACKAGES
   ========================================= */
#paquetes {
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

#paquetes::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 70%);
    pointer-events: none;
}

#paquetes::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(21,37,56,0.8) 0%, transparent 70%);
    pointer-events: none;
}

#paquetes .section-title h2 {
    color: var(--white);
}

#paquetes .section-title p {
    color: rgba(255,255,255,0.55);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

/* ── Carousel (landing packages) ── */
.pkg-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.pkg-carousel-arrow {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(201,162,39,0.4);
    background: rgba(6,16,28,0.6);
    backdrop-filter: blur(10px);
    color: var(--gold-400);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.pkg-carousel-prev { left: -26px; }
.pkg-carousel-next { right: -26px; }

.pkg-carousel-arrow:hover {
    background: var(--gold-500);
    border-color: var(--gold-400);
    color: var(--navy-900);
    box-shadow: 0 0 0 6px rgba(201,162,39,0.15), var(--shadow-gold);
    transform: translateY(-50%) scale(1.08);
}

.pkg-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pkg-carousel-wrapper .packages-grid {
    flex: 1;
    min-width: 0;
}

.pkg-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.pkg-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.pkg-carousel-dot.active {
    background: var(--gold-400);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(201,162,39,0.5);
}

/* fade/slide animation for carousel cards */
#landingPackagesGrid .package-card {
    animation: carouselFadeIn 0.45s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes carouselFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive: tablet show 2, mobile show 1 */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .pkg-carousel-prev { left: 4px; }
    .pkg-carousel-next { right: 4px; }
    .pkg-carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

.package-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--ease);
    backdrop-filter: blur(8px);
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201,162,39,0.35);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,162,39,0.1);
}

.package-card.featured {
    border-color: rgba(201,162,39,0.5);
    background: rgba(201,162,39,0.06);
    position: relative;
}

.package-card.featured::before {
    content: '⭐ DESTACADO';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-900);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 5;
}

.package-img {
    height: 210px;
    overflow: hidden;
    position: relative;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.package-card:hover .package-img img {
    transform: scale(1.07);
}

.package-body {
    padding: 28px;
}

.package-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.package-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.83rem;
    margin-bottom: 16px;
}

.package-meta i {
    color: var(--gold-400);
}

.package-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}

.package-tag {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    font-size: 0.73rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
}

.package-price .label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

.package-price .amount {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
}

.package-price .currency {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 36px;
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    transition: var(--ease);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: rgba(201,162,39,0.12);
    position: absolute;
    top: 10px;
    left: 28px;
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(201,162,39,0.25);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.stars i {
    color: var(--gold-400);
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 0.97rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.avatar-blue  { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.avatar-green { background: linear-gradient(135deg, #10B981, #047857); }
.avatar-purple{ background: linear-gradient(135deg, #8B5CF6, #6D28D9); }

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* =========================================
   VALUE PROPOSITIONS
   ========================================= */
.value-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}

.value-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,39,0.06) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    pointer-events: none;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px;
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    overflow: hidden;
}

.value-item {
    padding: 52px 36px;
    text-align: center;
    background: transparent;
    transition: var(--ease);
    position: relative;
}

.value-item:hover {
    background: rgba(201,162,39,0.05);
}

.value-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(201,162,39,0.12);
    border: 1px solid rgba(201,162,39,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.6rem;
    color: var(--gold-400);
    transition: var(--ease);
}

.value-item:hover .value-icon {
    background: var(--gold-500);
    color: var(--navy-900);
    box-shadow: var(--shadow-gold);
    transform: scale(1.08);
}

.value-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-container {
    max-width: 1040px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.contact-info {
    background: linear-gradient(145deg, var(--navy-800) 0%, var(--navy-600) 100%);
    color: white;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(201,162,39,0.07);
    pointer-events: none;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.contact-info > p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 44px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail-text strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-detail-text span {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.contact-form {
    padding: 60px 50px;
    background: var(--white);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--navy-800);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--gray-50);
    transition: var(--ease);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201,162,39,0.08);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

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

/* =========================================
   WHATSAPP
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: #25D366;
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--ease-spring);
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(-4deg);
    box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: waPulse 2.5s ease infinite;
    z-index: -1;
}

@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { opacity: 0; }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.65);
    padding: 80px 6% 0;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 28px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--ease);
}

.social-icon:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--navy-900);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-links li a {
    text-decoration: none;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    transition: var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-600);
    opacity: 0;
    transition: var(--ease);
    flex-shrink: 0;
}

.footer-links li a:hover {
    color: var(--gold-400);
    padding-left: 4px;
}

.footer-links li a:hover::before {
    opacity: 1;
}

.footer-newsletter p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: none;
    outline: none;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-form button {
    padding: 12px 18px;
    background: var(--gold-500);
    border: none;
    color: var(--navy-900);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: var(--ease);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--gold-400);
}

.footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: var(--ease);
}

.footer-bottom a:hover {
    color: var(--gold-400);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* =========================================
   ANNOUNCEMENT BAR
   ========================================= */
#rv-announcement-bar {
    position: relative;
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 10px 6%;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.2px;
    min-height: 40px;
}

#rv-announcement-bar a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.23s var(--ease);
}

#rv-announcement-bar a:hover {
    opacity: 0.85;
}

/* Page adjustments when announcement is active */
body.has-announcement header {
    top: 40px;
}

body.has-announcement .hero {
    height: calc(100vh - 40px);
}

/* Announcement Floating */
.rv-ann-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    max-width: 320px;
    width: calc(100% - 60px);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
    animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rv-ann-content {
    display: flex;
    align-items: center;
    padding: 16px 44px 16px 16px;
    position: relative;
    font-family: 'Outfit', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.4;
}

.rv-ann-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 14px;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
}

.rv-ann-text {
    flex: 1;
}

.rv-ann-content a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.rv-ann-content a:hover {
    text-decoration: underline;
}

.rv-ann-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.23s var(--ease);
}

.rv-ann-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 480px) {
    .rv-ann-floating {
        bottom: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }
}

/* =========================================
   FILTERS & SKELETONS
   ========================================= */
.package-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-group {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-group i {
    position: absolute;
    left: 16px;
    color: var(--gold-500);
    font-size: 1.1rem;
    pointer-events: none;
}

.filter-group input,
.filter-group select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    padding: 14px 20px 14px 44px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--ease);
    min-width: 260px;
    backdrop-filter: blur(8px);
}

.filter-group select {
    appearance: none;
    cursor: pointer;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
    background: rgba(255,255,255,0.1);
}

.filter-group select option {
    background: var(--navy-800);
    color: var(--white);
}

/* Skeletons */
.skeleton {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    height: 100%;
    width: 150%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    animation: skeleton-loading 1.5s infinite linear;
}

@keyframes skeleton-loading {
    0% { transform: translateX(0); }
    100% { transform: translateX(200%); }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 10px;
    border-radius: 4px;
}

    .skeleton-button {
    height: 48px;
    border-radius: 50px;
}

/* =========================================
   RESPONSIVE — COMPLETO
   ========================================= */

/* ── Mobile menu button base ── */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: var(--ease);
    line-height: 1;
}

.mobile-menu-btn:hover { background: rgba(255,255,255,0.08); }

/* Nav container (collapses on mobile) */
.nav-container {
    display: flex;
    align-items: center;
    gap: 36px;
}

/* ── 1200px ── */
@media (max-width: 1200px) {
    .section { padding: 90px 5%; }
    .contact-container { max-width: 100%; }
    .value-item { padding: 40px 24px; }
    .hero-stat { padding: 20px 36px; }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .packages-grid { grid-template-columns: repeat(2, 1fr); }
    .destinations-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-container { grid-template-columns: 1fr 1.2fr; }
}

/* ── 900px ── */
@media (max-width: 900px) {
    .section { padding: 80px 5%; }

    /* Nav: hidden, mobile dropdown */
    .mobile-menu-btn { display: block; }

    .nav-container {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(6, 16, 28, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        padding: 28px 6%;
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        animation: fadeIn 0.2s ease;
        z-index: 999;
    }

    .nav-container.open { display: flex; }

    nav { display: block; width: 100%; margin-bottom: 20px; }
    nav ul { flex-direction: column; gap: 0; text-align: center; }
    nav ul li a {
        display: block;
        font-size: 1rem;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .header-btns {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
        justify-content: center;
    }
    .header-btns .btn { flex: 1; min-width: 140px; justify-content: center; }

    /* Hero */
    .hero h1 { font-size: 2.6rem; letter-spacing: -0.5px; }
    .hero > .hero-content > p { font-size: 1.05rem; }
    .hero-stats { flex-wrap: wrap; overflow-x: hidden; }
    .hero-stat { padding: 18px 32px; min-width: 140px; }

    /* Grids: 2 col */
    .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .destinations-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    /* Contact */
    .contact-container { grid-template-columns: 1fr; }
    .contact-info { padding: 48px 40px; }
    .contact-form { padding: 48px 40px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── 768px ── */
@media (max-width: 768px) {
    .section { padding: 72px 5%; }

    /* Header */
    header { padding: 18px 5%; }
    header.scrolled { padding: 12px 5%; }
    .logo { font-size: 1.3rem; }
    .logo img { height: 44px; }

    /* Hero */
    .hero {
        height: auto;
        min-height: auto;
        justify-content: flex-start;
        padding-top: 130px;
        padding-bottom: 60px;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero > .hero-content > p { font-size: 0.98rem; margin-bottom: 36px; }
    .hero-eyebrow { font-size: 0.72rem; padding: 7px 16px; margin-bottom: 22px; }
    .cta-group { gap: 12px; }

    /* Hero stats: hidden on mobile in favor of inline version */
    .hero-stats {
        display: none !important;
    }
    .hero-stats-mobile {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 35px;
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
    }
    .hero-stats-mobile .hero-stat {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 12px 10px;
        flex: 1 1 calc(50% - 12px);
        min-width: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: var(--ease);
    }
    .hero-stats-mobile .hero-stat strong {
        font-family: 'Outfit', sans-serif;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--gold-400);
        line-height: 1.2;
    }
    .hero-stats-mobile .hero-stat span {
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 2px;
        line-height: 1.2;
    }

    /* Sections */
    .section-title { margin-bottom: 50px; }
    .section-title h2 { font-size: 1.8rem; }

    /* Package cards: 1 col */
    .packages-grid { grid-template-columns: 1fr; gap: 20px; }
    .package-img { height: 200px; }
    .package-body { padding: 22px; }

    /* Destinations: 1 col */
    .destinations-grid { grid-template-columns: 1fr; gap: 18px; }
    .destination-card { height: 340px; }

    /* Services: 3 columns */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .service-card { padding: 15px 10px; }

    /* Testimonials: 1 col */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 32px 28px; }

    /* Value */
    .value-grid { grid-template-columns: 1fr 1fr; }
    .value-item { padding: 36px 20px; }

    /* Contact */
    .contact-info { padding: 40px 32px; }
    .contact-form { padding: 40px 32px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info h3 { font-size: 1.5rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }

    /* Packages filter */
    .package-filters { flex-direction: column; align-items: center; gap: 12px; }
    .filter-group { width: 100%; }
    .filter-group input, .filter-group select { width: 100%; min-width: unset; }

    /* Hero announcement */
    body.has-announcement header { top: 40px; }
    body.has-announcement .hero { height: auto; min-height: auto; }
}

/* ── 640px ── */
@media (max-width: 640px) {
    .section { padding: 60px 5%; }

    /* Hero */
    .hero {
        height: auto;
        min-height: auto;
        padding-top: 115px;
        padding-bottom: 50px;
    }
    .hero h1 { font-size: 1.9rem; }
    .hero > .hero-content > p { font-size: 0.92rem; }

    /* Grids: single column everywhere */
    .value-grid { grid-template-columns: 1fr; }
    .value-item { padding: 32px 20px; }

    /* Buttons in hero */
    .cta-group { flex-direction: column; align-items: center; gap: 10px; }
    .cta-group .btn { width: 100%; max-width: 300px; justify-content: center; }

    /* Hero stats: compact */
    .hero-stat { padding: 14px 20px; }
    .hero-stat strong { font-size: 1.4rem; }
    .hero-stat span { font-size: 0.7rem; }

    /* Service cards: 2 columns */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .service-card { padding: 12px 8px; }
    .service-icon { width: 36px; height: 36px; font-size: 1rem; }

    /* Destination card */
    .destination-card { height: 300px; }
    .destination-overlay { padding: 22px 20px; }
    .destination-overlay h3 { font-size: 1.2rem; }

    /* Package card */
    .package-img { height: 180px; }
    .package-body { padding: 18px; }
    .package-body h3 { font-size: 1.1rem; }
    .package-price .amount { font-size: 1.5rem; }

    /* Section title */
    .section-title h2 { font-size: 1.6rem; }
    .section-title { margin-bottom: 40px; }

    /* Contact */
    .contact-container { border-radius: 20px; }
    .contact-info { padding: 32px 24px; }
    .contact-info h3 { font-size: 1.3rem; }
    .contact-form { padding: 32px 24px; }

    /* Footer */
    .footer-grid { gap: 28px; }

    /* Logo smaller */
    .logo { font-size: 1.15rem; }
    .logo img { height: 38px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
    .section { padding: 52px 4%; }

    /* Header */
    header { padding: 14px 4%; }

    /* Hero */
    .hero {
        height: auto;
        min-height: auto;
        padding: 95px 5% 40px;
    }
    .hero h1 { font-size: 1.7rem; letter-spacing: -0.3px; }
    .hero > .hero-content > p { font-size: 0.88rem; }
    .cta-group .btn { max-width: 100%; }

    /* Buttons */
    .btn { padding: 12px 24px; font-size: 0.85rem; }
    .btn-sm { padding: 9px 18px; font-size: 0.78rem; }

    /* Hero stats: scroll horizontal */
    .hero-stats { justify-content: flex-start; }
    .hero-stat { padding: 12px 18px; min-width: 110px; }
    .hero-stat strong { font-size: 1.3rem; }

    /* Packages filter */
    .package-filters { gap: 10px; }

    /* Service card */
    .service-card { padding: 26px 18px; }

    /* Destination */
    .destination-card { height: 260px; }

    /* Contact */
    .contact-info { padding: 26px 18px; }
    .contact-form { padding: 26px 18px; }
    .contact-detail { gap: 12px; }
    .contact-detail-icon { width: 38px; height: 38px; font-size: 0.9rem; }

    /* Footer */
    .footer-grid { gap: 24px; }
    .footer-brand p { font-size: 0.85rem; }
    .footer-links h4 { font-size: 0.88rem; }
    .footer-links a { font-size: 0.82rem; }

    /* Announcement floating */
    .rv-ann-floating { bottom: 16px; right: 16px; width: calc(100% - 32px); max-width: none; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quote Modal Responsive */
@media (max-width: 800px) {
    #quoteModal .auth-modal-container {
        flex-direction: column !important;
        max-width: 450px !important;
        width: 90% !important;
    }
    #quoteModal .modal-info-side {
        display: none !important;
    }
    #quoteModal .auth-modal-container > div:last-child {
        padding: 30px 20px !important;
        flex: 1 !important;
    }
}

/* Explora Section Compact */
#explora {
    padding-top: 40px !important;
}
#explora .section-title {
    margin-bottom: 25px !important;
}

/* Packages Modal Overlay — Floating Rounded Card Version */
.packages-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none; /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.packages-modal.open {
    display: flex !important; /* Forzar visibilidad cuando tiene la clase open */
    opacity: 1;
}

.packages-modal-content {
    width: 92%;
    max-width: 1100px;
    height: 90vh;
    background: #ffffff;
    margin: auto;
    position: relative;
    border-radius: 40px; /* Súper redondeado */
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.4);
    padding: 50px 6%;
    overflow-y: auto;
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--gold-400) transparent;
}

/* Custom Scrollbar for the rounded over */
.packages-modal-content::-webkit-scrollbar {
    width: 6px;
}
.packages-modal-content::-webkit-scrollbar-thumb {
    background: var(--gold-400);
    border-radius: 10px;
}

.packages-modal.open .packages-modal-content {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute; /* Ahora relativo al contenedor redondeado */
    top: 25px;
    right: 25px;
    background: #f1f5f9;
    color: var(--navy-900);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    transform: rotate(90deg);
    background: var(--gold-500);
    color: var(--white);
}

.packages-modal .section-title h2 {
    color: var(--navy-900) !important;
}

.packages-modal .section-title p {
    color: var(--slate-600) !important;
}

/* --- New Two-Tier Filter Layout --- */
.packages-modal-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.packages-modal .search-bar-container .filter-group {
    border-radius: 16px;
    height: 54px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    width: 100%;
}

.packages-modal .filter-controls-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* --- Centered Filter Styles with Fixed Icons --- */
.packages-modal .filter-group {
    background: #ffffff;
    padding: 10px 45px; /* Aire lateral para los iconos fijos */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 54px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative; /* Necesario para iconos absolutos */
    text-align: center;
}

.packages-modal .group-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-500);
    font-size: 1rem;
    pointer-events: none;
    opacity: 0.8;
}

.packages-modal .filter-group.search-box {
    padding: 0 50px;
}

.packages-modal .filter-group label {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold-600);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    width: 100%;
    text-align: center;
}

.packages-modal .filter-group input, 
.packages-modal .filter-group select {
    background: transparent;
    border: none;
    color: var(--navy-900);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
    width: 100%;
    cursor: pointer;
    padding: 0;
    text-align: center;
    text-align-last: center; /* Centrar texto en SELECT */
}

.packages-modal .filter-group input::placeholder {
    text-align: center;
}

.packages-modal .filter-group label {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold-600);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    line-height: 1;
}

.packages-modal .filter-group input, 
.packages-modal .filter-group select {
    background: transparent;
    border: none;
    color: var(--navy-900);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    width: 100%;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.packages-modal .filter-group.search-box i {
    font-size: 1rem;
    color: var(--gold-500);
    flex-shrink: 0;
}

.packages-modal .filter-group.search-box input {
    font-size: 0.9rem;
    cursor: text;
}

/* Fix para móviles: apilar si el ancho es insuficiente */
@media (max-width: 950px) {
    .packages-modal .package-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .packages-modal .package-filters {
        grid-template-columns: 1fr;
    }
}

/* Responsivo para el nuevo diseño de filtros */
@media (max-width: 800px) {
    .packages-modal .filter-controls-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .packages-modal .filter-controls-row {
        grid-template-columns: 1fr;
    }
}

/* --- Premium Login Button (Sized to match btn-sm) --- */
.nav-login-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    padding: 4px 18px 4px 4px; /* Ajustado para simetría con btn-sm */
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif; /* Cambiado a Outfit para consistencia */
    font-weight: 700;
    font-size: 0.85rem; /* Match btn-sm */
    color: var(--navy-900);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 42px; /* Altura equivalente a btn-sm */
}

.nav-login-btn:hover {
    border-color: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.15);
}

.nav-login-btn .login-icon-wrap {
    width: 32px; /* Reducido de 38px */
    height: 32px;
    border-radius: 50%;
    background: var(--gold-500);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.nav-login-btn:hover .login-icon-wrap {
    transform: rotate(15deg) scale(1.05);
}

/* --- Premium Split Auth Modal --- */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); /* Un poco más oscuro para resaltar */
    backdrop-filter: blur(15px);
    z-index: 999999; /* Por encima de absolutamente todo */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* No bloquea clics cuando está cerrado */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all; /* Activa interacción */
}

.auth-card {
    background: #ffffff;
    width: 95%;
    max-width: 900px;
    min-height: 600px;
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    transform: translateY(40px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-modal-overlay.open .auth-card {
    transform: translateY(0) scale(1);
}

.auth-card-promo {
    flex: 1;
    background: url('img/auth_promo_bg.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centrado horizontal */
    text-align: center;   /* Centrado de texto */
    padding: 60px;
    color: #ffffff;
}

.auth-card-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.1) 100%);
}

.promo-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.promo-brand {
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-400);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.promo-brand::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gold-400);
    border-radius: 2px;
}

.promo-logo-img {
    max-width: 140px;
    margin: 20px auto 30px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.auth-card-promo h2 {
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.auth-card-promo p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.auth-card-form {
    flex: 1.2;
    padding: 50px;
    background: #ffffff;
    position: relative;
    overflow-y: auto;
}

.auth-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.auth-close-btn:hover {
    background: #e2e8f0;
    color: var(--navy-900);
    transform: rotate(90deg);
}

.auth-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 2px solid #f1f5f9;
}

.auth-tab-btn {
    padding: 0 0 15px;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.auth-tab-btn.active {
    color: var(--gold-600);
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-600);
}

.auth-form-group {
    margin-bottom: 25px;
}

.auth-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.auth-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.auth-form-group input:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.08);
}

/* Responsivo para el modal split */
@media (max-width: 850px) {
    .auth-card {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
    }
    .auth-card-promo {
        display: none;
    }
    .auth-card-form {
        padding: 40px 30px;
    }
}
    font-size: 1.1rem;
}

.packages-modal .package-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.packages-modal .package-body h3 {
    color: var(--navy-900);
}

.packages-modal .package-meta {
    color: var(--slate-500);
}

.packages-modal .package-img {
    height: 180px;
}

.packages-modal .package-price .label,
.packages-modal .package-includes {
    color: var(--slate-600);
}

.packages-modal .package-price .amount {
    color: var(--navy-900);
}

.packages-modal .package-tag {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--navy-900);
}


/* --- Mobile Modal Filters --- */
@media (max-width: 600px) {
    .packages-modal .package-filters {
        padding: 16px;
        gap: 12px;
    }
    
    .packages-modal .filter-controls {
        grid-template-columns: 1fr;
    }
    
    .packages-modal .filter-group.search-box {
        padding: 12px 16px;
    }
}

/* --- Responsive Form Grid --- */
.responsive-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
@media (max-width: 640px) {
    .responsive-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ════════════════════════════════════════
   SERVICE PRODUCTS CATALOG STYLES
   ════════════════════════════════════════ */
.service-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.service-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

.service-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.15);
    border-color: #cbd5e1;
}

.service-product-img-wrapper {
    height: 140px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.service-product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-product-card:hover .service-product-img-wrapper img {
    transform: scale(1.08);
}

.service-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-product-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.service-product-info p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.service-product-tags span {
    font-size: 0.72rem;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.service-product-tags span i {
    font-size: 0.65rem;
    color: #10b981;
}

.service-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.service-product-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #c9a227;
}

.btn-cotizar-prod {
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-cotizar-prod:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-cotizar-prod:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .service-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-products-section {
        padding: 0 20px 20px !important;
    }
}
