/* ============================================
   INFRASPEAK-INSPIRED DESIGN SYSTEM
   Basado en https://infraspeak.com/es
   ============================================ */

/* CSS Variables - Design Tokens */
:root {
    /* Colores Primarios */
    --color-accent: hsl(229, 100%, 62%);
    --color-accent-dark: hsl(229, 100%, 52%);
    --color-accent-darker: hsl(229, 100%, 42%);
    
    /* Colores Secundarios */
    --color-green: hsl(150, 75%, 42%);
    --color-green-dark: hsl(150, 75%, 35%);
    --color-purple: hsl(261, 92%, 56%);
    --color-purple-dark: hsl(261, 92%, 46%);
    --color-orange: hsl(22, 99%, 59%);
    --color-orange-dark: hsl(22, 99%, 49%);
    --color-cyan: hsl(186, 100%, 50%);
    --color-cyan-dark: hsl(186, 100%, 40%);
    
    /* Grises */
    --color-grey-50: #f7f9fd;
    --color-grey-100: #eff2f9;
    --color-grey-300: #d8dde9;
    --color-grey-500: #7a8399;
    --color-grey-700: #3b4255;
    --color-grey-900: #17142a;
    
    /* Backgrounds */
    --color-background: #ffffff;
    --color-card: #ffffff;
    --color-border-card: #eff2f9;

    /* Text Colors */
    --color-text: var(--color-grey-700);
    --color-text-secondary: var(--color-grey-500);

    /* Tipografía */
    --fs-micro: 0.75rem;      /* 12px */
    --fs-s: 0.875rem;         /* 14px */
    --fs-m: 1rem;             /* 16px */
    --fs-l: 1.125rem;         /* 18px */
    --fs-xl: 1.5rem;          /* 24px */
    --fs-2xl: 2rem;           /* 32px */
    --fs-3xl: 2.5rem;         /* 40px */
    --fs-4xl: 4rem;           /* 64px */
    
    /* Line Heights */
    --lh-micro: 1rem;
    --lh-s: 1.25rem;
    --lh-m: 1.375rem;
    --lh-l: 1.5rem;
    --lh-xl: 2rem;
    
    /* Espaciado */
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 12px;
    --space-l: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    --space-3xl: 32px;
    --space-4xl: 40px;
    --space-5xl: 56px;
    --space-6xl: 80px;
    --space-7xl: 112px;
    
    /* Border Radius */
    --radii-xs: 6px;
    --radii-s: 8px;
    --radii-m: 10px;
    --radii-l: 12px;
    --radii-xl: 16px;
    --radii-2xl: 20px;
    
    /* Sombras */
    --shadow: 0px 8px 12px rgba(15, 24, 41, 0.04);
    --shadow-md: 0px 12px 24px rgba(15, 24, 41, 0.08);
    --shadow-lg: 0px 20px 40px rgba(15, 24, 41, 0.12);
    --shadow-focus: 0px 0px 0px 4px #d8dffb;
    
    /* Transiciones */
    --transition-appearance: 0.2s ease;
    --transition-motion: 0.3s cubic-bezier(0.2, 1, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.9, 0, 0.05, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    font-size: var(--fs-m);
    color: var(--color-grey-700);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.infra-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================
   NAVBAR
   ============================================ */

.infra-navbar {
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: var(--space-l) 0;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.infra-navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
}

.infra-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.infra-logo-img {
    height: 72px;
    width: auto;
    max-width: 100%;
    display: block;
}

.infra-logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.infra-logo-tagline {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    color: #ffffff;
    font-weight: 400;
    margin-top: -12px;
    margin-left: 62px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.infra-nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-3xl);
    align-items: center;
}

/* Language Switcher */
.lang-switcher {
    margin-left: var(--space-m);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: var(--space-xl);
}

.lang-link {
    font-size: var(--fs-s);
    font-weight: 600;
    padding: var(--space-xs) var(--space-s);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-s);
    transition: all 0.2s ease;
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.infra-nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: var(--fs-m);
    transition: color var(--transition-appearance);
}

.infra-nav-link:hover {
    color: #4E81AC;
}

.infra-nav-link.active {
    color: white;
    font-weight: 700;
    font-size: var(--fs-l);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 6px;
}

.infra-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.infra-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */

.infra-btn-primary,
.infra-btn-ghost,
.infra-btn-white,
.infra-btn-ghost-white {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radii-l);
    transition: all var(--transition-appearance);
    cursor: pointer;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    padding: 16px 32px;
    font-size: var(--fs-m);
}

.infra-btn-m {
    padding: 8px 16px 10px;
    font-size: var(--fs-s);
}

.infra-btn-large {
    padding: 14px 28px 16px;
    font-size: var(--fs-l);
}

.infra-btn-primary {
    background: #4E81AC;
    color: white;
}

.infra-btn-primary:hover {
    background: #3D6A8F;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.infra-btn-ghost {
    background: transparent;
    color: #60CBD1;
    border: 2px solid #60CBD1;
}

.infra-btn-ghost:hover {
    background: #60CBD1;
    color: white;
}

.infra-btn-white {
    background: white;
    color: var(--color-grey-900);
}

.infra-btn-white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.infra-btn-ghost-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.infra-btn-ghost-white:hover {
    background: white;
    color: var(--color-grey-900);
}

/* ============================================
   HERO SECTION
   ============================================ */

.infra-hero {
    padding: 210px 0 var(--space-7xl) 0;
    min-height: 500px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: white;
}

.hero-with-background {
    background: linear-gradient(135deg, rgba(12, 54, 114, 0.6) 0%, rgba(12, 54, 114, 0.6) 100%),
                url('./es/images/solutions-background.jpg') center/cover no-repeat;
    position: relative;
}

.hero-tecnologia-background {
    background: linear-gradient(135deg, rgba(12, 54, 114, 0.6) 0%, rgba(12, 54, 114, 0.6) 100%),
                url('./es/images/tecnologia.png') center/cover no-repeat;
    position: relative;
}

.hero-blog-background {
    background: linear-gradient(135deg, rgba(12, 54, 114, 0.7) 0%, rgba(12, 54, 114, 0.7) 100%),
                url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=1920&h=800&fit=crop') center/cover no-repeat;
    position: relative;
}

.hero-planes-background {
    background: linear-gradient(135deg, rgba(12, 54, 114, 0.6) 0%, rgba(12, 54, 114, 0.6) 100%),
                url('./es/images/precios.png') center/cover no-repeat;
    position: relative;
}

.hero-contacto-background {
    background: linear-gradient(135deg, rgba(12, 54, 114, 0.6) 0%, rgba(12, 54, 114, 0.6) 100%),
                url('./es/images/demo.jpg') center/cover no-repeat;
    position: relative;
}

.infra-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6xl);
    align-items: center;
}

.infra-hero-grid.hero-single-column {
    grid-template-columns: 1fr;
    justify-items: center;
}

.infra-hero-grid.hero-single-column .infra-hero-content {
    max-width: 900px;
    text-align: center;
}

.infra-hero-content {
    max-width: 600px;
}

.infra-hero-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.015em;
}

.infra-hero-subtitle {
    font-size: var(--fs-l);
    line-height: 1.6;
    margin-bottom: var(--space-4xl);
    opacity: 0.95;
    font-weight: 400;
}

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

.infra-hero-image {
    border-radius: var(--radii-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(1.50);
    transform-origin: center;
}

.infra-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   SECTIONS
   ============================================ */

.infra-section {
    padding: var(--space-5xl) 0;
}

.infra-section-grey {
    background: var(--color-grey-50);
}

.problem-statement-section {
    padding: 60px 0;
}

.problem-statement-section .infra-section-header-center {
    margin-bottom: 0;
}

.infra-section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-4xl);
}

.infra-section-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-grey-900);
    margin-bottom: var(--space-l);
    letter-spacing: -0.01em;
}

.infra-section-subtitle {
    font-size: var(--fs-l);
    line-height: 1.6;
    color: var(--color-grey-500);
}

.infra-trust-text {
    font-size: var(--fs-l);
    font-weight: 600;
    color: var(--color-grey-500);
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.infra-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-3xl);
}

.infra-feature-card {
    background: var(--color-card);
    padding: var(--space-3xl);
    border-radius: var(--radii-2xl);
    border: 1px solid var(--color-border-card);
    transition: all var(--transition-motion);
}

.infra-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.infra-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radii-l);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    color: white;
}

.infra-feature-image {
    width: calc(100% + var(--space-4xl) * 2);
    height: 200px;
    margin: calc(var(--space-4xl) * -1) calc(var(--space-4xl) * -1) var(--space-2xl);
    border-radius: var(--radii-2xl) var(--radii-2xl) 0 0;
    overflow: hidden;
}

.infra-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.infra-icon-blue {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

.infra-icon-green {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
}

.infra-icon-purple {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
}

.infra-icon-orange {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
}

.infra-icon-cyan {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
}

.infra-feature-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-m);
    color: var(--color-grey-900);
}

.infra-feature-desc {
    font-size: var(--fs-m);
    line-height: 1.6;
    color: var(--color-grey-500);
}

/* ============================================
   TWO COLUMN LAYOUTS
   ============================================ */

.infra-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.infra-two-col-reverse {
    direction: rtl;
}

.infra-two-col-reverse > * {
    direction: ltr;
}

.infra-two-col-content {
    max-width: 560px;
}

.infra-two-col-image {
    border-radius: var(--radii-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.infra-two-col-image img,
.infra-two-col-image video {
    width: 100%;
   /* min-height: 500px;*/
    height: auto;
    display: block;
    object-fit: cover;
}

.infra-full-width-video {
    width: 100%;
    margin-top: 2rem;
    border-radius: var(--radii-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.infra-full-width-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   BADGES
   ============================================ */

.infra-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radii-m);
    font-size: var(--fs-s);
    font-weight: 600;
    margin-bottom: var(--space-l);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.infra-badge-blue {
    background: #e3f2fd;
    color: var(--color-accent);
}

.infra-badge-green {
    background: #d1fae5;
    color: var(--color-green);
}

.infra-badge-purple {
    background: #ede9fe;
    color: var(--color-purple);
}

.infra-badge-orange {
    background: #ffedd5;
    color: var(--color-orange);
}

.infra-badge-cyan {
    background: #cffafe;
    color: var(--color-cyan);
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */

.infra-content-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-grey-900);
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.01em;
}

.infra-content-text {
    font-size: var(--fs-l);
    line-height: 1.7;
    color: var(--color-grey-500);
    margin-bottom: var(--space-3xl);
}

.infra-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infra-check-list li {
    padding: var(--space-m) 0;
    padding-left: var(--space-3xl);
    position: relative;
    font-size: var(--fs-m);
    color: var(--color-grey-700);
    line-height: 1.6;
}

.infra-check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 700;
    font-size: var(--fs-xl);
}

/* ============================================
   HIGHLIGHT BOXES
   ============================================ */

.infra-highlight-box {
    background: var(--color-grey-50);
    padding: var(--space-2xl);
    border-radius: var(--radii-l);
    margin-bottom: var(--space-l);
    border-left: 4px solid var(--color-accent);
}

.infra-highlight-box h4 {
    font-size: var(--fs-l);
    font-weight: 700;
    margin-bottom: var(--space-s);
    color: var(--color-grey-900);
}

.infra-highlight-box p {
    font-size: var(--fs-m);
    color: var(--color-grey-500);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   STATS GRID
   ============================================ */

.infra-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.infra-stat-item {
    background: var(--color-grey-50);
    padding: var(--space-2xl);
    border-radius: var(--radii-l);
    text-align: center;
}

.infra-stat-icon {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-l);
}

.infra-stat-number {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-grey-900);
    margin-bottom: var(--space-s);
}

.infra-stat-label {
    font-size: var(--fs-s);
    color: var(--color-grey-500);
    line-height: 1.4;
}

/* ============================================
   LOGOS GRID
   ============================================ */

.infra-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3xl);
    align-items: center;
    margin-top: var(--space-4xl);
}

.infra-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.infra-logo-placeholder {
    padding: var(--space-2xl) var(--space-4xl);
    background: white;
    border-radius: var(--radii-l);
    font-weight: 600;
    color: var(--color-grey-500);
    box-shadow: var(--shadow);
}

/* ============================================
   CTA SECTION
   ============================================ */

.infra-cta-section {
    padding: var(--space-7xl) 0;
    background: linear-gradient(135deg, rgba(42, 39, 53, 0.85) 0%, rgba(31, 28, 44, 0.85) 100%),
                url('https://images.unsplash.com/photo-1519501025264-65ba15a82390?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat;
    color: white;
    text-align: center;
    position: relative;
}

.infra-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.infra-cta-title {
    font-size: var(--fs-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-l);
    letter-spacing: -0.01em;
}

.infra-cta-subtitle {
    font-size: var(--fs-l);
    line-height: 1.6;
    margin-bottom: var(--space-4xl);
    opacity: 0.9;
}

.infra-cta-buttons {
    display: flex;
    gap: var(--space-l);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.infra-footer {
    background: var(--color-grey-900);
    color: white;
    padding: var(--space-6xl) 0 var(--space-3xl);
}

.infra-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4xl);
    margin-bottom: var(--space-4xl);
}

.infra-footer-title {
    font-size: var(--fs-l);
    font-weight: 700;
    margin-bottom: var(--space-2xl);
}

.infra-footer-text {
    font-size: var(--fs-m);
    line-height: 1.6;
    opacity: 0.8;
}

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

.infra-footer-list li {
    margin-bottom: var(--space-m);
}

.infra-footer-list a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-appearance);
    font-size: var(--fs-m);
}

.infra-footer-list a:hover {
    opacity: 1;
}

.infra-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-2xl);
    text-align: center;
    opacity: 0.6;
    font-size: var(--fs-s);
}

/* ============================================
   BLOG ARTICLES
   ============================================ */

.infra-article {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
}

.infra-article-meta {
    display: flex;
    gap: var(--space-l);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.infra-article-meta span {
    font-size: var(--fs-s);
    color: var(--color-grey-500);
}

.infra-article-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-grey-900);
    margin-bottom: var(--space-2xl);
    line-height: 1.2;
}

.infra-article-image {
    width: 100%;
    height: auto;
    border-radius: var(--radii-l);
    margin-bottom: var(--space-3xl);
}

.infra-article-content {
    font-size: var(--fs-m);
    line-height: 1.8;
    color: var(--color-grey-700);
}

.infra-article-content h2 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-grey-900);
    margin: var(--space-3xl) 0 var(--space-l);
}

.infra-article-content h3 {
    font-size: var(--fs-l);
    font-weight: 600;
    color: var(--color-grey-900);
    margin: var(--space-2xl) 0 var(--space-m);
}

.infra-article-content p {
    margin-bottom: var(--space-l);
}

.infra-article-content ul,
.infra-article-content ol {
    margin-bottom: var(--space-l);
    padding-left: var(--space-2xl);
}

.infra-article-content li {
    margin-bottom: var(--space-s);
}

/* Estilos para tablas en artículos del blog */
.infra-article-content table {
    border-collapse: collapse;
    width: 100%;
    margin: var(--space-xl) 0;
    font-size: var(--fs-s);
}

.infra-article-content table th,
.infra-article-content table td {
    border: 1px solid var(--color-grey-300);
    padding: var(--space-m) var(--space-l);
    text-align: left;
}

.infra-article-content table th {
    background-color: var(--color-grey-100);
    font-weight: 600;
    color: var(--color-grey-900);
}

.infra-article-content table tr:nth-child(even) {
    background-color: var(--color-grey-50);
}

.infra-article-content table tr:hover {
    background-color: var(--color-grey-100);
}

@media (max-width: 768px) {
    .infra-article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .infra-article-content table th,
    .infra-article-content table td {
        padding: var(--space-s) var(--space-m);
        white-space: nowrap;
    }
}

/* Blog CTA Box */
.blog-cta-box {
    margin-top: var(--space-4xl);
    padding: var(--space-3xl);
    background: linear-gradient(135deg, var(--color-accent) 0%, #1e40af 100%);
    border-radius: var(--radii-xl);
    text-align: center;
    color: white;
}

.blog-cta-box h3 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: var(--space-m);
    color: white;
}

.blog-cta-box p {
    font-size: var(--fs-l);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    color: white;
}

.blog-cta-box .infra-btn-primary {
    background: white;
    color: var(--color-accent);
    font-weight: 600;
}

.blog-cta-box .infra-btn-primary:hover {
    background: var(--color-grey-100);
    transform: translateY(-2px);
}

.infra-article-footer {
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-grey-200);
}

.infra-btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--color-grey-300);
    border-radius: var(--radii-l);
    color: var(--color-grey-700);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-appearance);
}

.infra-btn-outline:hover {
    border-color: #4E81AC;
    color: #4E81AC;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .infra-hero-grid,
    .infra-two-col-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4xl);
    }

    .infra-two-col-reverse {
        direction: ltr;
    }

    .infra-hero-title {
        font-size: var(--fs-2xl);
    }

    .infra-content-title {
        font-size: var(--fs-xl);
    }

    .infra-section-title {
        font-size: var(--fs-xl);
    }

    .infra-cta-title {
        font-size: var(--fs-2xl);
    }

    .infra-features-grid {
        grid-template-columns: 1fr;
    }

    .infra-stats-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile navigation at 968px */
    .infra-mobile-toggle {
        display: flex;
        z-index: 10001;
        position: relative;
    }

    .infra-nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: var(--space-2xl);
        gap: var(--space-l);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 10002;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .infra-nav-menu.active {
        display: flex;
    }

    .infra-nav-menu li {
        width: 100%;
        text-align: center;
    }

    .infra-nav-menu .infra-nav-link {
        display: block;
        padding: var(--space-m) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .infra-nav-menu .infra-nav-link.active {
        background: transparent;
        border-radius: 0;
    }

    .infra-nav-menu .infra-btn-primary {
        margin-top: var(--space-m);
        width: 100%;
    }

    .lang-switcher {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-top: var(--space-m);
        padding-top: var(--space-m);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .infra-navbar {
        background-color: rgba(0, 0, 0, 0.85);
    }

    .infra-navbar .infra-container {
        padding: 0 var(--space-l);
    }

    .infra-logo-img {
        height: 56px;
    }

    .infra-hero {
        padding-top: 140px;
    }
}

@media (max-width: 768px) {
    .infra-container {
        padding: 0 var(--space-l);
    }

    .infra-section,
    .infra-hero {
        padding: var(--space-5xl) 0;
    }

    .infra-navbar {
        background-color: rgba(0, 0, 0, 0.85);
    }

    .infra-hero {
        padding-top: 140px;
    }

    .infra-nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: var(--space-2xl);
        gap: var(--space-l);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 10002;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .infra-nav-menu.active {
        display: flex;
    }

    .infra-nav-menu li {
        width: 100%;
        text-align: center;
    }

    .infra-nav-menu .infra-nav-link {
        display: block;
        padding: var(--space-m) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .infra-nav-menu .infra-nav-link.active {
        background: transparent;
        border-radius: 0;
    }

    .infra-nav-menu .infra-btn-primary {
        margin-top: var(--space-m);
        width: 100%;
    }

    .lang-switcher {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-top: var(--space-m);
        padding-top: var(--space-m);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .lang-link {
        display: inline-block;
        padding: var(--space-s) var(--space-xl);
    }

    .infra-mobile-toggle {
        display: flex;
        z-index: 10001;
        position: relative;
    }

    .infra-mobile-toggle span {
        transition: all 0.3s ease;
    }

    .infra-hero-title {
        font-size: var(--fs-xl);
    }

    .infra-hero-subtitle,
    .infra-content-text,
    .infra-section-subtitle {
        font-size: var(--fs-m);
    }

    .infra-btn-large {
        width: 100%;
        padding: 12px 24px 14px;
        font-size: var(--fs-m);
    }

    .infra-hero-cta,
    .infra-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .infra-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
}

/* Extra small screens (< 480px) */
@media (max-width: 480px) {
    .infra-container {
        padding: 0 var(--space-m);
    }

    /* Fix solution tabs overflow */
    .solution-tab {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .solution-tabs {
        flex-direction: column !important;
    }

    /* Fix navbar on very small screens */
    .infra-logo-img {
        height: 50px;
    }

    .infra-nav-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    .infra-hero {
        padding-top: 120px;
    }

    .infra-hero-title {
        font-size: var(--fs-l);
    }

    .infra-section-title,
    .infra-content-title,
    .infra-cta-title {
        font-size: var(--fs-l);
    }

    /* Fix ROI grid */
    .infra-features-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fix highlight boxes */
    .infra-highlight-box {
        padding: var(--space-l);
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    html {
        overflow-x: hidden;
    }
}

/* Animaciones */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scale-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.infra-feature-card,
.infra-two-col-image,
.infra-hero-image {
    animation: scale-fade-in 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

/* Divider */
.infra-divider {
    height: 1px;
    background: var(--color-grey-300);
    margin: var(--space-5xl) 0;
    opacity: 0.3;
}

@media (max-width: 968px) {
    .infra-divider {
        margin: var(--space-4xl) 0;
    }
}

@media (max-width: 768px) {
    .infra-divider {
        margin: var(--space-3xl) 0;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */

.infra-hero-content-pricing {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-6xl);
}

.pricing-toggle {
    display: inline-flex;
    background: var(--color-grey-100);
    border-radius: var(--radii-l);
    padding: var(--space-xs);
    margin-bottom: var(--space-6xl);
}

.toggle-option {
    padding: var(--space-m) var(--space-2xl);
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--fs-m);
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: var(--radii-m);
    transition: all var(--transition-appearance);
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.toggle-option.active {
    background: var(--color-background);
    color: var(--color-text);
    box-shadow: var(--shadow);
}

.toggle-badge {
    background: var(--color-green);
    color: white;
    padding: 2px var(--space-s);
    border-radius: var(--radii-xs);
    font-size: var(--fs-micro);
    font-weight: 700;
}

.pricing-section {
    padding: var(--space-7xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-card);
    border: 1px solid var(--color-border-card);
    border-radius: var(--radii-2xl);
    padding: var(--space-4xl);
    transition: all var(--transition-motion);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card-popular {
    border: 2px solid #3D6A8F;
    box-shadow: var(--shadow-md);
}

.pricing-badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3D6A8F;
    color: white;
    padding: var(--space-s) var(--space-l);
    border-radius: var(--radii-l);
    font-size: var(--fs-s);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.pricing-card-title {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-m);
}

.pricing-card-price {
    margin-bottom: var(--space-l);
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-amount {
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: #3D6A8F;
    line-height: 1;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.price-amount-text {
    font-size: var(--fs-2xl);
}

.price-period {
    font-size: var(--fs-l);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.pricing-card-billing {
    font-size: var(--fs-s);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-s);
}

.pricing-card-desc {
    font-size: var(--fs-m);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3xl);
}

.pricing-cta {
    margin-bottom: var(--space-3xl);
}

.pricing-features {
    flex: 1;
}

.features-title {
    font-size: var(--fs-s);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-l);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: var(--space-m) 0;
    font-size: var(--fs-m);
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: var(--space-m);
}

.features-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-green);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: var(--space-6xl) 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-card);
    border-radius: var(--radii-2xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-l) var(--space-2xl);
    text-align: left;
    border-bottom: 1px solid var(--color-grey-100);
}

.comparison-table th {
    background: var(--color-grey-50);
    font-weight: 700;
    font-size: var(--fs-l);
    color: var(--color-text);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--color-text);
}

.comparison-table td {
    color: var(--color-text-secondary);
}

.category-row {
    background: var(--color-grey-50);
    font-weight: 700;
    color: var(--color-text);
}

.popular-column {
    background: rgba(88, 115, 254, 0.03);
}

.check {
    color: var(--color-green);
    font-weight: 700;
}

.no-check {
    color: var(--color-grey-300);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-2xl);
}

.faq-question {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-m);
}

.faq-answer {
    font-size: var(--fs-m);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   DEMO/CONTACT PAGE STYLES
   ============================================ */

.demo-grid {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: var(--space-6xl);
    align-items: start;
}

.demo-info {
    position: sticky;
    top: var(--space-4xl);
}

.demo-steps {
    margin-top: var(--space-4xl);
}

.demo-step {
    display: flex;
    gap: var(--space-l);
    margin-bottom: var(--space-3xl);
}

.demo-step-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: var(--radii-l);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.demo-step-content h3 {
    font-size: var(--fs-l);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.demo-step-content p {
    font-size: var(--fs-m);
    color: var(--color-text-secondary);
}

.demo-trust {
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-grey-100);
}

.demo-badges {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.demo-badge {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    font-size: var(--fs-m);
    color: var(--color-text);
}

.demo-badge svg {
    flex-shrink: 0;
}

/* Form Styles */
.demo-form-container {
    background: var(--color-card);
    border: 1px solid var(--color-border-card);
    border-radius: var(--radii-2xl);
    padding: var(--space-5xl);
    box-shadow: var(--shadow-md);
}

.demo-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: var(--space-2xl);
}

.form-group label {
    display: block;
    font-size: var(--fs-m);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-s);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-m) var(--space-l);
    border: 1px solid var(--color-grey-300);
    border-radius: var(--radii-l);
    font-family: inherit;
    font-size: var(--fs-m);
    color: var(--color-text);
    background: var(--color-background);
    transition: all var(--transition-appearance);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: var(--shadow-focus);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-l);
}

.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    margin-top: var(--space-m);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-m);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox span {
    font-size: var(--fs-m);
    color: var(--color-text);
    line-height: 1.5;
}

/* Success State */
.demo-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-5xl) 0;
}

.success-icon {
    margin-bottom: var(--space-2xl);
}

.demo-success h2 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-l);
}

.demo-success p {
    font-size: var(--fs-l);
    color: var(--color-text-secondary);
    max-width: 500px;
    margin-bottom: var(--space-3xl);
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE STYLES FOR NEW COMPONENTS
   ============================================ */

@media (max-width: 968px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5xl);
    }
    
    .demo-info {
        position: static;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: var(--fs-s);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: var(--space-m) var(--space-l);
    }
}

@media (max-width: 768px) {
    .demo-form-container {
        padding: var(--space-3xl);
    }
    
    .pricing-card {
        padding: var(--space-3xl);
    }
    
    .price-amount {
        font-size: var(--fs-3xl);
    }
    
    .toggle-option {
        padding: var(--space-s) var(--space-l);
        font-size: var(--fs-s);
    }
    
    .demo-step {
        gap: var(--space-m);
    }
    
    .demo-step-icon {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   HERO SLIDER STYLES
   ============================================ */

.hero-with-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

/* LCP image for Core Web Vitals */
.slider-img-lcp {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 54, 114, 0.6);
    z-index: 1;
}

.hero-with-slider .infra-container {
    position: relative;
    z-index: 2;
}

.hero-with-slider .infra-hero-title,
.hero-with-slider .infra-hero-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

.hero-minimal {
    padding: 180px 0 var(--space-5xl) 0;
    min-height: auto;
    background: linear-gradient(135deg, rgba(12, 54, 114, 0.9) 0%, rgba(12, 54, 114, 0.8) 100%),
                url('./es/images/solutions-background.jpg') center/cover no-repeat;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.legal-content h2 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-grey-900);
    margin: var(--space-4xl) 0 var(--space-l);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-grey-100);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: var(--fs-l);
    font-weight: 600;
    color: var(--color-grey-900);
    margin: var(--space-2xl) 0 var(--space-m);
}

.legal-content p {
    font-size: var(--fs-m);
    line-height: 1.8;
    color: var(--color-grey-700);
    margin-bottom: var(--space-l);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--space-l);
    padding-left: var(--space-2xl);
}

.legal-content li {
    font-size: var(--fs-m);
    line-height: 1.8;
    color: var(--color-grey-700);
    margin-bottom: var(--space-s);
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-appearance);
}

.legal-content a:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

.legal-content strong {
    font-weight: 600;
    color: var(--color-grey-900);
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-2xl) 0;
    background: var(--color-card);
    border-radius: var(--radii-l);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cookie-table thead {
    background: var(--color-grey-50);
}

.cookie-table th,
.cookie-table td {
    padding: var(--space-l);
    text-align: left;
    border-bottom: 1px solid var(--color-grey-100);
    font-size: var(--fs-m);
}

.cookie-table th {
    font-weight: 700;
    color: var(--color-grey-900);
}

.cookie-table td {
    color: var(--color-grey-700);
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: var(--color-grey-50);
}

@media (max-width: 768px) {
    .legal-content {
        padding: var(--space-l);
    }

    .legal-content h2 {
        font-size: var(--fs-l);
    }

    .legal-content h3 {
        font-size: var(--fs-m);
    }

    .cookie-table {
        font-size: var(--fs-s);
    }

    .cookie-table th,
    .cookie-table td {
        padding: var(--space-m);
    }

    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

/* ============================================
   COOKIE CONSENT BANNER & MODAL
   ============================================ */

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-grey-900);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-xl);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    font-size: var(--fs-l);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-s);
}

.cookie-consent-text p {
    font-size: var(--fs-m);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-text a {
    color: var(--color-accent);
    text-decoration: none;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: var(--space-m);
    flex-wrap: wrap;
}

/* Cookie Buttons */
.cookie-btn {
    padding: var(--space-m) var(--space-2xl);
    border-radius: var(--radii-l);
    font-family: inherit;
    font-size: var(--fs-m);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-appearance);
    border: none;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--color-accent);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--color-accent-dark);
}

.cookie-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.visible {
    opacity: 1;
}

.cookie-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cookie-modal-content {
    position: relative;
    background: white;
    border-radius: var(--radii-2xl);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.cookie-modal.visible .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2xl) var(--space-3xl);
    border-bottom: 1px solid var(--color-grey-100);
}

.cookie-modal-header h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-grey-900);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-grey-500);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-appearance);
}

.cookie-modal-close:hover {
    color: var(--color-grey-900);
}

.cookie-modal-body {
    padding: var(--space-2xl) var(--space-3xl);
}

.cookie-modal-body > p {
    font-size: var(--fs-m);
    color: var(--color-grey-500);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
}

.cookie-option {
    border: 1px solid var(--color-grey-100);
    border-radius: var(--radii-l);
    padding: var(--space-l);
    margin-bottom: var(--space-l);
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-l);
}

.cookie-option-info h4 {
    font-size: var(--fs-m);
    font-weight: 700;
    color: var(--color-grey-900);
    margin-bottom: var(--space-xs);
}

.cookie-option-info p {
    font-size: var(--fs-s);
    color: var(--color-grey-500);
    line-height: 1.5;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-grey-300);
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-green);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle-disabled .cookie-toggle-slider {
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: var(--space-2xl) var(--space-3xl);
    border-top: 1px solid var(--color-grey-100);
    display: flex;
    justify-content: flex-end;
}

/* Responsive Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent-container {
        padding: var(--space-l);
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-l);
    }

    .cookie-consent-text {
        min-width: auto;
    }

    .cookie-consent-text h3 {
        font-size: var(--fs-m);
    }

    .cookie-consent-text p {
        font-size: var(--fs-s);
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
        padding: var(--space-m) var(--space-l);
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: var(--space-l);
    }

    .cookie-modal-header h3 {
        font-size: var(--fs-l);
    }

    .cookie-option-header {
        flex-direction: column;
        gap: var(--space-m);
    }

    .cookie-toggle {
        align-self: flex-start;
    }
}

/* ============================================
   BLOG PAGINATION
   ============================================ */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-m);
    margin-top: var(--space-4xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--color-grey-100);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.pagination-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-m);
    border-radius: var(--radii-m);
    font-size: var(--fs-m);
    font-weight: 500;
    color: var(--color-grey-700);
    background: var(--color-grey-50);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-num:hover {
    background: var(--color-grey-100);
    color: var(--color-accent);
}

.pagination-num.active {
    background: var(--color-accent);
    color: white;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    padding: var(--space-m) var(--space-l);
    border-radius: var(--radii-m);
    font-size: var(--fs-s);
    font-weight: 600;
    color: var(--color-accent);
    background: transparent;
    border: 1px solid var(--color-accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: var(--color-accent);
    color: white;
}

@media (max-width: 768px) {
    .blog-pagination {
        flex-wrap: wrap;
        gap: var(--space-s);
    }

    .pagination-numbers {
        order: 1;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination-prev {
        order: 2;
    }

    .pagination-next {
        order: 3;
    }

    .pagination-num {
        min-width: 36px;
        height: 36px;
        font-size: var(--fs-s);
    }

    .pagination-btn {
        padding: var(--space-s) var(--space-m);
        font-size: var(--fs-micro);
    }
}

/* ===========================================
   FAQ Accordion Section
   =========================================== */

.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}


.faq-section .infra-section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    color: var(--color-dark);
}

.faq-section .faq-accordion {
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-section .faq-item {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.faq-section .faq-item:last-child {
    border-bottom: none;
}

.faq-section .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    gap: 12px;
    margin-bottom: 0;
    transition: background-color 0.2s ease;
}

.faq-section .faq-question:hover {
    background-color: #f8fafc;
}

.faq-section .faq-question-text {
    flex: 1;
    line-height: 1.4;
}

.faq-section .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-section .faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.faq-section .faq-item.active .faq-icon {
    background: var(--color-accent-dark);
    transform: rotate(180deg);
}

.faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-section .faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-section .faq-answer-content {
    padding: 0 24px 18px 24px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 50px 0;
    }

    .faq-section .infra-section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .faq-section .faq-question {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .faq-section .faq-answer-content {
        padding: 0 16px 12px 16px;
        font-size: 0.85rem;
    }
}
