/* =========================================================
   RH SERVICIOS GENERALES
   ESTILOS GENERALES
========================================================= */

:root {
    --azul-oscuro: #082b55;
    --azul-medio: #0b4f93;
    --azul: #0969da;
    --azul-claro: #eaf3ff;

    --rojo: #e31e24;
    --rojo-oscuro: #bd151a;

    --blanco: #ffffff;
    --fondo: #f6f8fb;
    --gris: #667085;
    --gris-claro: #e9edf3;
    --texto: #1f2937;

    --sombra: 0 15px 40px rgba(8, 43, 85, 0.10);
    --radio: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.6;
}

body.menu-abierto {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

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

.contenedor {
    width: min(90%, 1180px);
    margin: 0 auto;
}

.seccion {
    padding: 105px 0;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(8, 43, 85, 0.08);
}

.navegacion {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.marca {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--azul-oscuro);
}

.marca-icono {
    width: 54px;
    height: 54px;
    border: 3px solid var(--azul);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--rojo);
    background: var(--blanco);
}

.marca-icono::first-letter {
    color: var(--azul);
}

.marca-texto {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.marca-texto strong {
    font-family: "Montserrat", sans-serif;
    color: var(--azul);
    font-size: 17px;
    font-weight: 800;
}

.marca-texto span {
    margin-top: 5px;
    color: var(--azul-oscuro);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    position: relative;
    color: var(--azul-oscuro);
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--rojo);
    transition: 0.25s;
}

.menu a:hover {
    color: var(--azul);
}

.menu a:hover::after {
    width: 100%;
}

.boton-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    background: var(--rojo);
    color: var(--blanco);

    padding: 9px 16px;
    border-radius: 8px;

    font-weight: 700;
    font-size: 13px;

    white-space: nowrap;
    flex-shrink: 0;

    transition: 0.3s;
}

.boton-header i {
    font-size: 17px;
}

.boton-header:hover {
    background: var(--rojo-oscuro);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--azul-oscuro);
    font-size: 27px;
    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 670px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(4, 28, 56, 0.97) 0%,
            rgba(6, 48, 91, 0.92) 42%,
            rgba(7, 53, 99, 0.55) 68%,
            rgba(7, 53, 99, 0.25) 100%
        ),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab")
        center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(9, 105, 218, 0.25);
    filter: blur(20px);
    left: -200px;
    bottom: -250px;
}

.hero::after {
    content: "";
    position: absolute;
    right: -100px;
    top: -150px;
    width: 400px;
    height: 400px;
    background: rgba(227, 30, 36, 0.10);
    border-radius: 50%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 55%,
            rgba(9, 105, 218, 0.08) 55%,
            rgba(9, 105, 218, 0.08) 100%
        );
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    gap: 70px;
    padding-top: 70px;
    padding-bottom: 70px;
}

.hero-contenido {
    max-width: 760px;
}

.hero-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b9dcff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.hero-etiqueta::before {
    content: "";
    width: 35px;
    height: 2px;
    background: var(--rojo);
}

.hero h1 {
    font-family: "Montserrat", sans-serif;
    color: var(--blanco);
    font-size: clamp(45px, 5.3vw, 72px);
    line-height: 1.03;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #55a9ff;
}

.hero-descripcion {
    color: rgba(255, 255, 255, 0.86);
    max-width: 680px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-beneficios {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 38px;
}

.hero-beneficios div {
    color: var(--blanco);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-beneficios i {
    color: #67b4ff;
}

.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.boton {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.boton:hover {
    transform: translateY(-3px);
}

.boton-principal {
    background: var(--rojo);
    color: var(--blanco);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.25);
}

.boton-principal:hover {
    background: var(--rojo-oscuro);
}

.boton-secundario {
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.boton-secundario:hover {
    background: var(--blanco);
    color: var(--azul-oscuro);
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-tarjeta {
    align-self: end;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.20);
    border-top: 4px solid var(--rojo);
}

.hero-tarjeta-linea {
    color: var(--azul);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 800;
}

.hero-tarjeta h2 {
    font-family: "Montserrat", sans-serif;
    color: var(--azul-oscuro);
    font-size: 25px;
    line-height: 1.2;
    margin: 10px 0 12px;
}

.hero-tarjeta p {
    color: var(--gris);
    font-size: 14px;
}

.hero-mini-datos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gris-claro);
}

.hero-mini-datos div {
    display: flex;
    flex-direction: column;
}

.hero-mini-datos strong {
    color: var(--azul);
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
}

.hero-mini-datos span {
    color: var(--gris);
    font-size: 11px;
}


/* =========================================================
   CONFIANZA
========================================================= */

.confianza {
    background: var(--blanco);
    border-bottom: 1px solid var(--gris-claro);
    box-shadow: 0 10px 30px rgba(8, 43, 85, 0.05);
}

.confianza-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.confianza-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 28px 20px;
    border-right: 1px solid var(--gris-claro);
}

.confianza-item:last-child {
    border-right: 0;
}

.confianza-item > i {
    color: var(--azul);
    font-size: 27px;
}

.confianza-item strong,
.confianza-item span {
    display: block;
}

.confianza-item strong {
    color: var(--azul-oscuro);
    font-size: 14px;
}

.confianza-item span {
    color: var(--gris);
    font-size: 11px;
    margin-top: 3px;
}


/* =========================================================
   ENCABEZADOS DE SECCIONES
========================================================= */

.encabezado-seccion {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.etiqueta-seccion {
    display: inline-block;
    color: var(--azul);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 12px;
}

.encabezado-seccion h2,
.nosotros-contenido h2,
.encabezado-trabajos h2,
.contacto-encabezado h2 {
    font-family: "Montserrat", sans-serif;
    color: var(--azul-oscuro);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
}

.encabezado-seccion p,
.encabezado-trabajos p {
    color: var(--gris);
    font-size: 16px;
    margin-top: 15px;
}


/* =========================================================
   SERVICIOS
========================================================= */

.servicios-seccion {
    background: var(--fondo);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.servicio-card {
    position: relative;
    background: var(--blanco);
    border-radius: var(--radio);
    padding: 30px 25px;
    min-height: 270px;
    border: 1px solid #edf0f5;
    box-shadow: 0 8px 25px rgba(8, 43, 85, 0.05);
    overflow: hidden;
    transition: 0.35s;
}

.servicio-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--azul);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s;
}

.servicio-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--sombra);
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-icono {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: var(--azul-claro);
    color: var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 22px;
}

.servicio-icono.rojo {
    background: #fff0f0;
    color: var(--rojo);
}

.servicio-card h3 {
    font-family: "Montserrat", sans-serif;
    color: var(--azul-oscuro);
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.servicio-card p {
    color: var(--gris);
    font-size: 14px;
}


/* =========================================================
   NOSOTROS
========================================================= */

.nosotros {
    padding: 110px 0;
    background: var(--blanco);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.nosotros-imagen {
    position: relative;
}

.nosotros-imagen::before {
    content: "";
    position: absolute;
    width: 85%;
    height: 85%;
    left: -20px;
    bottom: -20px;
    background: var(--azul);
    border-radius: 18px;
    z-index: 0;
}

.nosotros-imagen img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--sombra);
}

.experiencia-badge {
    position: absolute;
    z-index: 3;
    right: -25px;
    bottom: 35px;
    background: var(--blanco);
    border-radius: 12px;
    padding: 17px 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.16);
    border-left: 4px solid var(--rojo);
}

.experiencia-badge strong,
.experiencia-badge span {
    display: block;
}

.experiencia-badge strong {
    font-family: "Montserrat", sans-serif;
    color: var(--azul);
    font-size: 25px;
}

.experiencia-badge span {
    color: var(--gris);
    font-size: 11px;
}

.nosotros-contenido h2 {
    margin-bottom: 25px;
}

.nosotros-contenido > p {
    color: var(--gris);
    margin-bottom: 17px;
}

.nosotros-lista {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.nosotros-lista div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 600;
}

.nosotros-lista i {
    color: var(--azul);
    margin-top: 4px;
}

.boton-azul {
    background: var(--azul);
    color: var(--blanco);
}

.boton-azul:hover {
    background: var(--azul-oscuro);
}


/* =========================================================
   TRABAJOS
========================================================= */

.trabajos-seccion {
    background: var(--fondo);
}

.encabezado-trabajos {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 45px;
}

.boton-outline {
    border: 1px solid var(--azul);
    color: var(--azul);
    white-space: nowrap;
}

.boton-outline:hover {
    color: var(--blanco);
    background: var(--azul);
}

.galeria {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}

.proyecto {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(8, 43, 85, 0.10);
}

.proyecto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.proyecto:hover img {
    transform: scale(1.07);
}

.proyecto-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 60px 25px 25px;
    background:
        linear-gradient(
            transparent,
            rgba(3, 27, 54, 0.92)
        );
    color: var(--blanco);
}

.proyecto-overlay span {
    color: #85c2ff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.proyecto-overlay h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    margin-top: 5px;
}

.galeria-aviso {
    text-align: center;
    color: var(--gris);
    font-size: 12px;
    margin-top: 25px;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 70px 0;
    background:
        linear-gradient(
            120deg,
            var(--azul-oscuro),
            #0755a0
        );
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta span {
    color: #79bdff;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
}

.cta h2 {
    color: var(--blanco);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    margin: 8px 0;
}

.cta p {
    color: rgba(255, 255, 255, 0.76);
}

.boton-whatsapp {
    background: #25d366;
    color: var(--blanco);
    min-width: 220px;
}

.boton-whatsapp i {
    font-size: 20px;
}

.boton-whatsapp:hover {
    background: #1ebc59;
}


/* =========================================================
   CONTACTO
========================================================= */

.contacto {
    padding: 110px 0;
    background: var(--blanco);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 19px;
    background: var(--fondo);
    border: 1px solid #edf0f5;
    border-radius: 12px;
}

.contacto-icono {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--azul-claro);
    color: var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contacto-icono.whatsapp {
    background: #e7f9ed;
    color: #20b85a;
}

.contacto-card span {
    display: block;
    color: var(--gris);
    font-size: 11px;
    margin-bottom: 2px;
}

.contacto-card a,
.contacto-card p {
    color: var(--azul-oscuro);
    font-weight: 700;
    font-size: 13px;
}

.contacto-card small {
    display: block;
    color: var(--gris);
    margin-top: 3px;
}

.contacto-formulario {
    background: var(--fondo);
    border-radius: 18px;
    padding: 35px;
    border: 1px solid #edf0f5;
    box-shadow: 0 15px 40px rgba(8, 43, 85, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.campo {
    margin-bottom: 19px;
}

.campo label {
    display: block;
    color: var(--azul-oscuro);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.campo input,
.campo textarea,
.campo select {
    width: 100%;
    border: 1px solid #dce2ea;
    background: var(--blanco);
    border-radius: 8px;
    padding: 13px 14px;
    outline: none;
    color: var(--texto);
    transition: 0.25s;
}

.campo input:focus,
.campo textarea:focus,
.campo select:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.10);
}

.campo textarea {
    resize: vertical;
}

.boton-enviar {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: var(--rojo);
    color: var(--blanco);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.boton-enviar:hover {
    background: var(--rojo-oscuro);
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #041d38;
    color: var(--blanco);
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr;
    gap: 70px;
    padding-bottom: 55px;
}

.footer-marca {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.footer-marca strong,
.footer-marca span {
    display: block;
}

.footer-marca strong {
    font-family: "Montserrat", sans-serif;
}

.footer-marca span {
    color: #a8bdd3;
    font-size: 11px;
    margin-top: 2px;
}

.footer p {
    max-width: 430px;
    color: #a8bdd3;
    font-size: 13px;
}

.footer h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3) {
    display: flex;
    flex-direction: column;
}

.footer a {
    color: #a8bdd3;
    font-size: 12px;
    margin-bottom: 10px;
    transition: 0.25s;
}

.footer a:hover {
    color: var(--blanco);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}


/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.whatsapp-flotante {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #25d366;
    color: var(--blanco);
    padding: 13px 19px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
    transition: 0.3s;
}

.whatsapp-flotante i {
    font-size: 24px;
}

.whatsapp-flotante:hover {
    background: #1ebc59;
    transform: translateY(-4px);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1050px) {

    .boton-header {
        display: none;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-tarjeta {
        max-width: 430px;
    }

    .nosotros-grid {
        gap: 45px;
    }

    .galeria {
        grid-template-columns: 1fr 1fr;
    }

    .proyecto-grande {
        grid-column: span 2;
    }

    .contacto-grid {
        gap: 35px;
    }
}


/* =========================================================
   RESPONSIVE - MÓVIL
========================================================= */

@media (max-width: 768px) {

    .seccion {
        padding: 75px 0;
    }

    .navegacion {
        min-height: 72px;
    }

    .marca-texto strong {
        font-size: 14px;
    }

    .marca-texto span {
        font-size: 8px;
    }

    .marca-icono {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--blanco);
        padding: 15px 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 20px 30px rgba(8, 43, 85, 0.12);
    }

    .menu.activo {
        display: flex;
    }

    .menu a {
        padding: 15px 5px;
        border-bottom: 1px solid var(--gris-claro);
    }

    .menu a::after {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-top: 90px;
        padding-bottom: 70px;
        gap: 45px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .hero-descripcion {
        font-size: 16px;
    }

    .hero-beneficios {
        gap: 15px;
    }

    .hero-botones {
        flex-direction: column;
    }

    .hero-botones .boton {
        width: 100%;
    }

    .hero-tarjeta {
        width: 100%;
    }

    .confianza-grid {
        grid-template-columns: 1fr 1fr;
    }

    .confianza-item {
        border-bottom: 1px solid var(--gris-claro);
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio-card {
        min-height: auto;
    }

    .nosotros {
        padding: 80px 0;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-imagen img {
        height: 400px;
    }

    .experiencia-badge {
        right: 15px;
    }

    .nosotros-lista {
        grid-template-columns: 1fr;
    }

    .encabezado-trabajos {
        align-items: flex-start;
        flex-direction: column;
    }

    .galeria {
        grid-template-columns: 1fr;
    }

    .proyecto,
    .proyecto-grande {
        grid-column: auto;
        height: 350px;
    }

    .cta-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .boton-whatsapp {
        width: 100%;
    }

    .contacto {
        padding: 80px 0;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contacto-formulario {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .whatsapp-flotante span {
        display: none;
    }

    .whatsapp-flotante {
        width: 58px;
        height: 58px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .logo-principal {
    width: 245px;
    height: 65px;
    object-fit: contain;
    object-position: left center;
    }

    .logo-footer {
    width: 230px;
    max-width: 100%;
    }

    .hero-contenido {
    animation: entradaHero 0.9s ease forwards;
    }

    .hero-tarjeta {
        animation: entradaTarjeta 1s ease 0.2s both;
    }

    @keyframes entradaHero {

        from {
            opacity: 0;
            transform: translateX(-35px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }

    }

    @keyframes entradaTarjeta {

        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }

    }

}


/* =========================================================
   RESPONSIVE - CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 768px) {

    .contenedor {
        width: 92%;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-beneficios {
        flex-direction: column;
        gap: 10px;
    }

    .confianza-grid {
        grid-template-columns: 1fr;
    }

    .confianza-item {
        border-right: 0;
    }

    .nosotros-imagen img {
        height: 330px;
    }

    .encabezado-seccion h2,
    .nosotros-contenido h2,
    .encabezado-trabajos h2 {
        font-size: 30px;
    }

    .logo-principal {
    width: 190px;
    height: 55px;
    }

    .proceso-grid::before {
    display: none;
    }
    
}

/* =========================================================
   ANIMACIONES AL HACER SCROLL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

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

/* =========================================================
   GALERÍA DE PROYECTOS
========================================================= */

.galeria-proyectos {
    grid-template-columns: repeat(3, 1fr);
}

.galeria-proyectos .proyecto {
    height: 340px;
    cursor: pointer;
}

.ver-proyecto {
    position: absolute;
    right: 20px;
    bottom: 22px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;

    cursor: pointer;
    backdrop-filter: blur(8px);

    transition: 0.3s;
}

.ver-proyecto:hover {
    background: var(--rojo);
    transform: scale(1.08);
}


/* =========================================================
   MODAL DE GALERÍA
========================================================= */

.modal-galeria {
    position: fixed;
    inset: 0;

    z-index: 5000;

    background: rgba(1, 17, 34, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;
}

.modal-galeria.activo {
    opacity: 1;
    visibility: visible;
}

.modal-contenido {
    width: min(100%, 1050px);
    text-align: center;
}

.modal-contenido img {
    width: 100%;
    max-height: 78vh;

    object-fit: contain;

    border-radius: 14px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.modal-contenido h3 {
    color: white;

    font-family: "Montserrat", sans-serif;
    font-size: 22px;

    margin-top: 18px;
}

.cerrar-modal {
    position: absolute;
    top: 25px;
    right: 30px;

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    color: white;

    font-size: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.3s;
}

.cerrar-modal:hover {
    background: var(--rojo);
    transform: rotate(90deg);
}


/* TABLET */

@media (max-width: 950px) {

    .galeria-proyectos {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MÓVIL */

@media (max-width: 600px) {

    .galeria-proyectos {
        grid-template-columns: 1fr;
    }

    .galeria-proyectos .proyecto {
        height: 320px;
    }

    .modal-galeria {
        padding: 18px;
    }

    .cerrar-modal {
        top: 15px;
        right: 15px;
    }

}

/* =========================================================
   ANTES Y DESPUÉS
========================================================= */

.antes-despues {
    padding: 110px 0;
    background: var(--blanco);
}

.comparaciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.comparacion-card {
    background: var(--blanco);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e9edf3;
    box-shadow: 0 15px 40px rgba(8, 43, 85, 0.08);
    transition: 0.35s;
}

.comparacion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(8, 43, 85, 0.13);
}

.comparacion-imagen {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    user-select: none;
}

.imagen-antes,
.imagen-despues {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.imagen-despues-wrapper {
    position: absolute;
    top: 0;
    left: 0;

    height: 100%;

    overflow: hidden;

    z-index: 2;
}

.imagen-despues {
    width: 100%;
    max-width: none;
}

.comparacion-linea {
    position: absolute;
    top: 0;
    bottom: 0;

    width: 3px;

    background: white;

    z-index: 4;

    transform: translateX(-50%);

    pointer-events: none;
}

.comparacion-control {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 58px;
    height: 58px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--rojo);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    border: 3px solid white;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.30);
}

.comparacion-slider {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: ew-resize;

    z-index: 5;
}

.etiqueta-antes,
.etiqueta-despues {
    position: absolute;
    top: 20px;

    z-index: 6;

    background: rgba(4, 29, 56, 0.85);
    color: white;

    padding: 8px 13px;

    border-radius: 6px;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;

    pointer-events: none;
}

.etiqueta-antes {
    left: 20px;
}

.etiqueta-despues {
    right: 20px;

    background: var(--rojo);
}

.comparacion-info {
    padding: 27px;
}

.comparacion-info > span {
    color: var(--azul);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.comparacion-info h3 {
    margin: 7px 0 10px;

    color: var(--azul-oscuro);

    font-family: "Montserrat", sans-serif;
    font-size: 21px;
}

.comparacion-info p {
    color: var(--gris);
    font-size: 14px;
}


/* TABLET Y MÓVIL */

@media (max-width: 850px) {

    .comparaciones-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .antes-despues {
        padding: 75px 0;
    }

    .comparacion-imagen {
        height: 330px;
    }

    .comparacion-control {
        width: 46px;
        height: 46px;
    }

}

.indicacion-comparador {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 14px;

    color: var(--azul);
    font-size: 13px;
    font-weight: 700;
}

.indicacion-comparador i {
    color: var(--rojo);
}

/* =========================================================
   TARJETAS DE SERVICIO CLICABLES
========================================================= */

.servicio-link {
    display: block;
    color: inherit;
}

.servicio-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 18px;

    color: var(--azul);
    font-size: 13px;
    font-weight: 700;

    transition: 0.3s;
}

.servicio-link:hover .servicio-mas {
    color: var(--rojo);
}

.servicio-link:hover .servicio-mas i {
    transform: translateX(5px);
}

.servicio-mas i {
    transition: 0.3s;
}

/* =========================================================
   PÁGINAS DE SERVICIOS
========================================================= */

.servicio-hero {
    position: relative;
    min-height: 610px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 28, 56, 0.96),
            rgba(5, 43, 82, 0.87),
            rgba(4, 28, 56, 0.35)
        ),
        url("https://images.unsplash.com/photo-1562259949-e8e7689d7828")
        center / cover no-repeat;

    overflow: hidden;
}

.servicio-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 55%,
            rgba(9, 105, 218, 0.12)
        );
}

.servicio-hero-contenido {
    position: relative;
    z-index: 2;

    max-width: 760px;

    padding-top: 80px;
    padding-bottom: 80px;
}

.volver-servicios {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #c7e2ff;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 25px;
}

.volver-servicios:hover {
    color: white;
}

.servicio-hero h1 {
    font-family: "Montserrat", sans-serif;

    color: white;

    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.05;

    max-width: 850px;

    margin-bottom: 24px;
}

.servicio-hero p {
    max-width: 680px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 28px;
}


/* DETALLE */

.servicio-detalle {
    background: white;
}

.servicio-detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.servicio-detalle h2 {
    font-family: "Montserrat", sans-serif;

    color: var(--azul-oscuro);

    font-size: clamp(32px, 4vw, 45px);

    line-height: 1.15;

    margin-bottom: 22px;
}

.servicio-detalle p {
    color: var(--gris);
    margin-bottom: 17px;
}

.servicio-lista {
    background: var(--fondo);

    border-radius: 18px;

    padding: 35px;

    border: 1px solid #e7ecf2;
}

.servicio-lista div {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 15px 0;

    border-bottom: 1px solid #e1e6ec;
}

.servicio-lista div:last-child {
    border-bottom: 0;
}

.servicio-lista i {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--azul);
    color: white;

    font-size: 12px;
}

.servicio-lista span {
    color: var(--azul-oscuro);

    font-size: 14px;
    font-weight: 600;
}


/* TIPOS */

.tipos-pintura {
    background: var(--fondo);
}

.tipos-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.tipo-card {
    background: white;

    padding: 32px 25px;

    border-radius: 16px;

    border: 1px solid #e8edf3;

    transition: 0.35s;
}

.tipo-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--sombra);
}

.tipo-card > i {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--azul-claro);
    color: var(--azul);

    border-radius: 12px;

    font-size: 23px;

    margin-bottom: 20px;
}

.tipo-card h3 {
    font-family: "Montserrat", sans-serif;

    color: var(--azul-oscuro);

    margin-bottom: 10px;
}

.tipo-card p {
    color: var(--gris);

    font-size: 13px;
}


/* PROCESO */

.proceso-servicio {
    background: white;
}

.proceso-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


/* Línea que conecta todo el proceso */
.proceso-grid::before {
    content: "";

    position: absolute;

    top: 58px;
    left: 10%;
    right: 10%;

    height: 3px;

    background: linear-gradient(
        90deg,
        var(--azul),
        #77b7f7
    );

    z-index: 0;

    opacity: 0.25;
}

.proceso-card {
    position: relative;
    z-index: 1;

    padding: 30px;

    background: var(--fondo);

    border-radius: 16px;

    border: 1px solid #e8edf3;

    overflow: hidden;

    transition: 0.35s;
}

.proceso-card:hover {
    transform: translateY(-6px);

    background: white;

    box-shadow: 0 15px 35px rgba(8, 43, 85, 0.10);
}

.proceso-numero {
    position: absolute;

    top: 12px;
    right: 18px;

    font-family: "Montserrat", sans-serif;

    font-size: 45px;
    font-weight: 800;

    color: rgba(9, 105, 218, 0.08);
}

.proceso-icono {
    position: relative;
    z-index: 2;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--azul);
    color: white;

    font-size: 22px;

    margin-bottom: 20px;

    box-shadow: 0 8px 20px rgba(9, 105, 218, 0.20);
}

.proceso-card h3 {
    font-family: "Montserrat", sans-serif;

    color: var(--azul-oscuro);

    margin-bottom: 10px;
}

.proceso-card p {
    color: var(--gris);

    font-size: 13px;
}


/* GALERÍA */

.servicio-galeria {
    background: var(--fondo);
}

.galeria-servicio-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.galeria-servicio-grid img {
    width: 100%;
    height: 360px;

    object-fit: cover;

    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(8, 43, 85, 0.10);

    transition: 0.35s;
}

.galeria-servicio-grid img:hover {
    transform: translateY(-7px);
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .tipos-grid,
    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicio-detalle-grid {
        gap: 40px;
    }

}


@media (max-width: 768px) {

    .servicio-hero {
        min-height: auto;
    }

    .servicio-hero-contenido {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .servicio-detalle-grid {
        grid-template-columns: 1fr;
    }

    .tipos-grid,
    .proceso-grid {
        grid-template-columns: 1fr;
    }

    .galeria-servicio-grid {
        grid-template-columns: 1fr;
    }

    .galeria-servicio-grid img {
        height: 320px;
    }

}

.tipo-card-imagen {
    padding: 0;
    overflow: hidden;
}

.tipo-imagen {
    width: 100%;
    height: 180px;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.tipo-card-imagen:hover .tipo-imagen {
    transform: scale(1.06);
}

.tipo-contenido {
    padding: 25px;
}

.tipo-contenido > i {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--azul-claro);
    color: var(--azul);

    border-radius: 10px;

    font-size: 20px;

    margin-bottom: 17px;
}

/* =========================================
   GALERÍA DE PINTURA
========================================= */

.galeria-pintura {
    padding: 100px 0;
    background: #f5f8fc;
}

.galeria-pintura .encabezado-seccion {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.galeria-pintura .encabezado-seccion h2 {
    font-size: 44px;
    line-height: 1.15;
    color: var(--azul-oscuro);
    margin: 12px 0 15px;
}

.galeria-pintura .encabezado-seccion p {
    color: #68778c;
    font-size: 16px;
}

.galeria-pintura-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


/* TARJETA */

.galeria-pintura-item {
    position: relative;
    height: 330px;

    overflow: hidden;

    border-radius: 16px;

    background: #ddd;

    cursor: pointer;

    box-shadow: 0 10px 30px rgba(8, 43, 85, 0.08);
}

.galeria-pintura-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}


/* CAPA OSCURA */

.galeria-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 25px;

    color: white;

    background: linear-gradient(
        to top,
        rgba(4, 32, 66, 0.92) 0%,
        rgba(4, 32, 66, 0.35) 48%,
        transparent 75%
    );

    transition: 0.35s;
}

.galeria-overlay span {
    color: #62b0ff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.3px;

    margin-bottom: 7px;
}

.galeria-overlay h3 {
    max-width: 80%;

    font-size: 20px;
    line-height: 1.25;

    margin: 0;
}


/* BOTÓN */

.ver-imagen {
    position: absolute;

    right: 22px;
    bottom: 22px;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: white;
    color: var(--azul);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 15px;

    transform: translateY(10px);
    opacity: 0;

    transition: 0.3s;
}


/* HOVER */

.galeria-pintura-item:hover img {
    transform: scale(1.07);
}

.galeria-pintura-item:hover .ver-imagen {
    transform: translateY(0);
    opacity: 1;
}

.galeria-pintura-item:hover {
    box-shadow: 0 18px 40px rgba(8, 43, 85, 0.15);
}


/* NOTA */

.galeria-nota {
    margin-top: 25px;

    text-align: center;

    font-size: 13px;

    color: #8290a3;
}


/* TABLET */

@media (max-width: 992px) {

    .galeria-pintura-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* CELULAR */

@media (max-width: 600px) {

    .galeria-pintura {
        padding: 70px 0;
    }

    .galeria-pintura .encabezado-seccion h2 {
        font-size: 34px;
    }

    .galeria-pintura-grid {
        grid-template-columns: 1fr;
    }

    .galeria-pintura-item {
        height: 300px;
    }

    .ver-imagen {
        opacity: 1;
        transform: none;
    }

}

/* =========================================
   LIGHTBOX GALERÍA
========================================= */

.lightbox {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 100px;

    background: rgba(2, 18, 38, 0.94);

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;
}

.lightbox.activo {
    opacity: 1;
    visibility: visible;
}


/* CONTENIDO */

.lightbox-contenido {
    position: relative;

    width: auto;
    max-width: 1200px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* IMAGEN */

.lightbox-contenido img {
    display: block;

    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: 78vh;

    object-fit: contain;

    margin: 0 auto;

    border-radius: 12px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* INFORMACIÓN */

.lightbox-info {
    width: 100%;
    max-width: 900px;

    margin-top: 18px;

    color: white;
}

.lightbox-info span {
    display: block;

    color: #62b0ff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 5px;
}

.lightbox-info h3 {
    margin: 0;

    font-size: 22px;
}


/* CERRAR */

.lightbox-cerrar {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;

    background: rgba(255,255,255,0.10);

    color: white;

    font-size: 22px;

    cursor: pointer;

    z-index: 10;

    transition: 0.3s;
}

.lightbox-cerrar:hover {
    background: #ed1c24;
    border-color: #ed1c24;

    transform: rotate(90deg);
}


/* FLECHAS */

.lightbox-anterior,
.lightbox-siguiente {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;

    background: rgba(255,255,255,0.10);

    color: white;

    font-size: 20px;

    cursor: pointer;

    transition: 0.3s;
}

.lightbox-anterior {
    left: 30px;
}

.lightbox-siguiente {
    right: 30px;
}

.lightbox-anterior:hover,
.lightbox-siguiente:hover {
    background: white;
    color: #0969da;
}


/* EVITAR SCROLL */

body.lightbox-abierto {
    overflow: hidden;
}


/* CELULAR */

@media (max-width: 768px) {

    .lightbox {
        padding: 70px 20px 30px;
    }

    .lightbox-contenido img {
        max-height: 65vh;
    }

    .lightbox-anterior,
    .lightbox-siguiente {
        width: 42px;
        height: 42px;

        top: auto;
        bottom: 25px;
    }

    .lightbox-anterior {
        left: calc(50% - 55px);
    }

    .lightbox-siguiente {
        right: calc(50% - 55px);
    }

    .lightbox-cerrar {
        width: 42px;
        height: 42px;

        top: 15px;
        right: 15px;
    }

}

/* =========================================================
   CTA MEJORADO
========================================================= */

.cta-servicio .cta-grid {
    align-items: center;
}

.cta-contenido {
    max-width: 820px;
}

.cta-contenido h2 {
    max-width: 820px;
}

.cta-acciones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 230px;
}

.boton-servicios {
    border: 1px solid rgba(255,255,255,0.55);
    color: white;
    background: rgba(255,255,255,0.06);
}

.boton-servicios:hover {
    background: white;
    color: var(--azul-oscuro);
}


/* =========================================================
   FOOTER MEJORADO
========================================================= */

.footer-mejorado {
    background: #041d38;
    color: white;
    padding-top: 70px;
}

.footer-grid-mejorado {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 1.1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-col a {
    color: #a8bdd3;
    font-size: 12px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: 0.25s;
}

.footer-col a:hover {
    color: white;
}

.footer-identidad p,
.footer-cotizacion p {
    color: #a8bdd3;
    font-size: 13px;
    line-height: 1.7;
    max-width: 340px;
}

.logo-footer-mejorado {
    width: 260px;
    max-width: 100%;
    margin-bottom: 14px;
}

.footer-ubicacion {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    color: #a8bdd3;

    font-size: 12px;
    line-height: 1.6;

    margin-top: 3px;
}

.footer-ubicacion i {
    margin-top: 4px;
}

.footer-whatsapp {
    width: fit-content;

    margin-top: 8px;

    background: #25d366;
    color: white !important;

    padding: 11px 16px;

    border-radius: 8px;

    font-weight: 700;

    transition: 0.3s;
}

.footer-whatsapp:hover {
    background: #1ebc59;
    transform: translateY(-2px);
}


/* PARTE INFERIOR */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom-contenido p,
.footer-bottom-contenido span {
    color: #7f95ab;
    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .footer-grid-mejorado {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .cta-acciones {
        width: 100%;
    }

    .footer-grid-mejorado {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-contenido {
        flex-direction: column;
        align-items: flex-start;
    }

}

.logo-footer-mejorado {
    width: 330px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

/* ==========================================
   MENSAJES DEL FORMULARIO
========================================== */

.mensaje-formulario {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.mensaje-exito {
    display: block;
    background: #e8f8ee;
    color: #198754;
    border: 1px solid #badbcc;
}

.mensaje-error {
    display: block;
    background: #fdeaea;
    color: #b02a37;
    border: 1px solid #f5c2c7;
}

.boton-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

