@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600&family=Montserrat:wght@400;500;600;700&display=swap");

/* ------------------------------
   CONFIGURACIÓN GENERAL
------------------------------ */

:root {
    --azul-marino: #071b2a;
    --azul-petroleo: #0b2a3d;
    --azul-acento: #3a8fbd;
    --blanco: #ffffff;
    --blanco-suave: #f2f6f8;
    --texto-claro: rgba(255, 255, 255, 0.82);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--azul-marino);
    color: var(--blanco);
    font-family: "Montserrat", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

/* ------------------------------
   ENCABEZADO Y MENÚ
------------------------------ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

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

    width: 100%;
    min-height: 96px;
    padding: 0 6vw;

    background: transparent;
    border-bottom: none;
    transition:
        min-height 0.4s ease,
        background-color 0.4s ease,
        box-shadow 0.4s ease,
        backdrop-filter 0.4s ease;
}

.header.scrolled {
    min-height: 74px;
    background: rgba(7, 27, 42, 0.92);
    border-bottom-color: rgba(83, 157, 197, 0.3);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.brand {
    position: relative;
    z-index: 1002;

    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    transition: width 0.4s ease, height 0.4s ease;
}

.header.scrolled .brand-logo {
    width: 44px;
    height: 44px;
}

.brand-name {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.brand-name strong {
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3.2vw, 58px);
}

.nav a {
    position: relative;
    padding: 14px 0;

    color: rgba(255, 255, 255, 0.9);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.nav a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;

    height: 1px;

    background: var(--blanco);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

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

.nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-contact {
    padding: 12px 19px !important;
    border: 1px solid rgba(255, 255, 255, 0.62);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease !important;
}

.nav-contact:hover {
    color: var(--azul-marino) !important;
    background: var(--blanco);
    border-color: var(--blanco);
}

.menu-button {
    position: relative;
    z-index: 1002;

    display: none;
    width: 42px;
    height: 42px;

    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-button span {
    position: absolute;
    left: 7px;

    width: 28px;
    height: 1px;

    background: var(--blanco);
    transition:
        top 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}

.menu-button span:nth-child(1) {
    top: 12px;
}

.menu-button span:nth-child(2) {
    top: 20px;
}

.menu-button span:nth-child(3) {
    top: 28px;
}

.menu-button.active span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

/* ------------------------------
   PORTADA
------------------------------ */

.hero {
    position: relative;
    isolation: isolate;

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

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
}

.hero-media,
.hero-filter,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -3;
    background: var(--azul-marino);
}

.hero-slide {
    opacity: 0;
    transform: scale(1.035);
    visibility: hidden;

    transition:
        opacity 1.4s ease,
        transform 7s ease,
        visibility 1.4s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.hero-slide img,
.hero-slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-filter {
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(4, 19, 30, 0.74) 0%,
            rgba(7, 34, 52, 0.5) 48%,
            rgba(7, 27, 42, 0.46) 100%
        ),
        linear-gradient(
            180deg,
            rgba(4, 15, 24, 0.42) 0%,
            rgba(5, 29, 45, 0.14) 47%,
            rgba(3, 16, 26, 0.68) 100%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(1080px, 86vw);
    margin: 35px auto 0;
    text-align: center;
}

.hero-eyebrow {
    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.62rem, 0.8vw, 0.78rem);
    font-weight: 500;
    letter-spacing: 0.34em;
}
.hero h1 {
    max-width: 1100px;
    margin: 0 auto;

    color: var(--blanco);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(2.8rem, 4.8vw, 5.2rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}
.title-accent {
    color: #6ca8ca;
    text-shadow:
        0 0 18px rgba(83, 153, 194, 0.18),
        0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-description {
    max-width: 720px;
    margin: 30px auto 0;

    color: var(--texto-claro);
    font-size: clamp(0.86rem, 1.15vw, 1.05rem);
    font-weight: 400;
    line-height: 1.75;
}

/* ------------------------------
   SELLO DE EXPERIENCIA
------------------------------ */

.experience-seal {
    position: absolute;
    right: 5vw;
    bottom: 48px;
    z-index: 3;

    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "number years"
        "text text";
    align-items: center;

    width: 148px;
    height: 148px;
    padding: 27px;

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

    color: var(--blanco);
    background: rgba(7, 27, 42, 0.16);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.experience-seal::before {
    position: absolute;
    inset: 8px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: inherit;
    content: "";
}

.seal-number {
    grid-area: number;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.85rem;
    line-height: 0.9;
}

.seal-years {
    grid-area: years;

    align-self: end;
    margin: 0 0 4px 5px;

    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.seal-text {
    grid-area: text;

    margin-top: 7px;
    padding-top: 7px;

    border-top: 1px solid rgba(255, 255, 255, 0.4);

    font-size: 0.48rem;
    line-height: 1.55;
    letter-spacing: 0.13em;
    text-align: center;
}

/* ------------------------------
   INDICADORES INFERIORES
------------------------------ */

.scroll-indicator {
    position: absolute;
    bottom: 38px;
    left: 5vw;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 17px;

    color: rgba(255, 255, 255, 0.76);
    font-size: 0.59rem;
    letter-spacing: 0.22em;
}

.scroll-line {
    position: relative;
    width: 58px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.32);
}

.scroll-line::after {
    position: absolute;
    inset: 0;

    background: var(--blanco);
    content: "";
    animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateX(-100%);
    }

    55%,
    100% {
        transform: translateX(100%);
    }
}

.slide-progress {
    position: absolute;
    bottom: 47px;
    left: 50%;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255, 255, 255, 0.76);
    font-size: 0.6rem;
    letter-spacing: 0.1em;

    transform: translateX(-50%);
}

.progress-line {
    position: relative;

    display: block;
    width: 105px;
    height: 1px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.28);
}

.progress-fill {
    position: absolute;
    inset: 0;

    background: var(--blanco);
    transform: scaleX(0);
    transform-origin: left;
}

/* Evita que las secciones provisionales creen espacio visible */

main > section:not(.hero) {
    min-height: 0;
}

/* ------------------------------
   TABLETAS
------------------------------ */

@media (max-width: 1050px) {
    .header {
        min-height: 82px;
        padding-inline: 4vw;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .nav {
        gap: 17px;
    }

    .nav a {
        font-size: 0.67rem;
    }

    .experience-seal {
        right: 4vw;
        width: 132px;
        height: 132px;
        padding: 24px;
    }

    .seal-number {
        font-size: 2.4rem;
    }
}

/* ------------------------------
   CELULARES
------------------------------ */

@media (max-width: 820px) {
    body.menu-open {
        overflow: hidden;
    }

    .header,
    .header.scrolled {
        min-height: 74px;
        padding: 0 22px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo,
    .header.scrolled .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .menu-button {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 1001;

        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;

        padding: 95px 11vw 50px;

        background:
            linear-gradient(
                135deg,
                rgba(7, 27, 42, 0.99),
                rgba(11, 48, 70, 0.98)
            );

        opacity: 0;
        pointer-events: none;
        transform: translateY(-18px);
        transition:
            opacity 0.4s ease,
            transform 0.4s ease;
    }

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

    .nav a {
        width: 100%;
        padding: 10px 0;
        
        color: rgba(255, 255, 255, 0.9);
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 0.94rem;
        font-weight: 500;
        line-height: 1.3;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .nav-contact {
        width: auto !important;
        margin-top: 12px;
        padding: 10px 15px !important;

        font-family: "Montserrat", Arial, sans-serif !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.1em !important;
    }

    .hero-content {
        width: 88vw;
        margin-top: 5px;
    }

    .hero-eyebrow {
        margin-bottom: 18px;
        font-size: 0.56rem;
        line-height: 1.7;
        letter-spacing: 0.2em;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 11vw, 4.4rem);
        line-height: 1.03;
    }

    .hero-description {
        max-width: 520px;
        margin-top: 23px;
        font-size: 0.83rem;
        line-height: 1.7;
    }

    .experience-seal {
        right: 22px;
        bottom: 27px;

        width: 102px;
        height: 102px;
        padding: 18px;
    }

    .seal-number {
        font-size: 1.85rem;
    }

    .seal-years {
        font-size: 0.4rem;
    }

    .seal-text {
        margin-top: 4px;
        padding-top: 4px;
        font-size: 0.34rem;
    }

    .scroll-indicator {
        bottom: 29px;
        left: 22px;
    }

    .scroll-indicator span:first-child {
        display: none;
    }

    .scroll-line {
        width: 52px;
    }

    .slide-progress {
        display: none;
    }
}

@media (max-width: 480px) {
    .brand-name {
        max-width: 110px;
        white-space: normal;
        line-height: 1.25;
    }

    .hero h1 br {
        display: none;
    }

    .hero-filter {
        background:
            linear-gradient(
                180deg,
                rgba(4, 18, 29, 0.68) 0%,
                rgba(7, 36, 54, 0.42) 48%,
                rgba(3, 16, 26, 0.78) 100%
            );
    }
}

/* Reduce animaciones si el dispositivo lo solicita */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================================================
   QUIÉNES SOMOS
================================================== */

.about-section {
    position: relative;
    padding: clamp(90px, 10vw, 150px) 6vw;
    overflow: hidden;
    background: #f8f8f6;
}

.about-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(60px, 7vw, 115px);
}

.about-content {
    max-width: 610px;
}

.about-label {
    position: relative;
    margin: 0 0 24px;
    padding-left: 48px;

    color: #426d86;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.about-label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;

    width: 32px;
    height: 1px;
    background: #426d86;
}

.about-content h2 {
    margin: 0 0 34px;

    color: #102c3d;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(2.7rem, 4.2vw, 4.7rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.about-content > p {
    margin: 0 0 18px;

    color: #58636a;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(0.88rem, 1vw, 1rem);
    font-weight: 400;
    line-height: 1.85;
}

.about-content .about-introduction {
    color: #263b47;
    font-weight: 500;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
    padding-top: 30px;

    border-top: 1px solid rgba(16, 44, 61, 0.16);
}

.about-highlight {
    min-height: 84px;
    padding: 0 20px;
    border-right: 1px solid rgba(16, 44, 61, 0.13);
}

.about-highlight:first-child {
    padding-left: 0;
}

.about-highlight:last-child {
    padding-right: 0;
    border-right: none;
}

.about-highlight strong {
    display: block;
    margin-bottom: 8px;

    color: #315f7a;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.about-highlight span {
    display: block;

    color: #657078;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-image {
    position: relative;
    min-height: 610px;
}

.about-image::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 0;

    width: 45%;
    height: 48%;
    border-top: 1px solid rgba(49, 95, 122, 0.38);
    border-right: 1px solid rgba(49, 95, 122, 0.38);
}

.about-image img {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9) contrast(1.03);
    box-shadow: 0 28px 60px rgba(16, 44, 61, 0.16);
}

.about-location {
    position: absolute;
    right: -1px;
    bottom: -1px;
    z-index: 2;

    width: min(310px, 72%);
    padding: 22px 26px;
    background: rgba(13, 43, 60, 0.96);
}

.about-location span {
    display: block;
    margin-bottom: 7px;

    color: #81a9bf;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.about-location strong {
    display: block;

    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.5;
}


/* ==================================================
   QUIÉNES SOMOS — TABLET Y TELÉFONO
================================================== */

@media (max-width: 1000px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .about-content {
        max-width: 760px;
    }

    .about-image {
        min-height: 540px;
    }
}

@media (max-width: 620px) {
    .about-section {
        padding: 78px 22px 88px;
    }

    .about-container {
        gap: 45px;
    }

    .about-label {
        margin-bottom: 19px;
        padding-left: 38px;
        font-size: 0.66rem;
    }

    .about-label::before {
        width: 25px;
    }

    .about-content h2 {
        margin-bottom: 27px;
        font-size: clamp(2.35rem, 12vw, 3.25rem);
        line-height: 1;
    }

    .about-content > p {
        font-size: 0.86rem;
        line-height: 1.75;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 34px;
        padding-top: 0;
    }

    .about-highlight,
    .about-highlight:first-child,
    .about-highlight:last-child {
        min-height: auto;
        padding: 18px 0;
        border-right: none;
        border-bottom: 1px solid rgba(16, 44, 61, 0.13);
    }

    .about-highlight:last-child {
        border-bottom: none;
    }

    .about-highlight strong {
        margin-bottom: 5px;
        font-size: 1.8rem;
    }

    .about-image {
        min-height: 420px;
    }

    .about-image::before {
        top: -10px;
        right: -10px;
    }

    .about-location {
        width: calc(100% - 28px);
        padding: 18px 20px;
    }
}

/* ==================================================
   ANIMACIÓN DE ENTRADA — QUIÉNES SOMOS
================================================== */

.reveal-about {
    opacity: 0;
    transform: translateY(38px);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-about-image {
    opacity: 0;
    transform: translateX(50px);
    transition:
        opacity 1.15s ease 0.15s,
        transform 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.reveal-about.is-visible,
.reveal-about-image.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Respeta la configuración de movimiento del dispositivo */

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

.services-section {
    position: relative;
    padding: clamp(100px, 11vw, 160px) 6vw;
    overflow: hidden;
    background: #0d2b3c;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 8%;

    width: 1px;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(129, 169, 191, 0),
        rgba(129, 169, 191, 0.45)
    );
}

.services-container {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

.services-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
    align-items: end;
    gap: clamp(45px, 7vw, 110px);

    margin-bottom: clamp(60px, 7vw, 95px);
}

.services-label {
    position: relative;
    margin: 0 0 24px;
    padding-left: 48px;

    color: #81a9bf;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.services-label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;

    width: 32px;
    height: 1px;
    background: #81a9bf;
}

.services-heading h2 {
    margin: 0;

    color: #ffffff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(3rem, 5.2vw, 5.5rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.services-introduction {
    max-width: 440px;
    margin: 0 0 7px;
    padding-left: 28px;

    color: rgba(255, 255, 255, 0.65);
    border-left: 1px solid rgba(129, 169, 191, 0.38);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.85;
}

/* Cuadrícula */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Tarjetas */

.service-card {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    isolation: isolate;
    background: #17384a;
}

.service-card img {
    position: absolute;
    inset: 0;
    z-index: -3;

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    filter: saturate(0.82) contrast(1.04);
    transform: scale(1.01);
    transition:
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease;
}

.service-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            to top,
            rgba(5, 24, 35, 0.97) 0%,
            rgba(5, 24, 35, 0.72) 38%,
            rgba(5, 24, 35, 0.13) 76%
        );
    transition: background 0.6s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: -1;

    border: 1px solid rgba(255, 255, 255, 0);
    transition:
        inset 0.5s ease,
        border-color 0.5s ease;
}

.service-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    padding: 38px 34px 34px;
    transform: translateY(52px);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-number {
    display: block;
    margin-bottom: 16px;

    color: #9bc2d6;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.service-content h3 {
    margin: 0 0 17px;

    color: #ffffff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(1.75rem, 2.3vw, 2.35rem);
    font-weight: 500;
    line-height: 1.02;
    text-transform: uppercase;
}

.service-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.7;

    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.45s ease 0.08s,
        transform 0.55s ease 0.08s;
}

/* Movimiento al pasar el cursor */

.service-card:hover img {
    transform: scale(1.08);
    filter: saturate(1) contrast(1.05);
}

.service-card:hover .service-overlay {
    background:
        linear-gradient(
            to top,
            rgba(5, 24, 35, 0.98) 0%,
            rgba(5, 24, 35, 0.82) 48%,
            rgba(5, 24, 35, 0.2) 82%
        );
}

.service-card:hover::after {
    inset: 13px;
    border-color: rgba(255, 255, 255, 0.25);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-card:hover .service-content p {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
   SERVICIOS — TABLET
================================================== */

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        min-height: 480px;
    }

    .service-content {
        transform: translateY(0);
    }

    .service-content p {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 820px) {
    .services-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 32px;
    }

    .services-introduction {
        max-width: 620px;
    }
}

/* ==================================================
   SERVICIOS — TELÉFONO
================================================== */

@media (max-width: 620px) {
    .services-section {
        padding: 85px 22px 95px;
    }

    .services-section::before {
        right: 32px;
        height: 75px;
    }

    .services-heading {
        margin-bottom: 52px;
    }

    .services-label {
        margin-bottom: 19px;
        padding-left: 38px;
        font-size: 0.66rem;
    }

    .services-label::before {
        width: 25px;
    }

    .services-heading h2 {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
        line-height: 0.98;
    }

    .services-heading h2 br {
        display: none;
    }

    .services-introduction {
        padding-left: 20px;
        font-size: 0.84rem;
        line-height: 1.75;
    }

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

    .service-card {
        min-height: 430px;
    }

    .service-content {
        padding: 30px 26px 27px;
    }

    .service-content h3 {
        font-size: 2rem;
    }

    .service-card::after {
        inset: 12px;
    }
}

/* CORRECCIÓN DEL MENÚ MÓVIL */
@media (max-width: 820px) {
    body.menu-open {
        overflow: hidden;
    }

    .header,
    .header.scrolled {
        z-index: 9999;
    }

    .menu-button {
        position: relative;
        z-index: 10002;
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 10001;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        overflow-y: auto;
        overscroll-behavior: contain;

        background: #071f30;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* DESCRIPCIONES MÁS GRANDES EN LAS TARJETAS */
.service-content {
    padding: 46px 34px 38px;
}

.service-content p {
    max-width: 95%;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .service-overlay {
    background: linear-gradient(
        to top,
        rgba(5, 24, 35, 0.99) 0%,
        rgba(5, 24, 35, 0.92) 50%,
        rgba(5, 24, 35, 0.25) 82%
    );
}

/* Ajuste para teléfono y tablet */
@media (max-width: 1100px) {
    .service-content p {
        max-width: 100%;
        font-size: 0.92rem;
        line-height: 1.7;
    }
}

@media (max-width: 620px) {
    .service-content {
        padding: 34px 27px 30px;
    }

    .service-content p {
        font-size: 0.9rem;
    }
}


/* ==================================================
   MAQUINARIA — CATÁLOGO TÉCNICO COMPACTO
================================================== */

.equipment-section {
    padding: clamp(90px, 10vw, 145px) 6vw;
    overflow: hidden;
    background: #f4f6f6;
}

.equipment-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

/* Encabezado */

.equipment-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
    align-items: end;
    gap: clamp(40px, 7vw, 100px);

    margin-bottom: clamp(65px, 8vw, 105px);
}

.equipment-label {
    position: relative;
    margin: 0 0 20px;
    padding-left: 44px;

    color: #557f96;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.equipment-label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;

    width: 29px;
    height: 1px;
    background: #557f96;
}

.equipment-heading h2 {
    margin: 0;

    color: #0d2b3c;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(3rem, 5vw, 5.1rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.equipment-introduction {
    max-width: 430px;
    margin: 0 0 6px;
    padding-left: 25px;

    color: #5c6870;
    border-left: 1px solid rgba(13, 43, 60, 0.25);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Categorías */

.equipment-category {
    margin-bottom: clamp(65px, 7vw, 95px);
}

.equipment-category-title {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(13, 43, 60, 0.17);
}

.equipment-category-title span {
    color: #6d96aa;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.equipment-category-title h3 {
    margin: 0;

    color: #17384a;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(1.65rem, 2.3vw, 2.25rem);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

/* Dos fichas compactas por fila */

.equipment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.equipment-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(160px, 38%) minmax(0, 1fr);
    min-height: 240px;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid rgba(13, 43, 60, 0.09);
    box-shadow: 0 8px 25px rgba(13, 43, 60, 0.045);

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}

.equipment-item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;

    width: 0;
    height: 3px;
    background: #6d9caf;

    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fotografías moderadas */

.equipment-image {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    background: #dce3e5;
}

.equipment-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        transparent 65%,
        rgba(13, 43, 60, 0.08) 100%
    );

    pointer-events: none;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    filter: saturate(0.87) contrast(1.03);
    transform: scale(1.01);

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

/* Información siempre visible */

.equipment-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;
    padding: 29px 29px 27px;
}

.equipment-info > p {
    margin: 0 0 11px;

    color: #638ca1;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.15em;
}

.equipment-info h4 {
    margin: 0 0 13px;

    color: #123345;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 500;
    line-height: 1.02;
    text-transform: uppercase;
}

.equipment-info > span {
    display: block;
    margin-bottom: 18px;

    color: #667177;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    line-height: 1.65;
}

.equipment-info a {
    margin-top: auto;

    color: #406e84;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

/* Efectos suaves */

.equipment-item:hover {
    z-index: 2;
    border-color: rgba(85, 127, 150, 0.3);
    box-shadow: 0 18px 42px rgba(13, 43, 60, 0.1);
    transform: translateY(-4px);
}

.equipment-item:hover::after {
    width: 100%;
}

.equipment-item:hover .equipment-image img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.055);
}

.equipment-info a:hover {
    color: #0d2b3c;
    transform: translateX(4px);
}

/* Llamado final */

.equipment-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 45px;

    margin-top: 10px;
    padding: clamp(42px, 5vw, 65px);
    background: #0d2b3c;
}

.equipment-cta p {
    margin: 0 0 12px;

    color: #81a9bf;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.17em;
}

.equipment-cta h3 {
    max-width: 740px;
    margin: 0;

    color: #ffffff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(2rem, 3.3vw, 3.5rem);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.equipment-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    color: #ffffff;
    border: 1px solid rgba(169, 206, 223, 0.55);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.equipment-cta > a:hover {
    color: #0d2b3c;
    background: #ffffff;
    border-color: #ffffff;
}

/* ==================================================
   MAQUINARIA — TABLET
================================================== */

@media (max-width: 1050px) {
    .equipment-list {
        grid-template-columns: 1fr;
    }

    .equipment-item {
        grid-template-columns: minmax(210px, 34%) minmax(0, 1fr);
        min-height: 220px;
    }

    .equipment-image {
        min-height: 220px;
    }
}

@media (max-width: 820px) {
    .equipment-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 30px;
    }

    .equipment-introduction {
        max-width: 620px;
    }

    .equipment-cta {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .equipment-cta > a {
        justify-self: start;
    }
}

/* ==================================================
   MAQUINARIA — TELÉFONO
================================================== */

@media (max-width: 620px) {
    .equipment-section {
        padding: 82px 21px 95px;
    }

    .equipment-heading {
        margin-bottom: 65px;
    }

    .equipment-label {
        padding-left: 37px;
        font-size: 0.64rem;
    }

    .equipment-label::before {
        width: 24px;
    }

    .equipment-heading h2 {
        font-size: clamp(2.6rem, 13vw, 3.55rem);
    }

    .equipment-heading h2 br {
        display: none;
    }

    .equipment-introduction {
        padding-left: 18px;
        font-size: 0.83rem;
        line-height: 1.72;
    }

    .equipment-category {
        margin-bottom: 68px;
    }

    .equipment-category-title {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 19px;
    }

    .equipment-category-title span {
        padding-top: 4px;
    }

    .equipment-category-title h3 {
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .equipment-list {
        gap: 16px;
    }

    .equipment-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .equipment-image {
        width: 100%;
        min-height: 0;
        height: 210px;
    }

    .equipment-image::after {
        background: linear-gradient(
            to top,
            rgba(13, 43, 60, 0.09),
            transparent 45%
        );
    }

    .equipment-info {
        min-height: 230px;
        padding: 25px 24px 24px;
    }

    .equipment-info h4 {
        font-size: 1.85rem;
    }

    .equipment-info > span {
        font-size: 0.78rem;
        line-height: 1.65;
    }

    .equipment-cta {
        gap: 27px;
        padding: 40px 27px;
    }

    .equipment-cta h3 {
        font-size: 2.25rem;
    }

    .equipment-cta > a {
        width: 100%;
        padding: 0 17px;
    }
}

/* SERVICIOS — TEXTO SIEMPRE VISIBLE */

.service-card .service-content {
    transform: translateY(0);
}

.service-card .service-content p {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-card .service-overlay {
    background: linear-gradient(
        to top,
        rgba(8, 32, 45, 0.97) 0%,
        rgba(8, 32, 45, 0.88) 48%,
        rgba(8, 32, 45, 0.48) 75%,
        rgba(8, 32, 45, 0.08) 100%
    );
}
/* ==================================================
   PRODUCTOS — CATÁLOGO DE MATERIALES
================================================== */

.products-section {
    padding: clamp(90px, 10vw, 145px) 6vw;
    overflow: hidden;
    background: #ffffff;
}

.products-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

/* Encabezado */

.products-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
    align-items: end;
    gap: clamp(40px, 7vw, 100px);
    margin-bottom: clamp(65px, 8vw, 105px);
}

.products-label {
    position: relative;
    margin: 0 0 20px;
    padding-left: 44px;

    color: #557f96;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.products-label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 29px;
    height: 1px;
    background: #557f96;
}

.products-heading h2 {
    margin: 0;

    color: #0d2b3c;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(3rem, 5vw, 5.1rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.products-introduction {
    max-width: 430px;
    margin: 0 0 6px;
    padding-left: 25px;

    color: #5c6870;
    border-left: 1px solid rgba(13, 43, 60, 0.25);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Categorías */

.products-category {
    margin-bottom: clamp(65px, 7vw, 95px);
}

.products-category-title {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(13, 43, 60, 0.17);
}

.products-category-title span {
    color: #6d96aa;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.products-category-title h3 {
    margin: 0;

    color: #17384a;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(1.65rem, 2.3vw, 2.25rem);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

/* Tres productos por fila */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;

    background: #f7f8f8;
    border: 1px solid rgba(13, 43, 60, 0.09);
    box-shadow: 0 8px 25px rgba(13, 43, 60, 0.045);

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}

.product-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;

    width: 0;
    height: 3px;
    background: #6d9caf;

    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fotografías */

.product-image {
    position: relative;
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: #dce3e5;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13, 43, 60, 0.15),
        transparent 45%
    );
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    filter: saturate(0.88) contrast(1.03);
    transform: scale(1.01);

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

/* Información siempre visible */

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-height: 225px;
    padding: 28px 27px 30px;
}

.product-info > p {
    margin: 0 0 11px;

    color: #638ca1;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.15em;
}

.product-info h4 {
    margin: 0 0 14px;

    color: #123345;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 500;
    line-height: 1.03;
    text-transform: uppercase;
}

.product-info > span {
    display: block;
    margin-top: auto;

    color: #667177;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.79rem;
    line-height: 1.68;
}

/* Productos destacados */

.product-card-featured {
    background: #eef3f4;
    border-color: rgba(85, 127, 150, 0.22);
}

.product-card-featured .product-info > p {
    color: #376a82;
}

/* Efectos suaves */

.product-card:hover {
    z-index: 2;
    border-color: rgba(85, 127, 150, 0.32);
    box-shadow: 0 18px 42px rgba(13, 43, 60, 0.1);
    transform: translateY(-5px);
}

.product-card:hover::after {
    width: 100%;
}

.product-card:hover .product-image img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.055);
}

/* Llamado final */

.products-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 45px;

    margin-top: 10px;
    padding: clamp(42px, 5vw, 65px);
    background: #0d2b3c;
}

.products-cta p {
    margin: 0 0 12px;

    color: #81a9bf;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.17em;
}

.products-cta h3 {
    max-width: 740px;
    margin: 0;

    color: #ffffff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(2rem, 3.3vw, 3.5rem);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.products-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    color: #ffffff;
    border: 1px solid rgba(169, 206, 223, 0.55);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.products-cta > a:hover {
    color: #0d2b3c;
    background: #ffffff;
    border-color: #ffffff;
}

/* ==================================================
   PRODUCTOS — TABLET
================================================== */

@media (max-width: 1050px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .products-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 30px;
    }

    .products-introduction {
        max-width: 620px;
    }

    .products-cta {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .products-cta > a {
        justify-self: start;
    }
}

/* ==================================================
   PRODUCTOS — TELÉFONO
================================================== */

@media (max-width: 620px) {
    .products-section {
        padding: 82px 21px 95px;
    }

    .products-heading {
        margin-bottom: 65px;
    }

    .products-label {
        padding-left: 37px;
        font-size: 0.64rem;
    }

    .products-label::before {
        width: 24px;
    }

    .products-heading h2 {
        font-size: clamp(2.6rem, 13vw, 3.55rem);
    }

    .products-heading h2 br {
        display: none;
    }

    .products-introduction {
        padding-left: 18px;
        font-size: 0.83rem;
        line-height: 1.72;
    }

    .products-category {
        margin-bottom: 68px;
    }

    .products-category-title {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 19px;
    }

    .products-category-title span {
        padding-top: 4px;
    }

    .products-category-title h3 {
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        min-height: 215px;
        padding: 25px 24px 26px;
    }

    .product-info h4 {
        font-size: 1.9rem;
    }

    .product-info > span {
        font-size: 0.78rem;
        line-height: 1.65;
    }

    .products-cta {
        gap: 27px;
        padding: 40px 27px;
    }

    .products-cta h3 {
        font-size: 2.25rem;
    }

    .products-cta > a {
        width: 100%;
        padding: 0 17px;
    }
}
/* TÍTULO DE PRODUCTOS MÁS PEQUEÑO */
.products-heading h2 {
    font-size: clamp(2.7rem, 4vw, 4.15rem);
}

@media (max-width: 620px) {
    .products-heading h2 {
        font-size: clamp(2.35rem, 10vw, 3rem);
    }
}

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

.contact-section {
    padding: clamp(90px, 10vw, 145px) 6vw;
    overflow: hidden;
    color: #ffffff;
    background: #0d2b3c;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: clamp(65px, 10vw, 150px);
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

/* Encabezado */

.contact-label {
    position: relative;
    margin: 0 0 22px;
    padding-left: 44px;
    color: #82aabd;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.contact-label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 29px;
    height: 1px;
    background: #82aabd;
}

.contact-heading h2 {
    margin: 0;
    color: #ffffff;

    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(3.1rem, 5.3vw, 5.5rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.contact-description {
    max-width: 530px;
    margin: clamp(34px, 4vw, 50px) 0 0;
    padding-left: 24px;

    color: rgba(255, 255, 255, 0.68);
    border-left: 1px solid rgba(153, 194, 212, 0.4);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.87rem;
    line-height: 1.85;
}

/* Información */

.contact-information {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-block {
    padding: 29px 0 31px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-block-label {
    margin: 0 0 16px;
    color: #82aabd;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.17em;
}

.contact-phone {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto;
    align-items: center;
    gap: 25px;
    padding: 12px 0;
}

.contact-phone + .contact-phone {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-phone > span {
    color: #ffffff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
}

.contact-phone > div {
    display: flex;
    gap: 8px;
}

.contact-phone a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;

    color: #ffffff;
    border: 1px solid rgba(153, 194, 212, 0.45);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.contact-phone a:hover {
    color: #0d2b3c;
    background: #ffffff;
    border-color: #ffffff;
}

.contact-main-link {
    display: inline-block;
    color: #ffffff;

    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-decoration: none;

    transition: color 0.3s ease;
}

.contact-main-link:hover {
    color: #9bc1d2;
}

.contact-block address,
.contact-block > p:not(.contact-block-label) {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.84rem;
    font-style: normal;
    line-height: 1.85;
}

/* ==================================================
   CONTACTO — TABLET
================================================== */

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

    .contact-description {
        max-width: 650px;
    }
}

/* ==================================================
   CONTACTO — TELÉFONO
================================================== */

@media (max-width: 620px) {
    .contact-section {
        padding: 82px 21px 95px;
    }

    .contact-label {
        padding-left: 37px;
        font-size: 0.63rem;
    }

    .contact-label::before {
        width: 24px;
    }

    .contact-heading h2 {
        font-size: clamp(2.55rem, 12vw, 3.4rem);
    }

    .contact-heading h2 br {
        display: none;
    }

    .contact-description {
        margin-top: 30px;
        padding-left: 18px;
        font-size: 0.81rem;
        line-height: 1.75;
    }

    .contact-container {
        gap: 55px;
    }

    .contact-block {
        padding: 25px 0 27px;
    }

    .contact-phone {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 15px 0;
    }

    .contact-phone > span {
        font-size: 2rem;
    }

    .contact-phone > div {
        width: 100%;
    }

    .contact-phone a {
        flex: 1;
    }

    .contact-main-link {
        font-size: 1.9rem;
        overflow-wrap: anywhere;
    }
}

/* CORRECCIÓN DEL ACOMODO DE CONTACTO */
.contact-container {
    grid-template-columns: minmax(380px, 0.9fr) minmax(420px, 1fr);
    gap: clamp(50px, 7vw, 100px);
}

.contact-heading {
    min-width: 0;
}

.contact-heading h2 {
    word-break: normal;
    overflow-wrap: normal;
}

@media (max-width: 1100px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 65px;
    }
}

/* ==================================================
   CONTACTO — DISEÑO MODERNO Y FORMAL
================================================== */

.contact-section {
    position: relative;
    padding: clamp(95px, 11vw, 155px) 6vw;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(76, 139, 166, 0.18),
            transparent 35%
        ),
        linear-gradient(135deg, #081f2d 0%, #0d3043 100%);
}

/* Detalle decorativo del fondo */
.contact-section::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -110px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-section::after {
    content: "";
    position: absolute;
    right: 95px;
    bottom: -190px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(520px, 1.15fr);
    gap: clamp(70px, 9vw, 135px);
    align-items: start;
    max-width: 1320px;
    margin: 0 auto;
}

/* Encabezado */

.contact-heading {
    position: sticky;
    top: 120px;
}

.contact-label {
    margin-bottom: 27px;
    color: #8eb6c8;
}

.contact-heading h2 {
    max-width: 590px;
    font-size: clamp(3.4rem, 5.4vw, 5.7rem);
    line-height: 0.93;
}

.contact-description {
    max-width: 500px;
    margin-top: 42px;
    padding: 0;
    color: rgba(255, 255, 255, 0.67);
    border-left: 0;
    font-size: 0.86rem;
    line-height: 1.9;
}

/* Panel de información */

.contact-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    border-top: 0;
}

.contact-block {
    position: relative;
    min-height: 190px;
    padding: 30px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.contact-block:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(139, 190, 212, 0.38);
}

.contact-block::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: #7baac0;
    transition: width 0.35s ease;
}

.contact-block:hover::after {
    width: 100%;
}

.contact-block:first-child {
    grid-column: 1 / -1;
    min-height: auto;
}

.contact-block-label {
    margin-bottom: 25px;
    color: #8eb6c8;
    font-size: 0.61rem;
    letter-spacing: 0.2em;
}

/* Teléfonos */

.contact-phone {
    grid-template-columns: minmax(190px, 1fr) auto;
    gap: 22px;
    padding: 17px 0;
}

.contact-phone:first-of-type {
    padding-top: 0;
}

.contact-phone + .contact-phone {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-phone > span {
    font-size: clamp(1.8rem, 2.3vw, 2.35rem);
}

.contact-phone a {
    min-height: 40px;
    padding: 0 17px;
    border-color: rgba(143, 184, 202, 0.4);
}

.contact-phone a:first-child {
    color: #092332;
    background: #ffffff;
    border-color: #ffffff;
}

.contact-phone a:first-child:hover {
    color: #ffffff;
    background: #467b92;
    border-color: #467b92;
}

.contact-phone a:last-child:hover {
    color: #092332;
    background: #ffffff;
}

/* Correo, dirección y horario */

.contact-main-link {
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    overflow-wrap: anywhere;
}

.contact-block address,
.contact-block > p:not(.contact-block-label) {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    line-height: 1.9;
}

/* Tablet */

@media (max-width: 1100px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .contact-heading {
        position: static;
    }

    .contact-heading h2 {
        max-width: 750px;
    }

    .contact-description {
        max-width: 700px;
    }
}

/* Teléfono */

@media (max-width: 680px) {
    .contact-section {
        padding: 80px 20px 90px;
    }

    .contact-heading h2 {
        font-size: clamp(2.65rem, 12vw, 3.5rem);
    }

    .contact-information {
        grid-template-columns: 1fr;
    }

    .contact-block:first-child {
        grid-column: auto;
    }

    .contact-block {
        min-height: auto;
        padding: 25px 22px;
    }

    .contact-phone {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-phone > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* ==================================================
   PIE DE PÁGINA
================================================== */

.site-footer {
    padding: 70px 6vw 28px;
    color: #ffffff;
    background: #061923;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding-bottom: 55px;
}

/* Logo y nombre */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    text-decoration: none;
}

.footer-brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-brand strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.52);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Menú */

.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 30px;
}

.footer-navigation a {
    position: relative;
    padding-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.footer-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;
    background: #83b5ca;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-navigation a:hover {
    color: #ffffff;
}

.footer-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Franja inferior */

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

    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.43);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.63rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

/* Tablet y teléfono */

@media (max-width: 850px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 42px;
    }

    .footer-navigation {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .site-footer {
        padding: 58px 21px 25px;
    }

    .footer-brand img {
        width: 58px;
        height: 58px;
    }

    .footer-navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 18px 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 22px;
    }
}