/* =============================================
   OPEN EUROPE — CSS Principal
   Colores corporativos: #C31E20 (rojo)
   Tipografía: Poppins + Montserrat
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* ---- VARIABLES ---- */
:root {
    --primary: #C31E20;
    --primary-dark: #9B1618;
    --primary-light: #EA5E5F;
    --primary-ultra-light: #fff0f0;
    --dark: #12131A;
    --dark-2: #1E2030;
    --dark-3: #2a2d40;
    --grey: #6b7280;
    --grey-light: #f3f4f6;
    --white: #ffffff;
    --border: rgba(0,0,0,0.08);
    --shadow: 0 4px 24px rgba(195,30,32,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-tag::before { content: '— '; }
.section-tag::after { content: ' —'; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(195,30,32,0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(195,30,32,0.4);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
/* btn-outline inside CTA (red background) should be white */
.cta-section .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.8);
}
.cta-section .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
}
.navbar-logo .brand-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}
.navbar-logo span em {
    color: var(--primary);
    font-style: normal;
}
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar-menu > li { position: relative; }
.navbar-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar-menu > li > a:hover,
.navbar-menu > li > a.active {
    color: var(--primary);
    background: var(--primary-ultra-light);
}
.navbar-menu > li > a.active {
    font-weight: 700;
}
.navbar-menu > li > a.navbar-dropdown-trigger {
    cursor: default;
}
.navbar-menu > li > a svg { width: 14px; height: 14px; transition: var(--transition); }
.navbar-menu > li:hover > a svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
}
.navbar-menu > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.dropdown-menu a:hover {
    color: var(--primary);
    background: var(--primary-ultra-light);
    padding-left: 18px;
}

/* Navbar right */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}
.navbar-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary-ultra-light);
    color: var(--primary);
    transition: var(--transition);
}
.navbar-contact a:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
.navbar-contact a svg { width: 16px; height: 16px; }
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 50px;
    background: var(--grey-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}
.lang-switcher:hover { background: var(--primary); color: var(--white); }

/* Mobile hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--grey-light);
    cursor: pointer;
}
.navbar-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #f5f4f2;
    background-image: url('/imagenes/background.png');
    background-repeat: repeat;
    background-size: 180px;
    padding-top: 72px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(195,30,32,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(195,30,32,0.04) 0%, transparent 60%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(195,30,32,0.08);
    border: 1px solid rgba(195,30,32,0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
}
.hero-tag span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 900;
    line-height: 1.0;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -2px;
}
.hero-title em {
    font-style: normal;
    color: var(--primary);
    display: block;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.hero-stat-item {}
.hero-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}
.hero-stat-number span { color: var(--primary); }
.hero-stat-label {
    font-size: 12px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-main {
    width: 340px;
    height: 460px;
    border-radius: 200px 200px 160px 160px;
    object-fit: cover;
    object-position: top center;
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 80px rgba(0,0,0,0.18);
    border: 3px solid rgba(195,30,32,0.35);
}
.hero-card-float {
    position: absolute;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    border: 1px solid var(--border);
}
.hero-card-float.top-right {
    top: 40px; right: -20px;
}
.hero-card-float.bottom-left {
    bottom: 60px; left: -30px;
}
.hero-card-float .card-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.hero-card-float .card-number sup { font-size: 16px; }
.hero-card-float .card-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}
.hero-blob {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195,30,32,0.12) 0%, transparent 70%);
    z-index: 1;
    animation: blobPulse 4s ease-in-out infinite;
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
    background: var(--primary);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-icon { width: 48px; height: 48px; margin-bottom: 12px; color: rgba(255,255,255,0.8); }
.stat-icon svg { width: 100%; height: 100%; }
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.stat-plus { color: rgba(255,255,255,0.7); }
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 6px;
    font-weight: 500;
}

/* =============================================
   ABOUT SECTION — La nostra història
   ============================================= */
.about-section {
    padding: 100px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-visual {
    position: relative;
}
.about-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-image-team-history {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: transparent;
}
.about-visual-team-history {
    padding: 0;
    background: transparent;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: none;
    overflow: visible;
}
.about-grid-team-history {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 64px;
}
.about-visual-team-history .about-image-team-history {
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-visual-team-history .about-badge {
    display: none;
}
.about-history-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.about-history-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-history-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    white-space: nowrap;
}
.about-history-stat-number sup {
    font-size: 15px;
}
.about-history-stat-label {
    font-size: 11px;
    color: var(--grey);
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.about-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
}
.about-badge.top-left { top: -20px; left: -20px; }
.about-badge.bottom-right { bottom: 30px; right: -20px; }
.about-badge .badge-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.about-badge .badge-number sup { font-size: 18px; }
.about-badge .badge-label {
    font-size: 12px;
    color: var(--grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.about-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 24px;
}
.about-content h2 em {
    font-style: normal;
    color: var(--primary);
}
.about-content p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
}
.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-ultra-light);
    border: 1px solid rgba(195,30,32,0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* =============================================
   VALUES SECTION
   ============================================= */
.values-section {
    padding: 100px 0;
    background-color: #f5f4f2;
    background-image: url('/imagenes/background.png');
    background-repeat: repeat;
    background-size: 180px;
    position: relative;
    overflow: hidden;
}
.values-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(195,30,32,0.05) 0%, transparent 60%);
}
.values-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.values-header .section-tag { color: var(--primary); }
.values-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
}
.values-header h2 em { font-style: normal; color: var(--primary); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.value-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(195,30,32,0.10);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}
.value-card:hover {
    background: rgba(255,255,255,0.98);
    transform: translateY(-4px);
    border-color: rgba(195,30,32,0.25);
    box-shadow: var(--shadow-lg);
}
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
    width: 56px; height: 56px;
    background: var(--primary-ultra-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(195,30,32,0.15);
}
.value-icon svg { width: 28px; height: 28px; color: var(--primary); }
.value-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.value-text {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.7;
}

/* =============================================
   PROGRAMS SECTION
   ============================================= */
.programs-section {
    padding: 100px 0;
    background: var(--grey-light);
}
.programs-header {
    text-align: center;
    margin-bottom: 60px;
}
.programs-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 12px;
}
.programs-header h2 em { font-style: normal; color: var(--primary); }
.programs-header p { font-size: 16px; color: var(--grey); max-width: 540px; margin: 0 auto; }
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(195,30,32,0.2);
}
.program-card.featured::before {
    content: 'Destacat';
    position: absolute;
    top: 16px; right: -28px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}
.program-icon {
    width: 56px; height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}
.program-icon svg { width: 28px; height: 28px; color: var(--white); }
.program-card:hover .program-icon { background: var(--primary-dark); transform: scale(1.1); }
.program-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.program-text {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 20px;
}
.program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.program-link svg { width: 16px; height: 16px; transition: var(--transition); }
.program-link:hover { color: var(--primary-dark); }
.program-link:hover svg { transform: translateX(4px); }

/* =============================================
   NETWORKS SECTION
   ============================================= */
.networks-section {
    padding: 80px 0;
    background: var(--white);
}
.networks-header {
    text-align: center;
    margin-bottom: 48px;
}
.networks-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
}
.networks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.network-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: var(--grey-light);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
    min-height: 140px;
    text-align: center;
}
.network-card:hover {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.network-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    margin-top: 8px;
}

/* =============================================
   COLLABORATORS
   ============================================= */
.collabs-section {
    padding: 60px 0;
    background: var(--grey-light);
    border-top: 1px solid var(--border);
}
.collabs-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 32px;
}
.collabs-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.collab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-3);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.collab-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow);
}
.collab-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

/* =============================================
   CTA FINAL
   ============================================= */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding-top: 72px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-logo .brand-mark {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--primary); color: var(--white); }
.footer-socials a svg { width: 16px; height: 16px; }
.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-links a::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-links a:hover::before { background: var(--primary-light); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-contact-icon {
    width: 36px; height: 36px;
    background: rgba(195,30,32,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-icon svg { width: 16px; height: 16px; color: var(--primary-light); }
.footer-contact-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.footer-contact-value {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--primary-light); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
    background-color: #f5f4f2;
    background-image: url('/imagenes/background.png');
    background-repeat: repeat;
    background-size: 180px;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(195,30,32,0.07) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .section-tag { color: var(--primary); }
.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.page-hero h1 em { font-style: normal; color: var(--primary); }
.page-hero p {
    font-size: 18px;
    color: var(--grey);
    max-width: 560px;
}

/* =============================================
   GENERIC SECTION
   ============================================= */
.section-light {
    padding: 80px 0;
    background: var(--white);
}
.section-grey {
    padding: 80px 0;
    background: var(--grey-light);
}
.section-dark {
    padding: 80px 0;
    background: var(--dark);
}
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 12px;
}
.section-title em { font-style: normal; color: var(--primary); }
.section-title.white { color: var(--white); }
.section-subtitle {
    font-size: 16px;
    color: var(--grey);
    max-width: 600px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* =============================================
   CARDS GRID
   ============================================= */
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.generic-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.generic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(195,30,32,0.15);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-notice {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.45;
}

.form-notice-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.form-notice-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
}

.form-consent input {
    width: auto;
    margin-top: 3px;
}

.form-consent label {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
}

.recaptcha-wrap {
    max-width: 100%;
    margin-top: 18px;
    overflow: hidden;
}

@media (max-width: 360px) {
    .recaptcha-wrap .g-recaptcha {
        width: 304px;
        transform: scale(.86);
        transform-origin: left top;
        margin-bottom: -11px;
    }
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(195,30,32,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}
@keyframes blobPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { display: none; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .networks-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-menu { display: none; }
    .navbar-toggle { display: flex; }
    .navbar-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        align-items: flex-start;
    }
    .navbar-menu.open > li { width: 100%; }
    .navbar-menu.open > li > a { padding: 12px 16px; width: 100%; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--grey-light);
        margin-top: 4px;
        display: none;
    }
    .navbar-menu.open > li.open-drop .dropdown-menu { display: block; }
    .values-grid { grid-template-columns: 1fr; }
    .programs-grid { grid-template-columns: 1fr; }
    .networks-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .cards-grid-2, .cards-grid-3 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
}

/* =============================================
   CUSTOM STYLES FOR PAGE REDESIGNS
   ============================================= */

/* Diamond pattern background */
.bg-oe-pattern {
    background-image: url('/imagenes/background.png');
    background-repeat: repeat;
    background-size: 150px;
    background-color: #ffffff;
}

/* Oval/Egg-shaped hero image */
.oval-hero-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.oval-hero-image {
    width: 480px;
    height: 320px;
    object-fit: cover;
    border-radius: 160px / 110px; /* ellipse shape */
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}
.doodle-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    color: var(--primary);
    pointer-events: none;
}

/* Team department headers */
.dept-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

/* Team card styles */
.team-member-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding: 24px;
}
.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(195,30,32,0.15);
}
.team-avatar-wrapper {
    width: 220px;
    height: 280px;
    border-radius: var(--radius);
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 0;
}
.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* Project Left Sidebar Layout */
.project-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}
.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.filter-group {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}
.filter-group:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.filter-group-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.2px;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}
.search-input-wrapper-mockup {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    margin-bottom: 15px;
}
.search-input-wrapper-mockup:focus-within {
    border-color: var(--primary);
}
.search-input-mockup {
    flex-grow: 1;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    width: 100%;
}
.search-btn-mockup {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.search-btn-mockup:hover {
    background: var(--primary-dark);
}
.search-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}
.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey);
}
.search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
}
.search-input:focus {
    border-color: var(--primary);
}
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-2);
    cursor: pointer;
}
.checkbox-item input {
    cursor: pointer;
}

/* LetHerIn Cards */
.letherin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.letherin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(195,30,32,0.15);
}
.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-card-item h3 {
    text-align: center !important;
}
.project-year {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey);
}
.project-logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 10px;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Course card badges and indicators */
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(195,30,32,0.15);
}
.course-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center top;
    border-bottom: 1px solid var(--border);
    position: relative;
    background-color: var(--grey-light);
}

.course-card-image .course-thumb {
    object-position: center center;
}

.course-card-image .course-thumb-0,
.course-card-image .course-thumb-1,
.course-card-image .course-thumb-2 {
    object-position: center 34%;
}

.course-card-image .course-thumb-5 {
    object-position: center 28%;
}

.course-card-image .course-thumb-14 {
    object-position: center 42%;
}
.whatsapp-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 12px;
    font-weight: 700;
}
.whatsapp-icon-inline {
    width: 18px;
    height: 18px;
    color: #25D366;
}
.course-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.exclusive-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f59e0b;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.course-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.course-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
}
.course-details-list {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.course-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--grey);
}
.course-detail-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.course-modal-open {
    cursor: pointer;
    border: 0;
}

.included-modules-layout {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(220px, 0.86fr) minmax(230px, 1fr);
    gap: 34px;
    align-items: center;
}

.included-modules-title {
    color: var(--dark);
    font-size: 34px;
    line-height: 1.12;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0;
}

.included-module-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 300px;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    text-align: left;
    font-family: inherit;
    color: inherit;
    transition: var(--transition);
}

.included-module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(195, 30, 32, 0.2);
}

.included-module-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.included-module-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 12px;
}

.included-module-content h3 {
    color: var(--dark);
    font-size: 16px;
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 18px;
}

.included-module-hours {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: auto;
    color: var(--dark);
    font-size: 14px;
}

.included-module-hours svg {
    color: var(--primary);
}

.course-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.course-modal.is-open {
    display: flex;
}

.course-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.course-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 1220px);
    max-height: min(88vh, 760px);
    overflow: auto;
    background: #ffffff;
    border: 1px dashed var(--primary);
    border-radius: 8px;
    padding: 28px 36px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.course-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 6px 0 6px;
    cursor: pointer;
    z-index: 2;
}

.course-modal-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(420px, 1.14fr);
    gap: 56px;
    align-items: start;
}

.course-modal-media {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-modal-media img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    border-radius: 2px;
}

.course-modal-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 30px;
}

.course-modal-section {
    margin-bottom: 24px;
}

.course-modal-section h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.course-modal-section p,
.course-modal-section li {
    font-size: 14px;
    line-height: 1.45;
    color: var(--dark-2);
}

.course-modal-section p {
    margin-bottom: 12px;
}

.course-modal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 2px 0 18px;
}

.course-modal-section li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
}

.course-modal-section li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.72em;
    width: 4px;
    height: 4px;
    background: var(--primary);
}

.course-modal-section li ul {
    margin: 4px 0 0;
}

.course-modal-logos {
    margin-top: 18px;
}

.course-modal-logos img {
    display: block;
    width: 100%;
    max-width: 660px;
    height: auto;
    object-fit: contain;
}

body.course-modal-lock {
    overflow: hidden;
}

@media (max-width: 860px) {
    .included-modules-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .included-modules-title {
        order: -1;
        font-size: 28px;
    }

    .course-modal {
        padding: 14px;
    }

    .course-modal-dialog {
        width: min(100%, 680px);
        max-height: 92vh;
        padding: 26px 18px;
    }

    .course-modal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .course-modal-media {
        min-height: 0;
    }

    .course-modal-media img {
        max-height: 360px;
    }

    .course-modal-content h3 {
        font-size: 19px;
        text-align: left;
        margin-bottom: 20px;
    }
}

/* Accordion layout */
.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}
.accordion-header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}
.accordion-header:hover {
    background: var(--primary-ultra-light);
}
.accordion-icon {
    transition: transform 0.3s;
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--grey);
    font-size: 14px;
    line-height: 1.7;
}
.accordion-item.active .accordion-content {
    padding: 16px 24px 24px;
    max-height: 200px;
}

/* Form styles side-by-side */
.split-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 1024px) {
    .project-layout-container {
        grid-template-columns: 1fr;
    }
    .split-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Circular background frame for person images */
.circle-bg-wrapper {
    position: relative;
    display: inline-block;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}
.circle-bg-shape {
    position: absolute;
    width: 280px;
    height: 280px;
    background: var(--primary);
    border-radius: 50%;
    bottom: 0;
    left: 20px;
    z-index: 1;
}
.circle-bg-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-height: 310px;
    object-fit: contain;
    border-radius: 0 0 140px 140px;
}
#citybound-section .citybound-person-image {
    max-height: 360px;
    width: auto;
    border-radius: 0;
}

#citybound-section .accordion-item.active .accordion-content {
    max-height: 260px;
}

#citybound-section .oval-hero-image,
#citybound-section .travel-gallery-item img {
    object-position: center center;
}

#mobilitats-section .mobilitats-hero-logo {
    object-fit: contain;
    padding: 48px 42px;
    background: #ffffff;
}

#mobilitats-section .mobilitats-hero-photo {
    object-fit: cover;
    object-position: center center;
    padding: 0;
    background: #ffffff;
}

#mobilitats-section .mobilitats-person-image {
    max-height: 360px;
    width: auto;
    border-radius: 0;
}

#mobilitats-section .mobilitats-card-logo {
    display: block;
    width: auto;
    object-fit: contain;
    margin: 0 auto 14px;
}

#mobilitats-section .mobilitats-card-logo-wide {
    max-width: 220px;
    max-height: 70px;
}

#mobilitats-section .mobilitats-card-logo-round {
    max-width: 112px;
    max-height: 112px;
}

#mobilitats-section .mobilitats-link-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

#mobilitats-section .mobilitats-gallery-focus {
    object-position: center center;
}

#voluntariat-section .voluntariat-hero-image {
    object-position: center center;
}

#voluntariat-section .voluntariat-quin-es-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
}

#eurodesk-section .eurodesk-hero-image {
    object-position: center center;
}

#eurodesk-section .eurodesk-que-es-image {
    position: relative;
    inset: auto;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 48%;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

#eurodesk-section .eurodesk-que-es-frame {
    width: min(360px, 100%);
    height: auto;
    aspect-ratio: 4 / 5;
    padding: 0;
}

#eurodesk-section .eurodesk-que-es-frame .circle-bg-shape {
    width: 86%;
    height: 86%;
    left: 7%;
    bottom: -18px;
    border-radius: 24px;
    transform: rotate(-3deg);
}

.cursos-hero-image {
    object-position: center center;
}

.equip-hero-image {
    object-position: center center;
}

.project-detail-hero {
    background: #f6f6f6;
    padding: 120px 0 140px;
}

.project-detail-hero-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.project-detail-hero-grid--text-only {
    grid-template-columns: 1fr;
}

.project-detail-hero .page-hero-inner {
    position: relative;
}

.project-detail-hero-grid--text-only .page-hero-inner {
    text-align: center;
}

.project-detail-hero h1 {
    max-width: 520px;
    font-size: clamp(42px, 5vw, 64px);
    color: #00194f;
    letter-spacing: 0;
}

.project-detail-doodle {
    width: 58px;
    height: 58px;
    color: var(--primary);
    margin-left: min(34vw, 360px);
    margin-bottom: -4px;
}

.project-detail-hero-grid--text-only h1 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.project-detail-hero-grid--text-only .project-detail-doodle {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.project-detail-hero-media {
    position: relative;
    display: flex;
    justify-content: center;
}

.project-detail-hero-image {
    width: min(620px, 100%);
    aspect-ratio: 2.1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 52% / 48%;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.project-detail-section {
    padding-top: 90px;
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.project-detail-content {
    max-width: 780px;
}

.project-detail-rule {
    height: 1px;
    background: var(--primary);
    margin-bottom: 52px;
}

.project-detail-content h2,
.project-detail-content h3 {
    color: #00194f;
    font-weight: 900;
    line-height: 1.2;
}

.project-detail-content h2 {
    font-size: 22px;
    margin: 0 0 22px;
}

.project-detail-content h3 {
    font-size: 18px;
    margin: 28px 0 12px;
}

.project-detail-content p,
.project-detail-list {
    color: var(--dark-2);
    font-size: 14px;
    line-height: 1.75;
}

.project-detail-content p {
    margin: 0 0 14px;
}

.project-detail-list {
    margin: 0 0 42px 18px;
    padding: 0;
}

.project-detail-list li {
    margin-bottom: 14px;
    padding-left: 6px;
}

.project-detail-list li::marker {
    color: var(--primary);
}

.project-detail-aside {
    background: #ffffff;
    border: 1px dashed var(--primary);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    padding: 24px;
    position: sticky;
    top: 110px;
}

.project-detail-logo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 30px;
}

.project-detail-logo-row img {
    width: 100%;
    height: 112px;
    max-height: none;
    object-fit: contain;
    padding: 2px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.project-detail-meta {
    display: grid;
    gap: 13px;
}

.project-detail-meta div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    align-items: baseline;
    color: var(--dark);
    font-size: 13px;
}

.project-detail-meta span {
    color: var(--primary);
    font-weight: 800;
}

.project-detail-meta strong {
    color: #00194f;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .project-detail-hero-grid,
    .project-detail-layout {
        grid-template-columns: 1fr;
    }

    .project-detail-hero-media {
        justify-content: flex-start;
    }

    .project-detail-aside {
        position: static;
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .project-detail-hero {
        padding: 78px 0 80px;
    }

    .project-detail-hero-grid {
        gap: 36px;
    }

    .project-detail-doodle {
        margin-left: 0;
    }

    .project-detail-section {
        padding-top: 58px;
    }
}

.qui-som-olena-hero,
.qui-som-olena-image {
    object-fit: contain;
    object-position: center bottom;
    background: linear-gradient(135deg, #fff8f6 0%, #f7ece8 100%);
}

.qui-som-olena-image {
    max-height: 560px;
    padding: 18px 18px 0;
}

.qui-som-entrada-hero-wrapper {
    width: min(100%, 560px);
}

.qui-som-entrada-hero {
    width: 560px;
    height: 320px;
    object-position: center center;
}

.qui-som-method-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
}
/* Travel grid gallery */
.travel-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.travel-gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 100px;
    border: 1px solid var(--border);
}
.travel-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.travel-gallery-item:hover img {
    transform: scale(1.08);
}

/* =============================================
   LEGAL & PRIVACY PAGES STYLES
   ============================================= */
.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    margin-top: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 110px;
}

.legal-index-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.legal-index-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.legal-index-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal-index-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey);
    padding: 8px 12px;
    border-left: 2px solid transparent;
    transition: var(--transition);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-index-link:hover,
.legal-index-link.active {
    color: var(--primary);
    background: var(--primary-ultra-light);
    border-left-color: var(--primary);
}

.legal-content {
    background: var(--white);
}

.legal-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 120px; /* Offset for sticky nav headers */
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.legal-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-2);
    margin: 20px 0 10px 0;
}

.legal-section p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section p strong {
    color: var(--dark-2);
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--grey);
    font-size: 14px;
    line-height: 1.7;
}

.legal-section ul li::before {
    content: "•";
    color: var(--primary);
    font-size: 20px;
    position: absolute;
    left: 4px;
    top: -2px;
}

.legal-section a {
    color: var(--primary);
    font-weight: 500;
    border-bottom: 1px dashed var(--primary-light);
}

.legal-section a:hover {
    color: var(--primary-dark);
    border-bottom-style: solid;
}

/* Tabular Details for Legal Disclosures */
.legal-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.legal-info-table th,
.legal-info-table td {
    padding: 14px 18px;
    text-align: left;
}

.legal-info-table tr {
    border-bottom: 1px solid var(--border);
}

.legal-info-table tr:last-child {
    border-bottom: none;
}

.legal-info-table th {
    background-color: var(--primary-ultra-light);
    color: var(--primary);
    font-weight: 700;
    width: 30%;
    vertical-align: top;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-info-table td {
    color: var(--grey);
    line-height: 1.6;
}

/* LetHerIn Style Summary Box */
.legal-basic-box {
    background: var(--dark-2);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Custom background patterns for summary box */
.legal-basic-box::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195,30,32,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.legal-basic-tag {
    background-color: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(195,30,32,0.2);
}

.legal-basic-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.legal-basic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.legal-basic-item {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
}

.legal-basic-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    margin-bottom: 8px;
    font-weight: 700;
}

.legal-basic-value {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsiveness */
@media (max-width: 992px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .legal-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .legal-basic-box {
        padding: 30px 24px;
    }
    .legal-basic-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .legal-info-table th {
        width: 100%;
        display: block;
        padding-bottom: 4px;
    }
    .legal-info-table td {
        display: block;
        padding-top: 4px;
    }
    .legal-info-table tr {
        display: block;
        padding: 8px 0;
    }
    .legal-info-table {
        border: none;
    }
}

/* =============================================
   HERO OVALS LAYOUT & NETWORKS LOGOS
   ============================================= */
.hero-visual-pills {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    height: 480px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    z-index: 2;
}
.hero-pill {
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
    position: relative;
    background: var(--primary);
}
.hero-pill.pill-main {
    width: 260px;
    height: 420px;
    border-radius: 130px;
    z-index: 2;
}
.hero-pill.pill-sub {
    width: 200px;
    height: 320px;
    border-radius: 100px;
    z-index: 1;
    margin-bottom: 15px;
}
.hero-pill-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    display: block;
}
.hero-pill:hover .hero-pill-img {
    transform: scale(1.06);
}

/* Floating card overrides for pills */
.hero-card-float.top-right-pill {
    position: absolute;
    top: 60px; right: -10px;
    z-index: 3;
}
.hero-card-float.bottom-left-pill {
    position: absolute;
    bottom: 20px; left: -20px;
    z-index: 3;
}

/* Avatar small styling inside floating card */
.avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--white);
    overflow: hidden;
    background: var(--grey-light);
    margin-left: -8px;
}
.avatar-sm:first-child {
    margin-left: 0;
}
.avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.avatar-sm-text {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--white);
    font-weight: 700;
}

/* Network Logo styling */
.network-card {
    text-decoration: none;
}
.network-logo-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    padding: 4px;
    transition: var(--transition);
}
.network-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.network-card:nth-child(3) .network-logo-wrapper,
.network-card:nth-child(4) .network-logo-wrapper {
    border-radius: 14px;
}
.network-card:hover .network-logo-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-visual-pills {
        height: 380px;
        margin-top: 40px;
    }
    .hero-pill.pill-main {
        width: 180px;
        height: 300px;
        border-radius: 90px;
    }
    .hero-pill.pill-sub {
        width: 140px;
        height: 230px;
        border-radius: 70px;
        margin-bottom: 10px;
    }
    .hero-card-float.top-right-pill {
        top: 20px; right: 10px;
    }
    .hero-card-float.bottom-left-pill {
        bottom: 10px; left: 10px;
    }
}

/* Mobile homepage polish: keep the first viewport readable on Safari-sized screens */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-inner {
        height: 64px;
        gap: 8px;
    }

    .navbar-logo {
        gap: 8px;
        font-size: 18px;
        min-width: 0;
    }

    .navbar-logo .brand-mark {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .navbar-right {
        gap: 6px;
        margin-left: auto;
    }

    .navbar-contact {
        gap: 6px;
        padding-left: 0;
        border-left: 0;
    }

    .navbar-contact a,
    .navbar-toggle {
        width: 34px;
        height: 34px;
    }

    .lang-switcher {
        padding: 6px 9px;
        letter-spacing: 0.3px;
    }

    .navbar-menu.open {
        top: 64px;
    }

    .hero {
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 48px;
        align-items: flex-start;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: calc(100svh - 144px);
        justify-content: flex-start;
        text-align: center;
        padding-top: clamp(48px, 12vh, 96px);
    }

    .hero-content {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-tag {
        max-width: 100%;
        justify-content: center;
        padding: 9px 18px;
        margin-bottom: 22px;
        font-size: 11px;
        line-height: 1.35;
        letter-spacing: 1.7px;
        white-space: normal;
    }

    .hero-title {
        font-size: clamp(42px, 13vw, 58px);
        line-height: 0.98;
        letter-spacing: 0;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        max-width: 330px;
        margin: 0 auto 30px;
        font-size: 18px;
        line-height: 1.45;
    }

    .hero-cta {
        width: min(100%, 270px);
        margin: 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .hero-cta .btn {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .hero-stats,
    .hero-visual-pills {
        display: none;
    }
}

@media (max-width: 390px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-logo span {
        font-size: 17px;
    }

    .navbar-contact a,
    .navbar-toggle {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding-top: 88px;
        padding-bottom: 38px;
    }

    .hero-inner {
        min-height: calc(100svh - 126px);
        padding-top: clamp(36px, 9vh, 72px);
    }

    .hero-tag {
        padding: 8px 14px;
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .hero-title {
        font-size: clamp(38px, 12.5vw, 50px);
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 24px;
    }

    .hero-cta {
        width: min(100%, 250px);
    }
}

/* =============================================
   PROGRAMA ALMA PAGE
   ============================================= */
#alma-section {
    background: #ffffff;
}

#alma-section .container {
    max-width: 1160px;
}

#alma-section .page-hero {
    padding: 115px 0 125px !important;
    background: #ffffff !important;
}

#alma-section .page-hero > .container > div {
    grid-template-columns: 0.72fr 1.28fr !important;
    gap: 74px !important;
}

#alma-section .page-hero h1 {
    color: #00194f !important;
    font-size: 56px !important;
    letter-spacing: 0 !important;
}

#alma-section .breadcrumbs {
    font-size: 11px !important;
}

#alma-section .alma-hero-visual {
    justify-content: center !important;
}

#alma-section .alma-hero-image-wrapper {
    max-width: 650px !important;
    aspect-ratio: 2.15 / 1 !important;
}

#alma-section .alma-oval-frame {
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

#alma-section .alma-oval-frame img {
    object-position: center center;
}

#alma-section .page-hero + .section-light {
    padding: 70px 0 88px !important;
    background: #fbfbfb !important;
}

#alma-section .page-hero + .section-light .cards-grid-3 {
    gap: 18px !important;
    margin-bottom: 0 !important;
}

#alma-section .page-hero + .section-light .cards-grid-3 > div {
    min-height: 215px;
    border-radius: 14px !important;
    border-color: #d5d5d5 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.22) !important;
    padding: 28px 24px 26px !important;
}

#alma-section .page-hero + .section-light .cards-grid-3 h3 {
    color: #00194f !important;
    font-size: 16px !important;
    margin-bottom: 14px !important;
}

#alma-section .page-hero + .section-light .cards-grid-3 p {
    font-size: 12px !important;
    line-height: 1.55 !important;
}

#alma-section .page-hero + .section-light .cards-grid-3 > div > div:first-child {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 14px !important;
    background: #cf1f27 !important;
}

#alma-section section[style*="tercera.webp"] {
    padding: 42px 0 !important;
    background-position: center 34% !important;
}

#alma-section section[style*="tercera.webp"] h2 {
    font-size: 34px !important;
}

#alma-section .alma-trip-visual {
    gap: 18px !important;
}

#alma-section .alma-city-frame {
    border: 0 !important;
    border-radius: 28px !important;
    box-shadow: 0 5px 14px rgba(0,0,0,0.22) !important;
}

#alma-section .alma-city-frame img {
    aspect-ratio: 1.5 / 1;
    object-fit: cover !important;
}

#alma-section .alma-qr-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#alma-section .alma-qr-card img {
    width: 142px !important;
    height: 142px !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

#alma-section .alma-qr-card a {
    font-size: 15px !important;
    color: #d31f27 !important;
}

#alma-section .alma-logos-row {
    justify-content: space-between !important;
    gap: 28px !important;
}

#alma-section .alma-logos-row img {
    height: auto !important;
    max-height: 48px;
    max-width: 235px;
}

#alma-section .alma-posters-grid {
    max-width: 1090px;
    margin: 0 auto;
    gap: 54px !important;
    align-items: start;
}

#alma-section .alma-poster-frame {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#alma-section .alma-poster-frame img {
    width: 100%;
    height: auto;
}

#alma-section .split-form-grid {
    grid-template-columns: 0.9fr 1.25fr !important;
    gap: 72px !important;
}

#alma-section .split-form-grid > div:first-child {
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}

#alma-section .split-form-grid input,
#alma-section .split-form-grid textarea {
    border-color: #ff3e46 !important;
    border-radius: 9px !important;
}

#alma-section .accordion-item {
    border-color: #d6d6d6 !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 9px rgba(0,0,0,0.16) !important;
}

#alma-section .accordion-header {
    min-height: 46px;
    padding: 13px 20px !important;
    font-size: 13px !important;
}

#alma-section .accordion-content {
    max-height: 0 !important;
    padding: 0 20px !important;
    overflow: hidden !important;
    transition: max-height 0.25s ease, padding 0.25s ease !important;
}

#alma-section .accordion-item.active .accordion-content {
    max-height: 220px !important;
    padding: 0 20px 18px !important;
}

@media (max-width: 1024px) {
    #alma-section .page-hero > .container > div,
    #alma-section section[style*="80px 0 60px"] > .container > div,
    #alma-section .split-form-grid {
        grid-template-columns: 1fr !important;
    }

    #alma-section .alma-hero-visual {
        justify-content: flex-start !important;
    }

    #alma-section .alma-logos-row {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    #alma-section .page-hero {
        padding: 58px 0 70px !important;
    }

    #alma-section .page-hero h1 {
        font-size: 42px !important;
    }

    #alma-section .page-hero + .section-light .cards-grid-3,
    #alma-section .alma-posters-grid {
        grid-template-columns: 1fr !important;
    }

    #alma-section .alma-posters-grid {
        gap: 28px !important;
    }

    #alma-section .alma-logos-row img {
        max-width: 180px;
    }
}

/* =============================================
   PROJECT DETAIL - SOCIAL MEDIA & PARTNERS
   ============================================= */
.project-detail-social {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.project-detail-social h3,
.project-detail-partners h3 {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--primary);
    margin: 0 0 10px;
}

.project-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.project-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary-ultra-light);
    color: var(--primary);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.project-social-icon:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.project-social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.project-detail-partners {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.project-partners-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.project-partners-list li {
    font-size: 12px;
    line-height: 1.45;
}

.project-partners-list li a {
    color: #e05555;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.project-partners-list li a:hover {
    color: #c43b3b;
    text-decoration: underline;
}

.project-partners-list li span {
    color: var(--dark-2);
    font-weight: 500;
}
