/* ================================
   VARIABLES Y RESET
   ================================ */

:root {
    --primary: #c60b1e;
    --secondary: #ffc400;
    --dark: #0a0a0a;
    --light: #f5f5f7;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --border: rgba(0, 0, 0, 0.1);
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   LOADER ÉPICO
   ================================ */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #8b0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Reglas adicionales para forzar ocultamiento */
.loader-wrapper.hidden,
.loader-wrapper[style*="display: none"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -9999 !important;
}

.pulse-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.3s;
}

.pulse-ring.delay-2 {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ================================
   HERO ÉPICO
   ================================ */

.hero-epic {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-gradient-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #8b0000 50%, var(--primary) 100%);
    opacity: 1;
}

.hero-gradient-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.hero-label {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 196, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 196, 0, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-emphasis {
    background: linear-gradient(135deg, var(--secondary) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.hero-cta {
    margin-top: 50px;
}

/* ================================
   BOTONES MODERNOS
   ================================ */

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 196, 0, 0.4);
}

.btn-text, .btn-icon {
    position: relative;
    z-index: 1;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(198, 11, 30, 0.3);
}

/* ================================
   SCROLL INDICATOR MODERNO
   ================================ */

.scroll-indicator-modern {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--secondary);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--secondary));
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(20px);
    }
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ================================
   SECCIONES MODERNAS
   ================================ */

.section-modern {
    padding: 150px 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-container-full {
    max-width: 100%;
    padding: 0 40px;
}

.section-sticky-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 100px;
}

.section-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.section-title-modern {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 100px;
}

.section-subtitle-modern {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 20px;
}

/* ================================
   CONTENT SPLIT
   ================================ */

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-split.reverse {
    direction: rtl;
}

.content-split.reverse > * {
    direction: ltr;
}

/* ================================
   GLASS EFFECT CARDS
   ================================ */

.feature-card {
    padding: 60px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================
   MAGNETIC CARDS (DOWNLOAD)
   ================================ */

.magnetic-card {
    padding: 60px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.magnetic-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.download-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
}

.download-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30px;
    opacity: 0.1;
    animation: rotate3d 10s linear infinite;
}

@keyframes rotate3d {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.download-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary);
}

.download-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.download-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ================================
   GALERÍA MODERNA
   ================================ */

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item-modern {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item-modern:hover {
    transform: scale(1.05);
    z-index: 10;
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-modern:hover img {
    transform: scale(1.1);
}

.gallery-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 11, 30, 0.9), rgba(255, 196, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item-modern:hover .gallery-overlay-modern {
    opacity: 1;
}

.gallery-overlay-modern i {
    font-size: 3rem;
    color: white;
}

/* ================================
   DOCUMENTOS MODERNOS
   ================================ */

.documents-grid-modern {
    display: grid;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.document-item-modern {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.document-item-modern:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-strong);
}

.document-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.document-info-modern {
    flex-grow: 1;
}

.document-info-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.document-info-modern p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.document-date-modern {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ================================
   TAXI MODERN
   ================================ */

.taxi-card-modern {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.taxi-image-link {
    position: relative;
    display: block;
}

.taxi-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.taxi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(198, 11, 30, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition-smooth);
    color: white;
}

.taxi-image-link:hover .taxi-overlay {
    opacity: 1;
}

.taxi-image-link:hover .taxi-image {
    transform: scale(1.05);
}

.taxi-overlay i {
    font-size: 3rem;
}

.taxi-overlay span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Responsive para taxi en móvil */
@media (max-width: 768px) {
    .taxi-card-modern {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .taxi-image {
        width: 100%;
        height: auto;
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .taxi-image {
        width: 100%;
        height: auto;
        min-height: unset;
    }
}

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

.footer-modern {
    background: var(--dark);
    color: white;
    padding: 80px 40px 40px;
    text-align: center;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 0;
}

.social-link-modern {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link-modern:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-5px) rotate(10deg);
}

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

/* ================================
   MODAL ÉPICO
   ================================ */

.modal-modern {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    z-index: 9999;
    backdrop-filter: blur(20px);
}

.modal-modern.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

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

.modal-image-modern {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close-modern {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10001;
}

.modal-close-modern:hover {
    background: var(--secondary);
    transform: rotate(90deg);
}

.modal-nav-modern {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10001;
}

.modal-nav-modern:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.modal-caption {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.modal-counter {
    font-size: 1rem;
    opacity: 0.7;
}

/* ================================
   SCROLL REVEAL ANIMATIONS
   ================================ */

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .gallery-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-number {
        font-size: 3rem;
    }
    
    .section-title-modern {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .section-modern {
        padding: 80px 0;
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    .section-container-full {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-label {
        font-size: 0.75rem;
        padding: 8px 16px;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        margin-top: 40px;
    }
    
    .btn-modern {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    /* Secciones sticky header - ajustar para móvil */
    .section-sticky-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 60px;
    }
    
    .section-number {
        font-size: 4rem;
        opacity: 0.15;
    }
    
    .section-title-modern {
        font-size: 2.8rem;
        line-height: 1.1;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .section-subtitle-modern {
        font-size: 1rem;
    }
    
    .gallery-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card,
    .magnetic-card {
        padding: 40px 30px;
    }
    
    .feature-card h3,
    .download-card h3 {
        font-size: 1.5rem;
    }
    
    .feature-card p,
    .download-card p {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .download-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .download-icon {
        font-size: 2rem;
    }
    
    /* Documentos */
    .document-item-modern {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .document-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .document-info-modern h3 {
        font-size: 1.3rem;
    }
    
    /* Modal */
    .modal-nav-modern {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .modal-prev {
        left: 15px;
    }
    
    .modal-next {
        right: 15px;
    }
    
    .modal-close-modern {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .modal-image-modern {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    /* Footer */
    .footer-brand h3 {
        font-size: 2rem;
    }
    
    .footer-brand p {
        font-size: 1rem;
    }
    
    .social-link-modern {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title-modern {
        font-size: 2.2rem;
    }
    
    .section-number {
        font-size: 3rem;
        opacity: 0.12;
    }
    
    .feature-card,
    .magnetic-card,
    .document-item-modern {
        padding: 25px 20px;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .scroll-indicator-modern {
        bottom: 20px;
    }
    
    .scroll-line {
        height: 40px;
    }
}

/* ================================
   ENCUESTA SECTION
   ================================ */

.encuesta-card-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.survey-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.survey-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(198, 11, 30, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.survey-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
}

.survey-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #8b0000);
    border-radius: 30px;
    opacity: 0.12;
    animation: rotate3d 10s linear infinite;
}

.survey-icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid var(--primary);
    transform: translate(-50%, -50%);
    animation: surveyPulse 2.5s ease-out infinite;
    opacity: 0;
}

@keyframes surveyPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0;
    }
}

.survey-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary);
    z-index: 1;
}

.survey-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.survey-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-survey {
    position: relative;
    overflow: hidden;
}

.btn-survey::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-survey:hover::after {
    left: 100%;
}

@media (max-width: 768px) {
    .survey-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }

    .survey-icon {
        font-size: 2.2rem;
    }

    .survey-card h3 {
        font-size: 1.6rem;
    }
}

/* ================================
   VIDEO ICONS STYLES
   ================================ */

.document-icon.video {
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
}

.document-icon.video i {
    color: white;
    font-size: 1.8rem;
}

.document-icon.video:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.btn-modern .btn-icon i.fa-play {
    margin-left: 3px;
}

/* ================================
   DOCUMENTS PAGE COMPLETE STYLES
   ================================ */

.documents-header {
    background: linear-gradient(135deg, var(--primary) 0%, #8b0000 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.documents-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.back-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.back-link:hover {
    color: var(--secondary);
    transform: translateY(-50%) translateX(-5px);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.documents-page-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.documents-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.documents-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--primary);
    border-radius: 2px;
}

.document-item-page {
    display: flex;
    align-items: center;
    padding: 25px 35px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    transition: var(--transition-smooth);
    gap: 25px;
}

.document-item-page:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.document-item-page .document-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.document-item-page .document-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.document-item-page .document-icon i {
    font-size: 1.5rem;
    color: white;
    z-index: 1;
}

.document-content {
    flex: 1;
    min-width: 0;
}

.document-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
    line-height: 1.3;
}

.document-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.document-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.8;
}

/* Responsive para documentos */
@media (max-width: 768px) {
    .documents-header {
        padding: 40px 0;
    }
    
    .back-link {
        position: static;
        transform: none;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .documents-page-section {
        padding: 40px 0;
    }
    
    .documents-container {
        padding: 0 15px;
    }
    
    .category-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
        padding-left: 15px;
    }
    
    .document-item-page {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }
    
    .document-item-page .document-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
    
    .document-item-page .document-icon i {
        font-size: 1.8rem;
    }
    
    .document-item-page .document-title {
        font-size: 1.3rem;
        font-weight: 600;
        line-height: 1.3;
    }
    
    .document-item-page .document-description {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .document-item-page .document-date {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .documents-container {
        padding: 0 10px;
    }
    
    .document-item-page {
        padding: 20px 15px;
    }
    
    .document-item-page .document-icon {
        width: 65px;
        height: 65px;
    }
    
    .document-item-page .document-icon i {
        font-size: 1.6rem;
    }
    
    .document-item-page .document-title {
        font-size: 1.2rem;
    }
    
    .document-item-page .document-description {
        font-size: 0.95rem;
    }
    
    .category-title {
        font-size: 1.4rem;
        padding-left: 10px;
    }
}
