/* ============================================================
   VEP Asesoría Integral — hoja de estilos
   Sistema: azul de marca como acento principal, verde como
   acento secundario/decorativo (fiel al isologo existente).
   ============================================================ */

:root {
  /* Marca */
  --blue-900: #0c2e49;
  --blue-800: #113d61;
  --blue-700: #154f7d;
  --blue-600: #1c67a3;
  --blue-500: #2b7fc2;
  --blue-100: #dfeaf4;
  --green-600: #4b8f2f;
  --green-500: #67ab3f;
  --green-300: #a9d68a;

  /* Neutros */
  --paper-0: #fbfbf9;
  --paper-50: #f4f5f2;
  --paper-100: #ecefe9;
  --line: #dfe3dc;
  --ink-950: #131a17;
  --ink-800: #2a332e;
  --muted: #5c6960;

  /* Superficies */
  --surface: var(--paper-0);
  --surface-raised: #ffffff;
  --text: var(--ink-950);
  --text-muted: var(--muted);
  --border: var(--line);
  --accent: var(--blue-600);
  --accent-strong: var(--blue-700);
  --accent-contrast: #ffffff;
  --shadow-color: 200 20% 40%;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --max-w: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0f1512;
    --surface-raised: #161e1a;
    --text: #eef1ec;
    --text-muted: #a7b3ac;
    --border: #263029;
    --accent: #5ea1d6;
    --accent-strong: #7fb6e2;
    --accent-contrast: #0c2e49;
    --paper-50: #131a16;
    --paper-100: #182019;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Textura sutil, fija, no interactiva */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .wrap { padding-inline: 32px; }
}

section {
  padding-block: 72px;
  position: relative;
}

@media (min-width: 1024px) {
  section { padding-block: 100px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
  flex-shrink: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent-strong);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 10px 22px -12px hsl(var(--shadow-color) / 0.55);
}

.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px hsl(var(--shadow-color) / 0.55);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 10px 30px -20px hsl(var(--shadow-color) / 0.5);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
  transition: height 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-sub {
  display: none;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .brand-sub { display: block; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease;
  padding-block: 4px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

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

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

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-menu.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu .wrap {
  display: flex;
  flex-direction: column;
  padding-block: 18px;
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin-top: 14px;
  justify-content: center;
}

/* ---------- Ticker de servicios ---------- */
.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-700) 55%, var(--blue-900));
  border-bottom: 1px solid var(--border);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 34s linear infinite;
}

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

.ticker-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-block: 13px;
}

.ticker-set span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eaf2fb;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding-inline: 16px;
  white-space: nowrap;
}

.ticker-set span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-300);
  flex-shrink: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 48px 64px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero { padding-block: 64px 88px; }
}

.hero-bg-blob {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 620px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(420px 320px at 18% 18%, hsl(205 70% 55% / 0.16), transparent 70%),
    radial-gradient(360px 280px at 82% 8%, hsl(102 45% 45% / 0.14), transparent 70%);
  filter: blur(10px);
  animation: blob-drift 16s ease-in-out infinite alternate;
}

@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-2%, 3%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-blob { animation: none; }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.4rem);
  font-weight: 800;
  max-width: 20ch;
}

.hero-copy .lede {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}

.hero-visual .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px hsl(var(--shadow-color) / 0.35);
  transform: rotateY(calc(var(--tx, 0) * 1deg)) rotateX(calc(var(--ty, 0) * -1deg));
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.hero-visual img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
  .hero-visual .frame { transform: none; }
}

.hero-badge {
  position: absolute;
  left: -14px;
  bottom: -22px;
  background: color-mix(in srgb, var(--surface-raised) 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 18px 40px -20px hsl(var(--shadow-color) / 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 230px;
}

@media (max-width: 480px) {
  .hero-badge { left: 8px; bottom: -18px; padding: 12px 16px; }
}

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-strong);
  line-height: 1;
}

.hero-badge span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-50);
  padding-block: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: left;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-strong);
  background: linear-gradient(135deg, var(--accent-strong), var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 22ch;
}

/* ---------- Bento servicios ---------- */
.bento {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .bento {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
  }
  .bento .card-servicio.is-tall {
    grid-row: 1 / 3;
  }
}

.card-servicio {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card-servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -24px hsl(var(--shadow-color) / 0.5);
}

.card-servicio img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}

.card-servicio::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, hsl(200 30% 8% / 0.05) 0%, hsl(200 40% 6% / 0.86) 100%);
}

.card-servicio:hover img {
  transform: scale(1.06);
}

.card-servicio-body {
  padding: 28px;
  color: #ffffff;
}

.card-servicio.is-tall .card-servicio-body {
  padding: 40px;
}

.card-servicio h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.card-servicio.is-tall h3 {
  font-size: 1.9rem;
}

.card-servicio p {
  margin-top: 10px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 42ch;
}

.card-servicio .btn {
  margin-top: 18px;
}

.badge-live {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: color-mix(in srgb, #0c2e49 55%, transparent);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 13px 7px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 0 0 rgba(169, 214, 138, 0.6);
  animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(169, 214, 138, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(169, 214, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(169, 214, 138, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .badge-live::before { animation: none; }
}

/* Cards de servicio con ícono (sin foto) */
.card-icon-servicio {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(150deg, var(--blue-900), var(--blue-700) 120%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card-icon-servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -24px hsl(var(--shadow-color) / 0.5);
}

.card-icon-servicio .svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease);
}

.card-icon-servicio:hover .svc-icon {
  transform: scale(1.08) rotate(-4deg);
}

.card-icon-servicio .svc-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-300);
}

.card-icon-servicio h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.card-icon-servicio p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* ---------- Galería del espacio ---------- */
.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 170px;
}

.gallery .g-e {
  grid-column: 1 / 3;
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery .g-hero { grid-column: 1 / 3; grid-row: 1; height: 360px; }
  .gallery .g-b { grid-column: 3; grid-row: 1; height: 360px; }
  .gallery .g-c { grid-column: 1; grid-row: 2; height: 220px; }
  .gallery .g-d { grid-column: 2; grid-row: 2; height: 220px; }
  .gallery .g-e { grid-column: 3; grid-row: 2; height: 220px; }
}

.gallery-cell {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  isolation: isolate;
  transition: box-shadow 0.35s var(--ease);
}

.gallery-cell:hover {
  box-shadow: 0 24px 44px -22px hsl(var(--shadow-color) / 0.55);
  z-index: 2;
}

.gallery-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-cell:hover img {
  transform: scale(1.08);
}

.gallery-cell .g-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, hsl(200 40% 6% / 0.82));
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}

.gallery-cell:hover .g-cap {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-cell { transform: none !important; }
}

@media (hover: none) {
  .gallery-cell .g-cap { transform: translateY(0); }
}

/* ---------- Cómo trabajamos ---------- */
.steps {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--green-500));
    opacity: 0.35;
    z-index: 0;
  }
}

.step {
  position: relative;
  z-index: 1;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--surface-raised);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.step:hover .step-num {
  transform: translateY(-4px);
  border-color: var(--accent-strong);
}

.step-num svg {
  width: 24px;
  height: 24px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.step p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Vencimientos ---------- */
.venc-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .venc-grid { grid-template-columns: repeat(3, 1fr); }
}

.venc-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.venc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px -24px hsl(var(--shadow-color) / 0.45);
}

.venc-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.venc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
  .venc-icon { background: rgba(94, 161, 214, 0.18); }
}

.venc-icon svg {
  width: 19px;
  height: 19px;
}

.venc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.venc-card .venc-org {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.venc-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.venc-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.venc-item .name {
  font-size: 0.92rem;
  font-weight: 600;
}

.venc-item .days {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-strong);
  white-space: nowrap;
}

.venc-note {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 20px;
}

/* ---------- Equipo ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

.team-card {
  position: relative;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px -22px hsl(var(--shadow-color) / 0.5);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--blue-600), var(--green-500));
  transition: transform 0.3s var(--ease);
}

.team-card:hover .avatar {
  transform: scale(1.08);
}

.team-card h3 {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 700;
}

.team-role {
  font-size: 0.8rem;
  color: var(--accent-strong);
  font-weight: 600;
  margin-top: 2px;
}

.team-desc {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Diferenciales ---------- */
.dif-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
}

.dif-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--paper-50);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s var(--ease);
}

.dif-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-strong);
  box-shadow: 0 20px 36px -24px hsl(var(--shadow-color) / 0.4);
}

.dif-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}

.dif-item:hover .dif-icon {
  transform: scale(1.1) rotate(-4deg);
}

@media (prefers-color-scheme: dark) {
  .dif-icon { background: rgba(94, 161, 214, 0.18); }
}

.dif-icon svg {
  width: 22px;
  height: 22px;
}

.dif-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.dif-item p {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Zona ---------- */
.zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.zone-pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.zone-pill:hover {
  transform: translateY(-3px);
  border-color: var(--accent-strong);
}

.zone-pill.is-main {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-inline: -8px;
  transition: background 0.25s ease;
}

.contact-row:hover {
  background: var(--paper-50);
}

.contact-row .dif-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.contact-row .dif-icon svg {
  width: 18px;
  height: 18px;
}

.contact-row a {
  text-decoration: none;
  font-weight: 600;
}

.contact-row a:hover {
  color: var(--accent-strong);
}

.contact-row .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-row .value {
  font-size: 0.98rem;
  margin-top: 2px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700) 45%, var(--blue-800) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-final { animation: none; }
}

@media (min-width: 768px) {
  .cta-final { padding: 72px 48px; }
}

.cta-final h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  font-weight: 800;
  max-width: 24ch;
  margin-inline: auto;
}

.cta-final p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  margin-inline: auto;
}

.cta-final .btn-primary {
  background: #ffffff;
  color: var(--blue-800);
  margin-top: 28px;
}

.cta-final .btn-primary:hover {
  background: var(--green-300);
  color: var(--blue-900);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 56px 28px;
  background: var(--paper-50);
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.footer-brand p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-strong);
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25a25a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px hsl(150 60% 25% / 0.55);
  transition: transform 0.2s var(--ease);
  animation: float-bob 3.2s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
