﻿/* ==============================
   Marina Seca Cancun / Marazul
   Global Premium Editorial Styles
============================== */
:root {
    --bg: #f7fafc;
    --surface: #ffffff;
    --surface-deep: #eef5fb;
    --ink: #11233b;
    --muted: #3c5470;
    --line: rgba(17, 35, 59, 0.14);
    --line-strong: rgba(17, 35, 59, 0.28);
    --brand: #1f6fb2;
    --brand-deep: #0f4f84;
    --brand-soft: #57c5d8;
    --dark: #0d2138;
    --light: #f7fbff;

    --font-sans: "Manrope", "Segoe UI", sans-serif;
    --font-serif: "Cormorant Garamond", "Times New Roman", serif;

    --max-content: 1320px;
    --header-h: 104px;
    --radius-md: 16px;
    --transition-fast: 220ms ease;
    --color-text: #f7fbff;
    --color-muted: rgba(247, 251, 255, 0.72);

    --sp-1: 0.4rem;
    --sp-2: 0.75rem;
    --sp-3: 1rem;
    --sp-4: 1.5rem;
    --sp-5: 2.4rem;
    --sp-6: 3.6rem;
    --sp-7: 5.5rem;
    --sp-8: 8.5rem;

    --ease: 280ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

img,
video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 4rem), var(--max-content));
    margin-inline: auto;
}

.section {
    padding-block: var(--sp-8);
}

.section-sm {
    padding-block: var(--sp-7);
}

.eyebrow {
    margin: 0 0 var(--sp-3);
    font-size: 1.24rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.h1,
.h2,
.h3 {
    margin: 0;
    font-family: var(--font-serif);
    letter-spacing: 0.01em;
    font-weight: 600;
    line-height: 1.02;
}

h2,
.h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.01em;
    line-height: 1.02;
    font-optical-sizing: auto;
}

.h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.h2 {
    font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.h3 {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.lead {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--muted);
    max-width: 64ch;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--sp-4);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 0.35rem;
    color: var(--brand-deep);
    transition: border-color var(--ease), color var(--ease);
}

.text-link:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.testimonios-slider {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    align-items: flex-start;
    transition: transform 400ms cubic-bezier(0.25, 0.1, 0.25, 1), height 260ms ease;
    will-change: transform;
}

.testimonio-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.testimonio-slide .quote,
.testimonio-slide .meta,
.testimonio-slide .lead,
.testimonio-slide p {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.video-card {
    border-top: 1px solid var(--line-strong);
    padding-top: var(--sp-4);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    background: var(--dark);
    margin-bottom: 0.8rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.slider-nav-btn {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    transition: opacity 200ms ease;
}

.slider-nav-btn:hover {
    opacity: 0.7;
}

.slider-dots {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.dot {
    border: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(17, 35, 59, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background 200ms ease;
}

.dot.active {
    background: var(--brand-deep);
}

.btn {
    min-height: 48px;
    padding: 0.82rem 1.35rem;
    border: 1px solid var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:focus-visible,
.text-link:focus-visible,
.nav-link:focus-visible,
.submenu a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: var(--light);
}

.btn-primary:hover {
    background: #0b456f;
    border-color: #0b456f;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: rgba(17, 35, 59, 0.35);
}

.btn-secondary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--light);
}

.btn-ghost {
    border-color: rgba(251, 248, 243, 0.55);
    color: var(--light);
}

.btn-ghost:hover {
    border-color: var(--light);
    background: rgba(251, 248, 243, 0.08);
}

/* ==============================
   Header / Navigation
============================== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    border-bottom: 1px solid transparent;
    transition: background-color var(--ease), border-color var(--ease), backdrop-filter var(--ease);
}

.site-header.menu-open {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--line);
    backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.brand {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.logo-img {
    display: block;
    object-fit: contain;
    object-position: center center;
}

.site-header .brand {
    min-height: var(--header-h);
    padding-block: 0.35rem;
}

.site-header .logo-img {
    width: 300px;
    height: 84px;
    transform: scale(2.9) translateY(3px);
    transform-origin: center center;
}

.footer-logo {
    width: 280px;
    height: 78px;
    object-position: center 50%;
    transform: scale(1.28);
    transform-origin: center 78%;
    filter: brightness(0) invert(1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f7fbff;
    position: relative;
    padding-block: 0.2rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.34);
}

.site-header.is-scrolled .nav-link,
.site-header.menu-open .nav-link {
    color: var(--ink);
    text-shadow: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.has-submenu .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-caret {
    font-size: 0.6rem;
    transform: translateY(-1px);
}

.submenu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    min-width: 260px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 0.8rem;
    display: grid;
    gap: 0.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}

.submenu a {
    padding: 0.68rem 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid transparent;
}

.submenu a:hover,
.submenu a.is-active {
    border-color: var(--line);
    background: rgba(23, 21, 19, 0.03);
}

.has-submenu:hover .submenu,
.has-submenu.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.site-header .header-cta .btn-secondary {
    font-size: 0.9rem;
    color: #f7fbff;
    border-color: rgba(247, 251, 255, 0.72);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.34);
}

.site-header .header-cta .btn-secondary:hover {
    color: var(--ink);
    background: #ffffff;
    border-color: #ffffff;
    text-shadow: none;
}

.site-header.is-scrolled .header-cta .btn-secondary {
    color: var(--ink);
    border-color: var(--line-strong);
}

.site-header.is-scrolled .header-cta .btn-secondary:hover {
    color: var(--light);
    background: var(--ink);
    border-color: var(--ink);
}

.site-header.menu-open .header-cta .btn-secondary {
    color: var(--ink);
    border-color: var(--line-strong);
    text-shadow: none;
}

.mobile-toggle {
    display: none;
    width: 56px;
    height: 56px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(247, 251, 255, 0.7);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

.mobile-toggle span {
    width: 16px;
    height: 1px;
    background: var(--light);
    transition: transform var(--ease), opacity var(--ease), background-color var(--ease);
}

.site-header.is-scrolled .mobile-toggle,
.site-header.menu-open .mobile-toggle {
    border-color: var(--line-strong);
}

.site-header.is-scrolled .mobile-toggle span,
.site-header.menu-open .mobile-toggle span {
    background: var(--ink);
}

.mobile-toggle.is-open span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.mobile-toggle.is-open span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.mobile-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
}

/* ==============================
   Hero and page intro
============================== */
.hero-home,
.hero-page {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    padding-block: calc(var(--header-h) + var(--sp-6)) var(--sp-7);
    overflow: hidden;
}

.hero-page {
    min-height: 72vh;
}

.hero-video,
.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 600ms ease;
    pointer-events: none;
    user-select: none;
}

.hero-media {
    background-size: cover;
    background-position: center;
}

.hero-home .hero-media {
    background-image: url("../img/original/hero-home.png");
    background-position: center 55%;
    opacity: 1;
    transition: opacity 280ms ease;
}

.hero-home.has-active-video .hero-video {
    opacity: 1;
}

.hero-home.has-active-video .hero-media {
    opacity: 0;
}

.hero-home .hero-overlay {
    background:
        linear-gradient(180deg, rgba(6, 18, 34, 0.18) 0%, rgba(6, 18, 34, 0.52) 52%, rgba(6, 18, 34, 0.74) 100%),
        linear-gradient(90deg, rgba(6, 18, 34, 0.48) 0%, rgba(6, 18, 34, 0.12) 50%, rgba(6, 18, 34, 0.48) 100%);
}

.hero-maniobras .hero-media {
    background-image: url("../img/original/hero-maniobras.png");
}

.hero-rampa .hero-media {
    background-image: url("../img/original/hero-rampa.png");
}

.hero-pension .hero-media {
    background-image: url("../img/original/hero-pension.png");
}

.hero-mantenimiento .hero-media {
    background-image: url("../img/original/hero-mantenimiento.png");
}

.hero-ppf .hero-media {
    background-image: url("../img/original/hero-ppf.png");
}

.hero-infraestructura .hero-media {
    background-image: url("../img/original/hero-infraestructura.png");
}

.hero-ubicacion .hero-media {
    background-image: url("../img/original/hero-ubicacion.png");
}

.hero-contacto .hero-media {
    background-image: url("../img/original/hero-contacto.jpg");
}

.hero-servicios .hero-media {
    background-image: url("../img/original/hero-servicios.png");
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(9, 24, 41, 0.2) 0%, rgba(9, 24, 41, 0.52) 56%, rgba(9, 24, 41, 0.68) 100%),
        linear-gradient(90deg, rgba(9, 24, 41, 0.4) 0%, rgba(9, 24, 41, 0.15) 50%, rgba(9, 24, 41, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light);
    max-width: 920px;
}

.hero-content .eyebrow {
    display: inline-block;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(247, 251, 255, 0.38);
    background: rgba(10, 29, 50, 0.46);
    color: #e9f6ff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.26);
}

.hero-content .lead {
    color: rgba(247, 251, 255, 0.92);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
}

.hero-actions {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    margin-top: var(--sp-5);
}

.hero-actions .btn-ghost {
    color: #ffffff;
    border-color: rgba(87, 197, 216, 0.78);
    background: linear-gradient(135deg, rgba(87, 197, 216, 0.92) 0%, rgba(61, 177, 201, 0.94) 52%, rgba(43, 159, 188, 0.96) 100%);
    box-shadow: 0 6px 18px rgba(10, 55, 90, 0.22);
}

.hero-actions .btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(127, 226, 238, 0.92);
    background: linear-gradient(135deg, rgba(102, 211, 225, 0.96) 0%, rgba(73, 191, 212, 0.97) 52%, rgba(53, 173, 202, 0.98) 100%);
    transform: translateY(-1px);
}

.hero-actions .btn-secondary {
    color: #0c2b47;
    border-color: rgba(255, 255, 255, 0.92);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(10, 55, 90, 0.16);
}

.hero-actions .btn-secondary:hover {
    color: #08233b;
    border-color: #ffffff;
    background: #ffffff;
    transform: translateY(-1px);
}

.breadcrumb {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(251, 248, 243, 0.8);
    margin-bottom: var(--sp-3);
}

/* ==============================
   Core layouts and cards
============================== */
.split {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: var(--sp-7);
    align-items: center;
}

.split.reverse {
    grid-template-columns: 1fr 1.12fr;
}

.visual {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.instagram-embed-panel {
    background: linear-gradient(155deg, #f6f9fc 0%, #eef4fa 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: clamp(0.6rem, 1.5vw, 1rem);
    display: grid;
    place-items: center;
}

.instagram-embed-panel .instagram-media {
    width: 100% !important;
    max-width: 540px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.visual.tall {
    aspect-ratio: 3 / 4;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: var(--sp-6);
}

.kpi h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.7vw, 3.3rem);
    line-height: 1;
}

.kpi p {
    margin: var(--sp-3) 0 0;
    font-size: 0.8rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--muted);
}

.grid-3,
.grid-4,
.grid-2 {
    display: grid;
    gap: var(--sp-4);
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-showcase {
    padding-top: 0;
}

.time-cta-block {
    position: relative;
    padding-bottom: 0.8rem;
}

.time-cta-button {
    margin-top: 0.85rem;
}

.section-connector {
    width: min(120px, 32vw);
    height: 1px;
    margin: 1.35rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(17, 35, 59, 0.36), transparent);
    position: relative;
}

.section-connector::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(17, 35, 59, 0.35);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.services-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: var(--sp-4);
    align-items: stretch;
}

.services-list {
    display: grid;
    gap: 0.65rem;
}

.service-option {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 1rem 1.05rem;
    border-radius: 14px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.8rem;
    cursor: pointer;
    transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.service-option.is-active,
.service-option:hover {
    border-color: rgba(31, 111, 178, 0.45);
    background: #f9fcff;
    box-shadow: 0 6px 20px rgba(15, 79, 132, 0.08);
}

.service-option-title {
    grid-column: 1 / 2;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}

.service-option-copy {
    grid-column: 1 / 2;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.45;
}

.service-option-link {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-deep);
}

.service-stage {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 18px;
    padding: var(--sp-4);
    min-height: 100%;
}

.service-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-4);
}

.service-panel[hidden] {
    display: none;
}

.service-panel-media {
    margin: 0;
}

.service-panel .media-launch {
    margin-bottom: 0;
    border-radius: 14px;
}

.service-panel-copy .eyebrow {
    margin-bottom: 0.6rem;
}

.service-panel-copy .h3 {
    margin-bottom: 0.9rem;
}

.service-panel-copy .lead {
    margin-bottom: 1.2rem;
    font-size: clamp(1.05rem, 1.25vw, 1.26rem);
}

.location-showcase {
    padding-top: var(--sp-6);
}

.location-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: var(--sp-4);
}

.location-copy {
    display: grid;
    align-content: center;
    gap: 0.9rem;
}

.location-copy .h2 {
    max-width: 18ch;
}

.location-copy .lead {
    max-width: 46ch;
}

.location-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.location-points li {
    font-size: 0.92rem;
    color: var(--muted);
    padding-left: 1rem;
    position: relative;
}

.location-points li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    position: absolute;
    left: 0;
    top: 0.6rem;
}

.location-map-wrap {
    border-radius: 14px;
    overflow: hidden;
    min-height: 360px;
    border: 1px solid var(--line);
}

.location-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
}

.card-media {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-media.portrait {
    aspect-ratio: 3 / 4;

}

.media-launch {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0 0 0.75rem;
    background: transparent;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 6px);
}

.feed-placeholder img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: rgba(0, 0, 0, 0.32);
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.media-launch:hover img,
.media-launch:focus-visible img {
    transform: scale(1.03);
    filter: saturate(1.04);
}

.media-launch img,
.media-launch video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.visual>video.is-video-preview {
    cursor: pointer;
}

.visual>video.is-video-preview:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.media-launch.is-video::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 74px;
    height: 74px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 22, 37, 0.92) 0%, rgba(11, 22, 37, 0.78) 65%, rgba(11, 22, 37, 0.18) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.media-launch.is-video::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-35%, -50%);
    border-left: 18px solid rgba(255, 255, 255, 0.96);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    pointer-events: none;
}

.media-card .media-badge {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(12, 21, 35, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--color-text);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.social-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.social-box {
    display: block;
    padding: 1.1rem 1.15rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    background: linear-gradient(135deg, #24598a 0%, #123a64 54%, #1b6a8f 100%);
    border: 1px solid rgba(87, 197, 216, 0.55);
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.social-box:hover,
.social-box:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(188, 243, 252, 0.72);
    background: linear-gradient(135deg, #2c689d 0%, #174873 54%, #2285a1 100%);
}

.social-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.social-box strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
}

.social-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.instagram-strip {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: center;
}

.instagram-strip img {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    border: 1px solid rgba(17, 35, 59, 0.18);
}

.instagram-strip .btn {
    grid-column: 1 / -1;
}

.media-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.media-modal.is-open {
    display: block;
}

.media-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 18, 0.82);
    backdrop-filter: blur(8px);
}

.media-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 2rem));
    margin: 4vh auto;
    padding: 3.25rem 1rem 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(11, 22, 37, 0.98), rgba(5, 10, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.media-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    cursor: pointer;
}

.media-modal__content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.media-modal__content img,
.media-modal__content video {
    width: min(100%, 1120px);
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 80vh;
    border-radius: 18px;
    background: #000;
    object-fit: contain;
}

.media-modal__content img {
    object-fit: contain;
}

body.media-modal-open {
    overflow: hidden;
}

.card .h3 {
    margin-top: 0.5rem;
}

.quote-card {
    border-top: 1px solid var(--line-strong);
    padding-top: var(--sp-4);
}

.why-choose .h2 {
    max-width: 780px;
}

.why-choose-row {
    align-items: start;
    padding-top: var(--sp-5);
    margin-top: var(--sp-5);
    border-top: 1px solid var(--line);
}

.why-choose .split,
.why-choose .split.reverse {
    grid-template-columns: 1fr 1fr;
}

.why-choose .quote-card {
    border-top: 0;
    padding-top: 0;
}

.why-choose .quote-card .h3 {
    margin-bottom: 0.9rem;
}

.why-choose .quote-card .lead {
    max-width: 56ch;
    font-size: clamp(1.04rem, 1.45vw, 1.18rem);
    line-height: 1.58;
}

.why-choose .visual {
    /* aspect-ratio: 5 / 4; */
    max-width: 520px;
    width: 100%;
    justify-self: center;
}

.why-choose .media-launch {
    margin-bottom: 0;
    border-radius: var(--radius-md);
}

.why-choose .media-badge {
    display: none;
}

.why-choose .media-launch.is-video::before {
    width: 58px;
    height: 58px;
}

.why-choose .media-launch.is-video::after {
    border-left-width: 14px;
    border-top-width: 9px;
    border-bottom-width: 9px;
}

body[data-page="infraestructura"] .section .split>.visual,
body[data-page="infraestructura"] .section-sm .split>.visual,
body[data-page="infraestructura"] .section .split.reverse>.visual,
body[data-page="infraestructura"] .section-sm .split.reverse>.visual {
    aspect-ratio: 5 / 4;
    max-width: 560px;
    width: 100%;
    justify-self: center;
}

body[data-page="ubicacion"] .section .split>.visual,
body[data-page="ubicacion"] .section-sm .split>.visual,
body[data-page="ubicacion"] .section .split.reverse>.visual,
body[data-page="ubicacion"] .section-sm .split.reverse>.visual {
    aspect-ratio: 16 / 10;
    max-width: 620px;
    width: 100%;
    justify-self: center;
}

body[data-page="ubicacion"] .visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[data-page="contacto"] .section-ubicacion-visual .visual {
    aspect-ratio: 9 / 16;
    max-width: 360px;
    width: 100%;
    justify-self: center;
}

body[data-page="contacto"] .section-ubicacion-visual .visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote {
    margin: 0;
    color: #2f2a25;
}

.meta {
    margin-top: var(--sp-4);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.band {
    background: var(--surface-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.video-panel {
    position: relative;
    border: 1px solid var(--line);
    background: var(--dark);
    color: var(--light);
    overflow: hidden;
}

.video-panel video {
    min-height: 430px;
}

.video-panel .overlay-content {
    position: absolute;
    inset: auto 0 0;
    padding: var(--sp-5);
    background: linear-gradient(180deg, rgba(16, 15, 13, 0.02) 0%, rgba(16, 15, 13, 0.8) 100%);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4);
}

.spec-item {
    border-top: 1px solid var(--line-strong);
    padding-top: var(--sp-3);
}

.spec-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.spec-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--ink);
}

.accordion {
    border-top: 1px solid var(--line);
}

.accordion-item {
    border-bottom: 1px solid var(--line);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: var(--sp-4) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
}

.accordion-trigger span:last-child {
    transition: transform var(--ease);
}

.accordion-item.is-open .accordion-trigger span:last-child {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ease);
}

.accordion-content {
    padding-bottom: var(--sp-4);
    color: var(--muted);
}

.social-shell {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: var(--sp-6);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
}

.feed-placeholder {
    background: var(--surface);
    border: 1px solid var(--line);
    min-height: 240px;
    padding: var(--sp-4);
    display: grid;
    align-content: start;
    gap: 0.5rem;
}

.feed-placeholder img,
.feed-placeholder video {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.18);
}

.feed-placeholder strong {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feed-placeholder p {
    margin: 0;
    color: var(--muted);
}

.cta-panel {
    background: var(--dark);
    color: var(--light);
    padding: var(--sp-7);
}

.cta-panel .eyebrow {
    color: rgba(128, 225, 231, 0.88);
}

.cta-panel .lead {
    color: rgba(251, 248, 243, 0.8);
}

.cta-panel .btn-cta-highlight {
    background: #29c7c9;
    border-color: #29c7c9;
    color: #0b2f4d;
    font-weight: 700;
}

.cta-panel .btn-cta-highlight:hover {
    background: #1fb9bb;
    border-color: #1fb9bb;
    color: #08263f;
}

.cta-row {
    margin-top: var(--sp-5);
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.form-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: var(--sp-5);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-3);
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    min-height: 46px;
    padding: 0.7rem 0.75rem;
    font: inherit;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

/* ==============================
   Footer + WhatsApp
============================== */
.site-footer {
    background: #103050;
    color: #e7f4ff;
    padding-block: var(--sp-7) var(--sp-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: var(--sp-5);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid rgba(233, 227, 216, 0.2);
}

.footer-title {
    margin: 0 0 var(--sp-3);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(233, 227, 216, 0.6);
}

.footer-links {
    display: grid;
    gap: 0.5rem;
}

.footer-links a,
.footer-text {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0;
    color: rgba(233, 227, 216, 0.92);
    font-size: 0.97rem;
    line-height: 1.4;
}

/* Icon base — only for anchors inside .footer-links */
.footer-links a::before {
    content: "";
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    background-color: currentColor;
    opacity: 0.85;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

/* Phone icon */
.footer-links a[href^="tel:"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.53 15.53 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.07 21 3 13.93 3 5a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.53 15.53 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.07 21 3 13.93 3 5a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.24 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");
}

/* WhatsApp icon */
.footer-links a[href*="wa.link"]::before,
.footer-links a[href*="whatsapp.com"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15s-.77.97-.94 1.16c-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.42c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.07c.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.69.63.71.23 1.36.19 1.87.11.57-.08 1.76-.72 2.01-1.41.25-.7.25-1.3.17-1.42-.07-.12-.27-.2-.57-.35Zm-5.42 7.4h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.65-.24-.37A9.86 9.86 0 0 1 2 11.89C2 6.44 6.44 2 11.89 2a9.86 9.86 0 0 1 9.9 9.89c0 5.45-4.44 9.89-9.74 9.89Zm0-17.78C7.3 4 4 7.3 4 11.38a7.87 7.87 0 0 0 1.5 4.63L4.3 19.7l3.8-1 .35.21a7.87 7.87 0 0 0 3.54.85C16.7 19.76 20 16.46 20 12.38 20 8.3 16.7 5 12.05 5Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15s-.77.97-.94 1.16c-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.42c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.07c.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.69.63.71.23 1.36.19 1.87.11.57-.08 1.76-.72 2.01-1.41.25-.7.25-1.3.17-1.42-.07-.12-.27-.2-.57-.35Zm-5.42 7.4h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.65-.24-.37A9.86 9.86 0 0 1 2 11.89C2 6.44 6.44 2 11.89 2a9.86 9.86 0 0 1 9.9 9.89c0 5.45-4.44 9.89-9.74 9.89Zm0-17.78C7.3 4 4 7.3 4 11.38a7.87 7.87 0 0 0 1.5 4.63L4.3 19.7l3.8-1 .35.21a7.87 7.87 0 0 0 3.54.85C16.7 19.76 20 16.46 20 12.38 20 8.3 16.7 5 12.05 5Z'/%3E%3C/svg%3E");
}

/* Email icon */
.footer-links a[href^="mailto:"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4.2-8 4.8-8-4.8V6l8 4.8L20 6v2.2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4.2-8 4.8-8-4.8V6l8 4.8L20 6v2.2Z'/%3E%3C/svg%3E");
}

/* Maps / location icon */
.footer-links a[href*="maps"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
}

/* No icon for social links / unrecognized hrefs */
.footer-links a:not([href^="tel:"]):not([href*="wa.link"]):not([href*="whatsapp.com"]):not([href^="mailto:"]):not([href*="maps"])::before {
    display: none;
}

/* Google Maps button in footer */
.btn-maps-footer {
    display: inline-block !important;
    margin-top: 0.35rem;
    padding: 0.28rem 0.8rem;
    border: 1px solid rgba(233, 227, 216, 0.35);
    border-radius: 4px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(233, 227, 216, 0.82) !important;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    align-self: flex-start;
}

.btn-maps-footer::before {
    display: none !important;
}

.btn-maps-footer:hover {
    border-color: rgba(233, 227, 216, 0.65);
    color: rgba(233, 227, 216, 1) !important;
}

.footer-bottom {
    margin-top: var(--sp-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-3);
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(233, 227, 216, 0.68);
}

.footer-bottom nav {
    display: flex;
    gap: 1rem;
}

.whatsapp-float {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 900;
    width: 62px;
    height: 62px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: linear-gradient(160deg, #25d366 0%, #1ab85a 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(17, 35, 59, 0.2), 0 6px 18px rgba(37, 211, 102, 0.4);
    transition: transform var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.whatsapp-float:hover {
    background: linear-gradient(160deg, #1ec15d 0%, #12994a 100%);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(17, 35, 59, 0.24), 0 8px 20px rgba(18, 140, 126, 0.45);
}

.hero-location-link {
    display: inline-block;
    margin-top: var(--sp-4);
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247, 251, 255, 0.8);
    text-decoration: none;
    transition: color var(--ease);
}

.hero-location-link:hover {
    color: #ffffff;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--sp-4) 0;
    display: grid;
    gap: 0.6rem;
}

.feature-list li {
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink);
}

.feature-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

/* ==============================
   Utility
============================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.m-0 {
    margin: 0;
}

.mb-4 {
    margin-bottom: var(--sp-4);
}

/* ==============================
   Responsive
============================== */
@media (min-width: 1600px) {
    :root {
        --max-content: 1480px;
    }
}

@media (max-width: 1280px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    :root {
        --header-h: 100px;
        --sp-8: 6.8rem;
    }

    .site-header .logo-img {
        width: 230px;
        height: 66px;
        transform: scale(2.6) translateY(2px);
        transform-origin: center center;
    }

    .container {
        width: min(calc(100% - 3rem), var(--max-content));
    }

    .nav-desktop,
    .header-cta .btn-secondary {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .mobile-panel .btn {
        margin-top: 0.6rem;
    }

    .mobile-panel {
        display: grid;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--line);
        padding: 0.9rem 1.5rem 1.5rem;
        gap: 0.5rem;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--ease), opacity var(--ease);
    }

    .mobile-panel[hidden] {
        display: none !important;
    }

    .site-header.menu-open .mobile-panel {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-link,
    .mobile-services-trigger {
        min-height: 42px;
        border: 0;
        background: transparent;
        text-align: left;
        font-size: 0.75rem;
        letter-spacing: 0.13em;
        text-transform: uppercase;
        color: var(--ink);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.2rem 0;
    }

    .mobile-services-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--ease);
        display: grid;
        gap: 0.35rem;
        padding-left: 0.7rem;
    }

    .mobile-services-list a {
        min-height: 32px;
        display: flex;
        align-items: center;
        font-size: 0.72rem;
        letter-spacing: 0.11em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .mobile-services.is-open .mobile-services-list {
        max-height: 220px;
    }

    .hero-home {
        min-height: 84vh;
    }

    .hero-content .eyebrow {
        font-size: 0.69rem;
        letter-spacing: 0.13em;
        max-width: 92%;
    }

    .hero-page {
        min-height: 60vh;
    }

    .split,
    .split.reverse,
    .grid-3,
    .grid-2,
    .services-layout,
    .service-panel,
    .location-shell,
    .kpis,
    .spec-grid,
    .social-grid,
    .instagram-strip {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        gap: 1rem;
    }

    .slider-nav-btn {
        font-size: 1.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .media-modal__dialog {
        width: calc(100vw - 1rem);
        margin: 2vh auto;
        padding: 3rem 0.65rem 0.65rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding-block: var(--sp-7);
    }
}

@media (max-width: 780px) {
    :root {
        --sp-8: 5.6rem;
        --sp-7: 4.6rem;
        --header-h: 92px;
    }

    .container {
        width: min(calc(100% - 2.2rem), var(--max-content));
    }

    .site-header .logo-img {
        width: 196px;
        height: 58px;
        transform: scale(2.4) translateY(2px);
    }

    .mobile-toggle {
        width: 52px;
        height: 52px;
    }

    .hero-content {
        max-width: 100%;
    }

    .h2 {
        font-size: clamp(1.6rem, 8.2vw, 2.1rem);
        line-height: 1.08;
    }

    .lead {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-home .hero-content {
        padding-bottom: 0.9rem;
    }

    .hero-content .h1 {
        font-size: clamp(2rem, 10.5vw, 2.7rem);
        line-height: 1.05;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    #como-funciona {
        padding-bottom: calc(var(--sp-7) - 1.2rem);
    }

    .time-cta-button {
        margin-top: 1rem;
    }

    .section-connector {
        margin-top: 1.1rem;
        width: min(96px, 30vw);
    }

    .service-stage {
        padding: 1rem;
    }

    .service-option {
        padding: 0.9rem;
    }

    .service-option-copy {
        font-size: 0.88rem;
    }

    .location-shell {
        padding: 1rem;
    }

    .location-copy .h2,
    .location-copy .lead {
        max-width: 100%;
    }

    .location-map-wrap {
        min-height: 300px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 1rem;
        bottom: 1rem;
    }

    .quote-card {
        padding: 1.05rem 0.85rem 0.95rem;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid var(--line);
        border-top: 1px solid var(--line-strong);
    }

    .why-choose-row {
        margin-top: var(--sp-4);
        padding-top: var(--sp-4);
    }

    .why-choose .quote-card {
        background: transparent;
        border-inline: 0;
        border-bottom: 0;
        border-top: 0;
        padding: 0;
    }

    .why-choose .quote-card .lead {
        font-size: 1rem;
    }

    .why-choose .split,
    .why-choose .split.reverse {
        grid-template-columns: 1fr;
    }

    body[data-page="ubicacion"] .section .split>.visual,
    body[data-page="ubicacion"] .section-sm .split>.visual,
    body[data-page="ubicacion"] .section .split.reverse>.visual,
    body[data-page="ubicacion"] .section-sm .split.reverse>.visual {
        aspect-ratio: 16 / 9;
        max-width: 100%;
    }

    .quote,
    .quote-card p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .meta {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
        line-height: 1.45;
    }

    .testimonios-slider {
        margin-inline: -0.1rem;
    }

    .video-card video {
        margin-bottom: 0.7rem;
    }

    .slider-controls {
        gap: 0.65rem;
        margin-top: 1rem;
    }

    .slider-nav-btn {
        min-width: 36px;
        min-height: 36px;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 0;
        line-height: 1;
    }

    .slider-dots {
        gap: 0.45rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

    .cta-panel {
        padding: var(--sp-5);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-float {
        right: 0.8rem;
        bottom: 5.2rem;
        width: 48px;
        height: 48px;
        font-size: 0.58rem;
    }
}