/* MORENI HNOS SRL — sitio institucional */

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

:root {
    --navy-950: #020b18;
    --navy-900: #041833;
    --navy-800: #0a2748;
    --navy-700: #143a62;
    --mist: #e7eef5;
    --mist-strong: #d5e0eb;
    --paper: #f4f7fa;
    --ink: #152033;
    --ink-soft: #4a5a6e;
    --accent: #ff6600; /* naranja de seguridad y salvamento */
    --accent-soft: #ff8533;
    --accent-mist: #fff0e6;
    --white: #ffffff;
    --line: rgba(4, 24, 51, 0.12);
    --shadow: 0 14px 40px rgba(4, 24, 51, 0.12);
    --header-h: 86px;
    --font-display: "Poppins", sans-serif;
    --font-body: "Poppins", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --max: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
}

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

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

button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

/* Header sticky (estilo Nautiq: sobre el video, queda al scrollear) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-h);
    background: #041833;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="inicio"] .site-header {
    margin-bottom: calc(-1 * var(--header-h));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom: 0;
}

body[data-page="inicio"] .site-header.is-scrolled {
    background: #041833;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo {
    height: 58px;
    width: auto;
}

.nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    gap: 0.2rem;
}

.nav-link {
    display: block;
    width: fit-content;
    padding: 0.5rem 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    background-color: var(--accent);
    color: var(--navy-950);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.header-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--navy-950);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Home hero */
.home-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.home-hero-media {
    position: absolute;
    inset: 0;
}

.home-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) contrast(1.08);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.72) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 0;
    max-width: 760px;
}

.home-hero-title {
    margin: 0 0 1.2rem;
}

.home-hero-brand {
    width: min(320px, 68vw);
    margin: 0 auto;
    mix-blend-mode: screen;
}

.home-hero-lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}

/* Page banner (páginas internas) */
.page-banner {
    background:
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    padding: 3.25rem 0 2.75rem;
    border-bottom: 4px solid var(--accent);
}

.page-banner-dark {
    background:
        linear-gradient(160deg, rgba(2, 11, 24, 0.92), rgba(10, 39, 72, 0.88)),
        url("media/bg/servicios.jpg") center / cover no-repeat;
}

.page-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-banner-lead {
    margin-top: 0.75rem;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.page-banner .eyebrow {
    color: var(--accent-soft);
}

/* Sections as clear panels */
.section-panel {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.section-alt {
    background: var(--mist);
}

.section-heading {
    margin-bottom: 2.25rem;
    max-width: 40rem;
}

.section-heading-center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.65rem;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy-900);
}

.section-lead {
    margin-top: 0.75rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: var(--navy-950);
}

.btn-primary:hover {
    background: var(--accent-soft);
}

.btn-secondary {
    background: var(--navy-800);
    color: var(--white);
}

.text-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-weight: 600;
    color: var(--navy-800);
    border-bottom: 1px solid var(--accent);
}

.text-link:hover {
    color: var(--accent);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-item {
    padding: 1.5rem 1.25rem;
    background: var(--accent);
    color: var(--navy-950);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0.65rem 0 0.35rem;
}

.stat-note {
    font-size: 0.9rem;
}

.ports-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.75rem;
}

.ports-list li {
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255, 102, 0, 0.35);
    background: var(--accent-mist);
    font-size: 0.88rem;
    color: var(--navy-800);
}

/* Institucional */
.intro-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.intro-point {
    min-height: 100%;
    padding: 1.5rem 1.35rem 1.45rem;
    background: var(--accent);
    color: var(--navy-950);
    border-top: 3px solid var(--navy-900);
}

.intro-point-mark {
    display: block;
    margin-bottom: 0.85rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--navy-950);
}

.intro-point h3 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.1vw, 1.7rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy-950);
}

.intro-point p {
    margin-top: 0.65rem;
    color: var(--navy-950);
    font-size: 0.98rem;
}

.intro-point.reveal {
    transition:
        opacity 0.65s var(--ease),
        transform 0.65s var(--ease),
        box-shadow 0.25s var(--ease),
        background 0.25s var(--ease);
}

.intro-points .reveal:nth-child(2) {
    transition:
        opacity 0.65s var(--ease) 0.1s,
        transform 0.65s var(--ease) 0.1s,
        box-shadow 0.25s var(--ease),
        background 0.25s var(--ease);
}

.intro-points .reveal:nth-child(3) {
    transition:
        opacity 0.65s var(--ease) 0.2s,
        transform 0.65s var(--ease) 0.2s,
        box-shadow 0.25s var(--ease),
        background 0.25s var(--ease);
}

.intro-point.reveal.is-visible:hover {
    transform: translateY(-4px);
    background: var(--accent-soft);
    box-shadow: var(--shadow);
}

.institucional {
    position: relative;
    background: var(--accent);
    border-bottom-color: rgba(4, 24, 51, 0.16);
    overflow: hidden;
}

.institucional::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("media/gallery/frente.jpg") center / cover no-repeat;
    opacity: 0.26;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #000 58%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #000 58%);
}

.institucional-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: stretch;
}

.institucional-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.institucional-map {
    position: absolute;
    z-index: 0;
    top: -12%;
    left: -18%;
    height: 128%;
    width: auto;
    pointer-events: none;
}

.institucional-dot {
    fill: rgba(255, 255, 255, 0.82);
}

.institucional-photo {
    position: absolute;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.95);
}

.institucional-photo-sea {
    z-index: 2;
    top: 14%;
    right: 0;
    width: 58%;
    height: 74%;
    object-position: left 70%;
    border-radius: 2.6rem;
}

.institucional-mark {
    position: absolute;
    z-index: 3;
    left: -4%;
    top: 8%;
    width: 78%;
    mix-blend-mode: screen;
    pointer-events: none;
}

.institucional .section-heading {
    margin-bottom: 1.35rem;
}

.institucional .eyebrow,
.institucional h2 {
    color: var(--white);
}

.institucional .intro-points {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.institucional .intro-point {
    background: var(--white);
    color: var(--navy-900);
    border-top-color: var(--navy-900);
}

.institucional .intro-point-mark,
.institucional .intro-point h3 {
    color: #c73b00;
}

.institucional .intro-point p {
    color: var(--ink);
}

.institucional .intro-point.reveal.is-visible:hover {
    background: var(--white);
    box-shadow: 0 16px 32px rgba(90, 28, 0, 0.16);
}

.institucional .text-link {
    color: var(--navy-950);
    border-bottom-color: var(--navy-950);
}

.institucional .text-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

.offer-showcase {
    background: #164852;
    border-bottom: 0;
    overflow: hidden;
}

.offer-block + .offer-block {
    margin-top: clamp(2.75rem, 5vw, 4.25rem);
}

.offer-title {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--white);
    font-size: 2.625rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: normal;
}

@media (max-width: 767px) {
    .offer-title {
        font-size: 1.75rem;
    }
}

.offer-slider {
    position: relative;
    width: min(100%, 1320px);
    margin-inline: auto;
}

.offer-track {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-inline: 3.25rem;
    scrollbar-width: none;
    padding: 0.2rem 3.25rem 0.4rem;
}

.offer-track::-webkit-scrollbar {
    display: none;
}

.offer-track li {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

.offer-tile {
    position: relative;
    display: block;
    height: 340px;
    border-radius: 1.35rem;
    overflow: hidden;
    color: var(--white);
}

.offer-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}

.offer-tile img.is-traje {
    object-position: center 46%;
}

.offer-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 32, 0) 46%, rgba(8, 24, 32, 0.82) 100%);
    pointer-events: none;
}

.offer-tile-copy {
    position: absolute;
    z-index: 1;
    left: 1rem;
    right: 0.9rem;
    bottom: 1rem;
}

.offer-tile strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
}

.offer-tile-more {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.offer-tile:hover img,
.offer-tile:focus-visible img {
    transform: scale(1.06);
}

.offer-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.offer-nav {
    position: absolute;
    top: 148px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.offer-nav::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
}

.offer-nav-prev {
    left: 0.55rem;
}

.offer-nav-prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.offer-nav-next {
    right: 0.55rem;
}

.offer-nav-next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.offer-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.offer-nav.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.offer-slider.is-static .offer-nav,
.offer-slider.is-static .offer-progress {
    display: none;
}

.offer-slider.is-static .offer-track {
    justify-content: center;
}

.offer-progress {
    width: min(180px, 36%);
    height: 2px;
    margin: 1.45rem auto 0;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    overflow: hidden;
}

.offer-progress span {
    display: block;
    height: 100%;
    width: 40%;
    background: var(--white);
    border-radius: inherit;
}

/* Certifications */
.certifications {
    padding: 1rem 0 1.5rem;
    background: var(--white);
}

.certifications .container {
    width: min(100% - 5rem, var(--max));
}

.certifications .section-heading {
    max-width: none;
    margin: 0 0 1.5rem;
    text-align: left;
}

.certifications h2 {
    font-size: 1.65rem;
}

.certifications .eyebrow {
    display: none;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    --logo-width: 160px;
    --logo-height: 112px;
    --logo-gap: clamp(1.5rem, 3vw, 3rem);
    display: flex;
    align-items: center;
    gap: var(--logo-gap);
    width: max-content;
    animation: marquee 32s linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 var(--logo-width);
    width: var(--logo-width);
    height: var(--logo-height);
    display: grid;
    place-items: center;
}

.logo-item img {
    display: block;
    width: var(--logo-width);
    height: var(--logo-height);
    object-fit: contain;
}

.logo-item-iram-wide {
    --logo-width: 190px;
    --logo-height: 126px;
}

.logo-item-iram-tall {
    --logo-width: 130px;
    --logo-height: 130px;
}

/* About */
.about-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

.about-copy p {
    margin-bottom: 1.15rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.about-copy p:first-child {
    color: var(--ink);
}

.about-gallery {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
}

.gallery-stage {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--navy-900);
    box-shadow: var(--shadow);
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s var(--ease), transform 1.1s var(--ease);
}

.gallery-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.9rem;
}

.gallery-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--mist-strong);
    background: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--navy-900);
}

.gallery-btn:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

.gallery-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mist-strong);
}

.gallery-dot.is-active {
    background: var(--accent);
    transform: scale(1.25);
}

/* Services page */
.services-videos {
    display: grid;
    gap: 2.5rem;
}

.service-block {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid var(--line);
}

.service-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.service-block h2 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
}

.service-block p {
    color: var(--ink-soft);
}

.video-frame {
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 10;
}

.video-frame video,
.preview-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.preview-video {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.services-tags li,
.contact-areas li {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--line);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--navy-800);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product-item {
    background: var(--mist);
    border: 1px solid transparent;
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--line);
    background: var(--white);
}

.product-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: linear-gradient(180deg, #f8fafc, #eef3f8);
    padding: 1.25rem;
}

.product-item h2 {
    font-size: 1.05rem;
    padding: 1rem 1.1rem 1.2rem;
}

/* Contact page */
.contact-page {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.contact-main h2,
.place h2 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
}

.contact-main > p {
    color: var(--ink-soft);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 1.1rem;
}

.social-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.social-logos a,
.social-logos .is-disabled {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    transition: transform 0.25s var(--ease);
}

.social-logos a:hover {
    transform: translateY(-2px);
}

.social-logos img {
    width: 18px;
    height: 18px;
    display: block;
}

.social-ig {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 42%, #d6249f 62%, #285aeb 100%);
}

.social-fb {
    background: #1877f2;
}

.social-in {
    background: #0a66c2;
}

.social-logos .is-disabled {
    cursor: default;
}

.contact-main .social-logos {
    margin-bottom: 1.5rem;
}

.contact-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.contact-places {
    display: grid;
    gap: 1rem;
}

.place {
    padding: 1.5rem 1.4rem;
    background: var(--mist);
    border-left: 3px solid var(--accent);
}

.place p {
    color: var(--ink-soft);
}

/* Footer */
.site-footer {
    background: #f5f7fa;
    color: #5c6778;
    border-top: 1px solid #e4e8ee;
    border-bottom: 3px solid var(--accent);
}

.footer-main {
    display: grid;
    grid-template-columns: 0.85fr 0.8fr 1.15fr 1.4fr;
    gap: 2rem 2.25rem;
    align-items: center;
    padding: 2.75rem 0 2.4rem;
}

.footer-logo {
    width: 158px;
    height: auto;
    filter: brightness(0);
}

.footer-brand .social-logos {
    margin-top: 1.15rem;
}

.footer-col h2 {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-900);
    margin-bottom: 1.05rem;
}

.footer-col > ul {
    display: grid;
    gap: 0.42rem;
}

.footer-col a {
    font-size: 0.92rem;
    color: #5c6778;
}

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

.footer-col > .footer-info {
    gap: 0.95rem;
}

.footer-info {
    color: #2f3a4a;
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-info p + p {
    margin-top: 0.35rem;
}

.footer-info strong {
    color: var(--navy-900);
    font-weight: 600;
}

.footer-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
}

.footer-icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid #e1e6ed;
    padding: 1.05rem 0 1.15rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.88rem;
    color: #5c6778;
}

.footer-copy-name {
    color: var(--accent);
    font-weight: 700;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - (var(--logo-gap) / 2))); }
}

/* Responsive */
@media (max-width: 980px) {
    .stats-grid,
    .about-layout,
    .service-block,
    .contact-page,
    .footer-main,
    .intro-points,
    .institucional-layout {
        grid-template-columns: 1fr;
    }

    .institucional-visual {
        min-height: 420px;
    }

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

    .about-gallery {
        position: static;
    }

    .service-block {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 72px;
    }

    .brand-logo {
        height: 48px;
    }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        background: rgba(4, 24, 51, 0.98);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    }

    .nav.is-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-link {
        padding: 0.9rem 1rem;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .services-preview,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .offer-track {
        padding-inline: 1.25rem;
        scroll-padding-inline: 1.25rem;
    }

    .offer-track li {
        flex-basis: min(78vw, 280px);
    }

    .offer-tile {
        height: 360px;
    }

    .offer-nav {
        display: none;
    }

    .home-hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .institucional-visual {
        min-height: 340px;
    }

    .institucional-photo-sea {
        width: 64%;
        height: 68%;
    }

    .institucional-mark {
        width: 86%;
    }

    .certifications {
        padding: 2.5rem 0;
    }

    .certifications .container,
    .logo-marquee {
        width: min(100% - 2.5rem, var(--max));
    }

    .logo-marquee {
        width: 100%;
    }

    .logo-track {
        --logo-width: 140px;
        --logo-height: 100px;
        --logo-gap: 1.5rem;
        animation-duration: 28s;
    }

    .logo-item-iram-wide {
        --logo-width: 170px;
        --logo-height: 113px;
    }

    .logo-item-iram-tall {
        --logo-width: 120px;
        --logo-height: 120px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 980px) and (min-width: 769px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .footer-brand,
    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

/* Botón flotante WhatsApp (estilo Nautiq) */
.whatsapp-float {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 99999;
    width: 50px;
    height: 50px;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(4, 24, 51, 0.28);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(4, 24, 51, 0.35);
}

.whatsapp-float svg {
    display: block;
    width: 50px;
    height: 50px;
    pointer-events: none;
}

.whatsapp-float-ring {
    fill: #e0e0e0;
}

.whatsapp-float-body {
    fill: #25d366;
}

.whatsapp-float-handset {
    fill: #ffffff;
}

.whatsapp-float-outline {
    fill: #ffffff;
}

/* Pantalla de construcción: única vista mientras el sitio no está publicado */
html.site-locked,
html.site-locked body {
    background: var(--navy-950);
}

html.site-locked body > *:not(.site-construction) {
    display: none !important;
}

.site-construction {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--white);
    overflow: hidden;
}

.site-construction-media {
    position: absolute;
    inset: 0;
}

.site-construction-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.1s var(--ease);
}

.site-construction-media img.is-active {
    opacity: 1;
}

.site-construction-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 24, 51, 0.78) 0%, rgba(4, 24, 51, 0.58) 46%, rgba(2, 11, 24, 0.9) 100%);
}

.site-construction-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: min(100% - 2.5rem, 760px);
    margin-inline: auto;
    padding: 3.25rem 0 2rem;
}

.site-construction-logo {
    width: min(280px, 64vw);
    margin-bottom: 1.6rem;
    mix-blend-mode: screen;
}

.site-construction .eyebrow {
    color: var(--accent-soft);
}

.site-construction h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3.15rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.9rem;
}

.site-construction-lead {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
}

.site-construction-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.site-construction-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.35rem;
    margin-top: 1.2rem;
}

.site-construction-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 500;
}

.site-construction-links a:hover,
.site-construction-links a:focus-visible {
    color: var(--accent-soft);
}

.site-construction-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
}

.site-construction-icon img {
    width: 16px;
    height: 16px;
}

.site-construction .social-logos {
    justify-content: center;
    margin-top: 1.35rem;
}

.site-construction-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem 0.5rem;
}

.site-construction-strip img {
    width: 100%;
    height: 108px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
}

@media (max-width: 768px) {
    .site-construction-content {
        padding-top: 2.5rem;
    }

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

    .site-construction-strip img {
        height: 84px;
    }

    .site-construction-links {
        flex-direction: column;
        align-items: center;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .whatsapp-float:hover {
        transform: none;
    }

    .offer-track {
        scroll-behavior: auto;
    }
}
