/* ============================================
   BuscadorDeVuelos.com — Custom Styles
   Bootstrap 5.3 + Custom CSS
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #0B3D91;
    --primary-light: #1565C0;
    --primary-dark: #062658;
    --secondary: #4FC3F7;
    --secondary-light: #81D4FA;
    --accent: #FF6B6B;
    --accent-warm: #FF8E53;
    --sky-gradient-start: #0B3D91;
    --sky-gradient-end: #4FC3F7;
    --dark-bg: #0a0e27;
    --dark-card: #111636;
    --dark-surface: #1a1f4a;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #8888aa;
    --white: #ffffff;
    --off-white: #f8f9ff;
    --border-light: rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 8px rgba(11, 61, 145, 0.08);
    --shadow-md: 0 8px 30px rgba(11, 61, 145, 0.12);
    --shadow-lg: 0 20px 60px rgba(11, 61, 145, 0.15);
    --shadow-glow: 0 0 40px rgba(79, 195, 247, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

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

/* --- Navbar --- */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(11, 61, 145, 0.08);
    padding: 1rem 0;
    transition: all var(--transition-smooth);
    z-index: 1050;
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .brand-icon {
    font-size: 1.3rem;
    margin-right: 0.3rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(11, 61, 145, 0.06);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(6, 38, 88, 0.85) 0%,
            rgba(11, 61, 145, 0.7) 40%,
            rgba(79, 195, 247, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--secondary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating elements */
.hero-float {
    position: absolute;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.hero-float-3 {
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* --- Search Box Section --- */
.search-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 4rem;
}

.search-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(11, 61, 145, 0.06);
    position: relative;
    overflow: hidden;
}

.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.search-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.search-card-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.search-placeholder {
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.03), rgba(79, 195, 247, 0.05));
    border: 2px dashed rgba(11, 61, 145, 0.15);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
}

.search-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.search-placeholder p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* --- Buttons --- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 61, 145, 0.35);
    color: var(--white);
}

.btn-primary-custom:hover::after {
    left: 100%;
}

.btn-outline-custom {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition-smooth);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* --- Section Styles --- */
.section-padding {
    padding: 6rem 0;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.08), rgba(79, 195, 247, 0.08));
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Article Cards --- */
.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 61, 145, 0.05);
    transition: all var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.article-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.category-ahorro {
    background: rgba(76, 175, 80, 0.85);
    color: white;
}

.category-destinos {
    background: rgba(33, 150, 243, 0.85);
    color: white;
}

.category-ciudades {
    background: rgba(255, 152, 0, 0.85);
    color: white;
}

.category-consejos {
    background: rgba(156, 39, 176, 0.85);
    color: white;
}

.article-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
    line-height: 1.4;
}

.article-card:hover .article-card-title {
    color: var(--primary);
}

.article-card-excerpt {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.82rem;
    color: var(--text-light);
}

.article-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap var(--transition-fast);
}

.article-card:hover .article-card-link {
    gap: 0.6rem;
}

/* --- Features Section --- */
.features-section {
    background: var(--white);
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--off-white);
    border-color: rgba(11, 61, 145, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-1 {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
}

.feature-icon-2 {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #EF6C00;
}

.feature-icon-3 {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
}

.feature-icon-4 {
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
    color: #7B1FA2;
}

.feature-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* --- Newsletter / CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.15);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.cta-title {
    color: var(--white);
    font-weight: 800;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 320px;
}

.footer-heading {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dark-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* --- Breadcrumbs --- */
.breadcrumb-section {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
}

.breadcrumb-custom {
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb-custom .breadcrumb-item {
    font-size: 0.88rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

/* --- Article Page --- */
.article-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 0 3rem;
    color: var(--white);
}

.article-header-category {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.article-header h1 {
    color: var(--white);
    max-width: 700px;
    margin-bottom: 1rem;
}

.article-header-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-content {
    padding: 3rem 0 5rem;
}

.article-body {
    font-size: 1.08rem;
    line-height: 1.9;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(11, 61, 145, 0.08);
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.article-body blockquote {
    border-left: 4px solid var(--secondary);
    background: rgba(79, 195, 247, 0.06);
    padding: 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
}

.article-body blockquote p {
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 0;
}

.article-body img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

/* Affiliate Search Widget Placeholder in Article */
.affiliate-widget-placeholder {
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.04), rgba(79, 195, 247, 0.06));
    border: 2px dashed rgba(11, 61, 145, 0.15);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.affiliate-widget-placeholder .widget-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.affiliate-widget-placeholder h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.affiliate-widget-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Sidebar --- */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-widget-title {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(11, 61, 145, 0.08);
}

.sidebar-article {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-article-img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-article-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.sidebar-article:hover .sidebar-article-title {
    color: var(--primary);
}

/* --- Article List Page --- */
.articles-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 0 3rem;
    color: var(--white);
}

.articles-hero h1 {
    color: var(--white);
}

.articles-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(11, 61, 145, 0.15);
    background: var(--white);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-up-delay-3 {
    transition-delay: 0.3s;
}

.fade-up-delay-4 {
    transition-delay: 0.4s;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-float {
        display: none;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .search-card {
        padding: 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .article-header {
        padding: 3rem 0 2rem;
    }

    .article-header-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* --- Utility Classes --- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(11, 61, 145, 0.04) 1px, transparent 0);
    background-size: 30px 30px;
}

/* --- ¿Sabías que...? Section --- */
.sabias-que-section {
    background: var(--white);
}

.sabias-card {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    height: 100%;
    border: 1px solid rgba(11, 61, 145, 0.06);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.sabias-card::before {
    content: '?';
    position: absolute;
    top: -15px;
    right: -5px;
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: rgba(11, 61, 145, 0.03);
    line-height: 1;
    pointer-events: none;
}

.sabias-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 195, 247, 0.2);
}

.sabias-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.sabias-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.sabias-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Destinos Populares Section --- */
.destinos-section {
    background: var(--off-white);
}

.destino-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    transition: all var(--transition-smooth);
}

.destino-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.destino-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.destino-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.2rem 1rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.0) 100%);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.destino-card-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
}

.destino-card-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* --- Article ToC (Table of Contents) --- */
.article-toc {
    background: var(--off-white);
    border: 1px solid rgba(11, 61, 145, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.article-toc-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.article-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
}

.article-toc li {
    counter-increment: toc;
    margin-bottom: 0.4rem;
}

.article-toc li::before {
    content: counter(toc) ". ";
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
}

.article-toc a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-toc a:hover {
    color: var(--primary);
}

/* --- 404 Page --- */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.error-code {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--secondary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.error-title {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.error-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* --- FAQ Section --- */
.faq-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(11, 61, 145, 0.08);
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(11, 61, 145, 0.06);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: rgba(79, 195, 247, 0.06);
    border-color: rgba(79, 195, 247, 0.15);
}

.faq-question .faq-toggle {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}