/* ==========================================================================
   VARIABLES GLOBALES (Fácil control de colores de marca)
   ========================================================================== */
:root {
    --color-brand: #009c3d;
    --color-brand-accent: #00c44d;
    --color-bg-dark: #0a0a0a;
    --color-bg-gray: #171717;
    --color-bg-lightgray: #262626;
    --color-text-white: #ffffff;
    --color-text-muted: #a3a3a3;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s ease-in-out;
}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-muted);
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Red de fondo industrial sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   COMPONENTES REUTILIZABLES (Botones, Tags)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--brand, var(--color-brand));
    color: var(--color-text-white);
    box-shadow: 0 0 15px rgba(0, 156, 61, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-brand-accent);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-white);
}

.btn-outline:hover {
    border-color: var(--color-brand);
    background-color: rgba(0, 156, 61, 0.05);
}

.btn-whatsapp {
    background-color: #16a34a;
    color: var(--color-text-white);
}

.btn-sm { padding: 8px 16px; font-size: 11px; }
.btn-block { width: 100%; }
.text-green { color: var(--color-brand); }
.hidden { display: none !important; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: rgba(0, 156, 61, 0.1);
    border: 1px solid rgba(0, 156, 61, 0.3);
    color: var(--color-brand-accent);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.sub-tag {
    color: var(--color-brand);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

/* ==========================================================================
   HEADER / NAVEGACIÓN (Flexbox)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-nav {
    display: flex;
    gap: 25px;
    font-size: 13px;
    font-weight: 700;
}

.desktop-nav a:hover {
    color: var(--color-brand);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.drawer-btn {
    background: var(--color-bg-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-btn:hover {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
}

.badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--color-brand);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-dark);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-white);
    font-size: 20px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-gray);
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ==========================================================================
   HERO SECTION (Flexbox y Grid híbrido)
   ========================================================================== */
.hero {
    position: relative;
    padding: 140px 20px 80px 20px;
    overflow: hidden;
}

.hero-blur-1 {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-color: rgba(0, 156, 61, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

h1 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(to right, var(--color-brand), #00c44d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
}

.hero-metrics {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

}

#num-metric {
    display: flex;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-text-white);
    justify-content: center;
}

#num-metric:hover {
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    color: var(--color-brand);
    transform: translateY(-2px);
}

.metric p {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-card {
    background-color: var(--color-bg-gray);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-tag {
    color: var(--color-brand);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.visual-card h4 {
    font-family: var(--font-display);
    color: var(--color-text-white);
    margin-bottom: 15px;
}

.svg-container {
    background-color: rgba(10, 10, 10, 0.8);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 1px solid rgba(255,255,255,0.02);
}

.hero-img-container{
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.hero-img-container video{
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.visual-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.visual-chips span {
    font-size: 10px;
    padding: 4px 8px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.visual-chips .chip-accent {
    background-color: rgba(0, 156, 61, 0.15);
    color: var(--color-brand-accent);
    font-weight: 700;
}
   /* ==========================================================================
   CARRUSEL DE CLIENTES (MARQUEE INFINITO SIN SALTOS)
   ========================================================================== */
.clients-section {
    padding: 30px 0;
    background-color: rgba(10, 10, 10, 0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.clients-header {
    text-align: center;
    margin-bottom: 20px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.clients-header p {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    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);
    max-width: 100vw;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
}

/* PAUSAR EL CARRUSEL AL PASAR EL RATÓN (HOVER) */
.marquee-track:hover {
    animation-play-state: paused;
}

/* NUEVO: Agrupamos los logos para que el loop sea exacto */
.marquee-group {
    display: flex;
    gap: 60px; /* Distancia entre logos */
    padding-right: 60px; /* EL SECRETO: Iguala el gap final para que el Grupo 2 encaje a la perfección */
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 60px;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
    cursor: pointer;
}

.logo-item img{
    max-height: 50px;
}

.logo-item:hover {
    filter: grayscale(0%) opacity(1);
}

.logo-item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: white;
    margin: 0;
}

/* Al mover el -50% (un grupo entero), el grupo 2 queda en la posición idéntica del 0% */
@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* ==========================================================================
   SECCIÓN SECCIONES GENERALES & PORTAFOLIO (Flexbox / Grid nativo)
   ========================================================================== */
.catalog-section, .partners-section, .infra-section, .faqs-section, .contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--color-text-white);
    margin-bottom: 12px;
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-text-muted);
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-text-white);
}

/* El grid nativo de CSS para las tarjetas del catálogo */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.catalog-card {
    background-color: var(--color-bg-gray);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    transition: var(--transition-smooth);
}

.catalog-card:hover {
    border-color: var(--color-brand);
}

.catalog-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
}

.catalog-card h3 {
    font-family: var(--font-display);
    color: var(--color-text-white);
}

.card-materials-preview {
    list-style: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.svg-container{
    max-width: 100%;
    min-height: 250px;
    max-height: 250px;
    object-fit: cover;
}
/*
.svg-container img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}*/
.card-actions {
    display: flex;
    gap: 10px;
}

/* ==========================================================================
   MODAL (Diseño centrado al medio en pantalla completa)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background-color: var(--color-bg-gray);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh; /* Para evitar que se salga en pantallas pequeñas */
    overflow-y: auto; /* Scroll interno si el contenido es largo */
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-text-white);
}

.modal-main-display {
    width: 100%;
    height: 500px;
    background-color: #0d0d0d;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.modal-main-display img, 
.modal-main-display svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.modal-info {
    flex: 1;
}
.modal-gallery-section{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap:15px;
}
.modal-info h4, .modal-desc-box h4, .modal-gallery-section h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.modal-info ul {
    list-style: none;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #ccc;
}
.modal-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.modal-info ul li i {
    color: #00ff66;
    margin-top: 2px;
}
.carousel-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thumbnails-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 0;
    flex: 1;
}

.thumbnails-track::-webkit-scrollbar {
    display: none; /* Oculta la barra de scroll */
}

.thumb-item {
    min-width: 80px;
    height: 60px;
    background-color: #121212;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    overflow: hidden;
}

.thumb-item.active {
    border-color: #00ff66; /* Borde verde activo */
    background-color: #1a1a1a;
}

.thumb-item img, .thumb-item svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Botones de navegación < > */
.carousel-nav {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 8px;
    transition: color 0.2s;
}

.carousel-nav:hover {
    color: #00ff66;
}
.modal-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.footer-small { font-size: 9px; text-transform: uppercase; }
.footer-text { font-size: 11px; color: var(--color-text-white); font-weight: 500; }
/* ==========================================================================
   EFECTO ZOOM EN MODAL
   ========================================================================== */
.zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Evita que la foto ampliada se salga del cuadro */
    cursor: zoom-in;  /* Cambia el puntero del ratón a una lupa */
    border-radius: 8px;
}

.zoom-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.15s ease-out; /* Transición suave al mover el ratón */
    pointer-events: none; /* Asegura que los eventos de ratón se registren en el contenedor */
}
/* ==========================================================================
   SEAMOS PARTNERS B2B (Estructura de comparación)
   ========================================================================== */
.partners-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.partners-text, .partners-table-box {
    flex: 1;
}

.partner-features {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    gap: 12px;
}
#texto-rotativo {
  transition: opacity 0.5s ease-in-out;
  color: #00c44d; /
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}
.feature-icon {
    background-color: rgba(0,156,61,0.15);
    color: var(--color-brand-accent);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.feature-item h4 { color: var(--color-text-white); font-size: 14px; }
.feature-item p { font-size: 12px; }

.compare-card {
    background-color: var(--color-bg-gray);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.compare-card h3 { text-align: center; margin-bottom: 20px; color: white; font-family: var(--font-display); }

.compare-grid {
    display: flex;
    gap: 20px;
}

.compare-col {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(10,10,10,0.4);
}

.compare-col.good { border: 2px solid var(--color-brand); background-color: rgba(0,156,61,0.03); }
.compare-col h5 { margin-bottom: 10px; font-size: 12px; color: white; }
.compare-col ul { list-style: none; font-size: 11px; display: flex; flex-direction: column; gap: 8px; }

.compare-action { text-align: center; margin-top: 20px; }

/* ==========================================================================
   INFRAESTRUCTURA (Tarjetas de Taller)
   ========================================================================== */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.infra-card {
    background-color: var(--color-bg-gray);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition-smooth);
}

.infra-card:hover { border-color: rgba(0,156,61,0.4); transform: translateY(-3px); }
.infra-icon { font-size: 24px; color: var(--color-brand-accent); margin-bottom: 15px; }
.infra-card h3 { color: white; font-size: 16px; margin-bottom: 10px; font-family: var(--font-display); }
.infra-card p { font-size: 12px; line-height: 1.5; }




/* ==========================================================================
   ACORDEÓN FAQs
   ========================================================================== */
.faqs-wrapper {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--color-bg-gray);
    border-radius: 10px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    text-align: left;
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-trigger h3{
    font-size: 16px;
    font-weight: 500;
}

.faq-icon-arrow { color: var(--color-brand); transition: var(--transition-smooth); }
.faq-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: var(--transition-smooth); }
.faq-content p { pb: 20px; font-size: 13px; line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; padding-bottom: 20px;}

/* ==========================================================================
   FORMULARIO DE CONTACTO
   ========================================================================== */
.contact-container { display: flex; gap: 40px; }
.contact-info, .contact-form-box { flex: 1; }
.info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.info-item { display: flex; gap: 15px; align-items: center; }
.info-item i { font-size: 20px; color: var(--color-brand-accent); }
.info-item .label { font-size: 11px; text-transform: uppercase; }
.info-item .val { color: white; font-weight: 700; font-size: 14px; }
.maps-prografico{object-fit: contain;}
.map-prografico {object-fit: contain; max-width: 100%;}
.contact-form-box { background-color: var(--color-bg-dark); border: 1px solid rgba(255,255,255,0.08); padding: 20px; border-radius: 16px; }
.form-row { display: flex; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; flex: 1; }
.form-group label { font-size: 11px; text-transform: uppercase; color: var(--color-text-white); font-weight: 700; }
.form-group input, .form-group select, .form-group textarea {
    background-color: var(--color-bg-gray);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 13px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-brand); outline: none; }
.form-actions { display: flex; gap: 15px; margin-top: 20px; }

/* 1. Ocultar el input por defecto de forma limpia */
.file-input-hidden {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

/* 2. Estilizar el botón personalizado (Label) */
.custom-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #111111; /* Color principal de tu marca */
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Efecto al pasar el mouse */
.custom-file-btn:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

/* Efecto al presionar */
.custom-file-btn:active {
  transform: translateY(0);
}

/* 3. Estilo del texto que muestra los archivos seleccionados */
.file-list-names {
  margin-top: 8px;
  font-size: 12px;
  color: #666666;
  font-style: italic;
}

/* ==========================================================================
   WIDGETS FLOTANTES (WhatsApp y Drawer Lateral)
   ========================================================================== */
.project-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh; 
    height: 100dvh;
    background-color: var(--color-bg-gray);
    border-left: 1px solid rgba(255,255,255,0.1);
    z-index: 9999;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.drawer-btn img{ max-width: 25px; max-height:25px; object-fit: contain;}
.project-drawer.open { transform: translateX(0); }
.drawer-header { padding: 20px; background-color: var(--color-bg-dark); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.drawer-header h3 { color: white; font-family: var(--font-display); }
.drawer-header img {max-width: 18px; max-height: 18px; object-fit: contain; gap: 15px;}
.close-drawer { background: transparent; border: none; color: white; font-size: 18px; cursor: pointer; }
.drawer-items { flex: 1 1 0; min-height: 0; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.drawer-footer {
    padding: 20px;
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);}
.empty-state { text-align: center; margin-top: 80px; font-size: 12px; display: flex; flex-direction: column; gap: 10px; align-items: center;}
.empty-state i { font-size: 32px; color: rgba(255,255,255,0.1); }
.drawer-items img{max-width: 50px; max-height: 50px; object-fit: contain; justify-content: center;}
.whatsapp-widget { position: fixed; bottom: 25px; right: 25px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; }
.whatsapp-box { background-color: var(--color-bg-gray); border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 12px; width: 260px; margin-bottom: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.4); }
.whatsapp-box h5 { color: white; margin-bottom: 5px; }
.whatsapp-box p { font-size: 11px; line-height: 1.4; margin-bottom: 10px; }
.btn-wa-link { display: block; background-color: #16a34a; text-align: center; color: white; font-size: 11px; font-weight: 700; padding: 8px; border-radius: 6px; text-transform: uppercase; }
.whatsapp-trigger { width: 50px; height: 50px; background-color: #16a34a; border: none; color: white; font-size: 24px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(22, 163, 74, 0.4); }

.toast-message { position: fixed; bottom: 25px; left: 25px; background-color: var(--color-bg-dark); border: 1px solid var(--color-brand); padding: 15px 20px; border-radius: 10px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: white; transform: translateY(100px); opacity: 0; transition: var(--transition-smooth); z-index: 400; }
.toast-message.show { transform: translateY(0); opacity: 1; }

.main-footer { background-color: var(--color-bg-dark); padding: 30px; text-align: center; font-size: 11px; border-top: 1px solid rgba(255,255,255,0.05); }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .partners-container, .contact-container { flex-direction: column; text-align: center; }
    .hero-content p, .hero-content { align-items: center; margin: 0 auto; }
    .hero-ctas { justify-content: center; }
    .compare-grid { flex-direction: column; }
    .modal-grid { flex-direction: column; }
}

@media (max-width: 768px) {
    .desktop-nav, .hide-mobile { display: none; }
    .mobile-menu-btn { display: block; }
    .form-row { flex-direction: column; gap: 0; }
    h1 { font-size: 32px; }
}