/* --- VARIABLES CSS Y RESET --- */
:root {
    --color-primary-orange: #FF6B00;
    --color-primary-navy: #0F223D;
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --color-bg-light: #F4F7F6;
    --font-stack: 'Poppins', sans-serif;
    --section-spacing: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--color-text-dark);
    overflow-x: hidden;
    overflow-y: auto !important;
}

/* ============================================
   ANIMACIONES KEYFRAMES
   ============================================ */

/* Orbes flotantes del hero */
@keyframes float {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 0.25;
    }

    50% {
        transform: scale(1.15) translateY(-22px);
        opacity: 0.45;
    }
}

@keyframes float2 {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.2) translateY(22px);
        opacity: 0.35;
    }
}

/* Fade-in inicial del hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ELEMENTOS DECORATIVOS HERO (orbes)
   ============================================ */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 0, 0.18);
    top: -20%;
    left: -15%;
    animation: float 5s ease-in-out infinite;
}

.hero-orb--2 {
    width: 420px;
    height: 420px;
    background: rgba(15, 34, 61, 0.6);
    bottom: -15%;
    right: -12%;
    animation: float2 6s ease-in-out infinite;
    animation-delay: 0.6s;
}

.hero-orb--3 {
    width: 280px;
    height: 280px;
    background: rgba(255, 107, 0, 0.10);
    top: 55%;
    left: 38%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1.2s;
}

/* ============================================
   ANIMACIONES DE ENTRADA POR SCROLL
   ============================================ */

/* Fade desde abajo (genérico) */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

    .scroll-animate.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Desde la izquierda */
.scroll-animate-left {
    opacity: 0;
    transform: translateX(-55px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

    .scroll-animate-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Desde la derecha */
.scroll-animate-right {
    opacity: 0;
    transform: translateX(55px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

    .scroll-animate-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Stagger para tarjetas (delay por nth-child) */
.stagger-card {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

    .stagger-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .stagger-card:nth-child(1) {
        transition-delay: 0s;
    }

    .stagger-card:nth-child(2) {
        transition-delay: 0.18s;
    }

    .stagger-card:nth-child(3) {
        transition-delay: 0.36s;
    }

/* ============================================
   UTILIDADES Y CLASES GENERALES
   ============================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-primary-navy);
    color: var(--color-text-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-text-light) !important;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-primary-navy);
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background-color: var(--color-primary-orange);
        margin-top: 10px;
        border-radius: 2px;
    }

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.bg-dark .section-title {
    color: var(--color-text-light);
}

/* ============================================
   SISTEMA DE BOTONES PUNTUALIZA
   Base: .ptz-btn  |  Modificadores: .btn-{nombre}
   ============================================ */
.ptz-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 13px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-stack);
    font-weight: 600;
    font-size: 0.97rem;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
    white-space: nowrap;
    user-select: none;
}

    /* Naranja sólido — acción principal */
    .ptz-btn.btn-primary {
        background-color: var(--color-primary-orange);
        color: var(--color-text-light);
        border-color: var(--color-primary-orange);
        box-shadow: 0 4px 18px rgba(255, 107, 0, 0.32);
    }

        .ptz-btn.btn-primary:hover {
            background-color: #e55f00;
            border-color: #e55f00;
            transform: translateY(-3px) scale(1.03);
            box-shadow: 0 8px 26px rgba(255, 107, 0, 0.45);
            color: var(--color-text-light);
        }

    /* Contorno blanco — para fondos oscuros */
    .ptz-btn.btn-ghost {
        background-color: transparent;
        color: var(--color-text-light);
        border-color: rgba(255, 255, 255, 0.55);
    }

        .ptz-btn.btn-ghost:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-color: var(--color-text-light);
            transform: translateY(-2px);
        }

    /* Pill del nav — compacto */
    .ptz-btn.btn-nav {
        padding: 7px 20px;
        border-radius: 50px;
        font-size: 0.9rem;
    }

    /* Ancho completo — formularios */
    .ptz-btn.btn-full {
        width: 100%;
        justify-content: center;
    }

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 12px;
}

.shadow {
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    padding: 1.5rem 0;
}

    #main-header.scrolled {
        background: var(--color-primary-navy);
        padding: 1rem 0;
        box-shadow: 0 2px 14px rgba(0,0,0,0.25);
    }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo imagen en el header */
.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .logo-container img {
        height: 40px;
        width: auto;
        display: block;
        object-fit: contain;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

        .logo-container img:hover {
            opacity: 0.85;
            transform: scale(1.03);
        }

.logo-text {
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 1.8rem;
    letter-spacing: -1px;
    position: relative;
}

.highlight-dot {
    color: var(--color-primary-orange);
    font-size: 2.5rem;
    line-height: 0;
}

.highlight-line {
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--color-primary-orange);
    position: absolute;
    bottom: -5px;
    left: 0;
}

#main-nav ul {
    display: flex;
    list-style: none;
}

    #main-nav ul li {
        margin-left: 2rem;
    }

        #main-nav ul li a {
            text-decoration: none;
            color: var(--color-text-light);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            opacity: 0.8;
        }

            #main-nav ul li a:hover, #main-nav ul li a.active {
                color: var(--color-primary-orange);
                opacity: 1;
            }


/* Hamburguesa (Móvil) */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-text-light);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    height: 100vh;
    min-height: 620px;
    background: linear-gradient(135deg, #0a1729 0%, #0F223D 60%, #1a2e4a 100%);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    overflow: hidden;
}

    /* Imagen de fondo sutil con overlay fuerte */
    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
        opacity: 0.08;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    animation: fadeInUp 0.9s ease-out both;
}

    .hero-content .hero-badge {
        display: inline-block;
        margin-bottom: 1.2rem;
        padding: 6px 18px;
        background: rgba(255, 107, 0, 0.18);
        border: 1px solid rgba(255, 107, 0, 0.35);
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--color-primary-orange);
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .hero-content h2 {
        font-size: 3.8rem;
        line-height: 1.15;
        margin-bottom: 1.4rem;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        opacity: 0.85;
    }

/* Stats del hero */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

    .hero-stat .stat-number {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: var(--color-primary-orange);
        line-height: 1;
    }

    .hero-stat .stat-label {
        display: block;
        font-size: 0.85rem;
        opacity: 0.65;
        margin-top: 4px;
    }

/* ============================================
   SECCIÓN NOSOTROS
   ============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center {
    align-items: center;
}

.col-md-6, .col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary-navy);
    margin-bottom: 1rem;
}

/* ============================================
   SECCIÓN MISIÓN Y VISIÓN
   ============================================ */
.mv-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.06);
    height: 100%;
    border-top: 4px solid transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

    /* Brillo sutil en hover */
    .mv-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        border-radius: 0 16px 0 80px;
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .mv-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    }

        .mv-card:hover::before {
            opacity: 1;
        }

.mission-card {
    border-color: var(--color-primary-navy);
}

    .mission-card::before {
        background: var(--color-primary-navy);
    }

.vision-card {
    border-color: var(--color-primary-orange);
}

    .vision-card::before {
        background: var(--color-primary-orange);
    }

.mv-icon {
    font-size: 2.8rem;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
}

.mission-card .mv-icon {
    color: var(--color-primary-navy);
}

.vision-card .mv-icon {
    color: var(--color-primary-orange);
}

.mv-card h4 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--color-primary-navy);
    position: relative;
    z-index: 1;
}

.mv-card p {
    position: relative;
    z-index: 1;
}

/* ============================================
   SECCIÓN VALORES
   ============================================ */
.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    opacity: 0.75;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.value-card {
    background: rgba(255,255,255,0.04);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

    .value-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--color-primary-orange);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .value-card:hover {
        background: rgba(255,255,255,0.09);
        transform: translateY(-6px);
        border-color: rgba(255, 107, 0, 0.3);
    }

        .value-card:hover::after {
            transform: scaleX(1);
        }

.value-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    color: var(--color-text-light);
    transition: transform 0.35s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(-5deg);
}

.bg-orange {
    background-color: var(--color-primary-orange);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
    color: var(--color-primary-orange);
}

.value-card p {
    font-size: 0.95rem;
    opacity: 0.88;
}

/* ============================================
   SECCIÓN PROYECTOS
   ============================================ */
.section-intro-light {
    max-width: 680px;
    margin: 0.5rem auto 2.5rem auto;
    font-size: 1.05rem;
    color: var(--color-text-dark);
    opacity: 0.7;
    text-align: center;
}

/* Grid de tarjetas */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

/* Tarjeta de proyecto */
.proj-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .proj-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    }

/* Imagen con overlay */
.proj-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

    .proj-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.proj-card:hover .proj-card-img img {
    transform: scale(1.06);
}

.proj-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,34,61,0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.2rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.proj-card:hover .proj-card-overlay {
    opacity: 1;
}

.proj-tag {
    background: var(--color-primary-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Cuerpo de tarjeta */
.proj-card-body {
    padding: 1.5rem;
}

    .proj-card-body h4 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--color-primary-navy);
        margin-bottom: 0.6rem;
    }

    .proj-card-body p {
        font-size: 0.9rem;
        color: #555;
        line-height: 1.6;
        margin-bottom: 1.1rem;
    }

/* Pills de tecnología */
.proj-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .proj-techs span {
        font-size: 0.75rem;
        font-weight: 600;
        padding: 3px 12px;
        border-radius: 50px;
        background: var(--color-bg-light);
        color: var(--color-primary-navy);
        border: 1px solid rgba(15,34,61,0.12);
    }

/* Tarjeta oculta por filtro */
.proj-card.hidden {
    display: none;
}

/* ============================================
   SECCIÓN CONTACTO
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, #0a1729 0%, #0F223D 65%, #1a2e4a 100%);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.hero-orb--contact-1 {
    width: 450px;
    height: 450px;
    background: rgba(255, 107, 0, 0.12);
    top: -20%;
    right: -10%;
    animation: float 6s ease-in-out infinite;
}

.hero-orb--contact-2 {
    width: 350px;
    height: 350px;
    background: rgba(255, 107, 0, 0.07);
    bottom: -15%;
    left: -8%;
    animation: float2 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* Grid 2 columnas: info + formulario */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: start;
    margin-top: 3rem;
}

/* Columna info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255,107,0,0.15);
    border: 1px solid rgba(255,107,0,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-orange);
    font-size: 1.1rem;
}

.contact-info-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 3px;
}

.contact-info-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

/* Promesas */
.contact-promises {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-promise {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

    .contact-promise i {
        color: var(--color-primary-orange);
        font-size: 1rem;
    }

/* Tarjeta del formulario */
.contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-bottom: 1.8rem;
}

/* Fila de 2 campos */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Grupo de campo */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}

    .form-group label {
        font-size: 0.83rem;
        font-weight: 600;
        color: var(--color-primary-navy);
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 11px 14px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-family: var(--font-stack);
        font-size: 0.92rem;
        color: var(--color-text-dark);
        background: #fff;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
        outline: none;
        resize: none;
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--color-primary-orange);
            box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
        }

        .form-group input.field-error,
        .form-group textarea.field-error {
            border-color: #e53e3e;
            box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
        }

.form-error {
    font-size: 0.78rem;
    color: #e53e3e;
    margin-top: 4px;
    min-height: 1rem;
}



/* Estado éxito */
.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: #059669;
}

.form-success h4 {
    font-size: 1.4rem;
    color: var(--color-primary-navy);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Estado error */
.form-error-state {
    text-align: center;
    padding: 2rem 1rem;
}

.form-error-icon {
    width: 72px;
    height: 72px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: #dc2626;
}

.form-error-state h4 {
    font-size: 1.4rem;
    color: var(--color-primary-navy);
    margin-bottom: 0.5rem;
}

.form-error-state p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #0a1729;
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem 0;
}

.logo-text-footer {
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-links, .footer-contact {
    list-style: none;
}

    .footer-links li, .footer-contact li {
        margin-bottom: 10px;
    }

    .footer-links a {
        text-decoration: none;
        color: rgba(255,255,255,0.65);
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--color-primary-orange);
        }

    .footer-contact i {
        margin-right: 10px;
        color: var(--color-primary-orange);
    }

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

        .menu-toggle.is-active .bar:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.is-active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .menu-toggle.is-active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-primary-navy);
        padding-top: 80px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

        #main-nav.active {
            right: 0;
        }

        #main-nav ul {
            flex-direction: column;
        }


            #main-nav ul li {
                margin: 1.5rem 0;
                text-align: center;
            }

                #main-nav ul li a {
                    font-size: 1.2rem;
                }

    .main-nav-ul {
        margin-bottom: 0px !important;
    }

    .ptz-btn.btn-nav {
        margin-top: 1rem;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-orb--1,
    .hero-orb--2,
    .hero-orb--3 {
        display: none;
    }

    .col-md-6.mb-4 {
        margin-bottom: 2rem !important;
    }

    /* Proyectos móvil */
    .proj-grid {
        grid-template-columns: 1fr;
    }

    /* Contacto móvil */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 1.8rem 1.2rem;
    }

    .hero-orb--contact-1,
    .hero-orb--contact-2 {
        display: none;
    }
}
