/* ════════════════════════════════════════════════════════════
   ADRIANA CRUZ MONAREZ — v3
   Identidad real: #004664 · Times serif + Montserrat
   Basado en los mockups web_ACM_080925 · Motion GSAP
   ════════════════════════════════════════════════════════════ */

:root {
  --azul: #004664;
  --azul-osc: #00344b;
  --azul-tinte: #eaf1f5;
  --blanco: #ffffff;
  --hueso: #f6f7f8;
  --gris: #e8eaec;
  --ink: #16222b;
  --muted: rgba(22, 34, 43, 0.6);
  --muted-azul: rgba(255, 255, 255, 0.72);
  --line: rgba(22, 34, 43, 0.12);
  --line-azul: rgba(255, 255, 255, 0.18);
  --dorado: #b98e2f;
  --serif: "Times New Roman", Times, Georgia, serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(0.65, 0.01, 0.05, 0.99);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--blanco);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--azul); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ── Cursor custom (desktop) ── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--azul);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.25s;
  mix-blend-mode: multiply;
  opacity: 0;
}
.cursor-dot.on { opacity: 0.85; }
.cursor-dot.grow { width: 52px; height: 52px; opacity: 0.18; }
@media (hover: none), (max-width: 860px) { .cursor-dot { display: none; } }

/* ════════ TIPOGRAFÍA ════════ */

.display {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
h1.display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2.display { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.08; }

.it { font-style: italic; }
.acc { color: var(--azul); }
.on-azul .acc { color: #9cc4d8; }

h3 { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.25; }

.lead {
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 58ch;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--azul);
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--azul); }
.kicker.center::before { display: none; }

/* ════════ HEADER ════════ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.scrolled .site-header, .site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0, 52, 75, 0.07); }

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-drop > a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 14px;
  position: relative;
  transition: color 0.25s;
}
.nav > a::after, .nav-drop > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav > a:hover, .nav-drop > a:hover { color: var(--azul); }
.nav > a:hover::after, .nav > a.active::after, .nav-drop > a:hover::after, .nav-drop > a.active::after { transform: scaleX(1); }
.nav > a.active, .nav-drop > a.active { color: var(--azul); }

.nav .nav-cta {
  margin-left: 12px;
  background: var(--azul);
  color: #fff;
  padding: 13px 24px;
  border-radius: 6px;
  transition: background 0.25s, transform 0.2s;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--azul-osc); color: #fff; transform: translateY(-1px); }

.nav-drop { position: relative; }
.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 24px 60px rgba(0, 52, 75, 0.16);
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a { display: block; padding: 12px 14px; border-radius: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ink); transition: background 0.2s, color 0.2s; }
.drop-menu a:hover { background: var(--azul-tinte); color: var(--azul); }
.drop-menu a span { display: block; font-size: 0.74rem; font-weight: 400; color: var(--muted); margin-top: 2px; text-transform: none; letter-spacing: 0; }

.menu-btn { display: none; }

/* ════════ HERO HOME ════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  color: #fff;
}
.hero .hero-bg {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
}
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(0, 26, 38, 0.82) 0%, rgba(0, 38, 56, 0.55) 48%, rgba(0, 38, 56, 0.18) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 150px 0 110px; }
.hero .kicker { color: #fff; margin-bottom: 26px; }
.hero .kicker::before { background: #fff; }
.hero h1 { max-width: 15ch; text-shadow: 0 4px 40px rgba(0, 26, 38, 0.4); }
.hero .lead { color: rgba(255, 255, 255, 0.85); margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── Marquee ── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  background: var(--blanco);
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul);
  white-space: nowrap;
}
.marquee span i { font-style: normal; color: var(--dorado); font-size: 0.72em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ════════ SECCIONES ════════ */

section { position: relative; }
.sec { padding: clamp(76px, 12vh, 140px) 0; }
.sec-hueso { background: var(--hueso); }
.sec-azul { background: var(--azul); color: #fff; }
.sec-azul .kicker { color: #fff; }
.sec-azul .kicker::before { background: #fff; }
.sec-azul .lead { color: var(--muted-azul); }

.sec-head { max-width: 860px; margin-bottom: clamp(38px, 6vh, 70px); }
.sec-head .kicker { margin-bottom: 20px; }
.sec-head .lead { margin-top: 20px; }

/* Card flotante (misión sobre hero, estilo mockup) */
.float-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px rgba(0, 52, 75, 0.16);
  padding: clamp(30px, 4vw, 56px);
  max-width: 880px;
  margin: -90px auto 0;
  position: relative;
  z-index: 5;
  border-top: 4px solid var(--azul);
}
.float-card .kicker { margin-bottom: 16px; }
.float-card h2 { margin-bottom: 14px; }
.float-card p { color: var(--muted); }

/* ════════ CARDS DE SERVICIOS (home) ════════ */

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 3vw, 42px);
  color: #fff;
  isolation: isolate;
}
.svc-card .bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}
.svc-card:hover .bg { transform: scale(1.09); }
.svc-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(0, 38, 56, 0.05) 25%, rgba(0, 38, 56, 0.88) 85%);
}
.svc-card .tag {
  position: absolute;
  top: 20px; left: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.svc-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); max-width: 20ch; }
.svc-card p { margin-top: 12px; font-size: 0.93rem; color: rgba(255, 255, 255, 0.82); max-width: 52ch; }
.svc-card .b-arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--azul);
  font-size: 1.1rem;
  transform: rotate(-45deg);
  transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s;
}
.svc-card:hover .b-arrow { transform: rotate(0); background: var(--azul); color: #fff; }

/* banda ancha (socios home) */
.band-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
  background: var(--hueso);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.band-card:hover { border-color: var(--azul); transform: translateY(-3px); box-shadow: 0 22px 50px rgba(0, 52, 75, 0.1); }
.band-card h3 { margin-top: 10px; }
.band-card p { color: var(--muted); margin-top: 8px; font-size: 0.93rem; max-width: 60ch; }
.band-card .b-arrow {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--azul);
  color: #fff;
  font-size: 1.1rem;
  transform: rotate(-45deg);
  transition: transform 0.45s var(--ease-out);
}
.band-card:hover .b-arrow { transform: rotate(0); }

/* ════════ SPLIT ════════ */

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.split .sticky { position: sticky; top: 120px; }
.split .body p { color: var(--muted); font-size: clamp(0.95rem, 1.2vw, 1.05rem); line-height: 1.8; }
.split .body p strong { color: var(--ink); font-weight: 600; }
.split .body p + p { margin-top: 20px; }
.sec-azul .split .body p { color: var(--muted-azul); }
.sec-azul .split .body p strong { color: #fff; }

.img-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 52, 75, 0.18);
}
.img-frame.landscape { aspect-ratio: 4 / 3; }
.img-frame img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }

.img-stack { display: grid; gap: 18px; }

/* ════════ ROWS (principios / formación) ════════ */

.rows { border-top: 1px solid var(--line); }
.sec-azul .rows { border-color: var(--line-azul); }
.row-item {
  display: grid;
  grid-template-columns: 86px 1fr 1.1fr;
  gap: clamp(18px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(24px, 4vh, 40px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.45s var(--ease-out);
}
.sec-azul .row-item { border-color: var(--line-azul); }
.row-item:hover { padding-left: 14px; }
.row-item::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 0;
  background: var(--azul);
  transition: width 0.6s var(--ease);
}
.sec-azul .row-item::before { background: #fff; }
.row-item:hover::before { width: 100%; }
.row-item .idx { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--azul); }
.sec-azul .row-item .idx { color: #9cc4d8; }
.row-item h3 { font-size: clamp(1.3rem, 2.3vw, 1.8rem); }
.row-item p { color: var(--muted); font-size: 0.94rem; max-width: 54ch; }
.sec-azul .row-item p { color: var(--muted-azul); }

/* ════════ LISTA DE SERVICIOS DETALLADA ════════ */

.svc-blocks { display: grid; gap: 14px; }
.svc-block {
  border: 1px solid var(--line);
  border-left: 4px solid var(--azul);
  border-radius: var(--r-md);
  background: #fff;
  padding: clamp(24px, 3vw, 38px);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.svc-block:hover { box-shadow: 0 24px 56px rgba(0, 52, 75, 0.1); transform: translateY(-3px); }
.svc-block .num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--dorado); display: block; margin-bottom: 8px; }
.svc-block h3 { color: var(--azul); }
.svc-block .desc { color: var(--muted); font-size: 0.94rem; margin-top: 10px; max-width: 70ch; }
.svc-block ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.svc-block li {
  position: relative;
  padding-left: 26px;
  font-size: 0.93rem;
  color: var(--ink);
}
.svc-block li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 2px;
  background: var(--azul);
}

/* checklist simple (entretenimiento) */
.check-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.check-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.check-list li .n { font-family: var(--serif); font-style: italic; color: var(--azul); }

/* ════════ QUOTE ════════ */

.quote-sec { padding: clamp(80px, 14vh, 170px) 0; text-align: center; overflow: clip; }
.quote-sec blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 3.3rem);
  line-height: 1.22;
  max-width: 26ch;
  margin: 0 auto;
  color: var(--azul);
}
.quote-sec.sec-azul blockquote, .sec-azul .quote-sec blockquote, .quote-sec.on-azul blockquote { color: #fff; text-shadow: 0 2px 24px rgba(0, 26, 38, 0.5); }
.quote-sec.sec-azul .attribution { color: rgba(255, 255, 255, 0.75); }
.quote-sec blockquote .w { opacity: 0.15; display: inline-block; }
.quote-sec blockquote .w.on { opacity: 1; }
.quote-sec .attribution { margin-top: 26px; font-family: var(--sans); font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

/* ════════ BOTONES ════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s, transform 0.2s;
  will-change: transform;
}
.btn .label { position: relative; z-index: 2; }
.btn .dot { position: relative; z-index: 2; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform 0.35s var(--ease-out); }
.btn:hover .dot { transform: scale(1.7); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--azul-osc);
  transform: translateY(102%);
  transition: transform 0.45s var(--ease);
  z-index: 1;
}
.btn:hover::before { transform: translateY(0); }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { color: #fff; }
.btn-blanco { background: #fff; color: var(--azul); }
.btn-blanco::before { background: var(--azul); }
.btn-blanco:hover { color: #fff; }
.btn-line { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-line::before { background: #fff; }
.btn-line:hover { color: var(--azul); border-color: #fff; }
.btn-line-dark { border-color: var(--azul); color: var(--azul); }
.btn-line-dark::before { background: var(--azul); }
.btn-line-dark:hover { color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azul); }
.link-arrow .a { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .a { transform: translateX(6px); }

/* ════════ PAGE HERO (internas, banner foto) ════════ */

.page-hero {
  position: relative;
  min-height: clamp(380px, 52vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  color: #fff;
  padding-top: 86px;
}
.page-hero .hero-bg { position: absolute; inset: -10% 0; z-index: 0; }
.page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 26, 38, 0.35) 0%, rgba(0, 38, 56, 0.78) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vh, 70px); }
.page-hero .kicker { color: #fff; margin-bottom: 18px; }
.page-hero .kicker::before { background: #fff; }
.page-hero h1 { max-width: 18ch; text-shadow: 0 4px 36px rgba(0, 26, 38, 0.45); }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); margin-top: 18px; }

/* ════════ STATS ════════ */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
  text-align: left;
}
.stat .n { font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 700; line-height: 1; color: var(--azul); display: flex; align-items: baseline; gap: 4px; }
.stat .n .suf { font-style: italic; font-size: 0.5em; color: var(--dorado); }
.stat .l { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

/* ════════ SOCIOS ════════ */

.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(0, 52, 75, 0.12); border-color: var(--azul); }
.partner-logo { height: 110px; display: grid; place-items: center; }
.partner-logo img { max-height: 110px; max-width: 200px; object-fit: contain; }
.partner-card .name { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.partner-card .desc { font-size: 0.88rem; color: var(--muted); }

/* logos tipográficos recreados */
.logo-vila {
  width: 120px; height: 110px;
  background: #b5193c;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--serif);
}
.logo-vila .v { font-size: 2rem; letter-spacing: 0.28em; text-indent: 0.28em; }
.logo-vila .s { font-size: 0.5rem; letter-spacing: 0.3em; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,0.6); padding-top: 6px; }
.logo-sindicato {
  width: 120px; height: 110px;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
}
.logo-sindicato .s1 { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; }
.logo-sindicato .s1 b { color: #e33; }
.logo-sindicato .s2 { font-size: 0.62rem; letter-spacing: 0.24em; color: rgba(255,255,255,0.7); }

/* ════════ ARTÍCULOS ════════ */

.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.art-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.art-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0, 52, 75, 0.12); }
.art-card .art-img { aspect-ratio: 16 / 10; overflow: hidden; }
.art-card .art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.art-card:hover .art-img img { transform: scale(1.07); }
.art-card .art-body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.art-card .tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dorado); }
.art-card h3 { margin-top: 12px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--azul); }
.art-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.art-card .soon { margin-top: auto; padding-top: 18px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ════════ CTA FINAL ════════ */

.cta-final {
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: clamp(90px, 16vh, 180px) 0;
  position: relative;
  overflow: clip;
}
.cta-final::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -45%;
  width: 90vw; height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1), transparent 60%);
  pointer-events: none;
}
.cta-final h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); max-width: 18ch; margin: 0 auto; }
.cta-final .lead { color: var(--muted-azul); margin: 24px auto 0; }
.cta-final .btn { margin-top: 40px; }

/* ════════ FORM / CONTACTO ════════ */

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }

.c-info { display: grid; gap: 4px; }
.c-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.c-item .k { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--azul); display: block; margin-bottom: 7px; }
.c-item p, .c-item a { font-size: 1rem; font-weight: 500; color: var(--ink); }
.c-item a:hover { color: var(--azul); }
.c-item .sub { font-size: 0.86rem; font-weight: 400; color: var(--muted); margin-top: 4px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--azul);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.6vw, 50px);
  box-shadow: 0 30px 80px rgba(0, 52, 75, 0.1);
}
.form-card h3 { color: var(--azul); font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.form-card .form-sub { color: var(--muted); font-size: 0.92rem; margin: 10px 0 30px; }

.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lf { display: flex; flex-direction: column; gap: 8px; }
.lf.full { grid-column: 1 / -1; }
.lf label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.lf .req { color: var(--azul); }
.lf input, .lf select, .lf textarea {
  background: var(--hueso);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
  appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.lf select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23004664' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.lf textarea { min-height: 130px; resize: vertical; }
.lf input:focus, .lf select:focus, .lf textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(0, 70, 100, 0.14);
}
.lf input.err, .lf textarea.err { border-color: #c2503f; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--azul); flex: none; }
.consent a { color: var(--azul); text-decoration: underline; text-underline-offset: 3px; }

.form-status { margin-top: 18px; font-size: 0.92rem; display: none; padding: 14px 16px; border-radius: 8px; }
.form-status.ok { display: block; background: rgba(76, 130, 66, 0.1); border: 1px solid rgba(76, 130, 66, 0.35); color: #3c6e34; }
.form-status.fail { display: block; background: rgba(194, 80, 63, 0.08); border: 1px solid rgba(194, 80, 63, 0.35); color: #a33f30; }

/* ════════ FOOTER ════════ */

.site-footer { background: var(--azul); color: #fff; padding: clamp(60px, 9vh, 100px) 0 30px; position: relative; overflow: clip; }
.footer-cta { margin-bottom: clamp(46px, 8vh, 80px); }
.footer-cta .k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-azul); display: block; margin-bottom: 14px; }
.footer-cta a.big {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 6.6rem);
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  color: #fff;
  transition: color 0.35s;
}
.footer-cta a.big .arr { font-size: 0.5em; transform: rotate(-45deg); transition: transform 0.45s var(--ease-out); display: inline-block; }
.footer-cta a.big:hover { color: #9cc4d8; }
.footer-cta a.big:hover .arr { transform: rotate(0); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding-top: 46px;
  border-top: 1px solid var(--line-azul);
}
.footer-grid .f-about img { height: 52px; width: auto; }
.footer-grid .f-about p { color: var(--muted-azul); font-size: 0.9rem; margin-top: 16px; max-width: 38ch; }
.footer-grid h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: #9cc4d8; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 11px; }
.footer-grid ul a { color: var(--muted-azul); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.footer-grid ul a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-azul);
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s;
}
.socials a:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.socials svg { width: 16px; height: 16px; fill: #fff; }

.footer-bottom {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line-azul);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--muted-azul);
}
.footer-bottom a:hover { color: #fff; }

/* ════════ REVEALS ════════ */

.fade-up { opacity: 0; transform: translateY(34px); }
.no-gsap .fade-up { transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.no-gsap .fade-up.in, .fade-up.in { opacity: 1; transform: none; }
.sr .w { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .hero-scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ════════ RESPONSIVE ════════ */

@media (max-width: 1020px) {
  .partners, .art-grid, .stats { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 860px) {
  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: var(--azul-tinte);
    border: 1px solid var(--line);
    cursor: pointer;
    z-index: 210;
    position: relative;
  }
  .menu-btn span { display: block; width: 16px; height: 2px; background: var(--azul); margin: 2.5px 0; transition: transform 0.3s var(--ease-out), opacity 0.3s; }
  .menu-btn.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s;
    z-index: 200;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav > a, .nav-drop > a { font-size: 1.15rem; letter-spacing: 0.08em; }
  .nav .nav-cta { margin: 18px 0 0; }
  .nav-drop { display: contents; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: none; box-shadow: none; padding: 0; min-width: 0; text-align: center; }
  .drop-menu a { font-size: 0.95rem; color: var(--muted); }
  .drop-menu a span { display: none; }

  .header-inner { height: 72px; }
  .brand img { height: 38px; }

  .hero-inner { padding: 130px 0 90px; }
  .float-card { margin-top: -60px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 360px; }
  .split { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
  .img-frame { aspect-ratio: 16 / 11; }
  .row-item { grid-template-columns: 1fr; gap: 6px; }
  .row-item .idx { font-size: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .partners, .art-grid, .stats { grid-template-columns: 1fr !important; }
  .band-card { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .check-list li { grid-template-columns: 40px 1fr; }
}

/* ════════ ACCESIBILIDAD ════════ */
/* Skip link: salta al contenido (visible solo con teclado) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--azul);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

/* Foco visible para navegación por teclado (no afecta clic de ratón) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Sobre fondo azul, el foco va en blanco para contraste */
.sec-azul a:focus-visible,
.cta-final a:focus-visible,
.site-footer a:focus-visible,
.hero a:focus-visible {
  outline-color: #fff;
}

/* Refuerzo reduced-motion: desactiva todas las animaciones/parallax */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-parallax], .hero-bg { transform: none !important; }
}

/* ════════ BOTÓN FLOTANTE WHATSAPP ════════ */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 18px 13px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 34px rgba(37, 211, 102, 0.4); }
.wa-float svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 560px) {
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
}
