/* =========================================
   1. REINICIO GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   2. ESTILOS GENERALES
========================================= */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;

    color: #ffffff;
    background-color: #0b0f19;

    font-family: Arial, sans-serif;
}

section {
    padding: 80px 10%;
}

h2 {
    margin-bottom: 20px;
    font-size: 3rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.8;
}


/* =========================================
   3. ENCABEZADO Y NAVEGACIÓN
========================================= */

header {
    padding: 20px 10%;
    background-color: #0b0f19;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav h1 {
    color: #0066ff;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

header nav ul {
    display: flex;
    gap: 30px;

    list-style: none;
}

header nav a {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;

    transition: color 0.3s ease;
}

header nav a:hover {
    color: #0066ff;
}


/* Enlaces del encabezado en páginas legales */

.marca-enlace {
    color: #0066ff;

    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.marca-enlace:hover {
    color: #ffffff;
}

.regresar-enlace {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;

    transition: color 0.3s ease;
}

.regresar-enlace:hover {
    color: #0066ff;
}


/* =========================================
   4. HERO
========================================= */

.hero {
    display: flex;
    align-items: center;

    min-height: calc(100vh - 76px);

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(0, 102, 255, 0.18),
            transparent 35%
        );
}

.hero-contenido {
    max-width: 850px;
}

.hero-etiqueta {
    margin-bottom: 20px;

    color: #0066ff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h2 {
    margin-bottom: 30px;

    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;
}

.hero h2 span {
    color: #0066ff;
}

.hero-descripcion {
    max-width: 700px;
    margin-bottom: 40px;

    color: #b7c0d1;
    font-size: 1.2rem;
    line-height: 1.8;
}


/* =========================================
   5. BOTONES GENERALES Y DEL HERO
========================================= */

.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.boton {
    display: inline-block;

    padding: 15px 25px;
    border-radius: 6px;

    font-weight: 700;
    text-decoration: none;
    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.boton-principal,
.boton-secundario {
    color: #ffffff;
    background-color: #0066ff;
    border: 1px solid #0066ff;
}

.boton-principal {
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.25);
}

.boton-principal:hover,
.boton-secundario:hover {
    background-color: #0052cc;
    border-color: #0052cc;

    box-shadow: 0 14px 35px rgba(0, 102, 255, 0.35);
    transform: translateY(-3px) scale(1.05);
}


/* =========================================
   6. ETIQUETAS DE SECCIÓN
========================================= */

.seccion-etiqueta {
    margin-bottom: 24px;

    color: #0066ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* =========================================
   7. QUIÉNES SOMOS
========================================= */

.nosotros {
    background-color: #101624;

    border-top: 1px solid #1d2638;
    border-bottom: 1px solid #1d2638;
}

.nosotros-contenedor {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(60px, 8vw, 130px);
    align-items: start;

    max-width: 1450px;
    margin: 0 auto;
}

.nosotros-informacion {
    max-width: 720px;
}

.nosotros-informacion h2 {
    margin-bottom: 35px;

    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -2px;
}

.nosotros-informacion h2 span {
    display: block;
    color: #0066ff;
}

.nosotros-descripcion {
    max-width: 680px;
    margin-bottom: 22px;

    color: #b7c0d1;
    font-size: 1.1rem;
    line-height: 1.85;
}

.nosotros-areas {
    min-width: 0;
}

.area {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 20px;

    padding: 27px 0;
    border-bottom: 1px solid #293348;

    transition:
        padding-left 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.area:first-of-type {
    padding-top: 20px;
}

.area:hover {
    padding-left: 8px;

    background-color: rgba(0, 102, 255, 0.025);
    border-color: #0066ff;
}

.area-numero {
    padding-top: 5px;

    color: #0066ff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.area h3 {
    margin-bottom: 12px;

    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1.3;
}

.area p {
    max-width: 430px;

    color: #9ca8bc;
    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================
   8. SERVICIOS
========================================= */

.servicios {
    background-color: #0b0f19;
}

.servicios-encabezado {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: end;

    margin-bottom: 60px;
}

.servicios-encabezado h2 {
    max-width: 760px;
    margin-bottom: 0;

    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.servicios-encabezado h2 span {
    color: #0066ff;
}

.servicios-introduccion {
    color: #9ca8bc;
    font-size: 1.05rem;
    line-height: 1.8;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.servicio-tarjeta {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 460px;
    padding: 35px;
    overflow: hidden;

    background-color: #101624;
    border: 1px solid #202b40;
    border-radius: 14px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.servicio-tarjeta::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background-color: #0066ff;

    transition: width 0.3s ease;
}

.servicio-tarjeta:hover {
    border-color: #0066ff;

    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.14);
    transform: translateY(-8px);
}

.servicio-tarjeta:hover::before {
    width: 100%;
}

.servicio-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

.servicio-numero {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.servicio-icono {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 52px;
    height: 52px;

    color: #0066ff;
    background-color: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 10px;

    font-size: 1.5rem;
    font-weight: 700;
}

.codigo-icono {
    font-size: 1.05rem;
}

.servicio-tarjeta h3 {
    margin-bottom: 18px;

    color: #ffffff;
    font-size: 1.65rem;
}

.servicio-descripcion {
    margin-bottom: 25px;

    color: #aab5c6;
    font-size: 1rem;
    line-height: 1.7;
}

.servicio-lista {
    display: grid;
    gap: 12px;

    margin-bottom: 30px;

    list-style: none;
}

.servicio-lista li {
    position: relative;

    padding-left: 22px;

    color: #d2d8e2;
    font-size: 0.95rem;
    line-height: 1.5;
}

.servicio-lista li::before {
    content: "";

    position: absolute;
    top: 8px;
    left: 0;

    width: 7px;
    height: 7px;

    background-color: #0066ff;
    border-radius: 50%;
}

.servicio-enlace {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    margin-top: auto;

    color: #ffffff;
    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.servicio-enlace span {
    color: #0066ff;
    font-size: 1.3rem;
}

.servicio-enlace:hover {
    gap: 16px;
    color: #0066ff;
}

.servicio-destacado {
    grid-column: 1 / -1;
    min-height: auto;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(0, 102, 255, 0.2),
            transparent 35%
        ),
        #101624;
}


/* =========================================
   9. PROCESO DE TRABAJO
========================================= */

.proceso {
    background-color: #101624;

    border-top: 1px solid #1d2638;
    border-bottom: 1px solid #1d2638;
}

.proceso-encabezado {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: end;

    margin-bottom: 60px;
}

.proceso-encabezado h2 {
    margin-bottom: 0;

    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.proceso-encabezado h2 span {
    color: #0066ff;
}

.proceso-introduccion {
    color: #9ca8bc;
    font-size: 1.05rem;
    line-height: 1.8;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    border-top: 1px solid #273146;
}

.proceso-paso {
    position: relative;

    padding: 35px 25px;
    border-right: 1px solid #273146;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.proceso-paso:last-child {
    border-right: none;
}

.proceso-paso:hover {
    background-color: rgba(0, 102, 255, 0.08);
    transform: translateY(-5px);
}

.proceso-numero {
    display: block;

    margin-bottom: 35px;

    color: #0066ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.proceso-paso h3 {
    margin-bottom: 15px;

    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.3;
}

.proceso-paso p {
    color: #9ca8bc;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* =========================================
   10. SOLICITUD DE PROYECTO
========================================= */

.solicitud {
    background:
        radial-gradient(
            circle at 10% 30%,
            rgba(0, 102, 255, 0.12),
            transparent 28%
        ),
        #0b0f19;
}

.solicitud-contenedor {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;

    max-width: 1450px;
    margin: 0 auto;
}

.solicitud-informacion {
    position: sticky;
    top: 40px;
}

.solicitud-informacion h2 {
    margin-bottom: 25px;

    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.solicitud-informacion h2 span {
    color: #0066ff;
}

.solicitud-descripcion {
    margin-bottom: 30px;

    color: #aab5c6;
    font-size: 1.05rem;
    line-height: 1.8;
}

.solicitud-aviso {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 15px;

    padding: 20px;
    margin-bottom: 35px;

    background-color: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 10px;
}

.solicitud-aviso > span {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 30px;
    height: 30px;

    color: #ffffff;
    background-color: #0066ff;
    border-radius: 50%;

    font-weight: 700;
}

.solicitud-aviso p {
    color: #c5ccda;
    font-size: 0.92rem;
    line-height: 1.6;
}

.solicitud-contacto p {
    margin-bottom: 6px;

    color: #77849a;
    font-size: 0.9rem;
}

.solicitud-contacto a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;

    transition: color 0.3s ease;
}

.solicitud-contacto a:hover {
    color: #0066ff;
}


/* =========================================
   11. TARJETA DEL FORMULARIO
========================================= */

.formulario-tarjeta {
    padding: 40px;

    background-color: #101624;
    border: 1px solid #202b40;
    border-radius: 16px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.formulario-fila {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.campo {
    display: flex;
    flex-direction: column;

    margin-bottom: 24px;
}

.campo label {
    margin-bottom: 9px;

    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.campo label > span {
    color: #0066ff;
}

.campo input,
.campo select,
.campo textarea {
    width: 100%;
    padding: 14px 15px;

    color: #ffffff;
    background-color: #0b0f19;
    border: 1px solid #2c374d;
    border-radius: 7px;

    font-family: inherit;
    font-size: 1rem;
    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.campo textarea {
    min-height: 160px;
    resize: vertical;
}

.campo input::placeholder,
.campo textarea::placeholder {
    color: #647084;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.14);
}

.campo-ayuda,
.campo-inferior {
    margin-top: 7px;

    color: #77849a;
    font-size: 0.78rem;
    line-height: 1.5;
}

.campo-inferior {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.campo-error {
    min-height: 18px;
    margin-top: 5px;

    color: #ff6b6b;
    font-size: 0.78rem;
}

.campo-invalido {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}


/* Casilla de confirmación */

.checkbox-contenedor {
    display: grid !important;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;

    color: #b7c0d1 !important;

    font-size: 0.88rem !important;
    font-weight: 400 !important;
    line-height: 1.6;

    cursor: pointer;
}

.checkbox-contenedor input {
    width: 18px;
    height: 18px;
    margin-top: 3px;

    accent-color: #0066ff;
}


/* Enlaces legales del formulario */

.enlace-legal {
    color: #4d95ff;

    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #4d95ff;
    text-underline-offset: 3px;

    transition:
        color 0.3s ease,
        text-decoration-color 0.3s ease;
}

.enlace-legal:hover {
    color: #ffffff;
    text-decoration-color: #0066ff;
}

.enlace-legal:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: 3px;
    border-radius: 2px;
}


/* Botón del formulario */

.boton-formulario {
    width: 100%;
    padding: 16px 24px;

    color: #ffffff;
    background-color: #0066ff;
    border: 1px solid #0066ff;
    border-radius: 7px;

    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.boton-formulario:hover {
    background-color: #0052cc;

    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.3);
    transform: translateY(-2px);
}

.boton-formulario:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.formulario-privacidad {
    margin-top: 15px;

    color: #77849a;
    font-size: 0.78rem;
    line-height: 1.6;
    text-align: center;
}

.mensaje-formulario {
    display: none;

    padding: 15px;
    margin-top: 20px;
    border-radius: 7px;

    font-size: 0.9rem;
    line-height: 1.5;
}

.mensaje-formulario.exito {
    display: block;

    color: #b8f7cf;
    background-color: rgba(35, 190, 100, 0.1);
    border: 1px solid rgba(35, 190, 100, 0.35);
}

.mensaje-formulario.error {
    display: block;

    color: #ffc2c2;
    background-color: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.35);
}

.campo-trampa {
    position: absolute !important;
    left: -10000px !important;

    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================================
   12. CONFIRMACIÓN DE SOLICITUD
========================================= */

.confirmacion-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    background-color: rgba(3, 7, 15, 0.88);
    backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.confirmacion-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.confirmacion-modal {
    position: relative;

    width: min(100%, 680px);
    max-height: 90vh;
    overflow-y: auto;

    padding: 45px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(0, 102, 255, 0.18),
            transparent 35%
        ),
        #101624;

    border: 1px solid #29364d;
    border-radius: 16px;

    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
    transform: translateY(25px) scale(0.97);

    transition: transform 0.3s ease;
}

.confirmacion-overlay.visible .confirmacion-modal {
    transform: translateY(0) scale(1);
}

.confirmacion-cerrar {
    position: absolute;
    top: 18px;
    right: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 38px;
    height: 38px;

    color: #9ca8bc;
    background-color: transparent;
    border: 1px solid #29364d;
    border-radius: 50%;

    font-size: 1.6rem;
    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.confirmacion-cerrar:hover {
    color: #ffffff;
    border-color: #0066ff;
    transform: rotate(90deg);
}

.confirmacion-icono {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 68px;
    height: 68px;
    margin-bottom: 25px;

    color: #ffffff;
    background-color: #0066ff;
    border-radius: 50%;

    font-size: 2rem;
    font-weight: 700;

    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.3);
}

.confirmacion-modal h2 {
    max-width: 560px;
    margin-bottom: 20px;

    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
}

.confirmacion-modal h2 span {
    color: #0066ff;
}

.confirmacion-texto {
    margin-bottom: 30px;

    color: #b7c0d1;
    font-size: 1.05rem;
    line-height: 1.7;
}

.confirmacion-proceso {
    display: grid;
    gap: 12px;

    margin-bottom: 25px;
}

.confirmacion-paso {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 15px;
    align-items: start;

    padding: 16px 0;
    border-bottom: 1px solid #29364d;
}

.confirmacion-paso > span {
    color: #0066ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.confirmacion-paso p {
    color: #c1c9d6;
    font-size: 0.92rem;
    line-height: 1.6;
}

.confirmacion-aviso {
    padding: 16px 18px;
    margin-bottom: 25px;

    color: #aeb8c8;
    background-color: rgba(0, 102, 255, 0.07);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 8px;

    font-size: 0.85rem;
    line-height: 1.6;
}

.confirmacion-aviso strong {
    color: #ffffff;
}

.confirmacion-boton {
    width: 100%;
    padding: 15px 24px;

    color: #ffffff;
    background-color: #0066ff;
    border: 1px solid #0066ff;
    border-radius: 7px;

    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.confirmacion-boton:hover {
    background-color: #0052cc;

    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.3);
    transform: translateY(-2px);
}

body.modal-abierto {
    overflow: hidden;
}


/* =========================================
   13. CONTACTO
========================================= */

.contacto {
    background:
        radial-gradient(
            circle at 15% 40%,
            rgba(0, 102, 255, 0.12),
            transparent 30%
        ),
        #0b0f19;

    border-top: 1px solid #1d2638;
}

.contacto-contenedor {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: clamp(60px, 7vw, 110px);
    align-items: start;

    max-width: 1450px;
    margin: 0 auto;
}

.contacto-encabezado {
    max-width: 650px;
}

.contacto-encabezado h2 {
    margin-bottom: 30px;

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.07;
    letter-spacing: -2px;
}

.contacto-encabezado h2 span {
    display: block;
    color: #0066ff;
}

.contacto-descripcion {
    max-width: 600px;

    color: #aab5c6;
    font-size: 1.08rem;
    line-height: 1.85;
}

.contacto-tarjeta {
    padding: 10px 35px;

    background-color: #101624;
    border: 1px solid #202b40;
    border-radius: 16px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.contacto-opcion {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;

    width: 100%;
    padding: 25px 0;

    color: #ffffff;
    border-bottom: 1px solid #293348;

    text-decoration: none;

    transition:
        padding-left 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.contacto-opcion:last-child {
    border-bottom: none;
}

.contacto-ubicacion {
    grid-template-columns: 52px minmax(0, 1fr);
}

a.contacto-opcion:hover {
    padding-left: 10px;

    background-color: rgba(0, 102, 255, 0.035);
    border-color: #0066ff;
}

.contacto-icono {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 48px;
    height: 48px;

    color: #0066ff;
    background-color: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 10px;

    font-size: 1.3rem;
    font-weight: 700;
}

.contacto-icono-texto {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.contacto-informacion {
    min-width: 0;
}

.contacto-tipo {
    display: block;

    margin-bottom: 6px;

    color: #77849a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contacto-informacion strong {
    display: block;

    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

.contacto-flecha {
    color: #64748b;
    font-size: 1.2rem;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

a.contacto-opcion:hover .contacto-flecha {
    color: #0066ff;
    transform: translate(3px, -3px);
}


/* =========================================
   14. AVISO DE PRIVACIDAD
========================================= */

.privacidad {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(0, 102, 255, 0.13),
            transparent 25%
        ),
        #0b0f19;
}

.privacidad-contenedor {
    max-width: 1000px;
    margin: 0 auto;
}

.privacidad h1 {
    max-width: 850px;
    margin-bottom: 25px;

    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -2px;
}

.privacidad h1 span {
    display: block;
    color: #0066ff;
}

.privacidad-actualizacion {
    margin-bottom: 60px;

    color: #77849a;
    font-size: 0.9rem;
}

.privacidad-bloque {
    padding: 35px 0;
    border-top: 1px solid #253149;
}

.privacidad-bloque h2 {
    margin-bottom: 20px;

    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
}

.privacidad-bloque p {
    margin-bottom: 16px;

    color: #b7c0d1;
    font-size: 1rem;
    line-height: 1.85;
}

.privacidad-bloque ul {
    display: grid;
    gap: 12px;

    margin: 20px 0 25px;

    list-style: none;
}

.privacidad-bloque li {
    position: relative;

    padding-left: 24px;

    color: #b7c0d1;
    font-size: 1rem;
    line-height: 1.7;
}

.privacidad-bloque li::before {
    content: "";

    position: absolute;
    top: 11px;
    left: 0;

    width: 7px;
    height: 7px;

    background-color: #0066ff;
    border-radius: 50%;
}

.privacidad-bloque strong {
    color: #ffffff;
}

.privacidad-bloque a {
    color: #4d95ff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.privacidad-bloque a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacidad-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    padding-top: 45px;
    border-top: 1px solid #253149;
}


/* =========================================
   15. TÉRMINOS Y CONDICIONES
========================================= */

.terminos {
    min-height: 100vh;
    padding: 90px 10%;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(0, 102, 255, 0.14),
            transparent 28%
        ),
        #0b0f19;
}

.terminos-contenedor {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.terminos-encabezado {
    max-width: 850px;
    margin-bottom: 65px;
}

.terminos-encabezado h1 {
    margin-bottom: 25px;

    color: #ffffff;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -2px;
}

.terminos-encabezado h1 span {
    display: block;
    color: #0066ff;
}

.terminos-introduccion {
    max-width: 760px;
    margin-bottom: 20px;

    color: #b7c0d1;
    font-size: 1.1rem;
    line-height: 1.85;
}

.terminos-actualizacion {
    color: #77849a;
    font-size: 0.88rem;
    line-height: 1.5;
}

.terminos-bloque {
    padding: 35px 0;
    border-top: 1px solid #253149;
}

.terminos-bloque h2 {
    margin-bottom: 20px;

    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
}

.terminos-bloque h3 {
    margin: 25px 0 12px;

    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.4;
}

.terminos-bloque p {
    margin-bottom: 16px;

    color: #b7c0d1;
    font-size: 1rem;
    line-height: 1.85;
}

.terminos-bloque strong {
    color: #ffffff;
}

.terminos-bloque ul,
.terminos-bloque ol {
    display: grid;
    gap: 12px;

    margin: 20px 0 25px;
    padding: 0;

    list-style: none;
}

.terminos-bloque li {
    position: relative;

    padding-left: 25px;

    color: #b7c0d1;
    font-size: 1rem;
    line-height: 1.75;
}

.terminos-bloque ul li::before {
    content: "";

    position: absolute;
    top: 11px;
    left: 0;

    width: 7px;
    height: 7px;

    background-color: #0066ff;
    border-radius: 50%;
}

.terminos-bloque ol {
    counter-reset: numero-terminos;
}

.terminos-bloque ol li {
    counter-increment: numero-terminos;
    padding-left: 42px;
}

.terminos-bloque ol li::before {
    content: counter(numero-terminos);

    position: absolute;
    top: 0;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 27px;
    height: 27px;

    color: #ffffff;
    background-color: #0066ff;
    border-radius: 50%;

    font-size: 0.75rem;
    font-weight: 700;
}

.terminos-bloque a {
    color: #4d95ff;

    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;

    transition: color 0.3s ease;
}

.terminos-bloque a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.terminos-aviso {
    padding: 20px 22px;
    margin: 25px 0;

    background-color: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-left: 4px solid #0066ff;
    border-radius: 8px;
}

.terminos-aviso p {
    margin: 0;

    color: #c6cedb;
    font-size: 0.95rem;
    line-height: 1.7;
}

.terminos-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    padding-top: 45px;
    border-top: 1px solid #253149;
}

.terminos-boton {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 15px 25px;

    color: #ffffff;
    background-color: #0066ff;
    border: 1px solid #0066ff;
    border-radius: 7px;

    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.terminos-boton:hover {
    background-color: #0052cc;
    border-color: #0052cc;

    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.3);
    transform: translateY(-2px);
}

.terminos-boton-secundario {
    background-color: transparent;
    border-color: #344057;
}

.terminos-boton-secundario:hover {
    color: #ffffff;
    background-color: rgba(0, 102, 255, 0.1);
    border-color: #0066ff;
}


/* =========================================
   16. FOOTER
========================================= */

.footer {
    padding: 24px 10%;

    background-color: #080b12;
    border-top: 1px solid #1d2638;
}

.footer-contenedor {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;

    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.footer-marca {
    color: #0066ff;

    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-marca:hover {
    color: #ffffff;
}

.footer-legales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.footer-legales a {
    color: #7f8b9f;

    font-size: 0.8rem;
    line-height: 1.5;
    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-legales a:hover {
    color: #4d95ff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-legales span {
    color: #344057;
    font-size: 0.8rem;
}

.footer-copyright {
    margin: 0;

    color: #59657a;

    font-size: 0.72rem;
    line-height: 1.5;
    text-align: right;

    white-space: nowrap;
}


/* =========================================
   17. RESPONSIVE PARA TABLETS
   Pantallas de 900px o menos
========================================= */

@media (max-width: 900px) {

    section {
        padding: 70px 7%;
    }

    header {
        padding: 18px 7%;
    }

    header nav {
        align-items: flex-start;
        gap: 25px;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 15px 22px;
    }


    /* Hero */

    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .hero-contenido {
        max-width: 720px;
    }


    /* Quiénes somos */

    .nosotros-contenedor {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .nosotros-informacion {
        max-width: 800px;
    }

    .nosotros-areas {
        max-width: 800px;
    }


    /* Servicios */

    .servicios-encabezado {
        grid-template-columns: 1fr;
        gap: 25px;
        align-items: start;
    }

    .servicios-introduccion {
        max-width: 700px;
    }


    /* Proceso */

    .proceso-encabezado {
        grid-template-columns: 1fr;
        gap: 25px;
        align-items: start;
    }

    .proceso-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proceso-paso {
        border-bottom: 1px solid #273146;
    }

    .proceso-paso:last-child {
        grid-column: 1 / -1;
    }


    /* Solicitud */

    .solicitud-contenedor {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .solicitud-informacion {
        position: static;
    }


    /* Contacto */

    .contacto-contenedor {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contacto-encabezado {
        max-width: 800px;
    }

    .contacto-tarjeta {
        width: 100%;
        max-width: 800px;
    }


    /* Footer */

    .footer-contenedor {
        grid-template-columns: auto 1fr;
        gap: 22px;
    }

    .footer-legales {
        justify-content: flex-end;
    }

    .footer-copyright {
        grid-column: 1 / -1;

        padding-top: 15px;
        border-top: 1px solid #1d2638;

        text-align: center;
    }
}


/* =========================================
   18. RESPONSIVE PARA MÓVILES
   Pantallas de 650px o menos
========================================= */

@media (max-width: 650px) {

    section {
        padding: 60px 6%;
    }

    h2 {
        font-size: 2.2rem;
    }


    /* Encabezado */

    header {
        padding: 18px 6%;
    }

    header nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    header nav h1 {
        font-size: 1.6rem;
    }

    header nav ul {
        width: 100%;

        justify-content: flex-start;
        gap: 12px 18px;
    }

    header nav a {
        font-size: 0.9rem;
    }


    /* Hero */

    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 80px;

        background:
            radial-gradient(
                circle at 80% 20%,
                rgba(0, 102, 255, 0.2),
                transparent 45%
            );
    }

    .hero-etiqueta {
        font-size: 0.72rem;
        letter-spacing: 2px;
    }

    .hero h2 {
        margin-bottom: 25px;

        font-size: clamp(2.8rem, 14vw, 4rem);
        line-height: 1.05;
    }

    .hero-descripcion {
        margin-bottom: 30px;

        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-botones {
        flex-direction: column;
        align-items: stretch;
    }

    .boton {
        width: 100%;
        padding: 16px 20px;

        text-align: center;
    }

    .boton-principal:hover,
    .boton-secundario:hover {
        transform: translateY(-2px) scale(1.02);
    }


    /* Quiénes somos */

    .nosotros-contenedor {
        gap: 45px;
    }

    .nosotros-informacion h2 {
        font-size: clamp(2.3rem, 11vw, 3.3rem);
        letter-spacing: -1px;
    }

    .nosotros-descripcion {
        font-size: 1rem;
    }

    .area {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
    }

    .area:hover {
        padding-left: 4px;
    }


    /* Servicios */

    .servicios-encabezado {
        margin-bottom: 40px;
    }

    .servicios-encabezado h2 {
        font-size: clamp(2.3rem, 11vw, 3.3rem);
    }

    .servicios-introduccion {
        font-size: 1rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .servicio-tarjeta,
    .servicio-destacado {
        grid-column: auto;

        min-height: auto;
        padding: 28px 24px;
    }

    .servicio-superior {
        margin-bottom: 25px;
    }

    .servicio-icono {
        width: 46px;
        height: 46px;
    }

    .servicio-tarjeta h3 {
        font-size: 1.4rem;
    }

    .servicio-tarjeta:hover {
        transform: translateY(-4px);
    }


    /* Proceso */

    .proceso-encabezado {
        margin-bottom: 40px;
    }

    .proceso-encabezado h2 {
        font-size: clamp(2.3rem, 11vw, 3.3rem);
    }

    .proceso-introduccion {
        font-size: 1rem;
    }

    .proceso-grid {
        grid-template-columns: 1fr;
    }

    .proceso-paso {
        padding: 28px 5px;

        border-right: none;
        border-bottom: 1px solid #273146;
    }

    .proceso-paso:last-child {
        grid-column: auto;
    }

    .proceso-paso:hover {
        transform: translateX(4px);
    }


    /* Solicitud */

    .solicitud-contenedor {
        gap: 40px;
    }

    .solicitud-informacion h2 {
        font-size: clamp(2.3rem, 11vw, 3.3rem);
    }

    .solicitud-descripcion {
        font-size: 1rem;
    }

    .solicitud-aviso {
        grid-template-columns: 30px 1fr;
        padding: 17px;
    }


    /* Formulario */

    .formulario-tarjeta {
        padding: 28px 22px;
    }

    .formulario-fila {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .campo input,
    .campo select,
    .campo textarea {
        font-size: 16px;
    }

    .campo-inferior {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }


    /* Confirmación */

    .confirmacion-overlay {
        align-items: flex-end;
        padding: 15px;
    }

    .confirmacion-modal {
        width: 100%;
        max-height: 92vh;

        padding: 35px 22px 25px;
        border-radius: 16px 16px 0 0;
    }

    .confirmacion-icono {
        width: 58px;
        height: 58px;

        font-size: 1.7rem;
    }

    .confirmacion-modal h2 {
        font-size: 2.2rem;
    }

    .confirmacion-paso {
        grid-template-columns: 38px 1fr;
        gap: 10px;
    }


    /* Contacto */

    .contacto-contenedor {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacto-encabezado h2 {
        font-size: clamp(2.6rem, 12vw, 3.5rem);
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .contacto-descripcion {
        font-size: 1rem;
        line-height: 1.75;
    }

    .contacto-tarjeta {
        padding: 5px 22px;
    }

    .contacto-opcion {
        grid-template-columns: 45px minmax(0, 1fr) 24px;
        gap: 12px;

        padding: 22px 0;
    }

    .contacto-ubicacion {
        grid-template-columns: 45px minmax(0, 1fr);
    }

    .contacto-icono {
        width: 42px;
        height: 42px;
    }

    .contacto-tipo {
        font-size: 0.67rem;
        letter-spacing: 1.1px;
    }

    .contacto-informacion strong {
        font-size: 0.92rem;
    }

    a.contacto-opcion:hover {
        padding-left: 5px;
    }


    /* Aviso de privacidad */

    .privacidad h1 {
        font-size: clamp(2.7rem, 13vw, 3.8rem);
        letter-spacing: -1px;
    }

    .privacidad-actualizacion {
        margin-bottom: 40px;
    }

    .privacidad-bloque {
        padding: 28px 0;
    }

    .privacidad-bloque p,
    .privacidad-bloque li {
        font-size: 0.95rem;
    }

    .privacidad-acciones {
        flex-direction: column;
    }

    .privacidad-acciones .boton {
        width: 100%;
        text-align: center;
    }


    /* Términos y condiciones */

    .terminos {
        padding: 70px 6%;
    }

    .terminos-encabezado {
        margin-bottom: 45px;
    }

    .terminos-encabezado h1 {
        font-size: clamp(2.7rem, 13vw, 3.8rem);
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .terminos-introduccion {
        font-size: 1rem;
        line-height: 1.75;
    }

    .terminos-bloque {
        padding: 28px 0;
    }

    .terminos-bloque h2 {
        font-size: 1.5rem;
    }

    .terminos-bloque p,
    .terminos-bloque li {
        font-size: 0.95rem;
    }

    .terminos-acciones {
        flex-direction: column;
    }

    .terminos-boton {
        width: 100%;
    }


    /* Footer */

    .footer {
        padding: 26px 6%;
    }

    .footer-contenedor {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-legales {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .footer-copyright {
        width: 100%;
        padding-top: 15px;

        border-top: 1px solid #1d2638;

        font-size: 0.7rem;
        text-align: left;
        white-space: normal;
    }
}


/* =========================================
   19. MÓVILES PEQUEÑOS
   Pantallas de 420px o menos
========================================= */

@media (max-width: 420px) {

    section {
        padding-left: 20px;
        padding-right: 20px;
    }

    header {
        padding-left: 20px;
        padding-right: 20px;
    }

    header nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
    }

    header nav li {
        width: 100%;
    }

    header nav a {
        display: block;
        padding: 7px 0;
    }

    .hero h2 {
        font-size: 2.65rem;
    }

    .servicio-tarjeta {
        padding: 25px 20px;
    }

    .area {
        grid-template-columns: 35px minmax(0, 1fr);
    }

    .formulario-tarjeta {
        padding: 24px 18px;
    }

    .solicitud-aviso {
        grid-template-columns: 1fr;
    }

    .solicitud-aviso > span {
        margin-bottom: 5px;
    }

    .checkbox-contenedor {
        grid-template-columns: 20px 1fr;
        gap: 10px;
    }

    .terminos {
        padding-left: 20px;
        padding-right: 20px;
    }

    .terminos-bloque ol li {
        padding-left: 38px;
    }

    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-legales {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-legales span {
        display: none;
    }
}