@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fuente Del Sitio Web */
body {
    font-family: "Oswald";
    font-style: italic;
}

/*!------------------------- HEADER ------------------------- !*/

/* ---------- Estilos del encabezado y navegación principal ---------- */

/* ---------- NAVBAR GENERAL ---------- */
nav {
    background-color: rgb(38, 38, 38);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 90px;
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* ---------- Logo dentro del nav ---------- */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 70px;
    display: block;
    margin-right: 10px;
}

/* ---------- Enlaces de navegación ---------- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
}

.nav-links li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/**------------------------- MAIN INDEX ------------------------- **/

/* ---------- Estilos generales del contenido principal ---------- */

main {
    background-color: rgb(23, 23, 23);
    color: rgb(248, 250, 252);
}

/* ---------- Contenedor de bienvenida ---------- */

.presentacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    max-width: 100%;
}

.bienvenida {
    padding-top: 200px !important;
    padding-bottom: 20px !important;
    margin-top: 0 !important;

}

/* ---------- Sección con imagen y superposición oscura ---------- */

.fondo-vanta-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#vanta-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.fondo-vanta-wrapper .contenido,
.fondo-vanta-wrapper .carousel {
    position: relative;
    z-index: 1;
}

/* ---------- Título y descripción principal ---------- */

.contenido h1 {
    font-size: clamp(2rem, 5vw, 60px);
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        0 0 10px #000000,
        0 0 20px #000000;
}

.contenido p {
    font-size: clamp(1rem, 2.5vw, 30px);
    margin-bottom: 2rem;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        0 0 10px #000000,
        0 0 20px #000000;
}

/* ---------- Botones principales ---------- */

.botones {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.boton {
    background-color: #ff3300;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.boton:hover {
    background-color: #cc2900;
}

/* Altura mínima y posición relativa del carrusel */
#carrusel-proyectos {
    min-height: 100vh;
    color: white;
    position: relative;
    z-index: 1;
}



/* Estilos para las imágenes del carrusel */
#carrusel-proyectos img {
    max-height: 80vh;
    object-fit: contain;
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
}

/* ---------- Sección con fondo gráfico de certificados ---------- */

.certificados {
    background-image: url(../img/armado-pc-fondo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 10px;
}

/* ---------- Título de la sección "Certificados" ---------- */

.certificados h2 {
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        0 0 10px #000000,
        0 0 20px #000000;
    margin-bottom: 30px;
}

/* ---------- Contenedor general de las tarjetas de certificados ---------- */

.certificados {
    padding: 40px 20px;
    font-size: 24px;
    text-align: center;
    color: white;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        0 0 10px #000000,
        0 0 20px #000000;
}

/* ---------- Layout flexible de las tarjetas ---------- */

.certificados>div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ---------- Tarjeta individual de certificado ---------- */

.certificados>div>div {
    border: 5px solid rgb(38, 38, 38);
    background-color: rgb(38, 38, 38);
    padding: 10px;
    max-width: 520px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificados>div>div:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ---------- Imágenes dentro de las tarjetas ---------- */

.certificados img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}

/* ---------- Descripción corta bajo la imagen ---------- */

.certificados p {
    margin-top: 10px;
    font-style: italic;
}

/* Estilo general del botón flotante de WhatsApp */
.whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-flotante img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4)
}

/* Estilo del tooltip */
.tooltip-whatsapp {
    visibility: hidden;
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mostrar tooltip al hacer hover */
.whatsapp-flotante:hover .tooltip-whatsapp {
    visibility: visible;
    opacity: 1;
}

/**------------------------- MAIN PROYECTOS ------------------------- **/
/* ===========================
    ESTILOS - Página Proyectos
   =========================== */

body {
    background: rgb(28, 28, 28);
}

body.no-scroll {
    overflow: hidden;
}

/* ---------- Galería de imágenes ---------- */
.image-gallery {
    list-style: none;
    padding: 2rem 1rem;
    margin: auto;
    perspective: 3000px;
    max-width: 1200px;
    margin-bottom: 150px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-height: none;
    overflow: visible;
    grid-auto-rows: auto;
    grid-auto-flow: row;
}

/* ---------- Estilo de cada caja ---------- */
.box {
    width: 100%;
    aspect-ratio: 16 / 9;
    transform: translateY(10vh) skew(60deg, -15deg) rotateX(40deg);
    box-shadow: -5px 5px 30px 1px rgba(255, 255, 255, 0.3);
    transition: all 300ms ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
    cursor: pointer;
}

/* ---------- Pantalla completa ---------- */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px black;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* ---------- Fondos individuales ---------- */
.box-1 {
    background-image: url("../img/pc-proyecto-1.jpeg");
}

.box-2 {
    background-image: url("../img/pc-proyecto-2.jpeg");
}

.box-3 {
    background-image: url("../img/pc-proyecto-3.jpeg");
}

.box-4 {
    background-image: url("../img/pc-proyecto-4.jpg");
}

.box-5 {
    background-image: url("../img/pc-proyecto-5.jpg");
}

.box-6 {
    background-image: url("../img/pc-proyecto-6.jpg");
}

/* ---------- Animación al hacer clic ---------- */
.animated {
    transform: translateY(0) skew(0, 0) rotateX(0deg);
    margin: 0;
}

/* ---------- Botón ver galería ---------- */
.view-gallery {
    text-align: center;
    margin: 5vh 0;
}

.view-gallery button {
    background: #e63946;
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 200ms ease;
    border-radius: 8px;
}

.view-gallery button:hover {
    background: rgba(230, 57, 70, 0.8);
}

/* ---------- Navegación lateral ---------- */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 10000;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.nav-btn.prev {
    left: 20px;
}

.nav-btn.next {
    right: 20px;
}

/**------------------------- SERVICIO TÉCNICO -------------------------**/

/* === SECCIÓN DE SERVICIO CON FONDO SUTIL === */
.servicio-seccion {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 1));
    padding: 80px 20px 40px 20px;
    text-align: center;
}

.servicio-seccion {
    background: url('https://www.transparenttextures.com/patterns/dark-mosaic.png');
    background-color: #0f0f0f;
    padding: 80px 20px 40px 20px;
    text-align: center;
}

/* === TÍTULO PRO — COLOR PRINCIPAL === */
.titulo-servicio {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 51, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* === DESCRIPCIÓN LIMPIA Y BLANCA === */
.descripcion-servicio {
    font-size: 18px;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* === TÍTULO DE SERVICIO TÉCNICO === */
.titulo-servicio {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(201, 201, 201, 0.2);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* === DESCRIPCIÓN === */
.descripcion-servicio {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* === NUEVO FORMULARIO PROFESIONAL === */

.form-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.form-info ul {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
    list-style: disc;
    padding-left: 20px;
    line-height: 1.7;
}

.btn-red {
    background-color: #ff3300;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.btn-red:hover {
    background-color: #cc2900;
}

.form-modern {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #eee;
}

.form-group input {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #fff;
    color: #000;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #00ffaa;
    outline: none;
}

.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.checkboxes label {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

.checkboxes input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.1);
    accent-color: #00ffaa;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: #00cc55;
    color: #fff;
    font-weight: 600;
    padding: 14px 20px;
    width: 100%;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #00aa44;
    transform: translateY(-1px);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .form-grid-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}

/* === LADO IZQUIERDO INFO - FORMULARIO === */

.form-info {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    color: #f1f1f1;
}

.form-info ul {
    padding-left: 20px;
    list-style: disc;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #ffffff;
    font-size: 15px;
}

.form-info ul li {
    margin-bottom: 10px;
}

.form-info p {
    margin-bottom: 25px;
    font-size: 16px;
    color: #ffffff;
}

/* === BOTÓN PROFESIONAL === */

.btn-red {
    background-color: #00cc55;
    color: #fff;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-red:hover {
    background-color: #00aa44;
    transform: translateY(-2px);
}

/* === CATÁLOGO PROFESIONAL === */

.catalog {
    padding: 80px 20px;
    background-color: #121212;
    text-align: center;
    color: white;
}

.catalog h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.catalog-desc {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 40px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.catalog-card {
    background-color: #1e1e1e;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.1);
}

.catalog-card h3 {
    font-size: 16px;
    margin-top: 15px;
    color: #eee;
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00ffaa;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.2);
}

.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botón WhatsApp */
.whatsapp-btn {
    display: inline-block;
    background-color: #00c851;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    margin-top: 50px;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #007e33;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/**------------------------- FAQ -------------------------**/
.body-faq .faq-section {
    background: linear-gradient(to bottom, #121212, #1c1c1c);
    color: white;
    position: relative;
    overflow: hidden;
}

.body-faq .faq-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.01) 0%, rgba(0, 0, 0, 0) 100%);
    animation: swirl 20s infinite linear;
    z-index: 0;
}

@keyframes swirl {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.faq-section {
    padding: 80px 20px;
    text-align: center;
}

.faq-title {
    font-size: 38px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

.faq-container {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.faq-item {
    background-color: #1c1c1c;
    padding: 18px 24px;
    margin-bottom: 18px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #222;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #f1f1f1;
    position: relative;
    padding-right: 25px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: #888;
    font-style: normal;
    font-family: sans-serif;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: #bbb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    font-size: 16px;
    color: #ccc;
    margin-top: 10px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

/**------------------------- CONTACTO -------------------------**/

/* ---- Sección Contacto completa ---- */
.contact-section {
    background-color: #0f0f0f;
    padding: 60px 20px 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1300px;
    margin: auto;
}

/* ---- Info y Mini‑FAQ ---- */
.contact-info h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 15px;
}

.contact-social a {
    display: inline-block;
    margin-right: 12px;
}

.contact-social img {
    width: 28px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.contact-social img:hover {
    filter: brightness(0.8) invert(1);
}

.mini-faq h3 {
    color: #eee;
    margin: 30px 0 15px;
    font-size: 22px;
}

.mini-faq-item {
    margin-bottom: 10px;
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    color: #ccc;
    text-align: left;
    font-size: 16px;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
}

.faq-btn::after {
    content: '+';
    position: absolute;
    right: 0;
    color: #888;
    transition: transform 0.3s ease;
}

.faq-btn.active::after {
    content: '–';
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    color: #aaa;
    font-size: 15px;
    transition: max-height 0.3s ease;
    margin-top: 4px;
}

.faq-content.show {
    max-height: 100px;
}

/* ---- Mapa ---- */
.contact-map {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* ---- Formulario con ilustración ---- */
.contact-form-container {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-illustration img {
    width: 120px;
}

.contact-form {
    flex: 1;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form label {
    display: block;
    font-size: 17px;
    color: #ddd;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #272727;
    color: #eee;
    margin-bottom: 16px;
    font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00ff77;
    outline: none;
}

/* ---- Botón enviar consulta ---- */
.btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #00cc55;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #00aa44;
    border-color: rgba(0, 0, 0, 0.8);
}

/*?------------------------- FOOTER -------------------------?*/

/* ---------- Estructura general del footer ---------- */

.footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background-color: rgb(38, 38, 38);
    color: white;
    padding: 40px;
}

/* ---------- Títulos de las columnas del footer ---------- */

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 30px;
    text-transform: uppercase;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 5px;
}

/* ---------- Párrafos de texto en el footer ---------- */

.footer-col p {
    font-size: 18px;
    line-height: 1.5;
}

/* ---------- Listas de enlaces ---------- */

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

/* ---------- Iconos redes sociales ---------- */

.footer-social a {
    display: inline-block;
    margin-right: 10px;
}

.footer-social img {
    width: 24px;
    height: 24px;
    margin-top: 10px;
}

/* ---------- Logo en el footer ---------- */

.footer-logo img {
    max-width: 300px;
    height: auto;
}

/*!------------------------- RESPONSIVE -------------------------!*/

/* ---------- Responsive Header ---------- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(8px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.3s ease;

    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li a {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
}

/* ---------- Responsive Form ST ---------- */
@media (max-width: 900px) {
    .form-grid-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}

/* ---------- Responsive Contacto ---------- */
@media (max-width: 1000px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Responsive Footer ---------- */
@media (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }
}