/* =========================================
   1. SISTEMA DE DISEÑO (DESIGN SYSTEM)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
    /* Paleta de colores */
    --neutral-950: hsl(240, 6%, 10%);
    --neutral-900: hsl(240, 6%, 14%);
    --neutral-800: hsl(240, 6%, 20%);
    --neutral-200: hsl(240, 6%, 80%);
    --neutral-50:  hsl(0, 0%, 100%);

    --brand-400: hsl(48, 100%, 60%);
    --brand-500: hsl(48, 100%, 50%);
    --brand-600: hsl(48, 100%, 40%);

    /* Espaciado */
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  2rem;
    --space-xl:  4rem;
    
    /* Layout y Tipografía */
    --container-width: 1100px;
    --font-main: 'Montserrat', sans-serif;

    /* Asignaciones semánticas */
    --bg-body:       var(--neutral-950);
    --bg-card:       var(--neutral-900);
    --text-main:     var(--neutral-50);
    --text-muted:    var(--neutral-200);
    --color-primary: var(--brand-500);
}

/* =========================================
   2. RESET BÁSICO Y GLOBALES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
}

/* =========================================
   3. UTILIDADES Y ANIMACIONES
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bajarMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(400px); }
}

@keyframes fadeUpCard {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goldShine {
    to { background-position: -200% center; }
}

/* =========================================
   4. COMPONENTES REUTILIZABLES
   ========================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    width: 90%;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-right: var(--space-sm); 
    margin-bottom: var(--space-sm);
}

.btn--primary {
    background-color: var(--brand-500);
    color: var(--neutral-950);
}

.btn--primary:hover {
    background-color: var(--brand-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 214, 0, 0.3);
}

.btn--secondary {
    background-color: transparent;
    border: 2px solid var(--brand-600);
    color: var(--brand-500);
}

.btn--secondary:hover {
    background-color: var(--brand-400);
    color: var(--neutral-950);
}

.btn--full {
    width: 100%;
    margin-top: var(--space-md);
}

/* =========================================
   5. LAYOUT: HEADER Y NAVEGACIÓN
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    transition: background-color 0.4s ease, padding 0.3s ease;
}

.header--scrolled {
    background-color: hsla(240, 6%, 10%, 0.7); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem var(--space-md);
}

.header__logo {
    width: 60px;
    height: auto;
    margin-bottom: 0;
}

.nav__list {
    list-style: none;
    display: none;       
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    position: absolute;  
    top: 100%;           
    left: 0;             
    width: 100%;         
    background-color: hsla(240, 6%, 10%, 0.9);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); 
    padding: var(--space-lg) 0;
    animation: bajarMenu 0.3s ease forwards;
    z-index: 999;
}

.nav__list.nav__list--visible {
    display: flex;
}

.nav__toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    display: block;
    padding: 10px;
}

.nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--color-primary);
}

/* =========================================
   6. SECCIÓN: HERO (CON SLIDER)
   ========================================= */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    overflow: hidden;
    color: var(--text-main);
    margin-top: -80px; 
    padding-top: 160px; 
}

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

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 7, 0.7), rgba(5, 5, 7, 0.85));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero__title--brand {
    display: block;
    font-size: 1.3em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
    font-weight: 800;
    background: linear-gradient(
        to right, 
        var(--brand-600) 0%, 
        var(--brand-400) 20%, 
        #ffffff 40%, 
        var(--brand-400) 60%, 
        var(--brand-600) 100%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: goldShine 4s linear infinite;
    filter: drop-shadow(0 2px 15px rgba(255, 214, 0, 0.4));
}

.hero__description {
    font-size: 1.15rem;
    margin-bottom: var(--space-lg);
    color: var(--neutral-200);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
}

/* =========================================
   7. SECCIÓN: MARCAS (SLIDER)
   ========================================= */
.brands-slider {
    background-color: var(--neutral-950);
    padding: var(--space-xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--neutral-800);
    overflow: hidden; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands__title {
    color: var(--brand-500); 
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-xl);
    text-shadow: 0 0 15px rgba(255, 214, 0, 0.3); 
    position: relative;
    display: inline-block;
}

.brands__title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: var(--brand-500);
    margin: 10px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.5);
}

.brands-slider__track {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    width: max-content;
    animation: scroll 30s linear infinite;
}

.brands__img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) invert(1) brightness(2);
    mix-blend-mode: screen; 
    border-radius: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.brands__img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(100%) invert(1) brightness(10) drop-shadow(0 0 5px rgba(255,255,255,0.8));
}

/* =========================================
   8. SECCIÓN: SERVICIOS
   ========================================= */
.services {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--neutral-950);
    text-align: center;
}

.services__header {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.services__title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.services__subtitle {
    color: var(--brand-500);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--neutral-900);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid var(--neutral-800);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-500);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card__icon {
    color: var(--brand-500);
    margin-bottom: var(--space-md);
    padding: 10px;
    background-color: rgba(255, 214, 0, 0.1);
    width: fit-content;
    border-radius: 8px;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-main);
}

.service-card__desc {
    color: var(--neutral-200);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.service-card__list {
    list-style: none;
    border-top: 1px solid var(--neutral-800);
    padding-top: var(--space-md);
}

.service-card__list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-card__list li::before {
    content: "•";
    color: var(--brand-500);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.service-card--featured {
    border-color: var(--brand-600);
    background: linear-gradient(145deg, var(--neutral-900), #1a1a1a);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--brand-500);
    color: black;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 214, 0, 0.4);
}

/* =========================================
   9. SECCIÓN: NOSOTROS (PREMIUM LAYOUT)
   ========================================= */
.about {
    background-color: var(--neutral-950);
    padding: var(--space-xl) var(--space-md);
    overflow: hidden;
}

.about__container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about__visual {
    position: relative;
    width: 100%;
}

.about__image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about__image-wrapper:hover .about__img {
    transform: scale(1.05);
}

.about__floating-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--neutral-900);
    border: 1px solid var(--brand-500);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    z-index: 2;
    transform: translateY(-20px);
}

.badge-icon {
    color: var(--brand-500);
    background: rgba(255, 214, 0, 0.1);
    padding: 12px;
    border-radius: 8px;
    display: flex;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-title {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.badge-desc {
    color: var(--brand-500);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about__tag {
    color: var(--brand-500);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    display: block;
}

.about__title {
    font-size: 2.8rem;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.text-highlight {
    color: var(--brand-500);
}

.about__text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: var(--space-lg);
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-card:hover {
    background-color: #1a1a1a;
    border-left-color: var(--brand-500);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.feature-card__icon {
    color: var(--brand-500);
    flex-shrink: 0;
}

.feature-card__text strong {
    color: var(--text-main);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-card__text p {
    color: var(--neutral-200);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.about__content .btn {
    align-self: flex-start;
    margin-top: var(--space-sm);
}

/* =========================================
   10. SECCIÓN: INGENIERÍA (BLUEPRINT LOOK)
   ========================================= */
.engineer-corner {
    background-color: #050507;
    background-image: 
        linear-gradient(rgba(0, 170, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 170, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: var(--space-xl) var(--space-md);
    border-top: 1px solid rgba(0, 170, 255, 0.2);
    border-bottom: 1px solid rgba(0, 170, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.engineer-corner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, #050507 80%);
    pointer-events: none;
    z-index: 0;
}

.engineer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.engineer-content {
    background: rgba(5, 5, 7, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: var(--space-md) 0;
    border-radius: 12px;
}

.engineer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 170, 255, 0.1);
    border: 1px solid rgba(0, 170, 255, 0.3);
    color: #00aaff;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    margin-bottom: var(--space-md);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.1);
}

.engineer-title {
    font-size: 2.2rem;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.engineer-lead {
    font-size: 1.05rem;
    color: var(--neutral-200);
    font-weight: 400;
    font-style: italic;
    border-left: 3px solid #00aaff;
    padding-left: 16px;
    margin-bottom: var(--space-md);
    line-height: 1.6;
    background: linear-gradient(90deg, rgba(0, 170, 255, 0.05) 0%, transparent 100%);
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 0 8px 8px 0;
}

.engineer-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.engineer-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: var(--space-xl);
}

.engineer-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.engineer-list li:hover {
    transform: translateX(5px);
    border-color: rgba(0, 170, 255, 0.3);
    background: rgba(0, 170, 255, 0.03);
}

.engineer-list__icon {
    flex-shrink: 0;
    background: rgba(0, 170, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engineer-list__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.engineer-list__text strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 4px;
}

.blueprint-box {
    position: relative;
    border: 1px solid rgba(0, 170, 255, 0.4);
    padding: 12px;
    background: rgba(0, 170, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.1) inset, 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.blueprint-img {
    border-radius: 4px;
    filter: sepia(100%) hue-rotate(180deg) saturate(200%) brightness(0.9) contrast(1.2); 
    mix-blend-mode: luminosity;
    opacity: 0.9;
    width: 100%;
    display: block;
}

.blueprint-scanline {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(0, 170, 255, 0.8);
    box-shadow: 0 0 10px #00aaff;
    opacity: 0.5;
    animation: scanline 4s linear infinite;
    z-index: 2;
}

.blueprint-data {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: monospace;
    color: #00aaff;
    font-size: 0.75rem;
    z-index: 2;
    text-shadow: 0 0 4px rgba(0, 170, 255, 0.5);
}

.btn--engineer {
    background: rgba(0, 170, 255, 0.05);
    border: 1px solid #00aaff;
    color: #00aaff;
    width: 100%;
    margin: 0;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.15);
    backdrop-filter: blur(4px);
}

.btn--engineer:hover {
    background-color: #00aaff;
    color: #050507;
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.5);
    transform: translateY(-2px);
}

/* =========================================
   11. SECCIÓN: PROCESO DE TRABAJO
   ========================================= */
.process-section {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--neutral-950);
}

.process-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.process-title {
    font-size: 2.5rem;
    color: var(--neutral-50);
    margin-bottom: var(--space-sm);
}

.process-subtitle {
    color: var(--neutral-200);
    font-size: 1.1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.process-step {
    background-color: var(--neutral-900);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid var(--neutral-800);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--brand-500);
}

.process-step__number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(255, 214, 0, 0.05); 
    line-height: 1;
    pointer-events: none;
}

.process-step__title {
    color: var(--brand-500);
    font-size: 1.2rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.process-step__desc {
    color: var(--neutral-200);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* =========================================
   12. SECCIÓN: FAQ
   ========================================= */
.faq-section {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--neutral-950);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-title {
    font-size: 2rem;
    color: var(--brand-500);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.faq-subtitle {
    color: var(--text-muted);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--brand-500);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.1);
}

.faq-question {
    padding: 18px 24px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    color: var(--brand-500);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-question:hover {
    background-color: rgba(255, 214, 0, 0.05);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* =========================================
   13. SECCIÓN: TESTIMONIOS
   ========================================= */
.testimonials {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--neutral-900); 
}

.testimonials__container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.testimonials__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.testimonials__title {
    font-size: 2.5rem;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.testimonials__subtitle {
    color: var(--brand-500);
    font-weight: 700;
    letter-spacing: 1px;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.testimonial-card {
    background-color: var(--neutral-950);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid var(--neutral-800);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonial-card__stars {
    color: #fbbc04; 
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-card__text {
    color: var(--neutral-200);
    line-height: 1.6;
    font-style: italic;
    font-size: 0.95rem;
    flex-grow: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    background-color: var(--brand-600);
    color: var(--neutral-950);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.testimonial-card__name {
    font-size: 0.95rem;
    color: var(--text-main);
}

.testimonial-card__date {
    font-size: 0.75rem;
    color: var(--neutral-200);
}

.testimonials__cta {
    text-align: center;
}

.testimonials__link {
    color: var(--brand-500);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.testimonials__link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* =========================================
   14. SECCIÓN: CATÁLOGO PROMO (INDEX)
   ========================================= */
.catalog-promo {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--neutral-900);
    border-top: 1px solid var(--neutral-800);
    border-bottom: 1px solid var(--neutral-800);
    overflow: hidden;
}

.catalog-promo__container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.catalog-promo__tag {
    background-color: rgba(255, 214, 0, 0.1);
    color: var(--brand-500);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: var(--space-md);
    border: 1px solid var(--brand-500);
}

.catalog-promo__title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.catalog-promo__desc {
    color: var(--neutral-200);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.catalog-promo__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
    color: var(--text-main);
    font-weight: bold;
}

.catalog-promo__features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-500);
}

.catalog-promo__visual {
    position: relative;
    width: 100%;
}

.catalog-promo__card-mockup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.catalog-promo__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.catalog-promo__card-mockup:hover .catalog-promo__img {
    transform: scale(1.05);
}

.catalog-promo__badge {
    position: absolute;
    bottom: -20px; 
    right: 20px;
    background-color: var(--neutral-900);
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--brand-500);
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    transform: translateY(-40px);
    z-index: 2;
}

/* =========================================
   15. SECCIÓN: CONTACTO
   ========================================= */
.contact {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--neutral-950);
    text-align: center;
}

.contact__title {
    margin-bottom: var(--space-lg);
    font-size: 2rem;
    color: var(--brand-500);
}

.contact__wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr; 
    gap: var(--space-lg);
    align-items: stretch; 
}

.contact__form {
    background-color: var(--neutral-900);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid var(--neutral-800);
    text-align: left;
    width: 100%; 
}

.contact__form .btn {
    margin-top: var(--space-md);
}

.contact__map {
    min-height: 400px; 
    border-radius: 12px;
    overflow: hidden; 
    border: 1px solid var(--neutral-800);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: var(--space-md);
    text-align: left; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto;
}

.form-group__label {
    display: block; 
    margin-bottom: 0.5rem;
    color: var(--brand-500); 
    font-weight: bold;
}

.form-group__input,
.form-group__textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--neutral-800); 
    border: 1px solid var(--neutral-800); 
    border-radius: 6px;
    color: var(--text-main); 
    font-family: inherit;
    outline: none; 
    transition: all 0.3s ease;
}

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

.form-group__input:focus,
.form-group__textarea:focus {
    border-color: var(--brand-500); 
    background-color: var(--neutral-900); 
    box-shadow: 0 0 8px rgba(255, 214, 0, 0.2); 
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    min-height: 20px; 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-status.success {
    color: #4ade80; 
    opacity: 1;
}

.form-status.error {
    color: #ef4444; 
    opacity: 1;
}

/* =========================================
   16. FOOTER (NUEVO MODERNO)
   ========================================= */
.footer {
    background-color: var(--neutral-950);
    border-top: 1px solid var(--neutral-900);
    padding-top: var(--space-xl);
    color: var(--neutral-200);
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
}

.footer__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo-img {
    width: 50px;
    margin-bottom: var(--space-sm);
}

.footer__logo {
    color: var(--neutral-50);
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 1px;
}

.footer__desc {
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.social-link {
    color: var(--neutral-50);
    background-color: var(--neutral-900);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    border: 1px solid var(--neutral-800);
}

.social-link:hover {
    background-color: var(--brand-500);
    color: var(--neutral-950);
    transform: translateY(-4px);
    border-color: var(--brand-500);
}

.footer__heading {
    color: var(--neutral-50);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 12px;
}

.footer__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--brand-500);
}

.footer__nav {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav a {
    color: var(--neutral-200);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer__nav a:hover {
    color: var(--brand-500);
    padding-left: 8px; 
}

.footer__info {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.footer__info svg {
    color: var(--brand-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__bottom {
    background-color: #08080a; 
    padding: var(--space-md);
    border-top: 1px solid var(--neutral-900);
}

.footer__bottom-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer__payments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-badge {
    background-color: var(--neutral-900);
    color: var(--neutral-200);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--neutral-800);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   17. WIDGET: WHATSAPP FLOTANTE
   ========================================= */
.btn-whatsapp {
    position: fixed; 
    bottom: 30px;    
    right: 30px;     
    width: 60px;
    height: 60px;
    background-color: #25d366; 
    border-radius: 50%; 
    display: flex;
    justify-content: center; 
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    z-index: 1000; 
    transition: all 0.3s ease;
    animation: pulse 2s infinite; 
}

.btn-whatsapp:hover {
    transform: scale(1.1); 
    background-color: #128c7e; 
}

/* =========================================
   18. CATÁLOGO PAGE (E-COMMERCE) & MODAL EXTENDIDO
   ========================================= */
.catalog-page {
    padding-top: 100px; 
    min-height: 100vh;
    background-color: var(--neutral-950);
}

.catalog-header {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md) var(--space-md);
    text-align: center;
}

.catalog-header__title {
    color: var(--brand-500);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.catalog-header__desc {
    color: var(--neutral-200);
    margin-bottom: var(--space-lg);
}

.catalog-view-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

/* Botón Ver todo el catálogo animado con Oro */
#btnViewAll, .btn--gold {
    background: linear-gradient(
        to right, 
        var(--brand-600) 0%, 
        var(--brand-400) 20%, 
        #ffffff 40%, 
        var(--brand-400) 60%, 
        var(--brand-600) 100%
    );
    background-size: 200% auto;
    color: var(--neutral-950);
    animation: goldShine 3s linear infinite;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.2);
    font-weight: 800;
}

#btnViewAll:hover, .btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.5);
}

.catalog-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.catalog-filters input,
.catalog-filters select {
    width: 100%;
    padding: 12px;
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    color: var(--text-main);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.catalog-filters input::placeholder {
    color: var(--neutral-200);
}

.catalog-filters input:focus,
.catalog-filters select:focus {
    border-color: var(--brand-500);
    background-color: var(--neutral-950);
    box-shadow: 0 0 8px rgba(255, 214, 0, 0.2);
}

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-card {
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    opacity: 0; 
    animation: fadeUpCard 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity; 
}

.category-card {
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-500);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.category-card:hover .product-card__img {
    transform: scale(1.1);
}

.product-card__image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #ffffff; 
    position: relative;
    overflow: hidden;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

.product-card__gallery-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--brand-500);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.product-card__content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__category {
    font-size: 0.75rem;
    color: var(--brand-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-card__title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__desc {
    color: var(--neutral-200);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; 
}

.product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-md);
    margin-top: auto; 
}

.product-card__tag {
    background-color: var(--neutral-800);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.product-card .btn {
    width: 100%;
    margin: 0;
    padding: 12px;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.catalog-actions {
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Modal Extendido */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(5, 5, 7, 0.95);
    z-index: 9999;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal__content {
    position: relative;
    max-width: 1100px;
    width: 95%;
    max-height: 90vh;
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: 12px;
    padding: var(--space-md);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(24, 24, 27, 0.8);
    border: 1px solid var(--neutral-800);
    color: var(--brand-500);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal__close:hover {
    background-color: var(--brand-500);
    color: var(--neutral-950);
}

.modal__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    height: 100%;
    overflow-y: auto;
    padding-right: 5px; /* for scrollbar */
}

/* Custom scrollbar for modal info */
.modal__layout::-webkit-scrollbar,
.modal__scroll-desc::-webkit-scrollbar {
    width: 6px;
}
.modal__layout::-webkit-scrollbar-track,
.modal__scroll-desc::-webkit-scrollbar-track {
    background: var(--neutral-900);
}
.modal__layout::-webkit-scrollbar-thumb,
.modal__scroll-desc::-webkit-scrollbar-thumb {
    background: var(--neutral-800);
    border-radius: 10px;
}

.modal__slider-container {
    display: flex;
    flex-direction: column;
}

.modal__slider {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.modal__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

.modal__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--brand-500);
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.modal__btn:hover { background: rgba(0,0,0,0.8); }
.modal__btn--prev { left: 10px; }
.modal__btn--next { right: 10px; }

.modal__indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.modal__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background-color: var(--neutral-800);
    cursor: pointer;
    transition: background 0.3s;
}

.modal__dot.active { background-color: var(--brand-500); }

.modal__info {
    display: flex;
    flex-direction: column;
    padding: var(--space-sm) 0;
}

.modal__title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.modal__scroll-desc {
    max-height: none;
    margin-bottom: var(--space-lg);
}

.modal__description {
    color: var(--neutral-200);
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap; 
}

/* =========================================
   19. MEDIA QUERIES (TABLET Y DESKTOP)
   ========================================= */
@media (min-width: 768px) {
    /* --- NAVEGACIÓN --- */
    .nav__list {
        display: flex; 
        flex-direction: row;
        gap: var(--space-lg);
        margin-top: 0;
        margin-right: 40px;
        animation: none;
        position: static; 
        width: auto;      
        height: auto;     
        background-color: transparent; 
        box-shadow: none; 
        border: none;     
        padding: 0;       
    }
    .nav__toggle {
        display: none; 
    }

    /* --- HERO --- */
    .hero__title {
        font-size: 3.5rem; 
    }
    .hero__description {
        font-size: 1.2rem; 
    }

    /* --- SERVICIOS --- */
    .services {
        display: block; 
    }
    .services__heading {
        font-size: 2.5rem;
        margin-bottom: var(--space-xl);
    }
    .services__container {
        grid-template-columns: repeat(3, 1fr); 
        width: 100%;
        max-width: 1200px;
        justify-content: center;
    }
    .service-card {
        margin-bottom: 0; 
        height: 100%; 
    }

    /* --- NOSOTROS --- */
    .about__container {
        grid-template-columns: 1fr 1.1fr; 
        display: grid;
        gap: 60px;
    }
    .about__image-wrapper {
        height: 600px; 
    }
    .about__floating-badge {
        bottom: 40px;
        right: -30px; 
    }
    .about__title {
        font-size: 3.5rem;
    }

    /* --- INGENIERÍA --- */
    .engineer-container {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: var(--space-xl);
        align-items: center; 
    }
    .engineer-visual {
        order: 2; 
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .engineer-visual .blueprint-box {
        max-width: 550px; 
        width: 100%;
    }
    .engineer-content {
        order: 1;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
    }
    .engineer-title {
        font-size: 3rem; 
    }
    .btn--engineer {
        width: auto;
        padding: 16px 32px;
    }

    /* --- PROCESO --- */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- TESTIMONIOS --- */
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* --- CATÁLOGO PROMO INDEX --- */
    .catalog-promo__container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .catalog-promo__content {
        padding-right: 20px;
    }
    .catalog-promo__title {
        font-size: 3.2rem;
    }
    .catalog-promo__img {
        height: 450px;
    }
    .catalog-promo__features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* --- CATÁLOGO PAGE --- */
    .catalog-filters {
        grid-template-columns: 2fr 1fr;
    }

    /* Modal Layout para Desktop */
    .modal__layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
        overflow: hidden; 
    }
    .modal__slider {
        height: 500px;
    }
    .modal__info {
        padding: var(--space-md);
        height: 100%;
        max-height: 550px;
    }
    .modal__scroll-desc {
        overflow-y: auto;
        padding-right: 15px;
    }

    /* --- CONTACTO --- */
    .contact__wrapper {
        grid-template-columns: 1fr 1fr; 
    }
    .contact__map {
        padding: 0; 
        height: 100%; 
        min-height: 400px; 
        position: relative; 
    }
    .contact__map iframe {
        width: 100%;
        height: 100%;
        display: block; 
        border: none;
    }

    /* --- FOOTER --- */
    .footer__container {
        grid-template-columns: 1.5fr 1fr 1.2fr;
        gap: var(--space-lg);
    }
    .footer__bottom-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    /* --- PROCESO DESKTOP GRANDE --- */
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- COMPONENTE: PROJECT SHOWCASE (BEM) --- */
.project-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 5%;
    max-width: var(--container-width);
    margin: 0 auto;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 992px) {
    .project-showcase {
        grid-template-columns: 1fr 1fr;
    }
    .project-showcase--reverse .project-showcase__content {
        order: 2;
    }
    .project-showcase--reverse .project-showcase__visuals {
        order: 1;
    }
}

.project-showcase__subtitle {
    display: inline-block;
    color: var(--brand-500);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.project-showcase__title {
    font-size: 2.2rem;
    color: var(--neutral-50);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.project-showcase__desc {
    color: var(--neutral-200);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
}

.project-showcase__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-showcase__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--neutral-50);
    font-weight: 500;
}

.project-showcase__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.project-showcase__btn-outline {
    border: 1px solid var(--neutral-200);
    color: var(--neutral-50);
    background: transparent;
}

.project-showcase__btn-outline:hover {
    border-color: var(--brand-500);
    color: var(--brand-500);
}

/* Composición de imágenes tipo Grid (Masonry) */
.project-showcase__visuals {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
    width: 100%;
}

.project-showcase__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.project-showcase__img:hover {
    transform: scale(1.02);
}

.project-showcase__img--main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.project-showcase__img--sub {
    grid-column: 2 / 3;
}

@media (max-width: 768px) {
    .project-showcase__visuals {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .project-showcase__img--main {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        height: 300px;
    }
    .project-showcase__img--sub {
        grid-column: auto;
        height: 200px;
    }
}

/* =========================================
   20. SECCIÓN: CARRUSEL PROYECTOS ESTUDIANTILES (INDEX)
   ========================================= */
.projects-carousel-section {
    background-color: #050507;
    padding: var(--space-xl) 5%;
    border-bottom: 1px solid rgba(0, 170, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.pc-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pc-title {
    font-size: 2.5rem;
    color: var(--neutral-50);
    margin-bottom: 10px;
}

.pc-title span {
    color: #00aaff;
}

.pc-desc {
    color: var(--neutral-200);
    font-size: 1.1rem;
    line-height: 1.6;
}

.pc-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative; /* Contenedor relativo para posicionar los botones */
}

.pc-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 10px 40px 10px;
    scrollbar-width: none; /* Oculta scrollbar en Firefox */
    scroll-behavior: smooth; /* Desplazamiento suave para los botones */
}

.pc-track::-webkit-scrollbar {
    display: none; /* Oculta scrollbar en Chrome/Safari/Edge */
}

/* Las tarjetas ahora son enlaces <a> */
.pc-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: rgba(0, 170, 255, 0.02);
    border: 1px solid rgba(0, 170, 255, 0.15);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Quita el subrayado de enlace */
    position: relative;
    overflow: hidden;
}

.pc-card:hover {
    transform: translateY(-10px);
    border-color: #00aaff;
    box-shadow: 0 15px 35px rgba(0, 170, 255, 0.2);
    background: rgba(0, 170, 255, 0.05);
}

/* Contenedor de imagen con efecto viñeta/degradado */
.pc-card__img-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-bottom: 1px solid rgba(0, 170, 255, 0.15);
    overflow: hidden;
}

.pc-card__img-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(5,5,7,0.9) 100%);
    pointer-events: none;
}

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

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

.pc-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.pc-tag {
    color: #00aaff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.pc-card h3 {
    color: var(--neutral-50);
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.pc-card:hover h3 {
    color: #00aaff;
}

.pc-card p {
    color: var(--neutral-200);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- BOTONES DE NAVEGACIÓN (DESKTOP) --- */
.pc-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(5, 5, 7, 0.8);
    border: 1px solid #00aaff;
    color: #00aaff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.2);
    backdrop-filter: blur(4px);
    display: none; /* Ocultos en móviles por defecto */
}

.pc-nav-btn:hover {
    background: #00aaff;
    color: #050507;
    box-shadow: 0 4px 20px rgba(0, 170, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Posicionamiento de los botones hacia afuera del carrusel */
.pc-nav-btn--prev { left: -20px; }
.pc-nav-btn--next { right: -20px; }

@media (min-width: 992px) {
    .pc-nav-btn {
        display: flex; /* Se muestran solo en pantallas grandes */
    }
    .pc-track {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.pc-actions {
    text-align: center;
    margin-top: var(--space-md);
}