/* -------------------------------------------------------------
   SPANISHMADRID - ESTILOS DE REVISIÓN CON HERO MINIMALISTA 3D CSS
   Identidad Contemporánea, Luminosa y Cultural (Crema Extra Luminoso)
   ------------------------------------------------------------- */

:root {
    --primary-color: #092421;        
    --primary-light: #123F3B;
    --primary-dark: #051311;
    --accent-color: #D46244;         
    --accent-hover: #BE5134;
    --gold-accent: #C9A646;          
    --bg-main: #FCFAF8;              
    --bg-card: #FFFFFF;              
    --border-color: #E7E3D8;         
    --text-color: #242729;           
    --text-light: #5C6266;           
    
    --shadow-sm: 0 2px 4px rgba(9, 36, 33, 0.02);
    --shadow-md: 0 8px 16px rgba(9, 36, 33, 0.04);
    --shadow-lg: 0 16px 32px rgba(9, 36, 33, 0.06);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.65;
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    padding-top: 80px;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.25;
}

p {
    margin-bottom: 1.2rem;
    font-weight: 400; 
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none !important;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none !important;
}

.kicker-accent {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.kicker-accent.centered {
    text-align: center;
}

.kicker-gold {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #947629; 
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

/* =============================================================
   CABECERA FLOTANTE FIJA
   ============================================================= */
.site-header {
    background-color: rgba(252, 250, 248, 0.85);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none !important;
}

.logo-symbol-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-link:hover .logo-symbol-wrapper {
    transform: translateY(-2px) rotateY(15deg) scale(1.08);
    border-color: var(--gold-accent);
    box-shadow: 0 5px 15px rgba(201, 166, 70, 0.18);
}

.logo-symbol-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-color);
    line-height: 1.1;
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-color);
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.main-nav a:hover {
    color: var(--accent-color);
    background-color: rgba(201, 166, 70, 0.08); 
}

.has-submenu {
    position: relative;
}

.icon-menu-arrow {
    margin-left: 4px;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.has-submenu:hover .icon-menu-arrow {
    transform: rotate(180deg);
}

.submenu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) perspective(800px) rotateX(-15deg) translateY(12px);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    width: 320px;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(9, 36, 33, 0.08);
    padding: 1rem;
    z-index: 1000;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    backdrop-filter: blur(16px);
}

.submenu-dropdown::before {
    content: '';
    position: absolute;
    top: -15px; 
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.has-submenu:hover .submenu-dropdown {
    transform: translateX(-50%) perspective(800px) rotateX(0deg) translateY(6px);
    opacity: 1;
    pointer-events: auto;
}

.submenu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 0.85rem;
    border-radius: 6px;
    transition: background-color 0.25s ease, transform 0.2s ease;
    text-decoration: none !important;
}

.submenu-item:hover {
    background-color: rgba(9, 36, 33, 0.03);
    transform: translateX(4px);
}

.submenu-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(201, 166, 70, 0.1);
    border-radius: 6px;
    color: var(--gold-accent);
    transition: all 0.25s ease;
}

.submenu-item:hover .submenu-icon-wrapper {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.submenu-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.submenu-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
}

.submenu-desc {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 1px;
}

.header-actions-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary-header {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 0.5rem 1.3rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(9, 36, 33, 0.1);
}

.btn-primary-header:hover {
    background-color: var(--bg-card);
    color: var(--primary-color);
    border-color: var(--gold-accent);
    transform: translateY(-2px) translateZ(10px) rotateX(4deg);
    box-shadow: 0 8px 20px rgba(201, 166, 70, 0.25);
}

.icon-contact-phone {
    transition: transform 0.3s ease;
}

.btn-primary-header:hover .icon-contact-phone {
    transform: scale(1.15) rotate(-15deg);
}

.lang-dropdown-wrapper {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}

.lang-dropdown-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s ease;
}

.lang-dropdown-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 0.3rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-menu::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

.lang-dropdown-wrapper:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.82rem;
    color: var(--text-color);
    text-align: left;
    border-left: 2px solid transparent;
}

.lang-option:hover {
    background-color: var(--bg-main);
    color: var(--primary-color);
    border-left-color: var(--accent-color);
}

.lang-option.active {
    color: var(--accent-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
}

/* =============================================================
   HERO: MINIMALISTA LISO CON INTERACTIVIDAD 3D CSS
   ============================================================= */
.hero-minimal-3d {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    background-color: #030d0c; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    opacity: 0.25;
}

.bg-glow.glow-gold {
    width: 500px;
    height: 500px;
    background-color: var(--gold-accent);
    top: -10%;
    right: 8%;
}

.bg-glow.glow-terracotta {
    width: 600px;
    height: 600px;
    background-color: var(--accent-color);
    bottom: -15%;
    left: -5%;
}

.floating-monuments-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto; 
}

.floating-monument-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-monument-svg {
    color: rgba(201, 166, 70, 0.22); 
    filter: drop-shadow(0 0 8px rgba(201, 166, 70, 0.1));
    transition: color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.monument-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.65rem;
    text-align: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.label-city {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(201, 166, 70, 0.45); 
    line-height: 1.2;
}

.label-name {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55); 
    line-height: 1.3;
    margin-top: 1px;
}

.floating-monument-container:hover .floating-monument-svg {
    color: var(--accent-color);
    filter: drop-shadow(0 0 16px rgba(212, 98, 68, 0.4));
    transform: scale(1.05);
}

.floating-monument-container:hover .monument-label .label-city {
    color: var(--gold-accent);
}

.floating-monument-container:hover .monument-label .label-name {
    color: #FFFFFF;
}

.floating-monument-container.monument-alcala {
    top: 15%;
    left: 8%;
    animation: floatM1 8s ease-in-out infinite alternate;
}

.floating-monument-container.monument-sagrada {
    top: 8%;
    right: 12%;
    animation: floatM2 9s ease-in-out infinite alternate-reverse;
}

.floating-monument-container.monument-giralda {
    bottom: 15%;
    left: 12%;
    animation: floatM3 7s ease-in-out infinite alternate;
}

.floating-monument-container.monument-alhambra {
    bottom: 18%;
    right: 12%;
    animation: floatM4 8s ease-in-out infinite alternate-reverse;
}

@keyframes floatM1 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes floatM2 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

@keyframes floatM3 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

@keyframes floatM4 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-7px); }
}

.hero-minimal-container {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    z-index: 10;
}

.hero-content-left {
    color: #FFFFFF;
    text-align: left;
}

.hero-kicker-glow {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--gold-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 10px rgba(201, 166, 70, 0.3);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(15px);
}

.hero-content-left h1 {
    font-size: 3.6rem;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(5, 19, 17, 0.5);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-lead-desc {
    font-size: 1.15rem;
    color: #CADCD6;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    max-width: 620px;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
    opacity: 0;
    transform: translateY(15px);
}

.hero-content-left .hero-action-area {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero-action {
    background-color: var(--accent-color);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.95rem 2.2rem;
    border-radius: 4px;
    border-bottom: 2px solid var(--accent-hover);
    box-shadow: 0 4px 12px rgba(5, 19, 17, 0.35);
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-hero-action:hover {
    background-color: var(--accent-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.hero-visual-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.isometric-3d-scene {
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.isometric-3d-wrapper {
    position: relative;
    width: 320px;
    height: 420px;
    transform-style: preserve-3d;
    transform: rotateX(32deg) rotateY(-24deg) rotateZ(12deg);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.isometric-card {
    position: absolute;
    width: 290px;
    height: 165px;
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 1.6rem;
    color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(5, 19, 17, 0.3);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.isometric-card:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(212, 98, 68, 0.2);
}

.isometric-card.card-one {
    top: 0;
    left: 0;
    transform: translateZ(70px);
    animation: floatPlate1 7s ease-in-out infinite alternate;
}

.isometric-card.card-two {
    top: 135px;
    left: 45px;
    transform: translateZ(10px);
    animation: floatPlate2 7s ease-in-out infinite alternate-reverse;
}

.isometric-card.card-three {
    top: 270px;
    left: -15px;
    transform: translateZ(-50px);
    animation: floatPlate3 8s ease-in-out infinite alternate;
}

@keyframes floatPlate1 {
    0% { transform: translateZ(70px) translateY(0); }
    100% { transform: translateZ(70px) translateY(-12px); }
}

@keyframes floatPlate2 {
    0% { transform: translateZ(10px) translateY(0); }
    100% { transform: translateZ(10px) translateY(-10px); }
}

@keyframes floatPlate3 {
    0% { transform: translateZ(-50px) translateY(0); }
    100% { transform: translateZ(-50px) translateY(-15px); }
}

.glass-plate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
}

.plate-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-accent);
}

.plate-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.plate-icon-wrapper {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.plate-icon {
    display: block;
    filter: drop-shadow(0 0 4px rgba(201, 166, 70, 0.25));
}

.plate-desc {
    font-size: 0.75rem;
    color: #CADCD6;
    line-height: 1.4;
    margin-bottom: 0;
}

/* =============================================================
   CONTENEDOR DE CONTENIDOS COMUNES
   ============================================================= */
.main-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.narrative-section {
    margin-bottom: 7.5rem;
}

.section-header-centered {
    max-width: 850px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.narrative-h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
}

.narrative-h2.centered {
    text-align: center;
}

.narrative-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.narrative-intro.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* =============================================================
   BLOQUE 1: LA INSTITUCIÓN (¿Por qué no hacemos grupos masivos?)
   ============================================================= */
.section-why-individual {
    background-color: #FFFFFF; 
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4.5rem 3.5rem;
    box-shadow: 0 4px 12px rgba(9, 36, 33, 0.015);
    margin-bottom: 3.5rem;
}

.why-top-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.why-text-block {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.why-image-block {
    display: flex;
    flex-direction: column;
}

.why-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.why-title-wrapper h2 {
    margin-bottom: 0 !important;
}

.title-gold-seal {
    flex-shrink: 0;
}

.why-quote-card {
    background-color: rgba(201, 166, 70, 0.05); 
    border-left: 3px solid var(--gold-accent);
    padding: 1.5rem 1.8rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.8rem;
    position: relative;
    overflow: hidden;
}

.quote-mark-large {
    position: absolute;
    top: -12px;
    left: 8px;
    font-size: 4.5rem;
    font-family: var(--font-heading);
    color: rgba(201, 166, 70, 0.15);
    line-height: 1;
    user-select: none;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.45;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
}

.why-image-wrapper {
    margin: 1.8rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid #FFFFFF; 
    box-shadow: 0 10px 25px rgba(9, 36, 33, 0.06);
    position: relative;
}

.why-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(201, 166, 70, 0.2); 
    pointer-events: none;
    border-radius: 6px;
}

.why-img-frame {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-image-wrapper:hover .why-img-frame {
    transform: scale(1.06);
}

.why-img-caption {
    background-color: var(--bg-main);
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-top: 1px solid var(--border-color);
}

.caption-marker {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
}

.exclusivity-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background-color: rgba(9, 36, 33, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.badge-icon-shield {
    color: var(--gold-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.badge-text-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.badge-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.35;
}

.why-body-desc {
    font-size: 0.94rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.why-comparison-row {
    border-top: 1px dashed var(--border-color);
    padding-top: 3rem;
    margin-top: 1.5rem;
}

.why-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.comparison-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.8rem;
    background-color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(9, 36, 33, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.comparison-card.card-generic {
    border-color: rgba(212, 98, 68, 0.15);
}

.comparison-card.card-premium {
    border-color: rgba(201, 166, 70, 0.25);
    background-color: rgba(201, 166, 70, 0.02); 
}

.comparison-card.card-generic:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 28px rgba(212, 98, 68, 0.1);
}

.comparison-card.card-premium:hover {
    transform: translateY(-4px);
    border-color: var(--gold-accent);
    box-shadow: 0 12px 30px rgba(201, 166, 70, 0.18);
}

.comp-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.badge-red {
    background-color: rgba(212, 98, 68, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(212, 98, 68, 0.15);
}

.badge-green {
    background-color: rgba(18, 63, 59, 0.06);
    color: var(--primary-light);
    border: 1px solid rgba(18, 63, 59, 0.12);
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.visible .comp-item {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll.visible .comp-list li:nth-child(1) { transition-delay: 0.15s; }
.reveal-on-scroll.visible .comp-list li:nth-child(2) { transition-delay: 0.3s; }
.reveal-on-scroll.visible .comp-list li:nth-child(3) { transition-delay: 0.45s; }
.reveal-on-scroll.visible .comp-list li:nth-child(4) { transition-delay: 0.6s; }

.comp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-cross {
    background-color: rgba(212, 98, 68, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(212, 98, 68, 0.15);
}

.comp-item:hover .icon-cross {
    transform: scale(1.22) rotate(90deg);
    background-color: var(--accent-color);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(212, 98, 68, 0.2);
}

.icon-check {
    background-color: rgba(18, 63, 59, 0.08);
    color: #123F3B;
    border: 1px solid rgba(18, 63, 59, 0.15);
}

.comp-item:hover .icon-check {
    transform: scale(1.22) rotate(360deg);
    background-color: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(18, 63, 59, 0.2);
}

.comp-item-text {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.45;
    text-align: left;
}

/* =============================================================
   BLOQUE 2: ¿QUÉ NECESITA? (Accesos Visuales estilo Airbnb)
   ============================================================= */
.visual-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.visual-access-card {
    position: relative;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.visual-access-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.card-bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.visual-access-card:hover .card-bg-mask {
    transform: scale(1.05);
}

.card-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(9, 36, 33, 0.1) 0%, rgba(9, 36, 33, 0.85) 100%);
    z-index: 1;
}

.card-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem;
    color: #FFFFFF;
    z-index: 2;
}

.card-category {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gold-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.card-text-overlay h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.card-text-overlay p {
    font-size: 0.78rem;
    color: #CADCD6;
    margin-bottom: 0;
    line-height: 1.4;
}

/* =============================================================
   BLOQUE 2: BUSCADOR DINÁMICO DE PROGRAMAS
   ============================================================= */
.search-filter-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-main);
    color: var(--text-color);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.filter-group select:focus {
    border-color: var(--primary-color);
    background-color: #FFFFFF;
}

.programs-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.program-grid-card-expanded {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.program-grid-card-expanded:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.card-expanded-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-expanded-content {
    padding: 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.card-badge.highlighted {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.card-expanded-content h3 {
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
}

.card-expanded-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-details-row {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-bottom: 1.8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

.btn-ver-programa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--primary-color);
    transition: all 0.2s ease;
    background: transparent;
    text-align: center;
}

.btn-ver-programa:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.program-grid-card-expanded.highlighted-card {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(9, 36, 33, 0.04);
}

.no-results-message {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
}

.catalog-link-wrapper {
    margin-top: 3.5rem;
    text-align: center;
}

.catalog-arrow-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.25s ease, color 0.25s ease;
}

.catalog-arrow-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

/* =============================================================
   BLOQUE 3: STORYTELLING EMOCIONAL (Scroll Focus)
   ============================================================= */
.scroll-storytelling {
    padding: 8rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spain-brand-emblem-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    gap: 0.8rem;
}

.spain-emblem-shield {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--gold-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(201, 166, 70, 0.2);
}

.circular-flag-ring {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.flag-stripe {
    width: 100%;
}

.red-stripe-top,
.red-stripe-bottom {
    height: 25%;
    background-color: #AD1519;
}

.yellow-stripe-mid {
    height: 50%;
    background-color: #FABD00;
}

.emblem-gold-seal {
    position: absolute;
    z-index: 2;
    color: var(--gold-accent);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
}

.spain-brand-text {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--gold-accent);
    text-transform: uppercase;
}

.integration-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.integration-keys-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto 0 auto;
    width: 100%;
}

.integration-key-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.integration-key-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-accent);
    box-shadow: var(--shadow-lg);
    background-color: #FFFFFF;
}

.key-card-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: rgba(201, 166, 70, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.4s ease;
}

.integration-key-card:hover .key-card-icon-wrapper {
    background-color: rgba(201, 166, 70, 0.12);
}

.key-card-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.integration-key-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.integration-key-card p {
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.key-card-badge {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-color);
    background-color: rgba(12, 60, 48, 0.05);
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    display: inline-block;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.integration-key-card:hover .key-card-badge {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

/* =============================================================
   BLOQUE 4: MADRID COMO AULA (6 Tarjetas Flotantes)
   ============================================================= */
.madrid-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.madrid-scene-card {
    position: relative;
    height: 340px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.madrid-scene-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.scene-img-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.madrid-scene-card:hover .scene-img-mask {
    transform: scale(1.08);
}

.scene-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 36, 33, 0) 10%, rgba(9, 36, 33, 0.45) 50%, rgba(9, 36, 33, 0.95) 90%);
    z-index: 1;
}

.scene-text-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.2rem;
}

.madrid-scene-card h3 {
    font-size: 1.35rem;
    color: #FFFFFF;
    margin-bottom: 0.15rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.scene-context {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.madrid-scene-card p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* =============================================================
   BLOQUE 5: CÓMO FUNCIONA EL APRENDIZAJE (Metodología Stepper)
   ============================================================= */
.split-narrative-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.interactive-stepper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0 1.5rem 0;
}

.stepper-controls {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.step-btn {
    background: none;
    border: none;
    padding: 0.5rem 1.2rem 1.1rem 1.2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    outline: none;
    margin-bottom: -0.85rem;
    position: relative;
    transition: all 0.3s ease;
    flex-grow: 1;
    overflow: hidden;
}

.step-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(9, 36, 33, 0.08);
}

.step-progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.1s linear;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
}

.step-btn.active .step-num {
    color: var(--accent-color);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 2px;
}

.step-btn.active .step-title {
    color: var(--primary-color);
    font-weight: 600;
}

.stepper-content-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    min-height: 160px;
}

.stepper-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stepper-pane.active {
    display: block;
    opacity: 1;
}

.stepper-pane h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stepper-pane p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.split-visual-right {
    display: flex;
    justify-content: center;
}

.visual-decor-box {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.visual-decor-box::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    z-index: -1;
}

.diagram-mini-card {
    text-align: center;
}

.mini-card-kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.75rem;
}

.diagram-mini-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.diagram-mini-card p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

/* =============================================================
   BLOQUE 6: CONFIANZA E IMPACTO
   ============================================================= */
.authority-block {
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 5rem 4.5rem;
    color: #FFFFFF;
    border: none;
    box-shadow: var(--shadow-sm);
}

.authority-content-wrapper {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.authority-content-wrapper h2 {
    color: #FFFFFF;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.authority-content-wrapper p {
    color: #CADCD6;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* =============================================================
   BLOQUE 7: RECURSOS EDITORIALES (Blog)
   ============================================================= */
.blog-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.blog-editorial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    margin-bottom: 0.85rem;
    display: block;
}

.blog-editorial-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-editorial-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.blog-date {
    color: var(--text-light);
}

.blog-card-link {
    font-weight: 600;
    color: var(--primary-color);
}

/* =============================================================
   BLOQUE 8: PREGUNTAS FRECUENTES (FAQ por Clic Accesible)
   ============================================================= */
.faq-cards-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.faq-card-interactive {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--accent-color);
}

.faq-card-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.faq-card-header h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 500;
    transition: color 0.2s ease;
}

.faq-card-interactive:hover h3 {
    color: var(--accent-color);
}

.faq-arrow-icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-arrow-icon::before,
.faq-arrow-icon::after {
    content: "";
    position: absolute;
    background-color: var(--primary-color);
}

.faq-arrow-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.faq-arrow-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.faq-card-interactive.active .faq-arrow-icon {
    transform: rotate(135deg);
}

.faq-card-interactive.active .faq-arrow-icon::before,
.faq-card-interactive.active .faq-arrow-icon::after {
    background-color: var(--accent-color);
}

.faq-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    padding-top: 1.25rem;
}

/* =============================================================
   BLOQUE 9: CONTACTO FINAL
   ============================================================= */
.contact-split-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    padding: 0;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
}

.contact-split-image {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 3.5rem;
}

.contact-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(9, 36, 33, 0.25) 0%, rgba(9, 36, 33, 0.85) 100%);
    z-index: 1;
}

.contact-image-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

.contact-kicker {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #FFE59E; 
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-image-content h2 {
    color: #FFFFFF;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.contact-image-content p {
    color: #D3DDD8;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.contact-split-form {
    padding: 4.5rem;
    display: flex;
    align-items: center;
}

.clean-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-item label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-item input,
.form-item select {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    background-color: var(--bg-main);
    outline: none;
    transition: all 0.25s ease;
}

.form-item input:focus,
.form-item select:focus {
    border-color: var(--primary-color);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(9, 36, 33, 0.05);
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-privacy-checkbox {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0.25rem 0;
}

.form-privacy-checkbox input {
    margin-top: 0.15rem;
    cursor: pointer;
}

.btn-form-submit {
    background-color: var(--primary-color);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-bottom: 2px solid var(--primary-dark);
    transition: all 0.2s ease;
}

.btn-form-submit:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

/* =============================================================
   ELEMENTO ESTRUCTURAL INFERIOR: FOOTER AMPLIO
   ============================================================= */
.site-footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 0 0;
}

.footer-top-brand-area {
    max-width: 1300px;
    margin: 0 auto 3.5rem auto;
    padding: 0 2rem;
}

.footer-brand-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.footer-brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.1;
    margin-top: 2px;
}

.footer-brand-desc {
    max-width: 600px;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-grid-columns {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-column h3 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    font-size: 0.88rem;
    color: var(--text-light);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-contact-details {
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom-bar {
    background-color: var(--bg-main);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

.footer-bottom-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-legal-links a {
    color: var(--text-light);
}

.footer-bottom-legal-links a:hover {
    color: var(--primary-color);
}

/* =============================================================
   SCROLL REVEAL (Entrada Suave)
   ============================================================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =============================================================
   ACCESIBILIDAD Y REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    .isometric-3d-wrapper {
        transform: rotateX(32deg) rotateY(-24deg) rotateZ(12deg) !important;
    }
    
    .isometric-card {
        animation: none !important;
    }

    .floating-monument-container {
        animation: none !important;
    }
    
    .hero-kicker-glow,
    .hero-content-left h1,
    .hero-lead-desc,
    .hero-action-area {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .comp-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =============================================================
   RESPONSIVO
   ============================================================= */
@media (max-width: 1200px) {
    .programs-cards-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .integration-keys-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.5rem;
    }

    .main-nav {
        display: none;
    }
    
    .hero-minimal-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content-left {
        text-align: center;
    }
    
    .hero-lead-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .isometric-3d-wrapper {
        transform: rotateX(32deg) rotateY(-24deg) rotateZ(12deg) !important;
        margin: 0 auto;
    }

    .floating-monument-container {
        transform: scale(0.6) !important;
        opacity: 0.14;
    }
    
    .visual-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-filter-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .madrid-scene-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .split-narrative-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .split-visual-right {
        order: -1;
    }
    
    .blog-editorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-split-image {
        min-height: 250px;
        padding: 2.5rem;
    }
    
    .contact-split-form {
        padding: 3rem 2rem;
    }

    .section-why-individual {
        padding: 3rem 2rem;
    }

    .why-top-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .why-comparison-row {
        padding-top: 2rem;
        margin-top: 1rem;
    }

    .why-comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .visual-access-grid {
        grid-template-columns: 1fr;
    }

    .floating-monuments-group {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-content-left h1 {
        font-size: 2.2rem;
    }
    
    .isometric-3d-wrapper {
        width: 280px;
    }
    
    .isometric-card {
        width: 250px;
        height: 150px;
    }
    
    .search-filter-box {
        grid-template-columns: 1fr;
    }
    
    .madrid-scene-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    
    .footer-grid-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .comparison-card:hover {
        transform: none !important;
        box-shadow: 0 8px 20px rgba(9, 36, 33, 0.03) !important;
    }
}

/* =============================================================
   BARRA DE SCROLL DE LA BANDERA DE ESPAÑA Y BOTÓN DE RETORNO 3D
   ============================================================= */
#scroll-flag-progress {
    position: absolute;
    bottom: -4px; 
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(
        to bottom, 
        #AD1519 28%, 
        #FABD00 28%, 
        #FABD00 72%, 
        #AD1519 72%
    );
    transition: width 0.1s ease-out;
    z-index: 1001;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#back-to-top-btn {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

#back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

#back-to-top-btn:hover {
    border-color: var(--gold-accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(9, 36, 33, 0.12);
}

.progress-percent-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: absolute;
    z-index: 2;
}

.arrow-up-svg {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: absolute;
    z-index: 3;
    color: var(--accent-color);
}

#back-to-top-btn:hover .progress-percent-text {
    opacity: 0;
    transform: translateY(-4px);
}

#back-to-top-btn:hover .arrow-up-svg {
    opacity: 1;
    transform: translateY(0);
}

.progress-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-circle {
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s ease-out;
}

/* =============================================================
   BLOQUE COMPARATIVO REFORMADO (DASHBOARD UNIFICADO VS)
   ============================================================= */
#comparativa-metodo {
    padding-top: 5rem;
    padding-bottom: 5.5rem;
}

.narrative-section {
    transition: background-color 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.alternative-bg {
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.alternative-bg.visible {
    background-color: var(--bg-cream) !important;
}

/* =============================================================
   IMAGEN DEL AULA EN PERSPECTIVA 3D FLOTANTE
   ============================================================= */
.why-3d-photo-container {
    display: flex;
    justify-content: center;
    margin: 2.5rem auto 3.5rem auto;
    max-width: 600px;
    perspective: 1000px;
}

.why-3d-photo-card {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 15px 35px rgba(9, 36, 33, 0.08);
    transform: rotateX(8deg) rotateY(-4deg);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.why-3d-photo-card:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.03) translateY(-8px);
    box-shadow: 0 25px 50px rgba(9, 36, 33, 0.15);
}

.why-3d-photo-frame {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transform: translateZ(10px);
}

.why-3d-photo-caption {
    padding: 0.8rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    transform: translateZ(15px);
}

/* =============================================================
   BLOQUE COMPARATIVO DE CAJAS SEPARADAS Y VS INTERACTIVO
   ============================================================= */
.comparison-separated-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    max-width: 950px;
    margin: 0 auto;
    align-items: center;
    gap: 2.5rem;
    position: relative;
}

.comparison-card-separated {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.comparison-card-separated:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(9, 36, 33, 0.08);
}

.card-traditional {
    border-top: 3px solid var(--accent-color);
    background-color: rgba(212, 98, 68, 0.005);
}

.card-premium {
    border-top: 3px solid var(--primary-color);
    background-color: rgba(9, 36, 33, 0.003);
    box-shadow: 0 10px 30px rgba(9, 36, 33, 0.04);
}

.card-premium:hover {
    box-shadow: 0 15px 40px rgba(9, 36, 33, 0.12);
    border-color: var(--gold-accent);
}

.comp-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comp-item-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.comp-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.icon-cross {
    background-color: rgba(212, 98, 68, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(212, 98, 68, 0.15);
}

.icon-check {
    background-color: rgba(9, 36, 33, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(9, 36, 33, 0.15);
}

.comp-item:hover .icon-cross {
    transform: rotate(90deg);
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.comp-item:hover .icon-check {
    transform: rotate(360deg);
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.comparison-vs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    position: relative;
    z-index: 5;
}

.vs-interactive-badge {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.vs-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    transition: color 0.4s ease, transform 0.4s ease;
    z-index: 3;
}

.vs-spain-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    pointer-events: none;
    transform: rotate(-90deg);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.vs-ring-circle {
    stroke-dasharray: 151;
    stroke-dashoffset: 0;
    stroke-linecap: round;
}

.vs-interactive-badge:hover {
    transform: scale(1.22);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(9, 36, 33, 0.12);
}

.vs-interactive-badge:hover .vs-text {
    color: var(--gold-accent);
    transform: rotate(360deg);
}

.vs-interactive-badge:hover .vs-spain-ring {
    opacity: 1;
    transform: rotate(270deg);
}

.exclusivity-badge-row {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

@media (max-width: 992px) {
    .comparison-separated-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-vs-wrapper {
        width: 100%;
        height: 40px;
    }
    
    .vs-interactive-badge {
        transform: none !important;
    }
    
    .vs-spain-ring {
        opacity: 0.8;
        transform: rotate(0deg);
    }
    
    .why-3d-photo-frame {
        height: 250px;
    }
    
    .why-3d-photo-card {
        transform: none !important;
    }
    
    .comparison-card-separated {
        padding: 1.5rem !important;
    }
}

/* =============================================================
   BARRA DE NAVEGACIÓN INFERIOR MÓVIL (BOTTOM NAV BAR)
   ============================================================= */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 992px) {
    #back-to-top-btn {
        display: none !important;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background-color: rgba(255, 255, 255, 0.94);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 20px rgba(9, 36, 33, 0.05);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        backdrop-filter: blur(12px);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
        color: var(--text-light);
        text-decoration: none !important;
        gap: 4px;
        transition: color 0.3s ease;
    }

    .mobile-nav-icon {
        width: 22px;
        height: 22px;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .mobile-nav-label {
        font-family: var(--font-body);
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.2px;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        color: var(--primary-color);
    }

    .mobile-nav-item.active .mobile-nav-icon {
        color: var(--gold-accent);
        transform: scale(1.12);
    }
    
    body {
        padding-bottom: 74px;
    }

    .btn-primary-header {
        display: none !important;
    }

    .header-container {
        padding: 0.7rem 1.2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo-link {
        gap: 0.5rem;
    }

    .logo-symbol-wrapper {
        width: 36px;
        height: 36px;
        padding: 3px;
        border-radius: 6px;
    }

    .logo-title {
        font-size: 0.96rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .logo-subtitle {
        font-size: 0.7rem;
        margin-top: 1px;
        white-space: nowrap;
        display: block !important;
    }

    .header-actions-group {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .lang-dropdown-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.78rem;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 0.88rem;
        white-space: nowrap;
    }
    .logo-subtitle {
        font-size: 0.64rem;
        display: block !important;
        white-space: nowrap;
    }
    .header-container {
        padding: 0.6rem 0.8rem;
    }
}

/* =============================================================
   HOJAS DESPLEGABLES DE CURSOS MÓVIL (BOTTOM SHEET)
   ============================================================= */
.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(9, 36, 33, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.bottom-sheet-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.courses-bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -8px 30px rgba(9, 36, 33, 0.15);
    z-index: 10001;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem 1.25rem 2.5rem 1.25rem;
    max-height: 80%;
    overflow-y: auto;
}

.courses-bottom-sheet.active {
    bottom: 0;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.sheet-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sheet-close {
    background: rgba(9, 36, 33, 0.05);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sheet-close:hover {
    background: rgba(9, 36, 33, 0.1);
}

.sheet-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sheet-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sheet-item:hover,
.sheet-item:active {
    transform: scale(1.01);
    border-color: var(--gold-accent);
}

.sheet-item-icon {
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sheet-item:hover .sheet-item-icon {
    color: var(--gold-accent);
}

.sheet-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sheet-item-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sheet-item-desc {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.2;
}

/* =============================================================
   ASESOR VIRTUAL INTELIGENTE (Smart Quiz Styles)
   ============================================================= */
.quiz-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quiz-step.active {
    display: block;
    opacity: 1;
}

.quiz-options-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.quiz-option-card {
    display: block;
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background-color: var(--bg-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.quiz-option-card:hover {
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quiz-option-card.selected,
.quiz-option-card:has(input[type="radio"]:checked) {
    border-color: var(--accent-color) !important;
    background-color: rgba(12, 60, 48, 0.03) !important;
    box-shadow: 0 0 0 1px var(--accent-color) !important;
}

.quiz-option-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.option-desc {
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.5;
}

.btn-next, .btn-prev {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prev {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
}

.btn-prev:hover {
    background-color: var(--border-color);
}

.quiz-result-banner {
    animation: fadeIn 0.5s ease;
}

/* =============================================================
   BOTONES FÍSICOS Y SÓLIDOS (Versión 2 Premium)
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 8px rgba(9, 36, 33, 0.15) !important;
    position: relative;
    transform: translateY(0);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 36, 33, 0.25) !important;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(9, 36, 33, 0.1) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--gold-accent) !important;
    border-color: var(--gold-accent) !important;
    color: var(--primary-color) !important;
}

.btn-secondary {
    background-color: var(--gold-accent) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--gold-accent) !important;
}

.btn-secondary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #FFFFFF !important;
}

.btn-secondary-outline {
    background-color: #FFFFFF !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--gold-accent) !important;
}

.btn-secondary-outline:hover {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border-color: var(--primary-color) !important;
}

.btn-hero-action {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 15px rgba(9, 36, 33, 0.25) !important;
}

.btn-hero-action:hover {
    background-color: var(--gold-accent) !important;
    border-color: var(--gold-accent) !important;
    color: var(--primary-color) !important;
}

/* =============================================================
   CORRECCIÓN DE ALTURA EN RESPONSIÓN MÓVIL DEL HERO (SLIDER 3D)
   ============================================================= */
@media (max-width: 992px) {
    .hero-minimal-3d {
        height: auto !important;
        min-height: auto !important;
        padding-top: 130px !important;
        padding-bottom: 80px !important;
        overflow: visible !important;
    }

    .hero-visual-right {
        height: 480px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 2rem !important;
    }
}

/* =============================================================
   PLACAS TRIDIMENSIONALES FLOTANTES (Premium 3D Blocks)
   ============================================================= */

body {
    background-color: #F4F1EA !important; 
}

.premium-3d-block {
    max-width: 1200px;
    width: 92%;
    margin: 2.5rem auto !important; 
    padding: 3.2rem 3.5rem !important;
    border-radius: 16px !important;
    background-color: #FFFFFF !important; 
    border: 1px solid rgba(9, 36, 33, 0.04) !important;
    box-shadow: 0 10px 30px rgba(9, 36, 33, 0.04), 
                0 1px 3px rgba(9, 36, 33, 0.02),
                inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    transform: translateY(0) translateZ(0);
    transform-style: preserve-3d;
}

.premium-3d-block::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    width: 90%;
    height: 15px;
    background: rgba(9, 36, 33, 0.03);
    filter: blur(8px);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-3d-block:hover {
    transform: translateY(-8px) scale(1.005);
    box-shadow: 0 25px 50px rgba(9, 36, 33, 0.08), 
                0 0 0 1.5px var(--gold-accent) !important; 
    border-color: var(--gold-accent) !important;
}

.premium-3d-block:hover::after {
    bottom: -22px;
    filter: blur(12px);
    background: rgba(201, 166, 70, 0.08);
}

.premium-3d-block.block-alternate {
    background-color: #FCFAF8 !important; 
}

.premium-3d-block.block-alternate:hover {
    box-shadow: 0 25px 50px rgba(9, 36, 33, 0.08), 
                0 0 0 1.5px var(--primary-color) !important; 
    border-color: var(--primary-color) !important;
}

.premium-3d-block.block-alternate:hover::after {
    background: rgba(9, 36, 33, 0.08);
}

.premium-3d-block.block-dark {
    background-color: var(--primary-color) !important; 
    border-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 10px 40px rgba(5, 19, 17, 0.4) !important;
}

.premium-3d-block.block-dark:hover {
    box-shadow: 0 30px 60px rgba(5, 19, 17, 0.5), 
                0 0 0 1.5px var(--gold-accent) !important;
    border-color: var(--gold-accent) !important;
}

.premium-3d-block.block-dark:hover::after {
    background: rgba(201, 166, 70, 0.15);
}

.premium-3d-block.block-contact {
    background-color: #FFFFFF !important;
    padding: 0 !important; 
    overflow: hidden;
}

.premium-3d-block.block-contact:hover {
    box-shadow: 0 25px 50px rgba(9, 36, 33, 0.08), 
                0 0 0 1.5px var(--gold-accent) !important;
    border-color: var(--gold-accent) !important;
}

.premium-3d-block.block-flat {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 3rem 1.5rem !important;
    margin: 1.5rem auto !important;
}
.premium-3d-block.block-flat::after {
    display: none !important;
}
.premium-3d-block.block-flat:hover {
    transform: none !important;
}

@media (max-width: 992px) {
    .premium-3d-block {
        width: 95% !important;
        margin: 1.8rem auto !important;
        padding: 2.5rem 1.8rem !important;
        border-radius: 12px !important;
    }
    
    .premium-3d-block.block-contact {
        padding: 0 !important;
    }
    
    .premium-3d-block:hover {
        transform: translateY(-4px) scale(1.002);
    }
}

/* =============================================================
   CORRECCIÓN DE CONTRASTE EN EL STEPPER (MÉTODO DE TRABAJO - BLOCK DARK)
   ============================================================= */
.block-dark {
    color: #FFFFFF !important;
}

.block-dark .kicker-accent {
    color: var(--gold-accent) !important;
}

.block-dark .narrative-h2 {
    color: #FFFFFF !important;
}

.block-dark .narrative-intro {
    color: rgba(255, 255, 255, 0.75) !important;
}

.block-dark .step-btn {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.block-dark .step-num {
    color: rgba(255, 255, 255, 0.45) !important;
}

.block-dark .step-title {
    color: rgba(255, 255, 255, 0.55) !important;
}

.block-dark .step-btn.active {
    border-bottom-color: var(--gold-accent) !important;
}

.block-dark .step-btn.active .step-num {
    color: var(--gold-accent) !important;
}

.block-dark .step-btn.active .step-title {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.block-dark .step-progress-bar {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

.block-dark .step-progress-fill {
    background-color: var(--gold-accent) !important;
}

.block-dark .stepper-pane h3 {
    color: var(--primary-color) !important;
}

.block-dark .stepper-pane p {
    color: var(--text-color) !important;
}

.block-dark .stepper-controls {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* =============================================================
   AJUSTE DE ANCHO DE PLACAS 3D (Mayor Anchura en Pantallas Grandes)
   ============================================================= */
@media (min-width: 1200px) {
    .premium-3d-block {
        max-width: 1380px !important;
        width: 95% !important;
    }
}

/* =============================================================
   TARJETA DE BLOG CLICKABLE PREMIUM CON BOTÓN HOVER CENTRADO
   ============================================================= */
.blog-editorial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(9, 36, 33, 0.03);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}

.blog-editorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(9, 36, 33, 0.08);
    border-color: var(--gold-accent) !important;
}

.blog-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.blog-editorial-card:hover .blog-card-img {
    transform: scale(1.02);
}

.blog-card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 36, 33, 0.75); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-read-hover {
    background-color: var(--gold-accent) !important;
    color: var(--primary-color) !important;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.blog-editorial-card:hover .blog-card-hover-overlay {
    opacity: 1;
}

.blog-editorial-card:hover .btn-read-hover {
    transform: translateY(0);
}

.blog-card-link-btn {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    display: inline-block;
    align-self: flex-start;
}

.blog-editorial-card:hover .blog-card-link-btn {
    color: var(--gold-accent) !important;
    border-bottom-color: var(--gold-accent) !important;
}

/* =============================================================
   CORRECCIONES ADICIONALES DE AJUSTE Y RESPONSIVE EN MÓVILES (PRO-VIP)
   ============================================================= */
@media (max-width: 992px) {
    
    .visual-decor-box {
        aspect-ratio: auto !important; 
        padding: 2rem 1.5rem !important; 
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .visual-decor-box::before {
        display: none !important;
    }

    .mini-card-kicker {
        white-space: normal !important;
        word-break: break-word !important;
        display: block !important;
    }
}

@media (max-width: 576px) {
    
    .premium-3d-block {
        width: 96% !important;
        padding: 2.2rem 1.2rem !important; 
        margin: 1.5rem auto !important;
        border-radius: 12px !important;
    }

    .premium-3d-block.block-contact {
        padding: 0 !important;
    }
}

/* =============================================================
   CORRECCIONES CRÍTICAS DE MAQUETACIÓN RESPONSIVE (MÓVIL PRO-VIP)
   ============================================================= */
@media (max-width: 992px) {
    
    .split-visual-right {
        order: 2 !important;
        margin-top: 2rem !important;
        width: 100% !important;
    }
    
    .split-text-left {
        order: 1 !important;
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    
    .integration-key-card {
        padding: 2rem 1.2rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .integration-keys-grid {
        gap: 2.5rem !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .stepper-controls {
        gap: 0.4rem !important;
        padding-bottom: 0.5rem !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
    }
    
    .step-btn {
        padding: 0.4rem 0.2rem 0.8rem 0.2rem !important;
        margin-bottom: -0.5rem !important;
        flex-grow: 1 !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .step-title {
        font-size: 0.76rem !important;
        letter-spacing: 0px !important;
    }
    
    .step-num {
        font-size: 0.65rem !important;
    }

    .stepper-content-box {
        padding: 1.8rem 1.2rem !important;
        min-height: auto !important;
    }
}

/* =============================================================
   REAJUSTE DE ANCHURA Y CENTRADO RESPONSIVE DE EXCELENCIA (VIP)
   ============================================================= */

.spain-brand-emblem-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

.spain-brand-text {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    
    .integration-dashboard-container,
    .comparison-separated-container,
    .why-3d-photo-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .premium-3d-block {
        width: 96% !important;
        margin: 1.5rem auto !important;
        padding: 2.2rem 1.2rem !important; 
        box-sizing: border-box !important;
    }

    .integration-keys-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .integration-key-card {
        padding: 2.2rem 1.4rem !important; 
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .comparison-card-separated {
        padding: 2rem 1.2rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 576px) {
    
    .stepper-controls .step-btn .step-title {
        display: none !important; 
    }
    
    .stepper-controls {
        max-width: 220px !important; 
        margin: 0 auto 1.5rem auto !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        border-bottom: none !important; 
    }
    
    .step-btn {
        padding: 0.5rem 0.5rem 0.8rem 0.5rem !important;
        align-items: center !important;
        text-align: center !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .step-btn.active {
        border-bottom-color: var(--gold-accent) !important;
    }
    
    .step-progress-bar {
        display: none !important; 
    }

    .premium-3d-block {
        width: 98% !important;
        padding: 1.8rem 0.8rem !important;
        margin: 1.2rem auto !important;
    }
    
    .integration-key-card {
        padding: 2rem 1rem !important;
    }
}

/* =============================================================
   ICONO DE FLECHA PREMIUM AL HOVER EN IMAGEN DEL BLOG
   ============================================================= */
.hover-arrow-icon {
    transform: translateY(15px) scale(0.85);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 0;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.blog-editorial-card:hover .hover-arrow-icon {
    transform: translateY(0) scale(1.1);
    opacity: 1;
}

.blog-card-hover-overlay {
    background-color: rgba(9, 36, 33, 0.6) !important; 
}

/* =============================================================
   ESTILOS DE PÁGINAS DE DETALLE DE CURSOS (One-to-One, etc.)
   ============================================================= */
.course-hero {
    position: relative;
    background-color: var(--primary-color);
    padding: 8rem 0 5rem 0;
    color: #FFFFFF;
    overflow: hidden;
}

.course-hero .bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    z-index: 1;
}

.course-hero .glow-gold {
    background-color: var(--gold-accent);
    top: -200px;
    right: -100px;
}

.course-hero .glow-terracotta {
    background-color: var(--accent-color);
    bottom: -300px;
    left: -200px;
}

.course-hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.course-hero-content .kicker {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.course-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.course-hero-content p {
    font-size: 1.1rem;
    color: #CADCD6;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.course-hero-points {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.course-hero-points span {
    font-size: 0.85rem;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-layout {
    display: grid;
    grid-template-columns: 1.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
    margin-top: 4rem;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.course-panel-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.course-panel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(9, 36, 33, 0.05);
}

.course-panel-card::after {
    content: attr(data-step);
    position: absolute;
    top: 25px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(201, 166, 70, 0.05);
    line-height: 1;
}

.course-panel-card .eyebrow {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--gold-accent);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.course-panel-card h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.course-panel-card p {
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.course-panel-card p strong {
    color: var(--primary-color);
}

.mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mode-card {
    background-color: #F9F8F6;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
}

.mode-card b {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mode-card p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

.check-list, .topic-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

@media (min-width: 768px) {
    .check-list, .topic-list {
        grid-template-columns: 1fr 1fr;
    }
}

.check-list li, .topic-list li {
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-color);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    font-weight: 700;
    color: var(--gold-accent);
    font-size: 1rem;
}

.topic-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: -4px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.pack-note {
    font-size: 0.82rem;
    color: var(--text-light);
    background-color: #F9F8F6;
    border-left: 3px solid var(--gold-accent);
    padding: 0.8rem 1.2rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
    line-height: 1.5;
}

.pack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .pack-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pack-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.pack-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    box-shadow: var(--shadow-md);
}

.pack-card.is-featured {
    border: 2px solid var(--gold-accent);
    background-color: rgba(201, 166, 70, 0.02);
}

.pack-top {
    margin-bottom: 1.25rem;
}

.pack-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.pack-duration {
    font-size: 0.74rem;
    color: var(--text-light);
    font-weight: 500;
    background-color: #F4F1EA;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

.pack-main-price {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-figure {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-figure small {
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 2px;
}

.price-caption {
    font-size: 0.74rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.pack-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pack-includes li {
    font-size: 0.8rem;
    color: var(--text-color);
    position: relative;
    padding-left: 1.2rem;
    text-align: left;
}

.pack-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    font-weight: 700;
}

.sticky-form {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
}

.sticky-form h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sticky-form p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.sticky-form .field {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sticky-form label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-form input[type="text"],
.sticky-form input[type="email"],
.sticky-form input[type="tel"],
.sticky-form select,
.sticky-form textarea {
    width: 100%;
    background-color: #F9F8F6;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
    color: var(--text-color);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.sticky-form input:focus,
.sticky-form select:focus,
.sticky-form textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(201, 166, 70, 0.1);
}

.sticky-form textarea {
    min-height: 80px;
    resize: vertical;
}

.sticky-form .checkbox {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: var(--text-light);
    line-height: 1.4;
    cursor: pointer;
    margin-bottom: 1.5rem;
    text-transform: none;
    font-weight: 400;
}

.sticky-form .checkbox input {
    margin-top: 2px;
}

.sticky-form .btn-primary {
    width: 100%;
    padding: 0.9rem;
    font-weight: 600;
    justify-content: center;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-card {
    display: flex;
    background-color: #F9F8F6;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-accent);
    background-color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.related-thumb {
    width: 80px;
    min-width: 80px;
    background-size: cover;
    background-position: center;
}

.related-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-body b {
    display: block;
    font-size: 0.88rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.related-body span {
    font-size: 0.74rem;
    color: var(--text-light);
    line-height: 1.4;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 36, 33, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.enroll-modal {
    background-color: #FFFFFF;
    border-radius: 16px;
    max-width: 550px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.modal-head {
    padding: 2rem 2rem 1.25rem 2rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    transition: color 0.25s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

.enroll-form {
    padding: 2rem;
}

.enroll-form .steps {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.8rem;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.step-pill {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.step-pill.is-active {
    color: var(--gold-accent);
    background-color: rgba(201, 166, 70, 0.08);
}

.form-step {
    display: none;
}

.form-step.is-active {
    display: block;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .modal-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.enroll-form .field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.enroll-form label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enroll-form input[type="text"],
.enroll-form input[type="email"],
.enroll-form input[type="tel"],
.enroll-form select,
.enroll-form textarea {
    width: 100%;
    background-color: #F9F8F6;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
    color: var(--text-color);
    font-family: var(--font-body);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    background-color: #FFFFFF;
}

.option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

@media (min-width: 576px) {
    .option-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.choice-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.choice-card:hover {
    border-color: var(--gold-accent);
    background-color: rgba(201, 166, 70, 0.01);
}

.choice-card input[type="radio"] {
    margin-bottom: 0.4rem;
}

.choice-card strong {
    font-size: 0.88rem;
    color: var(--primary-color);
}

.choice-card span {
    font-size: 0.74rem;
    color: var(--text-light);
    line-height: 1.4;
}

.payment-info {
    display: none;
    background-color: #F9F8F6;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.78rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 1.25rem 0;
    border-left: 3px solid var(--primary-color);
}

.payment-info.is-visible {
    display: block;
}

.enroll-form .checkbox {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: var(--text-light);
    line-height: 1.4;
    cursor: pointer;
    margin-top: 1.25rem;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.8rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.modal-back {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-back:hover {
    background-color: #F9F8F6;
    color: var(--primary-color);
}

.image-strip {
    background-image: linear-gradient(rgba(9, 36, 33, 0.75), rgba(9, 36, 33, 0.75)), url('../../recursos_visuales/home/3d_luxury_study_madrid.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 3.5rem 2.5rem;
    color: #FFFFFF;
    text-align: center;
    border: 1px solid var(--border-color);
}

.image-strip div {
    max-width: 550px;
    margin: 0 auto;
}

.image-strip strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    color: var(--gold-accent);
}

.image-strip span {
    font-size: 0.88rem;
    color: #CADCD6;
    line-height: 1.55;
}

.course-panel-card details {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.course-panel-card details[open] {
    padding-bottom: 1.25rem;
}

.course-panel-card summary {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.course-panel-card summary::-webkit-details-marker {
    display: none;
}

.course-panel-card summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--gold-accent);
    transition: transform 0.25s ease;
}

.course-panel-card details[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

.course-panel-card details p {
    margin-top: 0.75rem;
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 0.88rem;
    line-height: 1.55;
}

@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .sticky-form {
        position: static !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.related-grid-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .related-grid-vertical {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.related-card-vertical {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.related-card-vertical:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-accent) !important;
    box-shadow: 0 20px 40px rgba(9, 36, 33, 0.15), 0 0 15px rgba(201, 166, 70, 0.2) !important;
}

.cta-content-container {
    max-width: 700px;
    margin: 0 auto;
    display: block !important;
    text-align: center;
}

.related-card-vertical .card-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.related-card-vertical .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-vertical h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.related-card-vertical p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.related-card-vertical .card-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.25s ease;
    margin-top: auto;
}

.related-card-vertical:hover .card-cta {
    color: var(--primary-color);
}

/* =============================================================
   OPTIMIZACIONES DE MAQUETACIÓN Y COMPACTACIÓN (One-to-One)
   ============================================================= */
.content-layout {
    display: grid;
    grid-template-columns: 2.3fr 0.7fr !important;
    gap: 4.5rem !important;
    align-items: start;
    margin-top: 1rem !important; 
}

@media (max-width: 1300px) {
    .content-layout {
        grid-template-columns: 2.1fr 0.9fr !important;
        gap: 3rem !important;
    }
}

@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

.sticky-form {
    position: -webkit-sticky;
    position: sticky;
    top: 95px !important;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem 1.2rem !important; 
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    width: 100% !important;
}

.sticky-form h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.35rem !important;
}

.sticky-form p {
    font-size: 0.78rem !important;
    margin-bottom: 1.2rem !important;
}

.sticky-form .field {
    margin-bottom: 0.8rem !important;
    gap: 0.25rem !important;
}

.sticky-form label {
    font-size: 0.68rem !important;
}

.sticky-form input[type="text"],
.sticky-form input[type="email"],
.sticky-form input[type="tel"],
.sticky-form select,
.sticky-form textarea {
    padding: 0.55rem 0.7rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}

.sticky-form textarea {
    min-height: 60px !important;
}

.sticky-form .checkbox {
    margin-bottom: 0.8rem !important;
    gap: 0.35rem !important;
    font-size: 0.7rem !important;
}

.sticky-form .btn-primary {
    padding: 0.75rem !important;
    font-size: 0.85rem !important;
}

.language-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .language-choice-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.language-choice-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.language-choice-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-accent);
    box-shadow: 0 10px 25px rgba(9, 36, 33, 0.05);
}

.language-choice-card.active {
    border-color: var(--primary-color);
    background-color: rgba(9, 36, 33, 0.01);
}

.language-choice-card.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.language-choice-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.language-choice-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.language-choice-card .choice-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.25s ease;
    margin-top: auto;
}

.language-choice-card:hover .choice-btn {
    color: var(--primary-color);
}

.pack-validity-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-accent);
    background-color: rgba(201, 166, 70, 0.08);
    border: 1px solid rgba(201, 166, 70, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    align-self: center;
}

.pack-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.pack-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
}

.course-inline-image {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}

/* =============================================================
   CUSTOM UX STYLES FOR ARABIC SPECIALTY AND INLINE CTAS
   ============================================================= */
.arabic-specialty-banner {
    background-color: rgba(9, 36, 33, 0.03);
    border: 1px solid rgba(201, 166, 70, 0.25);
    border-left: 4px solid var(--gold-accent);
    padding: 1.8rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.arabic-specialty-banner .banner-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(9, 36, 33, 0.05);
    border: 1px solid rgba(9, 36, 33, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.arabic-specialty-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.arabic-specialty-banner p {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.btn-secondary-accent {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    padding: 0.6rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary-accent:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.inline-cta-row {
    margin: 1.8rem 0;
    display: flex;
    justify-content: flex-start;
}

.btn-inline-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: #FFFFFF !important;
    padding: 0.85rem 1.8rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(9, 36, 33, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-inline-cta:hover {
    background-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 166, 70, 0.2);
}

.pack-card-title {
    font-size: 1.4rem !important; 
    font-weight: 700 !important;
    margin-bottom: 0.25rem !important;
}

.pack-validity-badge {
    font-size: 0.85rem !important; 
    padding: 0.35rem 0.8rem !important;
    border-radius: 6px !important;
    border: 1.5px solid rgba(201, 166, 70, 0.35) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* =============================================================
   SIMULADOR DE PRESUPUESTO CORPORATIVO (MODAL Y WIDGETS)
   ============================================================= */
.calculator-modal {
    background-color: #FFFFFF;
    border-radius: 16px;
    max-width: 500px;
    width: 95%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    padding: 2rem;
    position: relative;
    animation: modalFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.calculator-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calculator-subtitle {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.calc-section {
    margin-bottom: 1.5rem;
}

.calc-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    display: block;
}

.pill-grid {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.pill-btn {
    background-color: #F9F8F6;
    border: 1.5px solid var(--border-color);
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-grow: 1;
    text-align: center;
}

.pill-btn:hover {
    border-color: var(--gold-accent);
    background-color: rgba(201, 166, 70, 0.03);
}

.pill-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(9, 36, 33, 0.15);
}

.student-pills {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
}

@media (max-width: 480px) {
    .student-pills {
        grid-template-columns: repeat(4, 1fr);
    }
}

.student-pill-btn {
    background-color: #F9F8F6;
    border: 1.5px solid var(--border-color);
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.student-pill-btn:hover {
    border-color: var(--gold-accent);
}

.student-pill-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
}

.calc-results-box {
    background-color: rgba(9, 36, 33, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.calc-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-color);
}

.calc-price-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.calc-price-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.calc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.calc-total-label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}

.calc-total-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-accent);
}

.calc-breakdown {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-top: 0.5rem;
    text-align: left;
}

.calculator-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.25s ease;
}

.calculator-modal .modal-close:hover {
    color: var(--primary-color);
}

/* =============================================================
   ACCESO DE DESARROLLADOR DE SENDAR STUDIO
   ============================================================= */
.sendar-badge-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
}

.sendar-badge-link {
    display: inline-flex;
    align-items: center;
    background-color: #051412; 
    border: 1px solid rgba(201, 166, 70, 0.25);
    border-radius: 30px;
    padding: 0.35rem 1rem 0.35rem 0.4rem;
    color: #FFFFFF;
    font-size: 0.76rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.sendar-badge-link:hover {
    border-color: var(--gold-accent);
    background-color: #092421;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 166, 70, 0.2);
}

.sendar-badge-icon-wrapper {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(201, 166, 70, 0.1);
    border: 1px solid rgba(201, 166, 70, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: transform 0.5s ease, background-color 0.3s ease;
}

.sendar-badge-link:hover .sendar-badge-icon-wrapper {
    transform: rotate(360deg);
    background-color: rgba(201, 166, 70, 0.25);
    border-color: var(--gold-accent);
}

.sendar-badge-text {
    font-weight: 500;
    color: var(--gold-accent);
    letter-spacing: 0.2px;
}

.sendar-badge-text strong {
    color: #FFFFFF;
    font-weight: 700;
    margin-left: 0.2rem;
}

/* =============================================================
   ESTILOS DE MAQUETACIÓN PARA EL BLOG Y ARTÍCULOS DETALLE
   ============================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3.5rem 0;
}

.blog-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(9, 36, 33, 0.08);
    border-color: rgba(201, 166, 70, 0.3);
}

.blog-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    overflow: hidden;
}

.blog-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 36, 33, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-overlay-btn {
    color: #FFFFFF;
    background-color: var(--primary-color);
    border: 1.5px solid var(--gold-accent);
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transform: translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-overlay-btn {
    transform: translateY(0);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.blog-card-date {
    font-size: 0.76rem;
    color: var(--text-light);
}

.blog-card-btn-visible {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.blog-card-btn-visible svg {
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.blog-card:hover .blog-card-btn-visible svg {
    transform: translateX(3px);
}

.article-layout-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    margin: 3.5rem 0;
}

.article-main-content {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.article-main-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.article-meta-info {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    display: flex;
    gap: 1.5rem;
}

.article-body-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
}

.article-body-text p {
    margin-bottom: 1.5rem;
}

.article-body-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.article-body-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.article-body-text ul, .article-body-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body-text li {
    margin-bottom: 0.5rem;
}

.article-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 100;
}

.sidebar-widget {
    background-color: #FFFFFF;
    border: 1px solid rgba(9, 36, 33, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(9, 36, 33, 0.03);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #092421;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #C9A646; 
}

.sidebar-index-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-index-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #2D3748;
    line-height: 1.5;
}

.sidebar-index-list a {
    color: #2D3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-index-list a:hover {
    color: #C9A646;
}

.sidebar-course-card {
    background-color: #F7F6F3;
    border: 1px solid rgba(9, 36, 33, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 0.5rem;
}

.sidebar-course-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #092421;
    margin-bottom: 0.75rem;
}

.sidebar-course-card p {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.sidebar-course-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #092421;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.sidebar-course-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #051412;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sidebar-course-btn:hover {
    background-color: #092421;
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .article-layout-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* =============================================================
   ESTILOS DE MAQUETACIÓN PREMIUM PARA EL BLOG (VERSION 2)
   ============================================================= */
.blog-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 105px !important;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 10;
}

@media (max-width: 992px) {
    .blog-sidebar-sticky {
        position: static !important;
        width: 100% !important;
    }
}

.blog-sidebar-widget {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.blog-sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-accent);
}

.blog-index-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-index-list li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

.blog-index-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: block;
}

.blog-index-list a:hover {
    color: var(--primary-color);
    padding-left: 4px;
    font-weight: 600;
}

/* =============================================================
   ESTILOS DE BLOG INSPIRADOS EN LA DISPOSICIÓN EI FRANCE (V3)
   ============================================================= */
.blog-theme {
    background-color: #FBF8F3 !important; 
}

.hero.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    background-size: cover;
    background-position: center right;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-image-blog-index {
    background-image: linear-gradient(to right, rgba(9, 36, 33, 0.95) 45%, rgba(9, 36, 33, 0.4) 100%), url('../../recursos_visuales/home/3d_spain_skyline.png');
}
.hero-image-one-to-one {
    background-image: linear-gradient(to right, rgba(9, 36, 33, 0.95) 45%, rgba(9, 36, 33, 0.4) 100%), url('../../recursos_visuales/home/blog_one_to_one.png');
}
.hero-image-online {
    background-image: linear-gradient(to right, rgba(9, 36, 33, 0.95) 45%, rgba(9, 36, 33, 0.4) 100%), url('../../recursos_visuales/home/blog_online.png');
}
.hero-image-empresas {
    background-image: linear-gradient(to right, rgba(9, 36, 33, 0.95) 45%, rgba(9, 36, 33, 0.4) 100%), url('../../recursos_visuales/home/blog_business_lunch.png');
}
.hero-image-diplomaticos {
    background-image: linear-gradient(to right, rgba(9, 36, 33, 0.95) 45%, rgba(9, 36, 33, 0.4) 100%), url('../../recursos_visuales/home/blog_diplomatic.png');
}
.hero-image-welcome {
    background-image: linear-gradient(to right, rgba(9, 36, 33, 0.95) 45%, rgba(9, 36, 33, 0.4) 100%), url('../../recursos_visuales/home/blog_arabic_errors.png');
}

.hero-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

.hero-copy {
    max-width: 650px;
    text-align: left;
}

.hero-copy .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.hero-copy h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-copy p {
    font-size: 1.15rem;
    color: #CADCD6;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.article-meta span {
    font-size: 0.8rem;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.05);
}

.blog-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
    .blog-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.blog-intro h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-intro p {
    color: var(--text-light);
    font-size: 1rem;
}

.blog-note {
    max-width: 350px;
    background-color: #E6FFFA;
    border: 1px solid #B2F5EA;
    color: #004D40;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0, 77, 64, 0.04);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(9, 36, 33, 0.04);
    border: 1px solid rgba(9, 36, 33, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(9, 36, 33, 0.08);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body .eyebrow {
    font-size: 0.75rem;
    color: #4A5568;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    display: block;
}

.card-body h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
}

.card-body p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
    margin-top: auto;
}

.card-link:hover {
    color: var(--gold-accent);
}

/* =============================================================
   ESTILOS DE DETALLE DE GUÍA Y SIDEBAR STICKY (VERSIÓN FINAL)
   ============================================================= */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.article-body {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .article-body {
        padding: 2.25rem 1.5rem;
    }
}

.article-aside {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 10;
}

@media (max-width: 992px) {
    .article-aside {
        position: static !important;
        width: 100% !important;
    }
}

.toc-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.toc-card h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-accent);
}

.toc-card ol {
    padding-left: 1.25rem;
    margin: 0;
}

.toc-card li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

.toc-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.25s ease;
}

.toc-card a:hover {
    color: var(--primary-color);
    font-weight: 600;
}

.article-cta {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.article-cta h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.article-cta p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.article-cta .button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.article-cta .button-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.article-cta .button-primary:hover {
    background-color: var(--gold-accent);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.article-callout {
    background-color: #F7F6F3; 
    border-left: 4px solid var(--gold-accent);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.98rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 2.25rem 0;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(9, 36, 33, 0.02);
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .related-articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .related-articles {
        grid-template-columns: 1fr;
    }
}

.article-mini {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-mini .card-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.article-mini .card-body {
    padding: 1.25rem;
}

.article-mini h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-mini p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.article-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(9, 36, 33, 0.05);
    z-index: 9999;
}

.article-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background-color: var(--gold-accent);
    transition: width 0.1s ease;
}

@media (max-width: 1150px) {
    .footer-bottom-inner {
        flex-direction: column !important;
        gap: 1.25rem !important;
        text-align: center !important;
    }
}

@keyframes formGlow {
    0% {
        box-shadow: var(--shadow-sm);
        border-color: var(--border-color);
    }
    50% {
        box-shadow: 0 0 15px rgba(201, 166, 70, 0.6);
        border-color: var(--gold-accent);
    }
    100% {
        box-shadow: var(--shadow-sm);
        border-color: var(--border-color);
    }
}
.glow-active {
    animation: formGlow 1.5s ease-in-out 2 !important;
}

#formulario {
    scroll-margin-top: 120px;
}
