/* Shared OEA identity for the internal pages. */
:root {
    --color-primario: #5e17eb;
    --color-secundario: #38b6ff;
    --color-texto: #20212a;
    --color-texto-light: #666a73;
    --color-fondo: #e9ecef;
    --color-blanco: #ffffff;
    --color-negro: #20212a;
    --gradiente-primario: linear-gradient(110deg, #38b6ff 0%, #5e17eb 100%);
    --gradiente-secundario: linear-gradient(110deg, #38b6ff 0%, #5e17eb 100%);
    --gradiente-hero: linear-gradient(110deg, #38b6ff 0%, #5e17eb 100%);
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --border-radius-xl: 8px;
    --shadow-sm: 0 2px 12px rgba(32, 33, 42, .06);
    --shadow-md: 0 8px 24px rgba(32, 33, 42, .08);
    --shadow-lg: 0 14px 34px rgba(32, 33, 42, .1);
    --shadow-xl: 0 20px 48px rgba(32, 33, 42, .12);
    --brand-line: #e4e7ee;
}

html { scroll-padding-top: 95px; }
body { background: #e9ecef; color: var(--color-texto); font-family: 'DM Sans', sans-serif; }
h1, h2, h3, h4, h5, h6 { color: var(--color-texto); font-family: 'Manrope', sans-serif; letter-spacing: 0; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.container { max-width: 1320px; }
.highlight { background-image: linear-gradient(100deg, #38b6ff 0%, #5e17eb 100%); }

#header, #header.scrolled { height: 82px; border-bottom: 1px solid var(--brand-line); background: rgba(255, 255, 255, .97); box-shadow: 0 4px 18px rgba(32, 33, 42, .05); backdrop-filter: blur(12px); }
#header:not(.scrolled) { border-bottom-color: rgba(255, 255, 255, .2); background: linear-gradient(180deg, rgba(4, 7, 7, .58), rgba(4, 7, 7, .08)); box-shadow: none; backdrop-filter: none; }
#header:not(.scrolled) .nav-menu > li > a { color: rgba(255, 255, 255, .9); }
#header:not(.scrolled) .nav-menu > li > a:hover, #header:not(.scrolled) .nav-menu > li > a.active { color: #38b6ff; }
#header .container { height: 100%; }
#header .header-content { height: 100%; padding: 0; }
#header .logo { display: inline-flex; align-items: center; }
#header .logo-img { width: auto; height: 68px; filter: none; object-fit: contain; }
#header .logo:hover .logo-img { transform: none; }
#header .nav-menu { gap: clamp(18px, 2.4vw, 34px); }
#header .nav-menu > li > a { color: #545454; font-size: 12px; font-weight: 600; }
#header .nav-menu > li > a:hover, #header .nav-menu > li > a.active { color: #5e17eb; }
#header .nav-menu > li > a::after { bottom: 2px; height: 2px; background: linear-gradient(90deg, #38b6ff, #5e17eb); }
#header .nav-menu > li > a > i:not(.dropdown-arrow) { display: none; }
#header .nav-menu > li > a .dropdown-arrow { display: inline-block; color: #38b6ff; }
#header .nav-cta { margin: 0; padding: 11px 17px !important; border-radius: 4px; background: #5e17eb; box-shadow: none; color: #fff !important; }
#header .nav-cta:hover { transform: translateY(-1px); background: #38b6ff; color: #20212a !important; }
#header .nav-cta::after { display: none; }
#header .mobile-menu-btn { color: #5e17eb; }

.hero-interno, .hero-internal, .hero-contact {
    position: relative;
    margin-top: 82px;
    padding: 76px 0 78px;
    overflow: hidden;
    border-bottom: 1px solid var(--brand-line);
    background: #e9ecef;
    text-align: left;
}
.hero-interno.hero-servicios { display: flex; min-height: max(720px, 100svh); align-items: center; margin-top: 0; padding: 160px 0 100px; background: #20212a; }
.hero-interno.hero-servicios::before { z-index: 2; }
.hero-interno.hero-servicios::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(18, 22, 30, .76), rgba(18, 22, 30, .34)); content: ''; }
.hero-servicios-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-interno.hero-servicios .container { position: relative; z-index: 3; }
.hero-interno.hero-servicios .hero-interno-content h1, .hero-interno.hero-servicios .hero-interno-content p { color: #fff; }
.hero-interno.hero-servicios .breadcrumb { color: rgba(255, 255, 255, .78); }
.hero-interno::before, .hero-internal::before, .hero-contact::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: max(0px, calc((100vw - 1320px) / 2));
    width: 3px;
    background: linear-gradient(180deg, #38b6ff, #5e17eb);
    content: '';
}
.hero-interno-content, .hero-internal-content, .hero-contact-content { max-width: 900px; padding-left: 22px; }
.hero-interno-content h1, .hero-internal-content h1, .hero-contact-content h1 { margin: 16px 0; color: #20212a; font-size: 48px; font-weight: 600; }
.hero-interno-content h1 .highlight, .hero-internal-content h1 .highlight, .hero-contact-content h1 .highlight { background-image: linear-gradient(100deg, #38b6ff, #5e17eb); }
.hero-interno-content p, .hero-internal-content p, .hero-contact-content p { margin: 0; color: #666a73; font-size: 15px; }
.breadcrumb { display: inline-block; margin: 0 0 8px; color: #666a73; font-size: 10px; font-weight: 700; }

.section-header { max-width: 790px; margin-bottom: 42px; }
.section-tag { padding: 7px 11px; border: 1px solid rgba(94, 23, 235, .18); border-radius: 3px; background: rgba(56, 182, 255, .08); color: #5e17eb; font-size: 9px; letter-spacing: 1px; }
.section-title { color: #20212a; font-size: 34px; font-weight: 600; }
.section-subtitle { color: #666a73; font-size: 14px; }
.services-section, .stats-section, .spotify-section, .contact-main, .services-detailed, .servicios-detalle, .interviews-section, .testimonials-section { background: #fff; }
.stats-section { padding: 32px 0; border-bottom: 1px solid var(--brand-line); }
.stats-grid { gap: 0; }
.stat-item { padding: 18px 20px; border-right: 1px solid var(--brand-line); border-radius: 0; background: #fff; }
.stat-item:last-child { border-right: 0; }
.stat-item:hover { transform: none; background: #f7f9fc; box-shadow: none; }
.stat-icon { width: 44px; height: 44px; border-radius: 5px; background: rgba(56, 182, 255, .1); color: #5e17eb; font-size: 17px; }
.stat-item:hover .stat-icon { background: rgba(94, 23, 235, .1); }
.stat-number { color: #5e17eb; font-family: 'Manrope', sans-serif; font-size: 32px; }
.stat-item:hover .stat-number { color: #5e17eb; }
.stat-label, .stat-item:hover .stat-label { color: #666a73; font-size: 11px; }
.services-section, .testimonials-section { padding: 82px 0; }
.services-grid { gap: 0; border-top: 1px solid var(--brand-line); border-left: 1px solid var(--brand-line); }
.service-card { padding: 28px 24px; border: 0; border-right: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); border-radius: 0; box-shadow: none; }
.service-card::before { height: 2px; transform: scaleX(1); }
.service-card:hover { transform: none; border-color: var(--brand-line); box-shadow: inset 0 0 0 1px rgba(94, 23, 235, .12); }
.service-icon { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 5px; background: rgba(56, 182, 255, .11); color: #5e17eb; font-size: 19px; }
.service-card:hover .service-icon { transform: none; background: rgba(94, 23, 235, .1); }
.service-card h3, .service-link { color: #5e17eb; }
.service-card p { color: #666a73; font-size: 13px; }
.btn, .btn-submit, .nav-cta { border-radius: 4px; }
.btn-primary, .btn-submit { background: #5e17eb; color: #fff; box-shadow: none; }
.btn-primary:hover, .btn-submit:hover { background: #38b6ff; color: #20212a; }
.btn-secondary { border: 1px solid #5e17eb; color: #5e17eb; }
.btn-outline { border: 1px solid #5e17eb; color: #5e17eb; }
.btn-outline:hover { background: #5e17eb; color: #fff; }
.btn-spotify { background: #1db954; color: #fff; }

.service-detail, .servicio-item { margin-bottom: 48px; }
.service-detail-content, .servicio-content { gap: 42px; padding: 36px; border: 1px solid var(--brand-line); border-radius: 6px; background: #fff; box-shadow: var(--shadow-sm); }
.service-tag, .servicio-tag { padding: 6px 10px; border: 1px solid rgba(94, 23, 235, .18); border-radius: 3px; background: rgba(56, 182, 255, .08); color: #5e17eb; font-size: 9px; }
.service-detail h2, .servicio-text h2 { color: #20212a; font-size: 28px; font-weight: 600; }
.feature-item i, .feature i, .contact-form label i { color: #38b6ff; }

.lineas-banner { gap: 18px; }
.linea-card, .empresa-card, .testimonial-card, .contact-card, .contact-form-container, .spotify-container {
    border: 1px solid var(--brand-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.linea-card { padding: 26px; }
.linea-numero, .linea-card:nth-child(2) .linea-numero { color: #5e17eb; }
.linea-tag { border-radius: 3px; background: rgba(56, 182, 255, .09); color: #5e17eb; }
.linea-card:nth-child(2) .linea-tag { background: rgba(94, 23, 235, .08); color: #5e17eb; }
.empresa-content, .empresa-reverse .empresa-content { border-radius: 6px; background: #fff; }
.empresa-text h3, .empresa-content h3 { color: #20212a; }
.empresa-visual, .empresa-image { border-radius: 4px; }

.testimonial-card { padding: 28px; }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-rating, .testimonial-rating i { color: #5e17eb; }
.testimonial-text { color: #545454; }
.author-avatar { border: 2px solid rgba(56, 182, 255, .5); }

.interviews-section { padding: 80px 0; }
.interviews-grid { gap: 24px; }
.interview-card { overflow: hidden; border: 1px solid var(--brand-line); border-radius: 5px; background: #fff; box-shadow: var(--shadow-sm); }
.interview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.interview-info { padding: 22px; }
.interview-info h3 { color: #20212a; font-size: 18px; }
.interview-info p, .interview-meta { color: #666a73; }
.interview-category { color: #5e17eb; }
.thumb-play-btn.default { background: rgba(94, 23, 235, .92); }

.contact-main { padding: 68px 0 84px; }
.contact-layout { gap: 42px; }
.contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.contact-layout > *, .contact-card, .contact-card-content { min-width: 0; }
.contact-info h2, .form-header h3 { color: #20212a; font-size: 27px; font-weight: 600; }
.contact-intro, .benefit-content p { color: #666a73; font-size: 13px; }
.benefit-icon { width: 42px; height: 42px; border-radius: 4px; background: rgba(56, 182, 255, .1); color: #5e17eb; font-size: 16px; }
.contact-card { padding: 17px; box-shadow: none; }
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-card-icon { width: 42px; height: 42px; border-radius: 4px; background: rgba(94, 23, 235, .08); color: #5e17eb; font-size: 16px; }
.contact-card-content h4, .contact-card-content a { color: #5e17eb; }
.contact-card-content a { overflow-wrap: anywhere; }
.contact-form-container { padding: 32px; box-shadow: var(--shadow-md); }
.form-header { text-align: left; }
.contact-form label { color: #20212a; font-size: 12px; }
.contact-form input, .contact-form select, .contact-form textarea { border: 1px solid #d9dce5; border-radius: 4px; background: #fff; font-family: 'DM Sans', sans-serif; font-size: 14px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #5e17eb; box-shadow: 0 0 0 3px rgba(94, 23, 235, .1); }

.cta-banner { background: linear-gradient(110deg, #38b6ff, #5e17eb); }
.footer, .footer-bottom { background: #20212a; }
.footer { padding-top: 60px; }
.footer-logo img { height: 52px; padding: 3px; background: #fff; }
.footer-social a { border-radius: 4px; }
.footer-social a:hover { background: #38b6ff; color: #20212a; }
.footer-legal a:hover { color: #38b6ff; }
.news-popup, .news-card { border-radius: 5px; }
.news-popup-logo, .news-card-badge { background: #5e17eb; color: #fff; }
.news-popup-close:hover { background: #38b6ff; color: #20212a; }
.news-card-badge--gold { background: #38b6ff; color: #20212a; }

@media (max-width: 768px) {
    #header { height: 70px; }
    #header .header-content { padding: 0; }
    #header .logo-img { height: 56px; }
    #header .mobile-menu-btn { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(32, 33, 42, .22); border-radius: 4px; background: #fff; font-size: 16px; }
    #mainNav { position: absolute; top: 69px; left: -100%; width: 100%; padding: 8px 22px 18px; border-bottom: 1px solid var(--brand-line); background: #fff; box-shadow: 0 12px 24px rgba(32, 33, 42, .08); }
    #mainNav.active { left: 0; }
    #mainNav .nav-menu { align-items: stretch; gap: 0; }
    #mainNav .nav-menu li { border-bottom: 1px solid var(--brand-line); }
    #mainNav .nav-menu a { justify-content: flex-start; width: 100%; padding: 13px 4px; color: #545454; }
    #mainNav .nav-menu .nav-cta { justify-content: center; margin: 12px 0 0; padding: 12px !important; color: #fff; }
    .hero-interno, .hero-internal, .hero-contact { margin-top: 70px; padding: 58px 0 54px; }
    .hero-interno-content h1, .hero-internal-content h1, .hero-contact-content h1 { font-size: 36px; }
    .hero-interno-content p, .hero-internal-content p, .hero-contact-content p { font-size: 13px; }
    .hero-interno.hero-servicios { min-height: max(680px, 100svh); margin-top: 0; padding: 120px 0 86px; }
    .hero-servicios-video { object-position: 60% center; }
    .section-header { margin-bottom: 30px; }
    .section-title { font-size: 28px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-item { border-bottom: 1px solid var(--brand-line); }
    .service-card { padding: 24px 18px; }
    .service-detail-content, .servicio-content, .empresa-content, .empresa-reverse .empresa-content { padding: 24px; }
    .contact-main { padding: 52px 0 64px; }
    .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .contact-main [data-aos="fade-left"], .contact-main [data-aos="fade-right"] { transform: translate3d(0, 0, 0) !important; }
    .contact-form-container { padding: 24px 19px; }
    .footer-grid { gap: 30px; }
}

@media (max-width: 380px) {
    .stats-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-servicios-video { display: none; }
}
