/*
Theme Name: Casa de los Andes
Theme URI: https://casalosandes.test
Author: Estudio de diseño
Description: Tema a medida para Casa de los Andes — Asociación Civil Centro Social y Cultural Casa de los Andes (Urb. Calicanto, Maracay). Sistema visual "minimalismo de lujo discreto": Instrument Serif + Inter, paleta cálida desaturada, botones pill, maquetación editorial.
Version: 3.0.0
Text Domain: casadelosandes
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:wght@400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ---- Paleta de marca: #032555 (azul marino) + blanco ---- */
  --bg: hsl(0 0% 100%);
  --bg-alt: hsl(212 30% 95%);
  --fg: hsl(215 60% 10%);
  --fg-muted: hsl(215 15% 40%);
  --accent: hsl(215 93% 17%);
  --accent-strong: hsl(215 93% 12%);
  --card-bg: hsl(0 0% 100%);
  --border: hsl(212 20% 88%);
  --shadow: none;

  /* ---- Superficies "ink" (secciones a sangre en tono oscuro) ---- */
  --ink: hsl(215 93% 17%);
  --ink-2: hsl(215 70% 24%);
  --ink-fg: hsl(0 0% 100%);
  --ink-fg-muted: hsl(210 35% 85%);
  --ink-border: hsl(215 40% 35%);
  --accent-on-ink: hsl(210 90% 72%);

  /* Alias de compatibilidad con selectores existentes */
  --brand: var(--ink);
  --brand-2: var(--ink-2);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-data: var(--font-body);

  --ease-luxe: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---- Scrollbar fina y cálida ---- */
html { scrollbar-width: thin; scrollbar-color: var(--accent) var(--bg-alt); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: var(--radius-pill); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.serif,
h1, h2, h3, h4, h5, h6,
.pillar-body h3,
.form-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
}

h1, h2, h3, h4, h5, h6 { text-wrap: balance; margin: 0; font-weight: 400; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---- Escala tipográfica editorial (clamp) ---- */
.display-xl, .hero h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: 1.02; }
.display-lg { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; }
.display-md, .page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.display-sm { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }

/* ---- Microcopy / etiquetas ---- */
.text-xs, .eyebrow, .data, .stat b, .timeline-list b, .cat-head span {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
}

/* container-fluid: ancho completo, solo margen lateral consistente (sin max-width) */
.wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 4%;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Entradas fade-up (ScrollReveal las dispara vía reveal.js) ---- */
@keyframes cda-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- NAV (fondo sólido de marca, texto blanco) ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--ink-fg) 12%, transparent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition: background-color 0.4s var(--ease-luxe), box-shadow 0.4s var(--ease-luxe);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4%;
  width: 100%;
  margin: 0 auto;
}
.brand-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--ink-fg);
  border-radius: 10px;
  padding: 6px 12px;
}
.brand-mark img { display: block; height: 50px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-fg-muted);
}
.nav-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-fg); transition: color 0.5s var(--ease-luxe); }
.nav-links a i { font-size: 0.85em; color: var(--ink-fg); transition: transform 0.5s var(--ease-luxe), color 0.5s var(--ease-luxe); }
.nav-links a:hover i { transform: translateY(-2px); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink-fg-muted); }
.nav-links .current-menu-item a,
.nav-links a.current { color: var(--ink-fg); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-fg-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.5s var(--ease-luxe), background-color 0.5s var(--ease-luxe);
}
.nav-toggle:hover, .nav-toggle:focus-visible {
  color: var(--ink-fg);
  background: color-mix(in srgb, var(--ink-fg) 10%, transparent);
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--ink);
    padding: 8px 4% 24px;
    border-bottom: 1px solid color-mix(in srgb, var(--ink-fg) 12%, transparent);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; }
}

/* ---------- BOTONES (pill, borde fino, invierte en hover) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background-color 0.5s var(--ease-luxe), color 0.5s var(--ease-luxe), border-color 0.5s var(--ease-luxe);
}

/* Variante oscura: para botones sobre fondos claros */
.btn-dark, .nav-cta, .submit-btn {
  color: var(--fg);
  border-color: var(--fg);
  background: transparent;
}
.btn-dark:hover, .btn-dark:focus-visible,
.nav-cta:hover, .nav-cta:focus-visible,
.submit-btn:hover, .submit-btn:focus-visible {
  background: var(--fg);
  color: var(--bg);
}

/* Variante clara: para botones sobre imágenes/fondos oscuros */
.btn-light, .btn-primary, .btn-secondary, .hero .btn {
  color: var(--ink-fg);
  border-color: var(--ink-fg);
  background: transparent;
}
.btn-light:hover, .btn-light:focus-visible,
.btn-primary:hover, .btn-primary:focus-visible,
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--ink-fg);
  color: var(--ink);
}

/* El nav-cta vive sobre el fondo navy del site-nav: usa la variante clara en vez de btn-dark */
.nav-cta {
  padding: 0.6rem 1.4rem; font-size: 0.76rem;
  color: var(--ink-fg); border-color: var(--ink-fg); background: transparent;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--ink-fg); color: var(--ink); }
.nav-cta i { color: inherit; }
.submit-btn { width: 100%; padding: 0.85rem; font-size: 0.82rem; margin-top: 6px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-fg);
  background:
    linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.5) 100%),
    var(--ink);
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 120px 4% 100px;
  width: 100%; max-width: 880px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  animation: cda-fade-up 0.6s var(--ease-luxe) both;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-on-ink); margin-bottom: 24px;
  animation: cda-fade-up 0.6s var(--ease-luxe) both 0.1s;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 34px; height: 1px; background: color-mix(in srgb, var(--accent-on-ink) 60%, transparent); }
.hero h1 {
  font-weight: 400;
  max-width: 22ch;
  animation: cda-fade-up 0.6s var(--ease-luxe) both 0.2s;
}
.hero h1 em {
  font-style: italic; color: var(--accent-on-ink);
}
.hero p {
  max-width: 46ch; margin: 28px auto 40px; font-size: 1.08rem; line-height: 1.7; font-weight: 300;
  color: var(--ink-fg-muted);
  animation: cda-fade-up 0.6s var(--ease-luxe) both 0.35s;
}
.hero-ctas {
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  animation: cda-fade-up 0.6s var(--ease-luxe) both 0.5s;
}
.hero-link { color: var(--ink-fg); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink-fg) 40%, transparent); text-underline-offset: 5px; transition: color 0.5s var(--ease-luxe); }
.hero-link:hover, .hero-link:focus-visible { color: var(--accent-on-ink); }

/* Variante compacta del hero fotográfico para páginas interiores (ej. Galería) */
.hero-compact { min-height: min(56vh, 480px); }
.hero-compact .hero-inner { padding: 90px 4% 70px; }
.hero-compact .hero p { margin-bottom: 0; }

/* ---------- ICON STRIP (amenities bar) ---------- */
.icon-strip-wrap { position: relative; z-index: 5; margin-top: -60px; padding-left: 4%; padding-right: 4%; }
.icon-strip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 32px clamp(16px, 3vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
}
.icon-strip-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; padding: 0 10px;
  border-right: 1px solid var(--border);
}
.icon-strip-item:last-child { border-right: none; }
.icon-strip-item svg { width: 24px; height: 24px; color: var(--accent); }
.icon-strip-item span {
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted);
}
@media (max-width: 820px) {
  .icon-strip { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .icon-strip-item:nth-child(3) { border-right: none; }
}
@media (max-width: 520px) {
  .icon-strip { grid-template-columns: repeat(2, 1fr); }
  .icon-strip-item:nth-child(odd) { border-right: none; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero.bordered { border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 18ch; margin-top: 18px; }
.page-hero p { max-width: 58ch; color: var(--fg-muted); font-size: 1.05rem; font-weight: 300; line-height: 1.75; margin-top: 20px; }

/* ---------- INTRO STRIP ---------- */
.intro {
  padding: clamp(4rem, 8vw, 10rem) 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px); align-items: start;
  border-top: 1px solid var(--border);
}
.intro .eyebrow { margin-bottom: 16px; }
.intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
.intro-copy p { font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--fg-muted); max-width: 62ch; }
.intro-copy a.inline-link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; transition: color 0.5s var(--ease-luxe); }
.intro-copy a.inline-link:hover { color: var(--accent); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

/* ---------- SECTION HEAD (split: eyebrow+título / descripción) ---------- */
.section-head-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 60px);
  align-items: end; margin-bottom: 48px;
}
.section-head-split .eyebrow { display: block; margin-bottom: 14px; }
.section-head-split h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head-split p { margin: 0; color: var(--fg-muted); font-size: 1rem; font-weight: 300; line-height: 1.8; max-width: 46ch; }
@media (max-width: 760px) { .section-head-split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- PILLARS (tarjetas de servicio) ---------- */
.pillars { padding: 0 0 clamp(4rem, 8vw, 10rem); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
  background: var(--card-bg); border: none; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: opacity 0.5s var(--ease-luxe);
}
.pillar-card:hover .pillar-media { transform: scale(1.03); }
.pillar-media { height: 320px; background: var(--ink); position: relative; overflow: hidden; }
.pillar-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
}
.pillar-media > * { position: relative; z-index: 1; transition: transform 0.7s var(--ease-luxe); }
.pillar-media.p1 { background: linear-gradient(135deg, #0d3a72, #041a3d); }
.pillar-media.p2 { background: linear-gradient(135deg, #0a2f60, #031733); }
.pillar-media.p3 { background: linear-gradient(135deg, #103f7a, #051d42); }
.pillar-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink-fg);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 7px 16px; border: 1px solid color-mix(in srgb, var(--ink-fg) 55%, transparent); border-radius: var(--radius-pill);
}
.pillar-body { padding: 26px 2px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pillar-body h3 { font-size: 1.5rem; }
.pillar-body p { margin: 0; color: var(--fg-muted); font-size: 0.95rem; font-weight: 300; line-height: 1.7; flex: 1; }
.pillar-link { margin-top: 8px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--fg); display: inline-flex; align-items: center; gap: 6px; transition: color 0.5s var(--ease-luxe); }
.pillar-link i { transition: transform 0.5s var(--ease-luxe); }
.pillar-link:hover i { transform: translateX(4px); }
.pillar-link:hover, .pillar-link:focus-visible { color: var(--accent); }

/* ---------- STATS ---------- */
.stats { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat b {
  display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400;
  color: var(--fg); font-variant-numeric: tabular-nums;
}
.stat span { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- GALLERY ---------- */
.gallery { padding: clamp(4rem, 8vw, 10rem) 0; }
.gallery-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
#nuestros-espacios, .gallery-item { scroll-margin-top: 90px; }
.chip {
  display: inline-block;
  font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border);
  color: var(--fg-muted); background: transparent; cursor: default;
  text-decoration: none;
  transition: background-color 0.5s var(--ease-luxe), color 0.5s var(--ease-luxe), border-color 0.5s var(--ease-luxe);
}
a.chip { cursor: pointer; }
a.chip:hover, a.chip:focus-visible { color: var(--accent); border-color: var(--accent); }
.chip.active { background: var(--fg); border-color: var(--fg); color: var(--bg); }
a.chip.active:hover, a.chip.active:focus-visible { color: var(--bg); }
/* Mosaico real: cada foto conserva su proporción natural (sin recorte, sin relleno) */
.mosaic {
  margin-top: 30px;
  column-count: 3;
  column-gap: 10px;
}
@media (max-width: 900px) { .mosaic { column-count: 2; } }
@media (max-width: 520px) { .mosaic { column-count: 1; } }

.filters { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.cat-block { padding: clamp(3rem, 6vw, 5.5rem) 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
#todos { scroll-margin-top: 90px; }
.cat-block:last-of-type { border-bottom: none; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.cat-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.cat-head span { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }

.grid-photos { column-count: 4; column-gap: 10px; }
@media (max-width: 900px) { .grid-photos { column-count: 3; } }
@media (max-width: 600px) { .grid-photos { column-count: 2; } }

.gallery-item {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.5s var(--ease-luxe);
}
.gallery-item:hover { border-color: var(--accent); }
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- TESTIMONIAL (sección a sangre, tono ink) ---------- */
.testimonial { background: var(--ink); color: var(--ink-fg); padding: clamp(4rem, 8vw, 8rem) 0; }
.testimonial-inner { max-width: 780px; }
.testimonial blockquote {
  margin: 0; font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.4; font-weight: 400;
}
.testimonial cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* ---------- MISION / VISION ---------- */
.mv { background: var(--ink); color: var(--ink-fg); padding: clamp(4rem, 8vw, 10rem) 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card .eyebrow { color: var(--accent); }
.mv-card h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 16px 0 14px; }
.mv-card p { color: var(--ink-fg-muted); font-weight: 300; line-height: 1.85; font-size: 1.02rem; margin: 0; }

/* ---------- TIMELINE ---------- */
.timeline { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(4rem, 7vw, 7rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 70px); border-top: 1px solid var(--border); }
@media (max-width: 820px) { .timeline { grid-template-columns: 1fr; } }
.timeline h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; }
.timeline-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.timeline-list li { padding: 0 0 32px 28px; position: relative; }
.timeline-list li::before { content: ""; position: absolute; left: -4.5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timeline-list b { display: block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 6px; }
.timeline-list p { margin: 0; color: var(--fg-muted); font-weight: 300; font-size: 0.98rem; line-height: 1.7; max-width: 52ch; }

/* ---------- VALUES ---------- */
.values { padding-top: clamp(4rem, 8vw, 10rem); padding-bottom: clamp(4rem, 8vw, 10rem); }
.values h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 40px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; background: var(--card-bg); transition: border-color 0.5s var(--ease-luxe), transform 0.5s var(--ease-luxe); }
.value-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.value-card .num { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--accent); }
.value-card h4 { font-size: 1.2rem; margin: 12px 0 10px; }
.value-card p { margin: 0; font-size: 0.9rem; font-weight: 300; color: var(--fg-muted); line-height: 1.65; }

.team-strip { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--border); }
.team-strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.team-strip-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.team-strip-head p { color: var(--fg-muted); font-weight: 300; max-width: 44ch; font-size: 0.96rem; margin: 0; }
.team-photo { height: 340px; border-radius: var(--radius); background: linear-gradient(120deg, var(--ink-2), var(--ink)); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- CONTACT FORM ---------- */
.contact-grid { padding-top: 20px; padding-bottom: clamp(4rem, 8vw, 10rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form-card > p.subtext { margin: 0 0 28px; color: var(--fg-muted); font-weight: 300; font-size: 0.94rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-card label { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 8px; }
.field { margin-bottom: 18px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); color: var(--fg); font-family: inherit; font-size: 0.94rem;
  transition: border-color 0.5s var(--ease-luxe);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); }
.event-types { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.event-pill { font-size: 0.78rem; letter-spacing: 0.03em; padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--fg-muted); transition: all 0.5s var(--ease-luxe); }
.event-pill.sel { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.side-info { display: flex; flex-direction: column; gap: 24px; }
.info-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; background: var(--card-bg); transition: border-color 0.5s var(--ease-luxe); }
.info-card:hover { border-color: var(--accent); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.info-card h3 i { color: var(--accent); font-size: 0.85em; }
.info-card p a i, .info-card > p > i { color: var(--accent); width: 1.1em; }
.info-card p, .info-card a { margin: 0; font-size: 0.94rem; font-weight: 300; color: var(--fg-muted); line-height: 1.75; text-decoration: none; transition: color 0.5s var(--ease-luxe); }
.info-card a:hover, .info-card a:focus-visible { color: var(--accent); }
.map-block {
  height: 240px; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 18px, var(--border) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, var(--border) 19px),
    var(--card-bg);
}
.map-block iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.02); }
.socials-row { display: flex; gap: 12px; margin-top: 14px; }
.socials-row a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; letter-spacing: 0.04em; border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--radius-pill); transition: all 0.5s var(--ease-luxe); }
.socials-row a:hover { border-color: var(--fg); color: var(--fg); }

/* ---------- FOOTER ---------- */
.site-footer { padding: clamp(4rem, 7vw, 6rem) 0 40px; background: #032554; color: var(--ink-fg); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-border); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-on-ink); margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.footer-grid p, .footer-grid a { color: var(--ink-fg-muted); font-weight: 300; font-size: 0.92rem; line-height: 1.95; text-decoration: none; transition: color 0.5s var(--ease-luxe); }
.footer-grid p i, .footer-grid a i { width: 1.1em; color: var(--accent-on-ink); }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--ink-fg); }
.map-block { border-color: var(--ink-border); }
.bottom-row { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 12px; font-size: 0.76rem; color: var(--ink-fg-muted); }
.socials { display: flex; gap: 12px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--ink-border); border-radius: var(--radius-pill);
  color: var(--ink-fg-muted);
  transition: color 0.5s var(--ease-luxe), border-color 0.5s var(--ease-luxe), transform 0.5s var(--ease-luxe);
}
.socials a:hover, .socials a:focus-visible { color: var(--accent-on-ink); border-color: var(--accent-on-ink); transform: translateY(-2px); }

/* ScrollReveal (si carga) aplica su propio opacity/transform inicial por JS antes de animar.
   No se oculta nada por CSS aquí: si el CDN externo no carga (sin red, bloqueado, caché, etc.)
   el contenido debe verse igual, sin animación, en vez de quedar invisible para siempre. */

/* ---------- Standard page content (fallback) ---------- */
.standard-content { padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(4rem, 8vw, 8rem); }
.standard-content .entry-content { max-width: 68ch; font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--fg-muted); }
.standard-content .entry-content h2 { color: var(--fg); margin-top: 2em; }
