/* ==========================================================================
   ARTEFECTO FILMS - CSS CINEMATOGRÁFICO DE ALTO RENDIMIENTO
   Estilo Premium | 100% Responsive | Optimizado para Core Web Vitals
   ========================================================================== */

:root {
    --bg-main: #0a0d14;
    --bg-secondary: #0f1422;
    --bg-card: #151b2d;
    --bg-card-hover: #1c243c;
    --border-color: #232d46;
    --border-highlight: rgba(245, 158, 11, 0.4);
    
    --color-primary: #f59e0b;       /* Ámbar cinematográfico / Oro cálido */
    --color-primary-hover: #d97706;
    --color-accent: #06b6d4;        /* Cian neón sutil */
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #1ebc59;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #e2e8f0;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reseteo básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 13, 20, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    padding: 6px 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 96px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-logo:hover img {
    transform: scale(1.03);
}

.footer-brand img {
    height: 96px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* ==========================================================================
   DROPDOWN DE SERVICIOS (DESKTOP)
   ========================================================================== */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--color-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 320px;
    background: rgba(12, 16, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1050;
}

/* Puente invisible para mantener el hover */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    transform: translateX(4px);
}

.dropdown-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover .dropdown-icon {
    background: rgba(229, 9, 20, 0.18);
    border-color: rgba(229, 9, 20, 0.45);
    transform: scale(1.06);
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-text strong {
    font-size: 0.90rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.dropdown-text small {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.25;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 6px;
}

.dropdown-footer-link {
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary) !important;
    padding: 8px 12px;
}

.dropdown-footer-link:hover {
    transform: none;
    background: rgba(229, 9, 20, 0.12);
}

.service-card[id] {
    scroll-margin-top: 115px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-whatsapp-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-whatsapp);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    transition: var(--transition);
}

.btn-whatsapp-header:hover {
    background: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   BOTONES Y COMPONENTES GLOBALES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0b0f19 !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    color: #0b0f19 !important;
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(245, 158, 11, 0.05);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 0 80px 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.08) 0%, rgba(10, 13, 20, 0) 70%), var(--bg-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: var(--color-primary);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   LITE-YOUTUBE FACADE (ALTO RENDIMIENTO)
   ========================================================================== */
.video-card-facade {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000000;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.video-card-facade:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.video-card-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.video-card-facade:hover img {
    transform: scale(1.04);
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(245, 158, 11, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0f19;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.7);
    transition: var(--transition);
    z-index: 2;
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
    fill: currentColor;
}

.video-card-facade:hover .video-play-btn {
    background: #fbbf24;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.95);
}

.video-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 13, 20, 0.95) 0%, rgba(10, 13, 20, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.video-info-overlay h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.video-info-overlay p {
    font-size: 0.88rem;
    color: var(--color-primary);
    font-weight: 600;
}

.video-card-facade iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   GRILLA DE SERVICIOS
   ========================================================================== */
.services-section {
    padding: 90px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 22px;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: bold;
}

.service-card .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.service-card .btn-link:hover {
    color: #fbbf24;
    transform: translateX(4px);
}

/* ==========================================================================
   PORTAFOLIO DE VIDEOS (SHOWCASE)
   ========================================================================== */
.portfolio-section {
    padding: 90px 0;
    background-color: var(--bg-main);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.portfolio-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

@media (min-width: 992px) {
    .portfolio-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   BANNER DESTACADO: DIPLOMADOS Y FORMACIÓN
   ========================================================================== */
.diplomas-section {
    padding: 90px 0;
    background: radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.08) 0%, rgba(10, 13, 20, 0) 70%), var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.diploma-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.diploma-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.diploma-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.diploma-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.diploma-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.diploma-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================================================
   BANNER: ESCUELA DE ARTES (JADEMK)
   ========================================================================== */
.art-school-banner {
    background: linear-gradient(135deg, #151b2d 0%, #1e293b 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.art-school-banner h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.art-school-banner p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* ==========================================================================
   ACORDEÓN DE PREGUNTAS FRECUENTES (HOMOLOGADO)
   ========================================================================== */
.faq-section {
    padding: 85px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    max-width: 820px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.15);
}

.faq-header {
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h4 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 14px;
    flex-shrink: 0;
}

.faq-item.active {
    border-color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 26px 24px 26px;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

.faq-content p {
    margin: 0;
}

.faq-content p + p {
    margin-top: 12px;
}

/* ==========================================================================
   FORMULARIO DE CONTACTO / COTIZADOR
   ========================================================================== */
.contact-section {
    padding: 90px 0;
    background-color: var(--bg-main);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 45px;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #060910;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background: var(--color-whatsapp-hover);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .diplomas-grid {
        grid-template-columns: 1fr;
    }
    .art-school-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        min-height: 84px;
        padding: 4px 0;
    }
    .brand-logo img {
        height: 80px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 13, 20, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
    }
    .nav-menu.active {
        display: flex;
    }
    /* Submenú en móvil */
    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 8px 0;
    }
    .dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        margin-top: 4px;
        max-height: 0;
        overflow: hidden;
        padding: 0 6px;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    }
    .nav-dropdown.open .dropdown-menu {
        max-height: 520px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 8px 6px;
    }
    .menu-toggle-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        min-height: 78px;
    }
    .brand-logo img {
        height: 72px;
    }
    .btn-whatsapp-header {
        padding: 7px 12px;
        font-size: 0.82rem;
    }
    .footer-brand img {
        height: 80px;
    }
}

/* ==========================================================================
   ELEMENTOS DECORATIVOS CINEMATOGRÁFICOS DE FONDO (SUAVES Y SUTILES)
   ========================================================================== */
.services-section,
.portfolio-section,
.diplomas-section,
.faq-section,
.contact-section,
.page-header {
    position: relative;
    overflow: hidden;
}

.cine-bg-decor {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    color: var(--color-primary);
    opacity: 0.045;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section:hover .cine-bg-decor,
.page-header:hover .cine-bg-decor {
    opacity: 0.07;
}

.cine-bg-decor.decor-white {
    color: #ffffff;
    opacity: 0.038;
}
section:hover .cine-bg-decor.decor-white,
.page-header:hover .cine-bg-decor.decor-white {
    opacity: 0.06;
}

/* 1. Hero Section */
.decor-reel-hero {
    width: 360px;
    height: 360px;
    top: -50px;
    right: -60px;
    transform: rotate(20deg);
}

.decor-strip-hero {
    width: 440px;
    height: auto;
    bottom: -35px;
    left: -70px;
    transform: rotate(-12deg);
}

/* 2. Servicios Section */
.decor-clapper-services {
    width: 310px;
    height: 310px;
    top: 40px;
    left: -60px;
    transform: rotate(-15deg);
}

.decor-mic-services {
    width: 250px;
    height: 290px;
    bottom: 30px;
    right: -40px;
    transform: rotate(15deg);
}

/* 3. Portafolio / Videos Section */
.decor-strip-portfolio {
    width: 420px;
    height: auto;
    top: 25px;
    right: -80px;
    transform: rotate(10deg);
}

.decor-reel-portfolio {
    width: 320px;
    height: 320px;
    bottom: -50px;
    left: -50px;
    transform: rotate(-22deg);
}

/* 4. Diplomados Section */
.decor-mic-diplomas {
    width: 240px;
    height: 280px;
    top: 40px;
    left: -40px;
    transform: rotate(-18deg);
}

.decor-clapper-diplomas {
    width: 290px;
    height: 290px;
    bottom: 25px;
    right: -50px;
    transform: rotate(14deg);
}

/* 5. FAQ */
.decor-reel-faq {
    width: 340px;
    height: 340px;
    top: -40px;
    right: -60px;
    transform: rotate(35deg);
}

.decor-strip-faq {
    width: 400px;
    height: auto;
    bottom: -30px;
    left: -60px;
    transform: rotate(-8deg);
}

/* 6. Cabeceras de Páginas Secundarias */
.decor-reel-page {
    width: 280px;
    height: 280px;
    top: -40px;
    right: -40px;
    transform: rotate(25deg);
}

.decor-clapper-page {
    width: 260px;
    height: 260px;
    bottom: -30px;
    left: -40px;
    transform: rotate(-15deg);
}

/* Adaptación en móviles */
@media (max-width: 768px) {
    .cine-bg-decor {
        opacity: 0.032;
    }
    .decor-reel-hero {
        width: 210px;
        height: 210px;
        right: -40px;
        top: -20px;
    }
    .decor-strip-hero {
        width: 260px;
        left: -40px;
        bottom: -20px;
    }
    .decor-clapper-services,
    .decor-clapper-diplomas {
        width: 190px;
        height: 190px;
        left: -30px;
    }
    .decor-mic-services,
    .decor-mic-diplomas {
        width: 160px;
        height: 190px;
        right: -25px;
    }
    .decor-strip-portfolio,
    .decor-strip-faq {
        width: 250px;
    }
    .decor-reel-portfolio,
    .decor-reel-faq {
        width: 190px;
        height: 190px;
    }
}
