
/* ===== GLOBAL OVERFLOW PROTECTION ===== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe,
table {
    max-width: 100%;
    height: auto;
}

section,
.container,
.row,
[class*="grid"],
[class*="layout"] {
    min-width: 0;
}

/* Prevent grid overflow issues */
[class*="grid"] > *,
[class*="layout"] > * {
    min-width: 0;
}


/* ============================================
   EUROVIPS - Estilos Principales
   Operador Mayorista de Turismo
   ============================================ */

   *,
*::before,
*::after {
  box-sizing: border-box;
}

/* Variables CSS */
:root {
    /* Colores principales Eurovips */
    --primary: #009A96;
    --primary-dark: #007873;
    --primary-light: #00B5B0;
    --primary-lighter: #E6F7F6;

    /* Colores neutros */
    --dark: #2C2C2C;
    --gray-dark: #4A4A4A;
    --gray: #6B7280;
    --gray-medium: #9E9E9E;
    --gray-light: #E5E7EB;
    --gray-lighter: #F5F5F5;
    --white: #FFFFFF;

    /* Colores de acento */
    --accent-orange: #FF6B35;
    --accent-red: #DC2626;
    --accent-green: #10B981;
    --accent-yellow: #FBBF24;

    /* Tipografía */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Espaciados */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Bordes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* Reset y Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: var(--space-lg);
}

.top-contact a {
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.top-contact a:hover {
    color: var(--primary-light);
}

.top-social {
    display: flex;
    gap: var(--space-md);
}

.top-social a {
    color: var(--gray-light);
    font-size: 1rem;
}

.top-social a:hover {
    color: var(--primary-light);
    transform: scale(1.1);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-sticky);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-dark);
    font-weight: 500;
    border-radius: var(--radius-md);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
    background: var(--primary-lighter);
}

.nav-menu > li > a i {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: var(--z-dropdown);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-dark);
}

.dropdown-menu li a:hover {
    background: var(--primary-lighter);
    color: var(--primary);
}

.dropdown-menu li:first-child a {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    max-width: 700px;
    padding: 0 var(--space-2xl);
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

.hero-controls {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 2;
}

.hero-prev,
.hero-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: var(--radius-full);
    backdrop-filter: blur(5px);
    transition: var(--transition-normal);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary);
}

.hero-dots {
    display: flex;
    gap: var(--space-sm);
}

.hero-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.hero-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.search-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: var(--space-2xl);
}

.search-box {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.search-box h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--dark);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: var(--space-md);
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-group label i {
    color: var(--primary);
}

.form-group select,
.form-group input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-search {
    height: fit-content;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-lighter);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.section-badge.hot {
    background: var(--accent-orange);
    color: var(--white);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: var(--space-xl);
}

.category-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 350px;
    display: block;
    transition: var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.category-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    color: var(--white);
}

.category-content i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: var(--space-sm);
}

.category-content h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.category-content p {
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.category-count {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   PACKAGES / OFFERS SECTION
   ============================================ */
.offers-section {
    background: var(--gray-lighter);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: var(--space-xl);
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.package-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.package-card:hover .package-image img {
    transform: scale(1.05);
}

.package-badges {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.package-badge {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.package-badge.hot {
    background: var(--accent-orange);
    color: var(--white);
}

.package-badge.category {
    background: var(--primary);
    color: var(--white);
}

.package-favorite {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--gray);
    transition: var(--transition-normal);
}

.package-favorite:hover {
    color: var(--accent-red);
}

.package-content {
    padding: var(--space-lg);
}

.package-destination {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.package-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-title a {
    color: var(--dark);
}

.package-title a:hover {
    color: var(--primary);
}

.package-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-light);
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--gray);
}

.package-meta i {
    color: var(--primary);
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-price {
    display: flex;
    flex-direction: column;
}

.package-price .label {
    font-size: 0.75rem;
    color: var(--gray);
}

.package-price .amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.package-price .currency {
    font-size: 0.875rem;
    font-weight: 400;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--gray);
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

/* ============================================
   AEREOS SECTION
   ============================================ */
.aereos-promo {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: var(--space-2xl);
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    overflow: hidden;
}

.aereos-content {
    color: var(--white);
}

.aereos-content .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.aereos-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin: var(--space-md) 0;
}

.aereos-content p {
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.aereos-features {
    margin-bottom: var(--space-xl);
}

.aereos-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.aereos-features i {
    color: var(--accent-yellow);
}

.aereos-content .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.aereos-content .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.aereos-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.aereos-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ============================================
   WHY US / FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    background: var(--primary-lighter);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--gray-lighter);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    margin-bottom: var(--space-md);
}

.testimonial-stars i {
    color: var(--accent-yellow);
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--primary);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    background: var(--primary);
    padding: var(--space-2xl) 0;
}

.newsletter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-2xl);
}

.newsletter-content {
    color: var(--white);
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.newsletter-content p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
}

.newsletter-form input {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    min-width: 300px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn-primary {
    background: var(--dark);
    border-color: var(--dark);
}

.newsletter-form .btn-primary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-logo .logo-tagline {
    color: var(--gray-medium);
}

.footer-col p {
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: var(--gray-light);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-list i {
    color: var(--primary-light);
    margin-top: 4px;
}

.contact-list a {
    display: block;
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.footer-bottom p {
    margin-bottom: var(--space-xs);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: #25D366;
    color: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: var(--transition-normal);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float span {
    font-weight: 500;
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .categories-grid,
    .packages-grid,
    .testimonials-slider {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .search-form {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .btn-search {
        grid-column: span 2;
    }

    .aereos-promo {
        grid-template-columns: 1fr;
    }

    .aereos-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .featured-destinations {
        display: none;
    }

    .ciudadesquevisitamos {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--white);
        padding: var(--space-lg);
        gap: 0;
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-menu > li > a {
        padding: var(--space-md);
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: var(--space-lg);
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        padding: var(--space-lg);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .search-section {
        margin-top: -40px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .btn-search {
        grid-column: 1;
    }

    .categories-grid,
    .packages-grid,
    .testimonials-slider,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: var(--space-md);
        border-radius: var(--radius-full);
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    section {
        padding: var(--space-2xl) 0;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .category-card {
        height: 280px;
    }
}

/* ============================================
   HERO SLIDER dinámico (home)
   ============================================ */
.hero-slider-section { position: relative; padding: 0 !important; margin: 0; }
#heroSlider { position: relative; height: 600px; overflow: hidden; }
#heroSlider .hero-slides { position: absolute; inset: 0; }
#heroSlider .hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
    padding-top: 110px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease;
}
#heroSlider .hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide-content { max-width: 620px; color: #fff; }
.hero-noches { font-size: 1.1rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; opacity: 0.95; }
.hero-slide-content h1 { font-size: 3.6rem; line-height: 1.05; margin: 10px 0 14px; color: #fff; font-weight: 700; }
.hero-precio { font-size: 2rem; font-weight: 700; margin-bottom: 14px; }
.hero-slide-content p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 26px; opacity: 0.95; max-width: 520px; }
.btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--primary, #009A96);
    padding: 14px 30px; border-radius: 40px; font-weight: 600;
    text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.hero-nav {
    position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 10px; z-index: 5;
}
.hero-num {
    background: none; border: none; color: rgba(255,255,255,0.55);
    font-size: 1rem; font-weight: 600; cursor: pointer; padding: 4px 8px;
    transition: color .2s; letter-spacing: 0.05em;
}
.hero-num.active, .hero-num:hover { color: #fff; }
.hero-num.active::after { content: ''; display: block; width: 100%; height: 2px; background: #fff; margin-top: 2px; }
.hero-arrow {
    position: absolute; left: 40px; background: rgba(255,255,255,0.18);
    border: none; color: #fff; width: 42px; height: 42px; border-radius: 50%;
    cursor: pointer; z-index: 5; transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.35); }
.hero-prev { top: calc(50% - 50px); }
.hero-next { top: calc(50% + 8px); }
@media (max-width: 768px) {
    #heroSlider { height: 480px; }
    .hero-slide-content h1 { font-size: 2.2rem; }
    .hero-precio { font-size: 1.5rem; }
    .hero-nav { right: 12px; }
    .hero-arrow { left: 12px; width: 36px; height: 36px; }
}

/* ============================================
   BANNER SLIDER de cadenas / destinos (home)
   ============================================ */
.chains-banner { padding: var(--space-2xl, 48px) 0; background: var(--gray-lighter, #f3f4f6); }
.chains-slider { position: relative; max-width: 1080px; margin: 0 auto; min-height: 180px; }
.chains-slide {
    display: none; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: stretch;
    text-decoration: none; animation: chainsFade .6s ease;
}
.chains-slide.active { display: grid; }
@keyframes chainsFade { from { opacity: 0; } to { opacity: 1; } }
.chains-logo {
    background: linear-gradient(135deg,#fff 0%,#f5f7fa 100%);
    border-radius: 100px; box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    display: flex; align-items: center; justify-content: center; min-height: 170px; padding: 20px 40px;
}
.chains-logo span { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.chains-logo b { font-size: 2.1rem; font-weight: 800; letter-spacing: 0.02em; }
.chains-logo small { font-size: 0.62rem; letter-spacing: 0.28em; margin-top: 4px; color: inherit; opacity: 0.85; }
.chains-logo i { font-size: 1.4rem; margin-bottom: 6px; }
.logo-bp { color: #1c4a8a; } .logo-bp i { color: #d9a441; }
.logo-ib { color: #0c2746; } .logo-ib i { color: #3aa6a0; }
.logo-riu b { color: #e2231a; } .logo-riu small { color: #e2231a; }
.chains-photo {
    position: relative; border-radius: 100px; overflow: hidden; min-height: 170px;
    background-size: cover; background-position: center; box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    display: flex; align-items: center; gap: 18px; padding-left: 28px;
}
.chains-photo::before { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%); }
.chains-touch {
    position: relative; z-index: 1; width: 70px; height: 70px; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.chains-touch i { font-size: 1.8rem; color: var(--primary, #009A96); }
.chains-txt { position: relative; z-index: 1; color: #fff; font-size: 1.9rem; font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.chains-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.9); color: var(--dark,#333); box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.chains-prev { left: -8px; } .chains-next { right: -8px; }
.chains-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.chains-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-light, #d1d5db); border: none; cursor: pointer; transition: background .2s; }
.chains-dot.active { background: var(--primary, #009A96); }
@media (max-width: 768px) {
    .chains-slide { grid-template-columns: 1fr; }
    .chains-txt { font-size: 1.3rem; }
    .chains-logo, .chains-photo { min-height: 130px; }
}

/* Banner cadenas: imágenes completas, solo slide activa visible */
#chainsSlider .chains-slide { display: none !important; }
#chainsSlider .chains-slide.active { display: block !important; animation: chainsFade .6s ease; }
#chainsSlider .chains-slide img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* ============================================
   OFERTA HOT destacada (home)
   ============================================ */
.oferta-hot-section { padding: var(--space-2xl) 0; }
.oferta-hot-card {
    display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
    background: linear-gradient(135deg, #009A96 0%, #007873 100%);
    border-radius: 20px; overflow: hidden; box-shadow: 0 16px 44px rgba(0,154,150,0.30);
}
.oferta-hot-info { padding: 44px 48px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.oferta-hot-badge {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    background: #FF6B35; color: #fff; font-weight: 700; font-size: 0.85rem;
    padding: 6px 18px; border-radius: 30px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
.oferta-hot-info h2 { color: #fff; font-size: 2.3rem; line-height: 1.1; margin-bottom: 14px; }
.oferta-hot-urgencia { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); padding: 8px 16px; border-radius: 10px; font-size: 0.92rem; margin-bottom: 18px; align-self: flex-start; }
.oferta-hot-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; opacity: 0.95; font-size: 0.92rem; }
.oferta-hot-meta i { margin-right: 5px; }
.oferta-hot-precio { margin-bottom: 24px; }
.oferta-hot-precio .oh-desde { font-size: 0.9rem; opacity: 0.9; }
.oferta-hot-precio strong { font-size: 2rem; font-weight: 800; }
.oferta-hot-info .btn { align-self: flex-start; background: #fff; color: var(--primary); border-color: #fff; }
.oferta-hot-info .btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.oferta-hot-img { background-size: cover; background-position: center; min-height: 320px; }
@media (max-width: 768px) {
    .oferta-hot-card { grid-template-columns: 1fr; }
    .oferta-hot-info { padding: 32px 26px; }
    .oferta-hot-info h2 { font-size: 1.7rem; }
    .oferta-hot-img { min-height: 220px; order: -1; }
}

/* ============================================
   Categorías compactas (home, al final)
   ============================================ */
.categories-section .categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}
.categories-section .category-card { border-radius: 12px; }
.categories-section .category-image { height: 150px; }
.categories-section .category-content { padding: var(--space-md); }
.categories-section .category-content i { font-size: 1.4rem; }
.categories-section .category-content h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.categories-section .category-content p { font-size: 0.78rem; line-height: 1.35; }
.categories-section .category-content .category-count { font-size: 0.72rem; margin-top: 6px; }
@media (max-width: 992px) {
    .categories-section .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .categories-section .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-section .category-image { height: 120px; }
}

/* Fix: títulos de categorías visibles (color oscuro) */
.categories-section .category-content h3 { color: var(--dark) !important; }
.categories-section .category-content p { color: var(--gray) !important; }
.categories-section .category-content .category-count { color: var(--white) !important; background: var(--primary) !important; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-sm); }

/* Segmento vacío (placeholder) */
.empty-segment {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    background: var(--gray-lighter);
    border: 2px dashed var(--gray-light);
    border-radius: var(--radius-xl);
    color: var(--gray);
}
.empty-segment i { font-size: 2.5rem; color: var(--primary); margin-bottom: 14px; display: block; }
.empty-segment p { font-size: 0.95rem; margin: 0; }

/* ============================================
   Logo Eurovips (imagen) header + footer
   ============================================ */
.logo-img { height: 52px; width: auto; display: block; }
.footer-logo-img { height: 56px; width: auto; display: block; margin-bottom: var(--space-md); }
@media (max-width: 768px) { .logo-img { height: 42px; } }

/* Itinerario no disponible en tabla de fechas */
.itinerario-na { font-size: 0.82rem; color: var(--gray); font-style: italic; }
