/* ==========================================================================
   CRISTALCHILE - CSS Base
   Mobile First Approach
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (TOKENS)
   ========================================================================== */
:root {
    /* Colors - Primary */
    --color-primary: #033E84;
    --color-primary-light: #4881CF;
    --color-primary-dark: #002147;
    
    /* Colors - Secondary */
    --color-secondary: #D84141;
    --color-secondary-light: #E96A6A;
    --color-accent: #962E00;
    
    /* Colors - Neutrals */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #DADBF0;
    --color-gray-300: #CFD1D3;
    --color-gray-400: #999999;
    --color-gray-500: #666666;
    --color-gray-600: #242424;
    
    /* Colors - Special */
    --color-blue-pastel: #E9F5FF;
    --color-overlay-dark: rgba(0, 0, 0, 0.4);
    --color-overlay-light: rgba(0, 0, 0, 0.2);
    --color-primary-overlay: rgba(3, 62, 132, 0.6);
    --color-primary-overlay-light: rgba(3, 62, 132, 0.4);
    
    /* Gradients */
    --gradient-primary: linear-gradient(126deg, var(--color-primary) 8%, var(--color-secondary) 100%);
    --gradient-primary-overlay: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.2) 100%), 
                                linear-gradient(126deg, var(--color-primary) 8%, var(--color-secondary) 100%);
    --gradient-hero: linear-gradient(163deg, var(--color-primary) 8%, var(--color-secondary) 100%);
    
    /* Typography - Font Families */
    --font-display: 'Myriad Pro', 'Segoe UI', sans-serif;
    --font-body: Arial, Helvetica, sans-serif;
    --font-accent: 'Roboto', sans-serif;
    --font-stats: 'Geologica', sans-serif;
    
    /* Typography - Font Sizes (Mobile) */
    --text-xs: 11px;
    --text-sm: 14px;
    --text-base: 15px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 25px;
    --text-3xl: 30px;
    --text-4xl: 40px;
    --text-5xl: 50px;
    --text-6xl: 60px;
    --text-7xl: 70px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 20px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 40px;
    --space-4xl: 48px;
    --space-5xl: 64px;
    --space-6xl: 80px;
    
    /* Border Radius */
    --radius-sm: 3px;
    --radius-md: 5px;
    --radius-lg: 10px;
    --radius-xl: 100px;
    
    /* Shadows */
    --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);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal: 1500;
    --z-tooltip: 2000;
    
    /* Container */
    --container-sm: 320px;
    --container-md: 768px;
    --container-lg: 1200px;
    --container-xl: 1312px;
    --container-max: 1440px;
}

/* ==========================================================================
   2. CSS RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-primary);
    background-color: var(--color-gray-100);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 var(--space-lg);
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }

p {
    margin: 0 0 var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

.text-display {
    font-family: var(--font-display);
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: 400;
}

.text-semibold {
    font-weight: 600;
}

.text-bold {
    font-weight: 700;
}

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-sm);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-lg) var(--space-3xl);
    transition: background-color var(--transition-base);
}

.site-header.scrolled {
    background-color: var(--color-primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.site-logo {
    position: relative;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

/* Desktop Navigation */
.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: var(--color-white);
    white-space: nowrap;
    transition: opacity var(--transition-base);
}

.nav-link:hover {
    opacity: 0.8;
}

/* Fade menu items when search is open */
.search-open .nav-secondary .nav-link {
    opacity: 0.15;
    pointer-events: none;
}

.mobile-nav-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: var(--space-sm) 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--gradient-primary);
    padding: var(--space-5xl) var(--space-lg);
    transition: right var(--transition-base);
    z-index: var(--z-modal);
    overflow-y: auto;
}

.mobile-menu.is-open {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.mobile-nav-link {
    font-size: var(--text-lg);
    color: var(--color-white);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: calc(var(--z-modal) - 1);
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Search Box */
.search-box {
    display: none;
    align-items: center;
    position: relative;
}

.search-toggle {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.search-toggle svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-white);
    fill: none;
    transition: opacity var(--transition-fast);
}

.search-toggle .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.search-box.is-open .search-toggle .search-icon {
    opacity: 0;
}

.search-box.is-open .search-toggle .close-icon {
    opacity: 1;
}

/* Search Form */
.search-form {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width var(--transition-base), opacity var(--transition-base);
}

.search-box.is-open .search-form {
    width: 280px;
    opacity: 1;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    border-color: var(--color-white);
    background: rgba(0, 0, 0, 0.4);
}

/* Header Divider (Desktop) */
.header-divider {
    display: none;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: var(--space-lg);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
/* Hero Slider */
.hero-slider {
    position: relative;
    height: 438px;
    overflow: hidden;
}

.hero-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay-dark);
    z-index: -1;
}

.hero-content {
    position: absolute;
    bottom: 71px;
    left: var(--space-lg);
    right: var(--space-lg);
    max-width: 950px;
    text-align: left;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.hero-title span {
    font-weight: 300;
}

.hero-cta {
    margin-top: var(--space-lg);
}

.hero-cta--dual {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Hero Slider Dots */
.hero-dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-xs);
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: none;
    padding: 0;
    border-radius: var(--radius-xl);
    background: var(--color-white);
    opacity: 0.5;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot:hover {
    opacity: 0.8;
}

.hero-dot.is-active {
    width: 33px;
    opacity: 1;
}

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-lg);
    /* border: 2px solid transparent; */
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
    border: 1px solid var(--color-secondary);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-white);
}

.btn-white:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline-white:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-white-red {
    background: var(--color-white);
    color: var(--color-secondary);
    border: 1px solid transparent;
}

.btn-white-red:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-white-primary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid transparent;
}

.btn-white-primary:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline-primary:hover {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-lg {
    padding: 14px 32px;
    font-size: var(--text-xl);
}

/* ==========================================================================
   8. STATS SECTION
   ========================================================================== */
.stats-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 320px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    line-height: 0;
}

.stat-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-top: -5px;
}

.stat-icon img {
    display: block;
    max-width: 60%;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--color-primary);
    text-align: center;
    margin-top: 0;
}

/* ==========================================================================
   9. PORTAL CARDS SECTION
   ========================================================================== */
.portal-section {
    display: flex;
    flex-direction: column;
}

.portal-card {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.portal-card--blue {
    background: var(--color-primary);
}

.portal-card--red {
    background: var(--color-secondary);
}

.portal-card__content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.portal-card__title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: var(--space-lg);
}

.portal-card__title strong {
        font-weight: 700;
    }

.portal-card__icon {
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 120px;
    height: 140px;
    color: var(--color-white);
    margin-right: -20px;
}

.portal-card__icon svg,
.portal-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Button outline red for portal card */
.btn-outline-red {
    background: var(--color-white);
    color: var(--color-secondary);
    border: 2px solid var(--color-white);
}

.btn-outline-red:hover {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

/* ==========================================================================
   10. FEATURED NEWS SECTION
   ========================================================================== */
.featured-news {
    padding: var(--space-3xl) var(--space-lg);
    padding-bottom: 0 !important;
    background: var(--color-gray-100);
}

.featured-news__image {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
}

.featured-news__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.featured-news__content {
    max-width: 100%;
}

.featured-news__title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.featured-news__text {
    font-size: 20px;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.featured-news__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-white);
    background: var(--color-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

.featured-news__link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transform: rotate(90deg);
}

/* ==========================================================================
   11. PLANT SECTION (Two Columns)
   ========================================================================== */
.plant-section {
    position: relative;
    padding: var(--space-4xl) var(--space-lg);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), 
                linear-gradient(164deg, var(--color-primary) 8%, var(--color-secondary) 100%);
    overflow: hidden;
}

.plant-section__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.plant-section__content {
    position: relative;
    z-index: 2;
}

.plant-section__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    font-style: normal !important;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: var(--space-lg);
    text-align: right;
}

.plant-section__title strong {
    font-weight: 600;
}

.plant-section__image {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 75px;
    z-index: 1;
}

.plant-section__image img,
.plant-section__image svg {
    width: 500px;
    height: auto;
    object-fit: contain;
}

.plant-section__cta {
    display: none;
    text-align: right;
}

/* Botón blanco con texto rojo para plant-section */
.btn-white-secondary {
    background: var(--color-white);
    color: var(--color-secondary);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    transition: all var(--transition-base);
}

.btn-white-secondary:hover {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

/* ==========================================================================
   12. LATEST NEWS SECTION
   ========================================================================== */
.latest-news {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-gray-100);
}

.latest-news__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.latest-news__title {
    font-family: 'Myriad Pro', var(--font-display), sans-serif;
    font-size: var(--text-2xl);
    font-weight: 600;
    font-style: normal;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

/* Tabs */
.news-tabs {
    display: flex;
    gap: var(--space-xl);
    justify-content: flex-start;
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-md);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-tabs::-webkit-scrollbar {
    display: none;
}

.news-tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(3, 62, 132, 0.23);
}

.news-tab {
    font-family: 'Myriad Pro', var(--font-display), sans-serif;
    font-size: var(--text-lg);
    font-weight: 400;
    color: rgba(3, 62, 132, 0.23);
    padding: var(--space-sm) 0;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--transition-base);
}

.news-tab:hover {
    color: rgba(3, 62, 132, 0.5);
}

.news-tab.is-active {
    font-weight: 700;
    color: var(--color-secondary);
}

.news-tab.is-active::after {
    content: '';
    position: absolute;
    bottom: calc(var(--space-md) * -1);
    left: -50%;
    right: -50%;
    height: 2px;
    background: var(--color-secondary);
    z-index: 1;
}

/* News Grid */
.news-slider {
    overflow: hidden;
    position: relative;
}

.news-slider__wrapper {
    display: flex;
    transition: transform 0.4s ease;
}

.news-slider__wrapper .news-card {
    flex: 0 0 100%;
    min-width: 100%;
}

/* News Slider Dots (mobile only) */
.news-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
}

.news-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--color-gray-300);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.news-slider__dot:hover {
    background: var(--color-gray-400);
}

.news-slider__dot.is-active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* News Card */
.news-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    display: flex;
    flex-direction: column;
}

.news-card__image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 62, 132, 0.4);
    z-index: 2;
}

.news-card__content {
    position: relative;
    z-index: 3;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-card__title {
    font-family: 'Myriad Pro', var(--font-display), sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.1;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.news-card__share {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.news-card__share svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.news-card__arrow {
    width: 42px;
    height: 42px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.news-card__arrow svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
    transform: rotate(-45deg);
}

.news-card__arrow:hover {
    transform: scale(1.1);
}

/* Card Color Variants */
.news-card--blue-light {
    background: #35659d;
}

.news-card--blue-light .news-card__arrow {
    background: #e9f5ff;
}

.news-card--blue-light .news-card__arrow svg {
    fill: var(--color-primary);
}

.news-card--blue-dark {
    background: var(--color-primary);
}

.news-card--blue-dark .news-card__title {
    color: #e9f5ff;
}

.news-card--blue-dark .news-card__arrow {
    background: #e9f5ff;
}

.news-card--blue-gray {
    background: #9ab2ce;
}

@media (min-width: 600px) {
    .news-slider {
        overflow: visible;
    }
    
    .news-slider__wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .news-slider__wrapper .news-card {
        flex: none;
        min-width: auto;
    }
    
    .news-slider__dots {
        display: none;
    }
}

@media (min-width: 900px) {
    .news-slider__wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* News Card */
.news-card {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--color-primary);
}

.news-card__image {
    position: absolute;
    inset: 0;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 62, 132, 0.5);
}

/* Card color variants */
.news-card--blue-light {
    background: #35659D;
}

.news-card--blue-dark {
    background: #033E84;
}

.news-card--blue-gray {
    background: #9AB2CE;
}

.news-card--solid .news-card__image,
.news-card--solid .news-card__overlay {
    display: none;
}

.news-card__content {
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.2;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-card__social {
    display: flex;
    gap: var(--space-sm);
}

.news-card__social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card__social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.news-card__arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card__arrow svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}

/* News Dots */
.news-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-xl);
}

.news-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-xl);
    background: var(--color-gray-200);
    transition: all var(--transition-fast);
}

.news-dot.is-active {
    width: 33px;
    background: var(--color-primary-dark);
}

/* ==========================================================================
   13. CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 80px var(--space-lg);
    background: var(--color-primary);
}

.contact-section__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-section__content {
    max-width: 100%;
}

.contact-section__heading {
    font-family: 'Myriad Pro', 'Myriad', var(--font-display), sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
}

.contact-section__subtitle {
    font-family: 'Myriad Pro', 'Myriad', var(--font-display), sans-serif;
    font-size: var(--text-xl);
    font-weight: 400;
    font-style: normal;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 0;
}

.contact-section__subtitle strong {
    font-weight: 700;
}

.contact-section__title {
    font-family: 'Myriad Pro', 'Myriad', var(--font-display), sans-serif;
    font-size: var(--text-xl);
    font-weight: 400;
    font-style: normal;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: var(--space-xl);
}

.contact-section__title strong {
    font-weight: 700;
}

.contact-section__cta {
    display: none;
}

.contact-section__cta .btn {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-white);
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-section__cta .btn:hover {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
                linear-gradient(154deg, var(--color-primary) 8%, var(--color-secondary) 100%);
    padding: 80px var(--space-lg);
    color: var(--color-white);
}

.footer-inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Footer Content Row */
.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

/* Footer Links Section */
.footer-links-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.footer-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.footer-logo img {
    width: 200px;
    height: auto;
    mix-blend-mode: luminosity;
}

.footer-logo__desktop {
    display: none;
}

.footer-logo__mobile {
    display: block;
    mix-blend-mode: normal;
}

/* Footer Columns */
.footer-column__title {
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-link {
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    padding: 8px 0;
    line-height: 1.5;
    transition: opacity var(--transition-fast);
}

.footer-link:hover {
    opacity: 0.8;
}

/* Newsletter */
.footer-newsletter {
    width: 100%;
}

.footer-newsletter__title {
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.5;
}

.footer-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
}

.footer-newsletter__input {
    flex: 1;
    padding: 12px;
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 16px;
    color: var(--color-white);
    background: transparent;
    border: 1px solid var(--color-white);
    border-radius: 3px;
    line-height: 1.5;
}

.footer-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter__button {
    padding: 12px 24px;
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    background: transparent;
    border: 1px solid var(--color-white);
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1.5;
    white-space: nowrap;
}

.footer-newsletter__button:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.footer-newsletter__disclaimer {
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 12px;
    color: var(--color-white);
    line-height: 1.5;
}

.footer-newsletter__disclaimer a {
    font-weight: 700;
    text-decoration: underline;
}

/* Footer Credits */
.footer-credits-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    padding-top: 32px;
}

.footer-credits {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 1280px;
    margin: 0 auto;
}

.footer-credits__left {
    display: contents;
}

.footer-social {
    order: 1;
}

.footer-legal {
    order: 2;
}

.footer-copyright {
    order: 3;
}

.footer-copyright {
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.5;
    margin: 0 !important;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal__link {
    font-family: 'Roboto', var(--font-accent), sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: underline;
    line-height: 1.5;
}

.footer-legal__link:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social__link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
}

.footer-social__link:hover {
    opacity: 0.8;
}

.footer-social__link svg {
    width: 100%;
    height: 100%;
    fill: var(--color-white);
}

/* ==========================================================================
   15. SWIPER CUSTOMIZATION
   ========================================================================== */
.swiper {
    width: 100%;
    overflow: visible;
}

.swiper-slide {
    width: auto;
}

/* ==========================================================================
   16. MEDIA QUERIES - TABLET
   ========================================================================== */
@media (min-width: 768px) {
    :root {
        --text-2xl: 30px;
        --text-3xl: 40px;
    }
    
    .container {
        max-width: var(--container-md);
    }
    
    /* Header */
    .site-logo img {
        height: 50px;
    }
    
    /* Hero */
    .hero-slider {
        height: 500px;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    /* Stats */
    .stats-grid {
        max-width: 600px;
        gap: var(--space-xl);
    }
    
    .stat-number {
        font-size: var(--text-4xl);
    }
    
    .stat-label {
        font-size: var(--text-sm);
    }
    
    /* Portal Cards */
    .portal-section {
        flex-direction: row;
    }
    
    .portal-card {
        flex: 1;
    }
    
    /* Featured News */
    .featured-news__title {
        font-size: 40px;
    }
    
    /* Latest News Grid 3x2 for tablets */
    .news-slider {
        overflow: visible;
        margin: 0;
        padding: 0;
    }
    
    .news-slider__wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
    
    .news-card {
        flex: none;
        width: 100%;
        height: 250px;
        min-width: auto;
    }
    
    /* Footer */
    .footer-links-section {
        flex-direction: row;
        gap: 90px;
    }
    
    .footer-logo {
        width: 133px;
        display: block;
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .footer-logo img {
        width: 133px;
    }
    
    .footer-logo__desktop {
        display: block;
    }
    
    .footer-logo__mobile {
        display: none;
    }
    
    .footer-column {
        flex: 1;
    }
    
    .footer-newsletter__form {
        flex-direction: row;
    }
    
    .footer-credits {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-credits__left {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
}

/* ==========================================================================
   17. MEDIA QUERIES - DESKTOP
   ========================================================================== */
@media (min-width: 1200px) {
    :root {
        --text-2xl: 40px;
        --text-3xl: 50px;
        --text-4xl: 60px;
        --text-5xl: 70px;
    }
    
    .container {
        max-width: var(--container-xl);
        padding: 0 var(--space-5xl);
    }
    
    /* Header */
    .menu-toggle {
        display: none;
    }
    
    .main-nav {
        display: flex;
        align-items: center;
    }
    
    .nav-primary .nav-list {
        gap: var(--space-3xl);
    }
    
    .nav-secondary .nav-list {
        gap: var(--space-3xl);
    }
    
    .search-box {
        display: flex;
        flex-shrink: 0;
    }
    
    .header-divider {
        display: block;
        max-width: var(--container-xl);
        margin: 0 auto;
        margin-top: var(--space-md);
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
    }
    
    .site-header {
        padding: var(--space-xl) var(--space-5xl);
    }
    
    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3xl);
    }
    
    .site-logo img {
        height: 32px;
    }
    
    .site-logo {
        flex-shrink: 0;
    }
    
    /* Hero */
    .hero-slider {
        height: 550px;
    }
    
    .hero-content {
        max-width: 950px;
        left: var(--space-5xl);
        right: auto;
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-dots {
        bottom: var(--space-4xl);
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-dot.is-active {
        width: 40px;
    }
    
    /* Stats */
    .stats-section {
        padding: var(--space-4xl) var(--space-5xl);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
        gap: var(--space-3xl);
    }
    
    .stat-top {
        gap: var(--space-sm);
    }
    
    .stat-icon {
        margin-top: -15px;
    }
    
    .stat-icon img {
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 60px;
    }
    
    .stat-label {
        font-size: var(--text-base);
        font-family: var(--font-stats);
        font-weight: 300;
    }
    
    /* Portal Cards */
    .portal-card {
        min-height: 306px;
        padding: var(--space-5xl);
    }
    
    .portal-card__content {
        max-width: 100%;
    }
    
    .portal-card__title {
        font-size: 40px;
    }
    
    .portal-card__icon {
        width: 200px;
        height: 220px;
        right: 0;
        bottom: -15px;
        margin-right: -20px;
    }
    
    .portal-card__icon svg,
    .portal-card__icon img {
        width: 80%;
        height: auto;
    }
    
    /* Featured News */
    .featured-news {
        padding: 0;
    }
    
    .featured-news__inner {
        display: grid;
        grid-template-columns: 1fr 50%;
        min-height: 513px;
    }
    
    .featured-news__content {
        order: -1;
        padding: var(--space-5xl);
        display: flex;
        flex-direction: column;
        justify-content: top;
    }
    
    .featured-news__title {
        font-size: 40px;
    }
    
    .featured-news__text {
        font-size: 20px;
    }
    
    .featured-news__image {
        border-radius: 0;
        margin: 60px 0;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }
    
    .featured-news__image img {
        width: 100%;
        height: 100%;
        min-height: 513px;
        object-fit: cover;
        aspect-ratio: auto;
    }
    
    /* Plant Section */
    .plant-section {
        padding: var(--space-4xl) var(--space-3xl);
    }
    
    .plant-section__inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        position: relative;
        min-height: 180px;
        margin-top: -15px;
        padding-right: 15px;
    }
    
    .plant-section__image {
        position: absolute;
        left: 0;
        bottom: 0;
        top: auto;
    }
    
    .plant-section__image img,
    .plant-section__image svg {
        width: 850px;
        height: auto;
        margin: auto auto -38px -38px;
    }
    
    .plant-section__content {
        max-width: 850px;
        text-align: right;
        padding-right: var(--space-xl);
    }
    
    .plant-section__title {
        font-size: 40px;
        margin-bottom: var(--space-md);
    }
    
    .plant-section__cta {
        display: block;
    }
    
    /* Latest News */
    .latest-news {
        padding: 80px var(--space-5xl);
    }
    
    .latest-news__title {
        font-size: 40px;
        font-style: normal !important;
        margin-bottom: var(--space-2xl);
    }
    
    .news-tabs {
        gap: 80px;
        margin-bottom: var(--space-2xl);
        justify-content: center;
        overflow: visible;
    }
    
    .news-tab {
        font-size: 25px;
    }
    
    /* News Grid 3x2 */
    .news-slider {
        overflow: visible;
        margin: 0;
        padding: 0;
    }
    
    .news-slider__wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 250px);
        gap: 30px;
    }
    
    .news-card {
        width: 100%;
        height: 250px;
    }
    
    .news-card__title {
        font-size: 25px;
    }
    
    .news-card__content {
        padding: 40px 30px 30px 30px;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 0 120px;
        height: 235px;
        display: flex;
        align-items: center;
    }
    
    .contact-section__content {
        max-width: 100%;
        width: 100%;
    }
    
    .contact-section__heading {
        display: none;
    }
    
    .contact-section__subtitle {
        font-size: 40px;
        margin-bottom: 32px;
        white-space: nowrap;
    }
    
    .contact-section__title {
        font-size: 40px;
        margin-bottom: 32px;
        white-space: nowrap;
    }
    
    .contact-section__cta {
        display: block;
    }
    
    .contact-section__cta .btn {
        padding: 16px 40px;
        font-size: 18px;
    }
    
    /* Footer */
    .site-footer {
        padding: 80px 64px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 114px;
    }
    
    .footer-links-section {
        flex-direction: row;
        gap: 90px;
        width: 766px;
    }
    
    .footer-logo {
        width: 133px;
    }
    
    .footer-column {
        flex: 1;
    }
    
    .footer-newsletter {
        width: 400px;
        flex-shrink: 0;
    }
    
    .footer-newsletter__input {
        flex: 1;
    }
    
    .footer-newsletter__button {
        width: auto;
    }
    
    .footer-credits-wrapper {
        margin-top: 80px;
    }
    
    .footer-credits {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-credits__left {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
    }
    
    .footer-social {
        order: unset;
        margin-bottom: 0;
    }
    
    .footer-legal {
        order: unset;
        flex-direction: row;
        margin-bottom: 0;
    }
    
    .footer-copyright {
        order: unset;
    }
}

/* ==========================================================================
   18. ANIMATIONS
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeIn 0.5s ease forwards;
    }
    
    .slide-up {
        animation: slideUp 0.5s ease forwards;
    }
}

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

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

/* ==========================================================================
   19. PRINT STYLES
   ========================================================================== */
@media print {
    .site-header,
    .hero-dots,
    .news-dots,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
