/* ============================================
   HUARCO SURF — Sistema gráfico tipo póster
   Display (Anton, mayúsculas) + sans (Inter)
   Crema / océano / azul vivo · sin emojis
   ============================================ */

/* ---------- Tokens ---------- */
:root {
    --ink:        #14333f;
    --navy:       #0b4a68;
    --blue-dark:  #064564;
    --blue:       #0077be;
    --aqua:       #12a9d4;
    --aqua-ink:   #0a6d8c;
    --aqua-light: #7fe0ff;
    --gold:       #f5a623;
    --gold-ink:   #a35f00;
    --gold-light: #ffd166;
    --sun:        #ffb703;

    --white:  #ffffff;
    --sea:    #f1f8ff;
    --paper:  #fbfce9;
    --paper-2:#f3f4dd;
    --muted:  #566772;

    --line:      rgba(20, 51, 63, .16);
    --line-soft: rgba(20, 51, 63, .10);
    --line-inv:  rgba(255, 255, 255, .22);

    --font-head: 'Anton', 'Arial Narrow', Impact, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;

    --blue-pop:   #3d8ae2;   /* azul gráfico: titulares y números grandes */
    --blue-bright:#1f6fd6;   /* azul vivo seguro para texto pequeño */

    --radius:    10px;
    --radius-lg: 16px;
    --pill:      999px;
    --pad-y:     clamp(64px, 8vw, 104px);
    --gap:       clamp(32px, 5vw, 72px);

    --shadow-1: 0 2px 8px rgba(20, 51, 63, .06);
    --shadow-2: 0 20px 44px -30px rgba(11, 74, 104, .55);

    --transition: .25s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.78;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--aqua-light); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.section { padding: var(--pad-y) 0; }

/* ---------- Encabezados de sección (editorial) ---------- */
.section-header {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    column-gap: clamp(24px, 5vw, 64px);
    align-items: end;
    text-align: left;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    margin-bottom: clamp(36px, 5vw, 56px);
}

.section-header .section-tag {
    grid-column: 1 / -1;
    margin-bottom: 18px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--blue-bright);
}

.section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sun);
    flex-shrink: 0;
}

.section-title {
    grid-column: 1;
    font-family: var(--font-head);
    font-size: clamp(2.1rem, 5.4vw, 4rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .98;
    letter-spacing: .012em;
    color: var(--blue-dark);
    margin-bottom: 0;
}

.section-sub {
    grid-column: 2;
    margin: 0 0 6px;
    max-width: 48ch;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--muted);
}

.section-header:not(:has(.section-sub)) .section-title { grid-column: 1 / -1; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--blue);
    color: var(--white);
    border: 1px solid var(--blue);
    border-radius: var(--pill);
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 10px 22px -14px rgba(0, 119, 190, .9);
}

.btn:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -14px rgba(6, 69, 100, .9);
}

.btn-primary { background: var(--blue); color: var(--white); }

.btn-outline {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border-color: rgba(255, 255, 255, .6);
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-blue { background: var(--aqua-ink); border-color: var(--aqua-ink); color: var(--white); }
.btn-blue:hover { background: var(--blue); border-color: var(--blue); }

.btn-full { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    transition: var(--transition);
}

.navbar.scrolled { border-bottom-color: var(--line); }

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }

.logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.logo-title {
    font-family: var(--font-head);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.12rem;
    letter-spacing: .03em;
    color: var(--blue-dark);
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
}

.nav-links a {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--ink);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--aqua-ink); border-bottom-color: var(--aqua); }

.nav-links .cta-btn {
    background: var(--blue);
    color: var(--white);
    border: 1px solid var(--blue);
    border-radius: var(--pill);
    padding: 12px 22px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px -14px rgba(0, 119, 190, .9);
}

.nav-links .cta-btn:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    border-bottom-color: var(--blue-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: max(640px, 100svh);
    display: flex;
    align-items: flex-end;
    color: var(--white);
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(72% 62% at 82% 18%, rgba(255, 183, 3, .22) 0%, transparent 62%),
        linear-gradient(90deg, rgba(6, 69, 100, .92) 0%, rgba(11, 74, 104, .70) 52%, rgba(11, 74, 104, .34) 100%),
        linear-gradient(0deg, rgba(6, 69, 100, .82) 0%, rgba(6, 69, 100, 0) 48%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 104px clamp(20px, 4vw, 48px) clamp(86px, 10vh, 122px);
    animation: heroFadeIn .9s ease both;
}

.hero-content > * { max-width: 740px; }

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3.2rem, 10.5vw, 7.6rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .9;
    letter-spacing: .012em;
    margin-bottom: 22px;
    text-shadow: 0 6px 30px rgba(6, 38, 55, .35);
}

.hero-title span {
    display: block;
    color: var(--gold-light);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    line-height: 1.5;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 12px;
}

.hero-desc {
    font-size: .96rem;
    color: rgba(255, 255, 255, .88);
    max-width: 52ch;
    margin-bottom: 36px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-note {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .85);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .24);
}

.hero-stat {
    padding-right: clamp(18px, 3vw, 40px);
    margin-right: clamp(18px, 3vw, 40px);
    border-right: 1px solid rgba(255, 255, 255, .24);
}

.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.hero-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: .012em;
    color: var(--white);
}

.hero-stat span {
    display: block;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .88);
}

.hero-scroll {
    position: absolute;
    right: clamp(20px, 4vw, 48px);
    bottom: 34px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .75);
    cursor: pointer;
    transition: var(--transition);
}

.hero-scroll:hover { color: var(--white); }

.hero-scroll-arrow {
    display: block;
    width: 46px;
    height: 1px;
    background: currentColor;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 58px;
    z-index: 1;
    pointer-events: none;
}

/* ---------- Banda de ubicación ---------- */
.stats-section {
    background: #0a5070;
    color: var(--white);
    padding: clamp(44px, 6vw, 72px) 0;
}

.stats-location { text-align: left; }

.stats-location-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.04;
    letter-spacing: .012em;
}

.stats-location-km {
    color: var(--aqua-light);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .04em;
    margin-top: 10px;
}

.stats-location-desc {
    margin-top: 16px;
    max-width: 64ch;
    font-size: .96rem;
    color: rgba(255, 255, 255, .88);
}

/* ---------- Historia ---------- */
.historia-section { background: var(--sea); }

.historia-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--gap);
    align-items: start;
}

.historia-timeline { display: flex; flex-direction: column; }
.historia-timeline::before { display: none; }

.tl-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: clamp(16px, 3vw, 32px);
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

.tl-item:last-child { border-bottom: 1px solid var(--line); }

.tl-dot { display: none; }

.tl-year {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--blue);
    letter-spacing: .012em;
}

.tl-year--gold { color: var(--gold-ink); }

.tl-card {
    grid-column: 2;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-1);
}

.tl-card h3 {
    font-family: var(--font-body);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.tl-card p {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 66ch;
}

.tl-card p strong { color: var(--ink); font-weight: 600; }

.tl-card--gold { background: #fff8e6; border-color: rgba(245, 166, 35, .55); }

.tl-award {
    display: block;
    font-family: var(--font-mono);
    font-size: .64rem;
    letter-spacing: .04em;
    color: var(--gold-ink);
    margin-bottom: 10px;
}

.historia-aside {
    position: sticky;
    top: 96px;
}

.historia-img-stack {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
}

.hist-img {
    position: static;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: none;
}

.hist-img-1 { height: 300px; }
.hist-img-2 { height: 210px; }

.historia-quote {
    border-left: 2px solid var(--gold);
    padding-left: 22px;
}

.historia-quote p {
    font-family: var(--font-head);
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: .012em;
    color: var(--blue-dark);
}

.historia-quote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: .64rem;
    letter-spacing: .04em;
    color: var(--muted);
    line-height: 1.8;
}

/* ---------- Nombre ---------- */
.nombre-section {
    background: var(--paper);
    padding: var(--pad-y) 0;
}

.nombre-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
}

.nombre-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 4vw, 56px) clamp(28px, 3vw, 44px) clamp(96px, 10vw, 132px);
    background: linear-gradient(165deg, #0a4664 0%, #0b5a7f 100%);
    color: var(--white);
    overflow: hidden;
}

.nombre-logo {
    width: 88px;
    height: 88px;
    padding: 7px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 183, 3, .85);
    margin-bottom: 24px;
    flex-shrink: 0;
}

.nombre-logo img { width: 100%; height: 100%; object-fit: cover; }

.nombre-visual-kicker {
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .04em;
    color: var(--aqua-light);
}

.nombre-visual-word {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: .02em;
    margin-top: 14px;
    color: var(--white);
}

.nombre-visual-line {
    width: 44px;
    height: 2px;
    background: var(--gold-light);
    margin: 22px 0 18px;
}

.nombre-visual-sub {
    font-size: .95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
    max-width: 26ch;
}

.nombre-waves {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
}

.nombre-text { padding: clamp(40px, 4.5vw, 60px); }

.nombre-text .section-tag { margin-bottom: 16px; }

.nombre-text h2 {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .012em;
    color: var(--blue-dark);
    margin-bottom: 18px;
}

.nombre-text h2 em { font-style: normal; color: var(--blue-pop); }

.nombre-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 62ch;
    margin-bottom: 24px;
}

.nombre-text strong { color: var(--ink); font-weight: 600; }

.nombre-text .nombre-tagline {
    font-family: var(--font-head);
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.25;
    letter-spacing: .012em;
    color: var(--blue-dark);
    background: transparent;
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 4px 0 4px 18px;
    margin-bottom: 0;
}

/* ---------- Banda fotográfica ---------- */
.banda {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.banda-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.banda-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 69, 100, .93) 0%, rgba(6, 69, 100, .74) 46%, rgba(6, 69, 100, .38) 100%),
        linear-gradient(0deg, rgba(6, 69, 100, .55) 0%, rgba(6, 69, 100, 0) 55%);
}

.banda-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 72px;
    padding-bottom: 72px;
}

.banda-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .04em;
    color: var(--aqua-light);
}

.banda-kicker::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--gold-light);
}

.banda-phrase {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4.6vw, 3.6rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.02;
    letter-spacing: .012em;
    max-width: 17ch;
    margin-top: 16px;
    text-wrap: balance;
}

.banda-note {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .88);
}

/* ---------- Marquee ---------- */
.marquee {
    overflow: hidden;
    background: var(--blue);
    color: var(--paper);
    padding: clamp(20px, 2.8vw, 34px) 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(1, 43, 65, .18);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: .55em;
    animation: marquee 30s linear infinite;
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4.6vw, 3.4rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .012em;
    white-space: nowrap;
}

.marquee-track span { padding-right: .55em; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Servicios ---------- */
.servicios-section { background: var(--sea); }

.servicios-carousel { position: relative; margin-bottom: 0; }

.servicios-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    padding-bottom: 4px;
}

.servicios-grid::-webkit-scrollbar { display: none; }

.srv-card {
    flex: 0 0 calc((100% - 40px) / 3);
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
    transition: var(--transition);
    overflow: hidden;
}

.srv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--ink);
}

.srv-card h3 {
    font-family: var(--font-body);
    font-size: 1.16rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.srv-card p {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 16px;
}

.srv-card ul { display: flex; flex-direction: column; gap: 6px; }

.srv-card ul li {
    position: relative;
    padding-left: 20px;
    font-size: .87rem;
    line-height: 1.55;
    color: var(--ink);
}

.srv-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--aqua);
}

.srv-card--soft { border-left: 3px solid var(--aqua); }

.srv-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.srv-index {
    display: block;
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .04em;
    color: var(--aqua-ink);
}

.srv-meta {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .04em;
    color: var(--muted);
    text-align: right;
}

.srv-card--featured .srv-index { color: var(--gold-light); }
.srv-card--featured .srv-meta { color: rgba(255, 255, 255, .82); }

.srv-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--ink);
    transition: var(--transition);
}

.srv-cta::after {
    content: '→';
    font-family: var(--font-body);
    font-size: .85rem;
    letter-spacing: 0;
}

.srv-cta:hover { color: var(--blue); }

.srv-card--featured .srv-cta {
    color: var(--white);
    border-top-color: rgba(255, 255, 255, .26);
}

.srv-card--featured .srv-cta:hover { color: var(--gold-light); }

.srv-card--featured {
    background: linear-gradient(150deg, #0b4a68 0%, #0077be 100%);
    color: var(--white);
    border-color: transparent;
}

.srv-card--featured:hover { border-color: transparent; box-shadow: var(--shadow-2); }

.srv-card.srv-card--featured h3 { color: var(--white); }
.srv-card.srv-card--featured p  { color: #ffffff; }
.srv-card.srv-card--featured li { color: #ffffff; }
.srv-card.srv-card--featured li::before { color: var(--gold-light); }

.srv-popular {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 6px 0;
    background: var(--sun);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}

.srv-card--featured { padding-top: 46px; }

.servicios-progress {
    margin-top: 16px;
    height: 5px;
    background: var(--line-soft);
    border-radius: var(--pill);
    overflow: hidden;
}

.servicios-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--aqua), var(--blue));
    border-radius: var(--pill);
    transform: scaleX(.08);
    transform-origin: left center;
    transition: transform .2s ease;
}

.servicios-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.servicios-counter {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .04em;
    color: var(--muted);
}

.servicios-counter strong {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: .012em;
    color: var(--blue-dark);
}

.servicios-arrows {
    display: flex;
    gap: 12px;
}

.carousel-btn {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: var(--white);
    border: 0;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 28px -14px rgba(0, 119, 190, .95);
    transition: var(--transition);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -14px rgba(6, 69, 100, .95);
}

.carousel-btn:active:not(:disabled) { transform: translateY(-1px); }

.carousel-btn:disabled {
    background: #e3e9ee;
    color: #9aa9b4;
    box-shadow: none;
    cursor: not-allowed;
}

/* ---------- Director ---------- */
.director-section {
    background: var(--sea);
    padding: var(--pad-y) 0;
}

.director-grid {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
}

.director-photo {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 14px 14px 16px;
    box-shadow: var(--shadow-1);
}

.director-photo-inner {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--white);
    box-shadow: none;
    border-radius: var(--radius);
}

.director-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
}

.director-creds {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.director-creds-label {
    display: block;
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .04em;
    color: var(--muted);
    margin-bottom: 9px;
}

.director-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.director-badges li {
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--blue-dark);
    background: #eaf7fc;
    border: 1px solid rgba(18, 169, 212, .35);
    border-radius: var(--pill);
    padding: 7px 14px;
    line-height: 1.4;
}

.director-info .section-tag { margin-bottom: 16px; }

.director-info h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .98;
    letter-spacing: .012em;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

.director-info p {
    font-size: .99rem;
    line-height: 1.85;
    color: var(--muted);
    max-width: 66ch;
    margin-bottom: 16px;
}

.director-info p strong { color: var(--ink); font-weight: 600; }

/* ---------- Campeonatos ---------- */
.campeonatos-section { background: var(--paper); }

.logros-hero {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    background: linear-gradient(135deg, #0a4664 0%, #0b5a7f 100%);
    color: var(--white);
    border: 0;
    border-radius: var(--radius-lg);
    padding: clamp(32px, 4vw, 52px);
    margin-bottom: clamp(40px, 5vw, 64px);
}

.logros-hero-icon {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .02em;
    text-align: center;
    color: var(--gold-light);
}

.logros-hero-content h3 {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.04;
    letter-spacing: .012em;
    color: var(--white);
    margin-bottom: 8px;
}

.logros-hero-content h4 {
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--aqua-light);
    margin-bottom: 18px;
}

.logros-hero-content p {
    font-size: .97rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .88);
    max-width: 72ch;
}

.logros-hero-tag {
    display: inline-block;
    margin-top: 22px;
    padding: 8px 14px;
    border: 1px solid rgba(240, 185, 80, .55);
    color: var(--gold-light);
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .04em;

}

.logros-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
}

.logro-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 28px;
    text-align: left;
    box-shadow: var(--shadow-1);
    transition: var(--transition);
}

.logro-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    background: var(--white);
}

.logro-num {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .012em;
    color: var(--blue-pop);
    margin-bottom: 14px;
}

.logro-card h4 {
    font-size: .96rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.logro-card p {
    font-size: .89rem;
    line-height: 1.65;
    color: var(--muted);
}

/* ---------- Por qué elegirnos ---------- */
.razones-section { background: var(--paper); }

.razones-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 3.4vw, 48px);
}

.razon {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 28px;
    box-shadow: var(--shadow-1);
    transition: var(--transition);
}

.razon:hover {
    transform: translateY(-4px);
    border-color: var(--aqua);
    box-shadow: var(--shadow-2);
}

.razon-index {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .012em;
    color: var(--blue-pop);
    margin-bottom: 14px;
}

.razon h3 {
    font-family: var(--font-body);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.razon p {
    font-size: .94rem;
    line-height: 1.75;
    color: var(--muted);
}

.razon.razon--featured {
    background: linear-gradient(150deg, #0a4664 0%, #0b5a7f 100%);
    border-color: transparent;
    box-shadow: var(--shadow-2);
}

.razon--featured .razon-index { color: var(--gold-light); }
.razon--featured h3 { color: var(--white); }
.razon--featured p  { color: rgba(255, 255, 255, .90); }

.razon.razon--featured:hover { border-color: transparent; }

/* Ritmo escalonado para que la rejilla no se vea plana */
@media (min-width: 1025px) {
    .razones-grid .razon:nth-child(even) { margin-top: 30px; }
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--sea); }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 8px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.005em;
    color: var(--blue-dark);
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary:hover { color: var(--blue); }

.faq-index {
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .04em;
    color: var(--aqua-ink);
}

.faq-item summary::after {
    content: '+';
    justify-self: end;
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    color: var(--gold);
    transition: color var(--transition);
}

.faq-item[open] summary::after { content: '–'; }

.faq-body {
    padding: 0 0 26px 64px;
    max-width: 84ch;
}

.faq-body p {
    font-size: .98rem;
    line-height: 1.8;
    color: var(--muted);
}

.ci-cta { margin-bottom: 26px; }

/* ---------- Contacto ---------- */
.contacto-section { background: var(--paper); }

.contacto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--gap);
    align-items: start;
}

.contacto-info h3 {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: .012em;
    color: var(--blue-dark);
    margin-bottom: 20px;
}

.ci-item {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}

.ci-item > div {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ci-item strong {
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--muted);
    padding-top: 4px;
}

.ci-item p {
    font-size: .97rem;
    line-height: 1.6;
    color: var(--ink);
}

.ci-item small { display: block; font-size: .84rem; color: var(--muted); }

.ci-item a { border-bottom: 1px solid var(--line); transition: var(--transition); }
.ci-item a:hover { color: var(--blue); border-bottom-color: var(--blue); }

.ci-socials {
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

.ci-social {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--blue);
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: var(--transition);
}

.ci-social:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -14px rgba(0, 119, 190, .9);
}

.ci-social--wa:hover { background: var(--aqua-ink); border-color: var(--aqua-ink); }

.ci-map iframe {
    display: block;
    width: 100%;
    height: 230px;
    border: 0;
    outline: 1px solid var(--line);
    outline-offset: -1px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .04em;
    color: var(--aqua-ink);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.map-link span {
    font-family: var(--font-body);
    font-size: .9rem;
    line-height: 1;
    transition: transform var(--transition);
}

.map-link:hover {
    color: var(--blue);
    border-bottom-color: var(--aqua);
}

.map-link:hover span { transform: translateX(4px); }

.contacto-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3vw, 40px);
    box-shadow: var(--shadow-1);
}

.contacto-form h3 {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: .012em;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--muted);
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: .96rem;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #8b96a0; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(18, 169, 212, .22);
}

.form-group textarea { resize: vertical; min-height: 104px; }

.form-note {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .04em;
    color: var(--muted);
    text-align: left;
}

.form-success { text-align: left; padding: 24px 0; }

.form-success h4 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: .012em;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .74);
    padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(32px, 4vw, 44px);
    border-bottom: 1px solid var(--line-inv);
}

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

.footer-logo img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 1px solid var(--line-inv);
}

.footer-logo span {
    font-family: var(--font-head);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: .03em;
}

.footer-brand p {
    font-size: .92rem;
    line-height: 1.8;
    max-width: 42ch;
}

.footer-slogan {
    font-family: var(--font-head) !important;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1.25;
    letter-spacing: .012em;
    color: var(--gold-light) !important;
    margin-top: 16px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--aqua-light);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-inv);
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255, 255, 255, .80);
    font-size: .92rem;
    transition: color .2s ease;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-services ul li {
    color: rgba(255, 255, 255, .80);
    font-size: .92rem;
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
}

.footer-services ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, .45);
}

.footer-contact p { font-size: .92rem; margin-bottom: 10px; }

.footer-contact a { color: rgba(255, 255, 255, .80); border-bottom: 1px solid transparent; transition: color .2s ease; }
.footer-contact a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .74);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1fbf5f;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(16, 28, 37, .28);
    z-index: 800;
    transition: var(--transition);
}

.wa-float:hover {
    transform: translateY(-3px);
    background: #17a952;
    box-shadow: 0 14px 30px rgba(16, 28, 37, .34);
}

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

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

/* ---------- Animaciones ---------- */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .historia-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .historia-aside { position: static; }

    .director-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .director-photo { max-width: 440px; }

    .nombre-card { grid-template-columns: minmax(0, 1fr); }
    .nombre-visual { padding: 44px 36px 110px; }
    .nombre-waves { height: 100px; }

    .contacto-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }

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

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

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

    .srv-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 6px clamp(20px, 4vw, 48px) 22px;
        transform: translateY(-130%);
        transition: transform .32s ease;
        box-shadow: var(--shadow-2);
    }

    .nav-links.open { transform: translateY(0); }

    .nav-links li { border-bottom: 1px solid var(--line-soft); }
    .nav-links li:last-child { border-bottom: 0; padding-top: 14px; }

    .nav-links a { display: block; padding: 15px 0; font-size: .78rem; }
    .nav-links .cta-btn { text-align: center; padding: 15px 20px; }

    .mobile-menu-btn { display: flex; }

    .section-header { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
    .section-header .section-tag,
    .section-title,
    .section-sub { grid-column: 1; }
    .section-sub { margin-bottom: 0; }

    .hero { min-height: max(560px, 100svh); }
    .hero-content { padding-top: 96px; padding-bottom: 74px; }
    .hero-scroll { display: none; }
    .hero-wave { height: 46px; }

    .banda { min-height: 300px; }
    .banda-content { padding-top: 56px; padding-bottom: 56px; }

    .hero-stats { margin-top: 34px; }
    .hero-stat strong { font-size: 1.15rem; }

    .faq-item summary { grid-template-columns: 44px minmax(0, 1fr) 26px; padding: 18px 0; }
    .faq-body { padding-left: 52px; }

    .logros-hero { grid-template-columns: minmax(0, 1fr); text-align: left; gap: 20px; }
    .logros-hero-icon { text-align: left; }

    .ci-item > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }

    .form-row { grid-template-columns: minmax(0, 1fr); }

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

    .srv-card { flex-basis: 100%; }

    .hist-img-1 { height: 260px; }
    .hist-img-2 { height: 190px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(2.6rem, 13vw, 3.4rem); }
    .hero-buttons .btn { width: 100%; }

    .banda-phrase { font-size: 1.55rem; }
    .banda-phrase { max-width: none; }

    .hero-stats { display: block; }
    .hero-stat {
        width: 100%;
        border-right: 0;
        margin-right: 0;
        padding-right: 0;
        padding-bottom: 14px;
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, .20);
    }
    .hero-stat:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

    .razones-grid { grid-template-columns: minmax(0, 1fr); }

    .faq-item summary { grid-template-columns: 34px minmax(0, 1fr) 22px; font-size: 1.02rem; }
    .faq-body { padding-left: 42px; }

    .logros-grid { grid-template-columns: minmax(0, 1fr); }

    .srv-card { flex-basis: 100%; padding: 24px 20px 22px; }

    .nombre-section { padding: 56px 0; }
    .nombre-visual { padding: 36px 28px 96px; }
    .nombre-waves { height: 84px; }
    .nombre-visual-word { font-size: 2.1rem; }
    .nombre-text { padding: 34px 26px; }

    .tl-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .tl-card { grid-column: 1; }

    .footer-grid { grid-template-columns: minmax(0, 1fr); }

    .director-badges li { font-size: .58rem; padding: 6px 9px; }
}

/* Accesibilidad: respeta la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
