/* =========================================
   LANDING POLÍTICA DR. GUILLERMO RODRÍGUEZ
   Paleta: #f29100 (naranja) | #1f2937 (slate) | #ffffff
   ========================================= */

/* === BASE RESET & VARIABLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #f29100;
    --primary-orange-light: #ff9f1a;
    --primary-orange-dark: #d97f00;
    --dark-slate: #1f2937;
    --dark-slate-deep: #111827;
    --pure-white: #ffffff;
    --soft-gray: #f8f9fa;
    --border-light: #e5e7eb;
    --text-gray: #6b7280;
    --base-font: 'Inter', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--base-font);
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    background: var(--pure-white);
    overflow-x: hidden;
}

.political-body {
    position: relative;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-slate);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

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

/* === UTILITY CLASSES === */
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.pt-80 { padding-top: 80px; }
.pb-30 { padding-bottom: 30px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-80 { margin-top: 80px; }
.mr-3 { margin-right: 1rem; }
.ml-2 { margin-left: 0.5rem; }

.text-center { text-align: center; }
.rel { position: relative; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }

.bg-soft-gray { background: var(--soft-gray); }
.bg-dark-slate { background: var(--dark-slate); }
.bg-footer-dark { background: var(--dark-slate-deep); }

/* === HEADER === */
.header-political {
    position: sticky;
    top: 0;
    background: var(--pure-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    z-index: 999;
    transition: var(--transition-smooth);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--dark-slate);
}

.logo-text strong {
    color: var(--primary-orange);
}

.navigation {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navigation li a {
    font-weight: 500;
    color: var(--dark-slate);
    font-size: 0.95rem;
    position: relative;
}

.navigation li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.navigation li a:hover::after,
.navigation li a.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-slate);
    margin: 5px 0;
    transition: 0.3s;
}

/* === BUTTONS === */
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.theme-btn.style-orange {
    background: var(--primary-orange);
    color: var(--pure-white);
    border-color: var(--primary-orange);
}

.theme-btn.style-orange:hover {
    background: var(--primary-orange-dark);
    border-color: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 145, 0, 0.3);
}

.theme-btn.style-outline-white {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
}

.theme-btn.style-outline-white:hover {
    background: var(--pure-white);
    color: var(--dark-slate);
}

.theme-btn.large {
    padding: 15px 40px;
    font-size: 1.05rem;
}

/* === HERO SECTION === */
.hero-political {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--dark-slate-deep) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.85) 100%);
    z-index: 1;
}

.hero-political .container {
    position: relative;
    z-index: 2;
}

.hero-content-political {
    padding: 60px 0;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(242, 145, 0, 0.15);
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.highlight-orange {
    color: var(--primary-orange);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #d1d5db;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-political {
    position: relative;
}

.hero-image-political img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--pure-white);
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}

/* === SECTION TAGS & TITLES === */
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(242, 145, 0, 0.1);
    color: var(--primary-orange);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-orange);
}

.section-title-main {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 20px;
    line-height: 1.3;
}

.bg-dark-slate .section-title-main {
    color: var(--pure-white);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    /* max-width: 700px; */
    margin: 0 auto;
}

.bg-dark-slate .section-description {
    color: #d1d5db;
}

/* =========================================
   MANIFESTO SECTION PARALLAX (DESKTOP)
   ========================================= */

.manifesto-section {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

/* Fondo con efecto tipo parallax en desktop */
.manifesto-section::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    background-image: var(--banner-url);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

/* Overlay oscuro para contraste */
.manifesto-section::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(31, 41, 55, 0.65) 0%,
        rgba(17, 24, 39, 0.55) 100%
    );
    z-index: 2;
}

/* Contenido por encima del fondo y overlay */
.manifesto-section .container {
    position: relative;
    z-index: 3;
}

/* Tag de sección */
.manifesto-section .section-tag {
    background: rgba(242, 145, 0, 0.2);
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
}

/* Título principal */
.manifesto-section .section-title-main {
    color: var(--pure-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Párrafo principal (sólo el primero debajo del título) */
.manifesto-section > .container > .row > .col-lg-12.mb-50.text-center p {
    color: #e5e7eb;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Botón CTA con mayor contraste */
.manifesto-section .theme-btn.style-orange {
    box-shadow: 0 4px 15px rgba(242, 145, 0, 0.4);
}

/* =========================================
   MANIFESTO – PILLARS (CARDS)
   ========================================= */

.lead-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-slate);
    line-height: 1.7;
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Layout de cards (lo tienes por bootstrap grid, esto lo refuerza si usas grid puro) */
/* .manifesto-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
} */

.pillar-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--soft-gray);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.pillar-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(242, 145, 0, 0.15);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 2rem;
}

.pillar-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-slate);
}

.pillar-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* =========================================
   RESPONSIVE – MANIFESTO / PARALLAX
   ========================================= */

/* En mobile desactivamos el parallax CSS por estabilidad y dejamos un fondo estático optimizado */
@media (max-width: 991px) {
    .manifesto-section::before {
        background-attachment: scroll;      /* sin parallax fijo */
        height: 115%;                       /* un pelín más alto para cubrir movimientos */
        background-position: center top;    /* recorte mejor en pantallas altas */
    }
}

/* Respeto al usuario que pide menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .manifesto-section::before {
        background-attachment: scroll;
    }
}


/* === VISION CARDS === */
.vision-section {
    position: relative;
    overflow: hidden;
}

.vision-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    height: 100%;
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.vision-card.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.vision-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(242, 145, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.vision-card.active .vision-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
}

.vision-card h3 {
    font-size: 1.6rem;
    color: var(--pure-white);
    margin-bottom: 15px;
}

.vision-card p {
    color: #d1d5db;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.vision-list {
    list-style: none;
    padding: 0;
}

.vision-list li {
    color: #d1d5db;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.vision-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

.vision-card.active .vision-list li::before {
    color: var(--pure-white);
}

.vision-shape-left,
.vision-shape-right {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(242, 145, 0, 0.05);
    filter: blur(80px);
    z-index: 0;
}

.vision-shape-left {
    top: -100px;
    left: -100px;
}

.vision-shape-right {
    bottom: -100px;
    right: -100px;
}

/* === TIMELINE PROFESSIONAL === */
.timeline-professional {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-professional::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-year {
    background: var(--primary-orange);
    color: var(--pure-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(242, 145, 0, 0.4);
    white-space: nowrap;
}

.timeline-content {
    width: calc(50% - 60px);
    background: var(--pure-white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-orange);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--primary-orange);
}

.timeline-item.active .timeline-content {
    border-color: var(--primary-orange-dark);
    box-shadow: 0 12px 35px rgba(242, 145, 0, 0.2);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--dark-slate);
    margin-bottom: 8px;
}

.timeline-meta {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.timeline-content p {
    color: #4b5563;
    margin-bottom: 15px;
    line-height: 1.7;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.achievement-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #374151;
    font-size: 0.9rem;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

/* === PARTY SECTION === */
.party-content {
    padding-right: 40px;
}

.party-principles {
    list-style: none;
    padding: 0;
}

.party-principles li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #374151;
}

.party-principles li i {
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.party-image {
    position: relative;
}

.party-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* === PROPOSALS GRID === */
.proposals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.proposal-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 35px 30px;
    border: 2px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.proposal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.proposal-card:hover::before {
    transform: scaleX(1);
}

.proposal-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(242, 145, 0, 0.15);
}

.proposal-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.proposal-tag.health {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.proposal-tag.security {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.proposal-tag.family {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.proposal-tag.economy {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.proposal-tag.education {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.proposal-tag.infrastructure {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.proposal-tag.video {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.proposal-tag.prensa {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.proposal-tag.reel {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.proposal-tag.entrevista {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.proposal-tag.sesion {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.proposal-tag.comunidad {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.proposal-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--dark-slate);
    line-height: 1.4;
}

.proposal-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.proposal-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
}

.proposal-status.approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.proposal-status.process {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.proposal-status.draft {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.proposal-status.video {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* === FAMILY SECTION === */
.family-image {
    position: relative;
}

.family-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.family-quote {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(31, 41, 55, 0.92);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.family-quote i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.family-quote p {
    color: var(--pure-white);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

.family-values {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.value-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.5rem;
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-slate);
}

.family-blockquote {
    background: var(--soft-gray);
    border-left: 4px solid var(--primary-orange);
    padding: 30px;
    margin-top: 30px;
    border-radius: 8px;
    font-style: italic;
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* === CONTACT SECTION - VERSIÓN COMPACTA === */

/* CONTACT CARD - MANTENER IGUAL */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

/* FORM CONTROLS - VERSIÓN COMPACTA */
.form-control-political {
    width: 100%;
    padding: 10px 14px; /* REDUCIDO: era 14px 18px */
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--pure-white);
    font-size: 0.9rem; /* REDUCIDO: era 0.95rem */
    font-family: var(--base-font);
    transition: var(--transition-smooth);
    line-height: 1.4; /* MEJORADO: mejor relación altura/texto */
}

.form-control-political:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(242, 145, 0, 0.1); /* REDUCIDO: era 4px */
}

/* TEXTAREA ESPECÍFICA - MÁS COMPACTA */
textarea.form-control-political {
    resize: vertical;
    min-height: 100px; /* REDUCIDO: era 140px */
    line-height: 1.5; /* MEJORADO: mejor legibilidad en texto largo */
}

/* SELECT - MANTENER COMPATIBILIDAD */
select.form-control-political {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center; /* AJUSTADO: era 15px */
    padding-right: 35px; /* REDUCIDO: era 40px */
}

/* FORM GROUPS - ESPACIADO MÁS COMPACTO */
.form-group-political {
    margin-bottom: 20px; /* REDUCIDO: era 25px */
}

.form-group-political label {
    display: block;
    color: var(--pure-white);
    font-weight: 600;
    margin-bottom: 8px; /* REDUCIDO: era 10px */
    font-size: 0.9rem; /* REDUCIDO: era 0.95rem */
}

/* CHECKBOXES - MÁS COMPACTO */
.form-checkbox-political {
    display: flex;
    align-items: flex-start;
    gap: 10px; /* REDUCIDO: era 12px */
    margin-bottom: 15px; /* REDUCIDO: era 20px */
}

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

.form-checkbox-political label {
    color: #d1d5db;
    font-size: 0.85rem; /* REDUCIDO: era 0.9rem */
    line-height: 1.5; /* MEJORADO: era 1.6 */
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}

/* CONTACT FORM WRAPPER - MÁS COMPACTO */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 35px; /* REDUCIDO: era 50px 40px */
}

/* HEADER MÁS COMPACTO */
.contact-form-header {
    margin-bottom: 30px; /* REDUCIDO: era 40px */
}

.contact-form-header h3 {
    color: var(--pure-white);
    font-size: 1.8rem; /* REDUCIDO: era 2rem */
    margin-bottom: 12px; /* REDUCIDO: era 15px */
}

.contact-form-header p {
    color: #d1d5db;
    font-size: 1rem; /* REDUCIDO: era 1.05rem */
}

/* BOTÓN MÁS COMPACTO (OPCIONAL) */
.contact-form-political .theme-btn.large {
    padding: 12px 32px; /* REDUCIDO: era 15px 40px */
    font-size: 1rem; /* REDUCIDO: era 1.05rem */
}

/* =========================================
   RESPONSIVE - MANTENER COMPACIDAD EN MÓVIL
   ========================================= */

@media (max-width: 767px) {
    .contact-form-wrapper {
        padding: 30px 20px; /* MÁS COMPACTO EN MÓVIL */
    }

    .form-control-political {
        padding: 9px 12px; /* MÁS COMPACTO EN MÓVIL */
        font-size: 0.88rem;
    }

    textarea.form-control-political {
        min-height: 90px; /* MÁS COMPACTO EN MÓVIL */
    }

    .form-group-political {
        margin-bottom: 18px; /* MÁS COMPACTO EN MÓVIL */
    }

    .contact-form-header h3 {
        font-size: 1.6rem; /* MÁS COMPACTO EN MÓVIL */
    }
}

@media (max-width: 575px) {
    .contact-form-wrapper {
        padding: 25px 15px; /* MÁXIMA COMPACIDAD EN MÓVIL PEQUEÑO */
    }

    .form-control-political {
        padding: 8px 12px;
    }

    .form-group-political label {
        font-size: 0.85rem;
    }
}

/* === FOOTER === */
.footer-political {
    position: relative;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-family: var(--heading-font);
    color: var(--pure-white);
}

.footer-logo-text strong {
    color: var(--primary-orange);
}

.footer-desc {
    color: #9ca3af;
    line-height: 1.7;
    margin-top: 15px;
    font-size: 0.95rem;
}

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

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

.footer-social a:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--pure-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact li {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact li i {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-contact a {
    color: #9ca3af;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--primary-orange);
}

.footer-party-link {
    display: inline-block;
}

.party-badge-footer {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-orange);
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pure-white);
    transition: var(--transition-smooth);
}

.party-badge-footer:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(242, 145, 0, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-legal a {
    color: #6b7280;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

/* === SCROLL TO TOP === */
.scroll-top-political {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border: none;
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(242, 145, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.scroll-top-political.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top-political:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 145, 0, 0.5);
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--pure-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === MEDIA SECTION === */
.media-section {
    background: var(--pure-white);
}

.media-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    aspect-ratio: 9 / 16;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(242, 145, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 2.5rem;
    transition: var(--transition-smooth);
}

.media-card:hover .media-play-icon {
    background: var(--primary-orange-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

/* === WHATSAPP FLOAT BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 2rem;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float.active {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

/* === VIDEO MODAL CUSTOM === */
.video-modal-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 10001;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--pure-white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 10px;
}

.video-modal-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* SimpleLightbox Override */
.sl-overlay {
    background: rgba(0, 0, 0, 0.95) !important;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button {
    color: var(--primary-orange) !important;
}

.sl-wrapper .sl-navigation button:hover {
    color: var(--primary-orange-light) !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1199px) {
    .hero-title { font-size: 3rem; }
    .section-title-main { font-size: 2.3rem; }
}

@media (max-width: 991px) {
    .navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--pure-white);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        transition: left 0.4s ease;
        overflow-y: auto;
    }

    .navigation.active {
        left: 0;
    }

    .navigation li {
        width: 100%;
        margin-bottom: 20px;
    }

    .navigation li a {
        display: block;
        padding: 12px 0;
        font-size: 1.05rem;
    }

    .navbar-toggle {
        display: block;
    }

    .menu-right {
        display: none !important;
    }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .timeline-professional::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }

    .timeline-marker {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-item:nth-child(even) .timeline-content {
        border-right: none;
        border-left: 4px solid var(--primary-orange);
    }

    .party-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .proposals-grid,
    .media-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .py-100 { padding-top: 60px; padding-bottom: 60px; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    .hero-political {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .hero-buttons .theme-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title-main {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .manifesto-pillars {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .proposals-grid,
    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .media-thumbnail {
        aspect-ratio: 16 / 9;
    }

    .family-values {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 15px;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -45px;
        font-size: 1.5rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
        bottom: 25px;
        left: 25px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title-main {
        font-size: 1.6rem;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-year {
        font-size: 0.75rem;
        padding: 8px 15px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .media-play-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .mt-80 {
        margin-top: 50px;
    }
}





/* =========================================
   MEDIA SECTION - TIKTOK REELS STYLE
   Altura fija y diseño responsivo organizado
   ========================================= */

/* === BASE MEDIA SECTION STYLES === */
.media-section {
    background: var(--soft-gray);
}

/* === MEDIA CARD CONTAINER === */
.media-card {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 2px solid var(--border-light);
    /* height: 500px; Altura fija estilo TikTok */
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.media-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(242, 145, 0, 0.2);
}

/* === MEDIA THUMBNAIL - IMAGE/VIDEO AREA === */
.media-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    height: 380px; /* Altura fija para área visual */
    width: 100%;
    flex-shrink: 0;
    background: var(--dark-slate);
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover .media-thumbnail img {
    transform: scale(1.05);
}

/* === MEDIA TAGS - BADGES SUPERIORES === */
.media-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1;
}

/* Tag Color Variants */
.media-tag.video {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
    color: var(--pure-white);
}

.media-tag.prensa {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
    color: var(--pure-white);
}

.media-tag.reel {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(219, 39, 119, 0.95));
    color: var(--pure-white);
}

.media-tag.entrevista {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(147, 51, 234, 0.95));
    color: var(--pure-white);
}

.media-tag.sesion {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    color: var(--pure-white);
}

.media-tag.comunidad {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
    color: var(--pure-white);
}

/* === PLAY ICON FOR VIDEOS === */
.media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(242, 145, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(242, 145, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.media-card:hover .media-play-icon {
    background: var(--primary-orange-dark);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 30px rgba(242, 145, 0, 0.6);
}

/* === MEDIA CONTENT - TEXT AREA === */
.media-content {
    /* padding: 24px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--pure-white);
    min-height: 120px;
}

.media-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-slate);
    line-height: 1.4;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* === STATUS BUTTONS === */
.media-content .proposal-status {
    align-self: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    margin-top: auto;
}

.proposal-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.proposal-status.video {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.proposal-status.approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.proposal-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =========================================
   RESPONSIVE DESIGN - ORGANIZED BY BREAKPOINT
   ========================================= */

/* === LARGE DESKTOP (1200px+) === */
@media (min-width: 1200px) {
    /* .media-card {
        height: 520px;
    } */
    .media-thumbnail {
        height: 400px;
    }
    .media-content h3 {
        font-size: 1.25rem;
    }
}

/* === DESKTOP (992px - 1199px) === */
@media (max-width: 1199px) and (min-width: 992px) {
    .media-card {
        height: 480px;
    }
    .media-thumbnail {
        height: 360px;
    }
    .media-content {
        padding: 20px;
    }
    .media-content h3 {
        font-size: 1.15rem;
    }
}

/* === TABLET LANDSCAPE (768px - 991px) === */
@media (max-width: 991px) and (min-width: 768px) {
    .media-card {
        height: 460px;
    }
    .media-thumbnail {
        height: 340px;
    }
    .media-content {
        padding: 18px;
    }
    .media-content h3 {
        font-size: 1.1rem;
    }
    .media-play-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
    .media-tag {
        font-size: 0.7rem;
        padding: 7px 14px;
    }
}

/* === TABLET PORTRAIT (576px - 767px) === */
@media (max-width: 767px) and (min-width: 576px) {
    .media-card {
        height: 440px;
    }
    .media-thumbnail {
        height: 320px;
    }
    .media-content {
        padding: 16px;
    }
    .media-content h3 {
        font-size: 1.05rem;
        -webkit-line-clamp: 3; /* Más líneas en tablet */
    }
    .media-tag {
        top: 12px;
        left: 12px;
        font-size: 0.65rem;
        padding: 6px 12px;
    }
    .media-play-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    .media-content .proposal-status {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* === MOBILE LARGE (481px - 575px) === */
@media (max-width: 575px) and (min-width: 481px) {
    .media-card {
        height: 420px;
        margin-bottom: 20px;
    }
    .media-thumbnail {
        height: 300px;
    }
    .media-content {
        padding: 16px;
    }
    .media-content h3 {
        font-size: 1rem;
        -webkit-line-clamp: 3;
    }
    .media-tag {
        top: 10px;
        left: 10px;
        padding: 5px 12px;
        font-size: 0.65rem;
    }
    .media-play-icon {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    .media-content .proposal-status {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* === MOBILE SMALL (≤ 480px) === */
@media (max-width: 480px) {
    .media-card {
        height: 400px;
        margin-bottom: 16px;
    }
    .media-thumbnail {
        height: 280px;
    }
    .media-content {
        padding: 14px;
    }
    .media-content h3 {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
        margin-bottom: 12px;
    }
    .media-tag {
        top: 8px;
        left: 8px;
        padding: 4px 10px;
        font-size: 0.6rem;
    }
    .media-play-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    .media-content .proposal-status {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* === EXTRA SMALL MOBILE (≤ 360px) === */
@media (max-width: 360px) {
    .media-card {
        height: 380px;
    }
    .media-thumbnail {
        height: 260px;
    }
    .media-content {
        padding: 12px;
    }
    .media-content h3 {
        font-size: 0.9rem;
        -webkit-line-clamp: 4;
    }
    .media-tag {
        top: 6px;
        left: 6px;
        padding: 3px 8px;
        font-size: 0.55rem;
    }
    .media-play-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}

/* === ACCESSIBILITY & INTERACTION ENHANCEMENTS === */
@media (prefers-reduced-motion: reduce) {
    .media-card,
    .media-thumbnail img,
    .media-play-icon,
    .proposal-status {
        transition: none;
    }

    .media-card:hover {
        transform: none;
    }
}

/* === PRINT STYLES === */
@media print {
    .media-section {
        background: white !important;
    }

    .media-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .media-play-icon,
    .media-tag {
        display: none;
    }
}

/* === TIKTOK MODAL STYLES === */
/* .tiktok-modal .video-modal-content {
    max-width: 350px;
}

.tiktok-wrapper {
    padding-bottom: 177.77%;
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.tiktok-footer {
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 12px 12px;
    margin-top: -1px;
}

.tiktok-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.tiktok-footer a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
}

.tiktok-footer a:hover {
    text-decoration: underline;
} */

/* Icono de TikTok en los cards */
/* .media-play-icon .fa-tiktok {
    font-size: 2rem;
} */

/* Status button para TikTok */
/* .proposal-status.tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
} */

/* === RESPONSIVE TIKTOK MODAL === */
/* @media (max-width: 767px) {
    .tiktok-modal .video-modal-content {
        max-width: 320px;
    }

    .tiktok-wrapper {
        padding-bottom: 177.77%;
    }
}

@media (max-width: 480px) {
    .tiktok-modal .video-modal-content {
        max-width: 300px;
    }

    .tiktok-footer {
        padding: 12px;
    }

    .tiktok-footer p {
        font-size: 0.8rem;
    }
} */



/* ===============================
   CAREER TABS SECTION (Bootstrap 4)
   =============================== */
.career-tabs-section {
  /* background: var(--soft-gray); */
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* === NAVIGATION === */
.career-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px 10px 10px; /* espaciado para que no toque bordes */
  margin-bottom: 30px;
}

.career-nav .nav-link {
  background: #fff;
  border: 2px solid var(--border-light);
  color: var(--dark-slate);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.career-nav .nav-link i {
  color: var(--primary-orange);
  margin-right: 6px;
}

.career-nav .nav-link:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 6px 18px rgba(242, 145, 0, 0.15);
  transform: translateY(-2px);
}

.career-nav .nav-link.active {
  background: var(--primary-orange);
  color: #fff;
  border-color: var(--primary-orange);
  box-shadow: 0 8px 22px rgba(242, 145, 0, 0.3);
}

.career-nav .nav-link.active i {
  color: #fff;
}

/* === CARD CONTENT === */
.career-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--primary-orange);
  opacity: 1;
  transform: translateY(0);
}

.career-card h3 {
  font-size: 1.5rem;
  color: var(--dark-slate);
  margin-bottom: 15px; /* Aumentado para separar del badge */
}

/* === CAREER META - BADGE DE TIEMPO (OPCIÓN 1) === */
.career-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(242, 145, 0, 0.1);
  border: 2px solid var(--primary-orange);
  border-radius: 25px;
  padding: 8px 20px;
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(242, 145, 0, 0.15);
}

.career-meta:hover {
  background: rgba(242, 145, 0, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 145, 0, 0.2);
}

.career-card p {
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-top: 5px; /* Pequeño ajuste para separar del badge */
}

.achievement-list {
  list-style: none;
  margin-top: 20px;
  padding: 0;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
}

.achievement-list li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
  color: #374151;
  font-size: 0.9rem;
}

.achievement-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
  font-size: 1rem;
}

/* === PROGRESS BAR === */
.career-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(242,145,0,0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 25px;
}
.career-progress-fill {
  width: 33.3%;
  height: 100%;
  background: var(--primary-orange);
  transition: width 0.4s ease;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(25px);}
  to {opacity: 1; transform: translateY(0);}
}

/* === RESPONSIVE === */
@media (max-width: 575px) {
  .career-nav .nav-link {
    width: 100%;
    text-align: center;
  }
}




/* =========================================
   MEDIA GALLERY SECTION - Swiper.js Carousel
   ========================================= */

.media-gallery-section {
    background: var(--soft-gray);
    position: relative;
    overflow: hidden;
}

.media-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

/* Swiper Container */
.media-carousel {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

/* Slide Styling */
.media-slide {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    height: 450px;
    position: relative;
}

.media-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(242, 145, 0, 0.3);
}

.media-slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.media-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-slide:hover .media-slide-image img {
    transform: scale(1.05);
}

.media-slide-quote {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(31, 41, 55, 0.92);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
    transition: var(--transition-smooth);
}

.media-slide:hover .media-slide-quote {
    background: rgba(242, 145, 0, 0.92);
    border-left-color: var(--pure-white);
}

.media-slide-quote i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.media-slide:hover .media-slide-quote i {
    color: var(--pure-white);
}

.media-slide-quote p {
    color: var(--pure-white);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}


/* Overlay Styling */
/* .media-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(31, 41, 55, 0.1) 0%,
        rgba(31, 41, 55, 0.7) 70%,
        rgba(31, 41, 55, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: var(--transition-smooth);
}

.media-slide:hover .media-slide-overlay {
    background: linear-gradient(
        to bottom,
        rgba(242, 145, 0, 0.1) 0%,
        rgba(242, 145, 0, 0.6) 70%,
        rgba(242, 145, 0, 0.8) 100%
    );
} */

.media-slide-content {
    color: var(--pure-white);
    text-align: left;
}

.media-slide-content i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
    display: block;
}

.media-slide:hover .media-slide-content i {
    color: var(--pure-white);
}

.media-slide-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.media-slide-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

/* Play Button for Videos */
.media-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(242, 145, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 2rem;
    transition: var(--transition-smooth);
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.media-play-button:hover {
    background: var(--primary-orange-dark);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(242, 145, 0, 0.6);
}

/* Navigation Buttons */
.media-carousel-next,
.media-carousel-prev {
    width: 60px!important;
    height: 60px!important;
    background: var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    border: 2px solid var(--primary-orange-dark);
}

.media-carousel-next::after,
.media-carousel-prev::after {
    display: none;
}

.media-carousel-next i,
.media-carousel-prev i {
    color: var(--pure-white);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.media-carousel-next:hover,
.media-carousel-prev:hover {
    background: var(--pure-white);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 145, 0, 0.4);
}

.media-carousel-next:hover i,
.media-carousel-prev:hover i {
    color: var(--primary-orange);
}

.media-carousel-prev {
    left: -30px;
}

.media-carousel-next {
    right: -30px;
}

/* Pagination */
.media-carousel-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.media-carousel-pagination {
    position: relative !important;
    bottom: 0 !important;
}

.media-carousel-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-orange);
    opacity: 0.6;
    transition: var(--transition-smooth);
    margin: 0 6px !important;
}

.media-carousel-pagination .swiper-pagination-bullet-active {
    background: var(--primary-orange);
    opacity: 1;
    transform: scale(1.2);
}

/* =========================================
   LIGHTBOX MODAL
   ========================================= */

.media-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.media-lightbox-modal.active {
    display: flex;
}

.media-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.media-lightbox-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    z-index: 10001;
    background: var(--dark-slate);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Close Button */
.media-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10002;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-lightbox-close:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: rotate(90deg);
}

/* Lightbox Swiper */
.media-lightbox {
    width: 100%;
    height: 100%;
}

.media-lightbox-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.media-lightbox-image,
.media-lightbox-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.media-lightbox-video {
    width: 100%;
    height: 100%;
}

/* Lightbox Navigation */
.media-lightbox-next,
.media-lightbox-prev {
    width: 70px!important;
    height: 70px!important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.media-lightbox-next::after,
.media-lightbox-prev::after {
    display: none;
}

.media-lightbox-next i,
.media-lightbox-prev i {
    color: var(--pure-white);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.media-lightbox-next:hover,
.media-lightbox-prev:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.media-lightbox-prev {
    left: 20px;
}

.media-lightbox-next {
    right: 20px;
}

/* Lightbox Pagination */
.media-lightbox-pagination-wrapper {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 10002;
    display: flex;
    justify-content: center;
}

.media-lightbox-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: var(--transition-smooth);
    margin: 0 5px !important;
}

.media-lightbox-pagination .swiper-pagination-bullet-active {
    background: var(--primary-orange);
    opacity: 1;
    transform: scale(1.3);
}

/* Video Controls Enhancement */
.media-lightbox-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.media-lightbox-video::-webkit-media-controls-play-button {
    background-color: var(--primary-orange);
    border-radius: 50%;
}

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

@media (max-width: 1199px) {
    .media-carousel {
        height: 450px;
    }

    .media-slide {
        height: 400px;
    }

    .media-slide-content h3 {
        font-size: 1.3rem;
    }

    .media-slide-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .media-carousel-wrapper {
        padding: 0 50px;
    }

    /* .media-carousel {
        height: 400px;
    } */

    .media-slide {
        height: 350px;
    }

    .media-carousel-prev {
        left: -25px;
    }

    .media-carousel-next {
        right: -25px;
    }

    .media-carousel-next,
    .media-carousel-prev {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767px) {
    .media-carousel-wrapper {
        padding: 0 40px;
    }

    /* .media-carousel {
        height: 350px;
    } */

    .media-slide {
        height: 300px;
    }

    .media-slide-overlay {
        padding: 20px;
    }

    .media-slide-content i {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .media-slide-content h3 {
        font-size: 1.1rem;
    }

    .media-slide-content p {
        font-size: 0.85rem;
    }

    .media-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .media-carousel-prev {
        left: -20px;
    }

    .media-carousel-next {
        right: -20px;
    }

    .media-carousel-next,
    .media-carousel-prev {
        width: 45px;
        height: 45px;
    }

    .media-lightbox-container {
        height: 80vh;
        border-radius: 15px;
    }

    .media-lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .media-lightbox-next,
    .media-lightbox-prev {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 575px) {
    .media-carousel-wrapper {
        padding: 0 30px;
    }

    /* .media-carousel {
        height: 300px;
    } */

    .media-slide {
        height: 250px;
    }

    .media-slide-overlay {
        padding: 15px;
    }

    .media-slide-content i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .media-slide-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .media-slide-content p {
        font-size: 0.8rem;
    }

    .media-play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .media-carousel-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
    }

    .media-lightbox-container {
        height: 70vh;
        border-radius: 10px;
    }

    .media-lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: 15px;
        right: 15px;
    }

    .media-lightbox-next,
    .media-lightbox-prev {
        width: 45px;
        height: 45px;
    }

    .media-lightbox-next i,
    .media-lightbox-prev i {
        font-size: 1.2rem;
    }
}

/* Animation for modal appearance */
@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.media-lightbox-container {
    animation: modalAppear 0.3s ease-out;
}

/* Loading state for videos */
.media-lightbox-video.loading {
    opacity: 0.7;
    filter: blur(2px);
}

/* ======================================================
   MOBILE NAVIGATION — CLEAN, OPTIMIZED & FIXED
   ====================================================== */

@media (max-width: 991px) {

    /* ----------------------------------
       BOTÓN HAMBURGUESA
    ---------------------------------- */
    .navbar-toggle {
        /* display: flex !important; */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* width: 32px; */
        height: 32px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 100000 !important; /* Siempre arriba */
    }

    .icon-bar {
        width: 25px;
        height: 3px;
        background: var(--dark-slate);
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 3px;
    }

    .navbar-toggle.active .icon-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .navbar-toggle.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.active .icon-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }


    /* ----------------------------------
       PANEL LATERAL (MENÚ)
    ---------------------------------- */
    .navigation {
        position: fixed !important; /* Se sale del header */
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark-slate) 0%, var(--dark-slate-deep) 100%);
        padding: 25px 25px 40px !important;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        transition: left 0.35s ease;
        border-right: 1px solid rgba(255,255,255,0.08);
        isolation: isolate; /* Crea su propio stacking context */
        z-index: 99999 !important; /* Por encima del overlay */
    }

    .navigation.active {
        left: 0;
    }


    /* ----------------------------------
       ITEMS DEL MENÚ
    ---------------------------------- */
    .navigation li {
        width: 100%;
        margin-bottom: 14px !important;
        opacity: 0;
        transform: translateX(-15px);
        transition: all 0.35s ease;
    }

    .navigation.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .navigation li a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 14px 18px !important;
        background: rgba(255,255,255,0.04);
        color: var(--pure-white);
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 10px;
        border-left: 3px solid transparent;
        transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .navigation li a:hover {
        border-left-color: var(--primary-orange);
        background: rgba(255,255,255,0.08);
        transform: translateX(6px);
    }

    .navigation li a.active {
        border-left-color: var(--primary-orange);
        background: rgba(242,145,0,0.18);
    }


    /* ----------------------------------
       OVERLAY (siempre debajo del menú)
    ---------------------------------- */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.65);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998 !important; /* Debajo del menú */
        pointer-events: none;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    /* ----------------------------------
       HEADER DEL PANEL
    ---------------------------------- */
    .mobile-menu-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 20px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0,0,0,0.25);
        backdrop-filter: blur(6px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 99998 !important;
    }

    .mobile-menu-header .logo-text {
        color: var(--pure-white) !important;
        font-size: 1.25rem;
        font-weight: 600;
    }

    .mobile-close-btn {
        background: transparent;
        border: none;
        color: var(--pure-white);
        font-size: 1.6rem;
        cursor: pointer;
    }


    /* ----------------------------------
       BLOQUEAR SCROLL CUANDO EL MENÚ ESTÁ ABIERTO
    ---------------------------------- */
    body.menu-open {
        overflow: hidden !important;
    }

}

.swiper-slide-active{
    text-align: center!important;
}
