/* =========================================================
   BMA NUEVO LEÓN — Sistema de diseño
   Paleta institucional moderna: burdeos heredado de BMA +
   ivory + oro como acento premium.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --burgundy: #6a0e12;
  --burgundy-dark: #4a0a0d;
  --burgundy-light: #8a2426;
  --ink: #141414;
  --charcoal: #2a2a2a;
  --graphite: #555555;
  --slate: #7a7a7a;
  --ivory: #f7f3ee;
  --cream: #ede5d6;
  --gold: #9a8a78;
  --gold-soft: #bdb0a1;
  --white: #ffffff;
  --border: rgba(20, 20, 20, 0.08);
  --border-strong: rgba(20, 20, 20, 0.18);
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.04);
  --shadow-md: 0 12px 40px -12px rgba(20, 20, 20, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 20, 20, 0.22);

  /* Tipografía */
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Tamaños (clamp para fluid typography) */
  --fs-eyebrow: 0.75rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.6vw, 1.25rem);
  --fs-h4: clamp(1.25rem, 2vw, 1.5rem);
  --fs-h3: clamp(1.75rem, 3vw, 2.25rem);
  --fs-h2: clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 6vw, 5.25rem);
  --fs-display: clamp(3.5rem, 9vw, 7.5rem);

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 600ms;
}

/* ---------- 2. Reset ligero ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}

/* ---------- 3. Tipografía ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
  line-height: 1.25;
}
p {
  margin-bottom: 1.15rem;
  color: var(--charcoal);
  text-align: justify;
  hyphens: auto;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--burgundy);
  vertical-align: middle;
  margin-right: 0.75rem;
  transform: translateY(-2px);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 62ch;
}
.italic {
  font-style: italic;
}
.serif {
  font-family: var(--font-serif);
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.divider-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-inline: 0.85rem;
}

/* ---------- 5. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-soft);
}
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--cream);
}
.btn-icon::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}
.btn-icon:hover::after {
  transform: translateX(4px);
}
.link-gold {
  color: var(--burgundy);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: all var(--dur) var(--ease);
}
.link-gold:hover {
  color: var(--burgundy-dark);
  border-bottom-width: 2px;
}

/* ---------- 6. Top bar + Header ---------- */
.topbar {
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0.55rem;
}
.topbar a {
  color: var(--white);
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease);
}
.topbar a:hover {
  opacity: 1;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topbar-right a + a::before {
  content: "·";
  margin-right: 1.5rem;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 243, 238, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--dur-fast) var(--ease);
}
.logo:hover {
  opacity: 0.82;
}
.logo .logo-mark-img {
  display: block;
  height: 92px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}
@media (max-width: 560px) {
  .logo .logo-mark-img {
    height: 72px !important;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav a {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 1px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}
.nav a.active {
  color: var(--burgundy);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease),
    opacity var(--dur-fast) var(--ease), top var(--dur) var(--ease);
}
.menu-toggle span:nth-child(1) {
  top: 15px;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
}
.menu-toggle span:nth-child(3) {
  top: 27px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- 7. Hero ---------- */
.hero {
  padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-display {
  font-size: var(--fs-display);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.hero-display em {
  font-style: italic;
  color: var(--burgundy);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
}
.hero-meta span {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.25rem;
}
.hero-meta strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--burgundy);
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(
      135deg,
      rgba(106, 14, 18, 0.1) 0%,
      rgba(20, 20, 20, 0.35) 100%
    ),
    var(--charcoal);
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><defs><pattern id='p' width='4' height='4' patternUnits='userSpaceOnUse'><circle cx='2' cy='2' r='0.4' fill='%239a8a78' opacity='0.18'/></pattern></defs><rect width='100' height='100' fill='url(%23p)'/></svg>");
  mix-blend-mode: overlay;
}
.hero-visual .label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  color: var(--white);
  z-index: 2;
}
.hero-visual .label span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}
.hero-visual .label h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  margin-top: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.25;
}
.hero-visual .badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  z-index: 2;
}
.hero-visual .badge strong {
  display: block;
  font-size: 1.875rem;
  color: var(--gold);
}

/* ---------- 8. Secciones reutilizables ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head.single {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section-head h2 {
  margin-bottom: 0;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.card p {
  font-size: 0.9375rem;
  color: var(--graphite);
  margin-bottom: 1rem;
}
.card-link {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
}
.card-link::after {
  content: " →";
  transition: transform var(--dur) var(--ease);
  display: inline-block;
}
.card:hover .card-link::after {
  transform: translateX(3px);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ---------- 9. Background alternos ---------- */
.bg-ink {
  background: var(--ink);
  color: var(--white);
}
.bg-ink h1,
.bg-ink h2,
.bg-ink h3,
.bg-ink h4 {
  color: var(--white);
}
.bg-ink p {
  color: rgba(255, 255, 255, 0.78);
}
.bg-ink .eyebrow {
  color: var(--gold);
}
.bg-ink .eyebrow::before {
  background: var(--gold);
}
.bg-cream {
  background: var(--cream);
}
.bg-burgundy {
  background: var(--burgundy);
  color: var(--white);
}
.bg-burgundy h1,
.bg-burgundy h2,
.bg-burgundy h3,
.bg-burgundy h4 {
  color: var(--white);
}
.bg-burgundy p {
  color: rgba(255, 255, 255, 0.85);
}
.bg-burgundy .eyebrow {
  color: var(--gold-soft);
}
.bg-burgundy .eyebrow::before {
  background: var(--gold-soft);
}

/* ---------- 10. Pull quote / testimonio ---------- */
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--gold);
  max-width: 760px;
}
.pull-quote footer {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- 11. Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: 3rem;
  border-block: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--burgundy);
}
.stat-label {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- 12. Page hero ---------- */
.page-hero {
  padding-block: clamp(5rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}
.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumbs {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.75rem;
}
.page-hero .breadcrumbs a:hover {
  color: var(--burgundy);
}

/* ---------- 13. Comisiones ---------- */
.comision {
  background: var(--white);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--burgundy);
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.comision:hover {
  border-left-color: var(--gold);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.comision .roman {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.comision h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}
.comision p {
  font-size: 0.9375rem;
  color: var(--graphite);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.comision .coord {
  font-size: 0.8125rem;
  color: var(--slate);
  letter-spacing: 0.06em;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}
.comision .coord strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  margin-top: 2px;
}

/* ---------- 14. Eventos ---------- */
.evento-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
}
.evento-card:hover {
  border-color: var(--burgundy);
  box-shadow: var(--shadow-md);
}
.evento-fecha {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}
.evento-fecha .mes {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
}
.evento-fecha .dia {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-block: 0.25rem;
}
.evento-fecha .anio {
  font-size: 0.875rem;
  color: var(--slate);
  letter-spacing: 0.1em;
}
.evento-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.evento-info .meta {
  font-size: 0.875rem;
  color: var(--slate);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}
.evento-info .meta span::before {
  content: "·";
  margin-right: 0.35rem;
  color: var(--gold);
}
.evento-info p {
  font-size: 0.9375rem;
  color: var(--graphite);
  margin-bottom: 0;
  max-width: 58ch;
}
.evento-tag {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Calendario mensual */
.cal {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cal-head h3 {
  font-size: 1.5rem;
}
.cal-nav {
  display: flex;
  gap: 0.5rem;
}
.cal-nav button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: all var(--dur-fast) var(--ease);
}
.cal-nav button:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-dow {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--slate);
  padding: 0.75rem 0;
  font-weight: 600;
}
.cal-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--ink);
  background: var(--ivory);
  cursor: default;
  position: relative;
  transition: background var(--dur-fast) var(--ease);
}
.cal-cell.muted {
  color: rgba(20, 20, 20, 0.2);
  background: transparent;
}
.cal-cell.today {
  background: var(--ink);
  color: var(--white);
}
.cal-cell.has-event {
  background: var(--cream);
  cursor: pointer;
}
.cal-cell.has-event::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--burgundy);
  border-radius: 50%;
}
.cal-cell.has-event:hover {
  background: var(--gold-soft);
}

/* ---------- 15. Noticias ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  transition: padding var(--dur) var(--ease);
}
.post-card:hover {
  padding-left: 0.5rem;
}
.post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.post-meta .post-cat {
  color: var(--burgundy);
  font-weight: 600;
}
.post-card h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  max-width: 24ch;
  transition: color var(--dur-fast) var(--ease);
}
.post-card:hover h3 {
  color: var(--burgundy);
}
.post-card p {
  max-width: 62ch;
  margin-bottom: 0;
}
.post-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--ink);
  color: var(--white);
  margin-bottom: 3rem;
}
.post-featured h3 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  max-width: 18ch;
}
.post-featured p {
  color: rgba(255, 255, 255, 0.8);
}
.post-featured .visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  position: relative;
  overflow: hidden;
}
.post-featured .visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='30' fill='none' stroke='%239a8a78' stroke-width='0.3' opacity='0.4'/><circle cx='50' cy='50' r='40' fill='none' stroke='%239a8a78' stroke-width='0.2' opacity='0.25'/></svg>");
}

/* ---------- 16. Consejo directivo ---------- */
.persona {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.persona .avatar {
  aspect-ratio: 3 / 4;
  background: var(--charcoal);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.persona .avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(20, 20, 20, 0.6) 100%
  );
}
.persona .avatar .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  color: var(--gold);
  z-index: 1;
}
.persona h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.2;
}
.persona .rol {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
}
.persona .bio {
  font-size: 0.875rem;
  color: var(--graphite);
  margin-top: 0.5rem;
}

/* ---------- 17. Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--border-strong);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.35rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--burgundy);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ivory);
}
.timeline-item .year {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--burgundy);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.timeline-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.timeline-item p {
  font-size: 0.9375rem;
  max-width: 58ch;
}

/* ---------- 18. Formularios ---------- */
.form {
  display: grid;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--burgundy);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}

/* ---------- 19. Contacto bloque ---------- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 2rem;
}
.contact-info .item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.contact-info .item:first-child {
  border-top: none;
  padding-top: 0;
}
.contact-info .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-info .value {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--ink);
}
.contact-info .value a:hover {
  color: var(--burgundy);
}
.map-embed {
  aspect-ratio: 4 / 3;
  border: 0;
  width: 100%;
  filter: grayscale(0.4) contrast(0.95);
}

/* ---------- 20. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 4.5rem 2rem;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-col ul {
  display: grid;
  gap: 0.65rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.footer-brand .footer-brand-img {
  display: block;
  height: 120px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
}
.footer-brand strong {
  font-style: normal;
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-top: 0.75rem;
}
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
.social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all var(--dur-fast) var(--ease);
}
.social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(154, 138, 120, 0.08);
}

/* ---------- 21. Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="100"].in {
  transition-delay: 100ms;
}
.reveal[data-delay="200"].in {
  transition-delay: 200ms;
}
.reveal[data-delay="300"].in {
  transition-delay: 300ms;
}
.reveal[data-delay="400"].in {
  transition-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 22. Accesibilidad ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}

/* ---------- 23. Responsive ---------- */
/* ---------- 24. Benefit list ---------- */
.benefit-list {
  display: grid;
  gap: 1.25rem;
}
.benefit {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.benefit:first-child {
  border-top: none;
  padding-top: 0;
}
.benefit .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.25rem;
}
.benefit h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.benefit p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  color: var(--graphite);
}

/* ---------- 25. FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--ink);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.75rem;
  color: var(--burgundy);
  transition: transform var(--dur) var(--ease);
  font-family: var(--font-sans);
  font-weight: 300;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  color: var(--burgundy);
}
.faq-item .faq-body {
  padding-bottom: 1.75rem;
  font-size: 0.9375rem;
  color: var(--graphite);
  max-width: 68ch;
  line-height: 1.7;
}
.faq-item .faq-body p {
  margin-bottom: 0.75rem;
  color: var(--graphite);
}

/* ---------- 26. Logos / aliados ---------- */
.logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
}
.logo-box {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--slate);
  text-align: center;
  font-size: 1rem;
  line-height: 1.2;
  transition: all var(--dur) var(--ease);
}
.logo-box:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

/* Ecosistema institucional — sustituye logos pendientes */
.ecosistema {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 1rem;
}
.ecosistema-col {
  border-top: 1px solid var(--burgundy);
  padding-top: 1.5rem;
}
.ecosistema-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.ecosistema-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ecosistema-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.ecosistema-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.eco-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.3;
}
.eco-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--slate);
}
@media (max-width: 900px) {
  .ecosistema { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- 27. Article body ---------- */
.article-body {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.article-body p {
  color: var(--charcoal);
  margin-bottom: 1.35rem;
}
.article-body h3 {
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.article-body h4 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--burgundy);
  font-style: italic;
}
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.25rem;
}
.article-body ul li,
.article-body ol li {
  list-style: initial;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}
.article-body ol li {
  list-style: decimal;
}
.article-body .tldr {
  background: var(--cream);
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--burgundy);
  margin-bottom: 2rem;
}
.article-body .tldr .eyebrow {
  margin-bottom: 0.5rem;
}
.article-body .tldr p {
  margin: 0;
  font-size: 0.9375rem;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 28. Quick facts box ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  background: var(--white);
}
.fact {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.fact:last-child {
  border-right: none;
}
.fact .num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.fact .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.fact p {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: var(--graphite);
}

/* ---------- 29. Tag / chip ---------- */
.chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--cream);
  color: var(--burgundy);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .contact-block,
  .post-featured {
    grid-template-columns: 1fr;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-left .hide-sm {
    display: none;
  }
  .topbar-right a:not(:last-child) {
    display: none;
  }
  .nav {
    position: fixed;
    inset: auto 0 0 0;
    top: 64px;
    flex-direction: column;
    background: var(--ivory);
    padding: 1.5rem 1.5rem 3rem;
    border-top: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform var(--dur) var(--ease);
    align-items: flex-start;
    gap: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 40;
  }
  .nav.open {
    transform: none;
  }
  .nav a {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.375rem;
    font-family: var(--font-serif);
    border-bottom: 1px solid var(--border);
  }
  .nav a::after {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-cta .btn:not(.menu-toggle) {
    display: none;
  }
  .hero-visual {
    aspect-ratio: 1 / 1;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .stats {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .evento-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .evento-fecha {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .evento-fecha .dia {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pull-quote {
    font-size: 1.5rem;
    padding-left: 1.25rem;
  }
}

/* ============================================================
   EXTENSIONES RONDA 3 · Comisiones, Nosotros, Beneficios
   ============================================================ */

/* Comisión card */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.comm-card {
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.comm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -26px rgba(20, 20, 20, 0.28);
  border-color: rgba(106, 14, 18, 0.2);
}
.comm-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 2.25rem;
  color: var(--burgundy);
  opacity: 0.35;
  line-height: 1;
}
.comm-card h3 {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  color: var(--burgundy);
}
.comm-desc {
  margin: 0 0 1.25rem;
  color: rgba(20, 20, 20, 0.78);
}
.comm-lines {
  margin: 1rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(20, 20, 20, 0.12);
}
.comm-lines strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.comm-lines ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.comm-lines li {
  padding-left: 1rem;
  position: relative;
  font-size: 0.93rem;
  color: rgba(20, 20, 20, 0.72);
}
.comm-lines li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-weight: 600;
}
.comm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
  flex-wrap: wrap;
}
.comm-foot a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.comm-foot a:hover {
  border-bottom-color: var(--burgundy);
}

/* Chips */
.chip-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(106, 14, 18, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--burgundy);
  background: rgba(106, 14, 18, 0.04);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(154, 138, 120, 0.14);
  color: #8a6730;
  font-weight: 600;
}

/* Steps */
.steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.steps li {
  counter-increment: steps;
  padding-left: 3rem;
  position: relative;
  line-height: 1.6;
}
.steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--burgundy);
}
.steps.light li {
  color: rgba(247, 243, 238, 0.82);
}
.steps.light li strong {
  color: var(--ivory);
}
.steps.light li::before {
  color: var(--gold);
}

/* Card portrait (nosotros · consejo) */
.card-portrait {
  text-align: left;
}
.portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), #3d080b);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(154, 138, 120, 0.4);
}
.portrait.muted {
  background: rgba(20, 20, 20, 0.05);
  color: rgba(20, 20, 20, 0.35);
  border-color: rgba(20, 20, 20, 0.12);
}
.portrait.portrait-photo {
  width: 128px;
  height: 128px;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2a0507, #0d0203);
  border: 2px solid rgba(154, 138, 120, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 14px 28px -14px rgba(106, 14, 18, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}
.portrait.portrait-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 238, 0.12);
  pointer-events: none;
}
.portrait.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.card-portrait:hover .portrait.portrait-photo {
  border-color: var(--gold);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 36px -16px rgba(106, 14, 18, 0.55);
  transform: translateY(-2px);
}
.card-portrait:hover .portrait.portrait-photo img {
  filter: grayscale(0.25) contrast(1.05);
  transform: scale(1.04);
}

/* Mesa Directiva grid refinements */
.mesa-directiva .card {
  padding: 2rem 1.65rem 1.75rem;
}
.mesa-directiva .card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0;
}
.mesa-directiva .card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(20, 20, 20, 0.72);
}

/* Vocales — galería de retratos */
.vocales-block {
  margin-top: 4rem;
  padding: 3rem 2.5rem;
  background: linear-gradient(180deg, var(--ivory), #faf6f0);
  border: 1px solid rgba(106, 14, 18, 0.1);
  border-radius: 4px;
  position: relative;
}
.vocales-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.7;
}
.vocales-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.vocales-head .eyebrow {
  margin-bottom: 0.75rem;
}
.vocales-head h3 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.vocales-head p {
  margin: 0 auto;
  text-align: center;
}
.vocales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.vocal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.vocal-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2a0507, #0d0203);
  border: 2px solid rgba(154, 138, 120, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 10px 22px -12px rgba(106, 14, 18, 0.38);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.5s ease,
              box-shadow 0.5s ease;
}
.vocal-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 238, 0.12);
  pointer-events: none;
}
.vocal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.6s ease, transform 0.6s ease;
  display: block;
}
.vocal:hover .vocal-photo {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 14px 28px -12px rgba(106, 14, 18, 0.5);
}
.vocal:hover .vocal-photo img {
  filter: grayscale(0.2) contrast(1.05);
  transform: scale(1.05);
}
.vocal-photo-muted {
  background: linear-gradient(135deg, rgba(106, 14, 18, 0.08), rgba(154, 138, 120, 0.1));
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 2.25rem;
  color: var(--burgundy);
  border-color: rgba(106, 14, 18, 0.2);
}
.vocal-photo-muted span {
  line-height: 1;
}
.vocal-name {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  hyphens: none;
}

.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .mesa-directiva {
    grid-template-columns: repeat(2, 1fr);
  }
  .vocales-block {
    padding: 2.25rem 1.25rem;
  }
  .vocales-block::before {
    left: 1.25rem;
    right: 1.25rem;
  }
  .vocal-photo {
    width: 112px;
    height: 112px;
  }
}
@media (max-width: 560px) {
  .mesa-directiva {
    grid-template-columns: 1fr;
  }
}
.card-portrait .role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0.35rem 0 0.5rem;
}
.card-portrait .tag {
  margin-bottom: 1rem;
}

/* Card number (pilares) */
.card-number {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 2.75rem;
  color: var(--burgundy);
  line-height: 1;
  opacity: 0.55;
  margin-bottom: 0.5rem;
}

/* Grid 4 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card-mini {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card-mini:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 14, 18, 0.25);
}
.card-mini h4 {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: var(--burgundy);
}
.card-mini p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(20, 20, 20, 0.72);
  line-height: 1.55;
}
.card-mini a {
  color: var(--burgundy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.card-mini a:hover {
  border-bottom-color: var(--burgundy);
}

/* Notice callout */
.notice {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  background: rgba(154, 138, 120, 0.08);
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  color: rgba(20, 20, 20, 0.75);
}
.notice strong {
  color: var(--burgundy);
}
.notice a {
  color: var(--burgundy);
  border-bottom: 1px solid rgba(106, 14, 18, 0.25);
  text-decoration: none;
}

/* Page hero */
.page-hero {
  padding-block: 6rem 3.5rem;
  background: linear-gradient(180deg, var(--ivory), #fff);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0.75rem 0 1.5rem;
  font-family: "Cormorant Garamond", serif;
  color: var(--ink);
}
.page-hero h1 em {
  color: var(--burgundy);
  font-style: italic;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 2.25rem;
  position: relative;
  padding-left: 6.5rem;
  margin-top: 3rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(154, 138, 120, 0.12));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: flex-start;
}
.timeline-item .year {
  position: absolute;
  left: -6.5rem;
  width: 5rem;
  text-align: right;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--burgundy);
  font-weight: 500;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ivory);
}
.timeline-item .content h4 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--ink);
}
.timeline-item .content p {
  margin: 0;
  color: rgba(20, 20, 20, 0.75);
  line-height: 1.7;
}

/* Check list light */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.55;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--burgundy);
  font-weight: 700;
}
.check-list.light li {
  color: rgba(247, 243, 238, 0.82);
}
.check-list.light li::before {
  color: var(--gold);
}

/* Eyebrow light */
.eyebrow.light {
  color: var(--gold);
}

/* Responsive (tabletas / móvil) */
@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .timeline {
    padding-left: 2.25rem;
  }
  .timeline::before {
    left: 1.25rem;
  }
  .timeline-item .year {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 0.25rem;
  }
  .timeline-item::before {
    left: -1.75rem;
  }
}

/* Article editorial extras */
.article-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.article-body h2 em {
  color: var(--burgundy);
  font-style: italic;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(20, 20, 20, 0.55);
}
.article-meta .dot {
  opacity: 0.5;
}
.article-meta time {
  font-style: italic;
}
.dek {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: rgba(20, 20, 20, 0.72);
  margin: 0 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}
.dek em {
  color: var(--burgundy);
}
.article-foot {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(154, 138, 120, 0.06);
  font-size: 0.9rem;
  color: rgba(20, 20, 20, 0.72);
  border-radius: 0 10px 10px 0;
}
.article-foot strong {
  color: var(--burgundy);
}

/* Benefit row · página Beneficios */
.benefit-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1100px;
}
.benefit-row.reverse {
  grid-template-columns: 1fr auto;
}
.benefit-row.reverse .benefit-num {
  order: 2;
}
.benefit-row.reverse .benefit-body {
  order: 1;
}
.benefit-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 6rem;
  color: var(--burgundy);
  opacity: 0.35;
  line-height: 0.9;
}
.benefit-num.light {
  color: var(--gold);
  opacity: 0.65;
}
.benefit-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0.5rem 0 1.25rem;
}
.benefit-body h2 em {
  color: var(--burgundy);
  font-style: italic;
}

/* Step card (afiliación) */
.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  color: var(--ivory);
  backdrop-filter: blur(6px);
}
.step-card .step-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-card h4 {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--ivory);
}
.step-card p {
  margin: 0;
  color: rgba(247, 243, 238, 0.78);
  line-height: 1.55;
  font-size: 0.93rem;
}

@media (max-width: 760px) {
  .benefit-row,
  .benefit-row.reverse {
    grid-template-columns: 1fr;
  }
  .benefit-num {
    font-size: 4rem;
  }
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.contact-info address {
  font-style: normal;
  line-height: 1.6;
  color: rgba(20, 20, 20, 0.8);
  font-size: 1rem;
}
.contact-info hr {
  border: none;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  margin: 1.5rem 0;
}
.contact-info h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  color: var(--burgundy);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.contact-info .eyebrow {
  margin-bottom: 0.35rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}
.contact-row .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.5);
}
.contact-row a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.contact-row a:hover {
  border-bottom-color: var(--burgundy);
}

/* Contact form */
.contact-form {
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px -40px rgba(20, 20, 20, 0.2);
}
.contact-form .form-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}
.contact-form .form-head h3 {
  margin: 0.35rem 0 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  color: var(--burgundy);
}
.contact-form label {
  display: block;
  margin-bottom: 1.25rem;
}
.contact-form label span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.6);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  background: var(--ivory);
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(106, 14, 18, 0.1);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(20, 20, 20, 0.72);
  line-height: 1.5;
}
.contact-form .checkbox input {
  width: auto;
  margin-top: 0.3rem;
  accent-color: var(--burgundy);
}
.contact-form .checkbox span {
  display: block;
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
  font-weight: 400;
  font-size: 0.9rem;
  margin: 0;
}
.contact-form .checkbox a {
  color: var(--burgundy);
  border-bottom: 1px solid rgba(106, 14, 18, 0.3);
  text-decoration: none;
}
.contact-form button[type="submit"] {
  margin-top: 0.5rem;
}
.contact-form .form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(20, 20, 20, 0.65);
}
.contact-form .form-status.ok {
  color: #1f5f2f;
  font-weight: 500;
}
.contact-form .form-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  font-size: 0.82rem;
  color: rgba(20, 20, 20, 0.55);
  line-height: 1.5;
}
.contact-form .form-note a {
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid rgba(106, 14, 18, 0.3);
}

/* Sede grid (foto + mapa a dos columnas) */
.sede-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.sede-grid .sede-photo,
.sede-grid .map-frame {
  margin: 0;
  height: 100%;
}
.sede-grid .sede-photo img,
.sede-grid .map-frame {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
}
.sede-grid .sede-photo img {
  width: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .sede-grid {
    grid-template-columns: 1fr;
  }
  .sede-grid .sede-photo img,
  .sede-grid .map-frame {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* Sede photo */
.sede-photo {
  margin: 2.5rem 0 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.12);
  box-shadow: 0 40px 80px -50px rgba(20, 20, 20, 0.45);
  background: #141414;
}
.sede-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sede-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.75rem 1.25rem;
  background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,0.82) 70%, rgba(20,20,20,0.92) 100%);
  color: var(--ivory, #f7f3ee);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sede-photo-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
  color: var(--gold, #9a8a78);
  letter-spacing: 0.01em;
}
.sede-photo-addr {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(247, 243, 238, 0.85);
}
@media (max-width: 640px) {
  .sede-photo figcaption {
    padding: 1rem 1.1rem 0.9rem;
  }
  .sede-photo-label {
    font-size: 1.2rem;
  }
  .sede-photo-addr {
    font-size: 0.75rem;
  }
}

/* Map */
.map-frame {
  margin-top: 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.1);
  aspect-ratio: 16 / 9;
  background: #eee;
  box-shadow: 0 30px 60px -40px rgba(20, 20, 20, 0.25);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Year grid (programa anual eventos) */
.year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.year-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--ivory);
}
.year-item .year-month {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.year-item h4 {
  margin: 0 0 0.25rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  color: var(--ivory);
}
.year-item p {
  margin: 0;
  color: rgba(247, 243, 238, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .year-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .year-grid {
    grid-template-columns: 1fr;
  }
}

/* Anchor alias (invisible, solo para navegación) */
.anchor-alias {
  display: block;
  position: relative;
  top: -100px; /* compensa header sticky */
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================================
   REDISEÑO VISUAL INTEGRAL — Adiciones finales
   ============================================================ */

/* Logotipo SVG monograma */
svg.logo-mark {
  display: block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
svg.logo-mark::after {
  display: none;
}

/* Hero visual: composición rica guinda/oro */
.hero-visual {
  background: linear-gradient(160deg, #0c0204 0%, #1c0609 55%, #2a0c10 100%);
  border: 1px solid rgba(154, 138, 120, 0.18);
}
.hero-visual .hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Hero visual con foto del edificio */
.hero-visual-photo {
  background: #0c0204;
  border: 1px solid rgba(154, 138, 120, 0.28);
  overflow: hidden;
}
.hero-visual-photo .hero-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  filter: contrast(1.02) brightness(0.95);
}
.hero-visual-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,2,4,0.18) 0%, rgba(12,2,4,0.32) 55%, rgba(12,2,4,0.82) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-photo-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(154, 138, 120, 0.42);
  pointer-events: none;
  z-index: 2;
}
.hero-photo-frame::before,
.hero-photo-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(154, 138, 120, 0.85);
}
.hero-photo-frame::before {
  top: -9px;
  left: -9px;
  border-right: none;
  border-bottom: none;
}
.hero-photo-frame::after {
  bottom: -9px;
  right: -9px;
  border-left: none;
  border-top: none;
}
.hero-visual-photo .badge,
.hero-visual-photo .label {
  z-index: 3;
}

/* Page hero oscuro institucional */
.page-hero-dark {
  background: linear-gradient(160deg, #18030a 0%, #2a0b0f 55%, #1e0609 100%);
  border-bottom: 1px solid rgba(154, 138, 120, 0.2);
  position: relative;
  overflow: hidden;
}
.page-hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><rect x='29.5' y='0' width='1' height='60' fill='%239a8a78' opacity='0.05'/><rect x='0' y='29.5' width='60' height='1' fill='%239a8a78' opacity='0.05'/></svg>");
  pointer-events: none;
}
.page-hero-dark .eyebrow {
  color: var(--gold) !important;
}
.page-hero-dark .eyebrow::before {
  background: var(--gold) !important;
}
.page-hero-dark h1 {
  color: var(--ivory) !important;
}
.page-hero-dark h1 em {
  color: var(--gold) !important;
}
.page-hero-dark .lead {
  color: rgba(247, 243, 238, 0.78) !important;
}

/* Íconos SVG en tarjetas */
.card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Separador ornamental */
.divider-ornament {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3.5rem 0;
  opacity: 0.5;
}
.divider-ornament::before,
.divider-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
}
.divider-ornament svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* Footer enriquecido */
.site-footer {
  border-top: 2px solid rgba(154, 138, 120, 0.45);
}

/* Social icons SVG */
.social a {
  font-size: 0;
  line-height: 0;
}
.social a svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Reveal delays adicionales */
.reveal[data-delay="80"].in  { transition-delay: 80ms; }
.reveal[data-delay="120"].in { transition-delay: 120ms; }
.reveal[data-delay="150"].in { transition-delay: 150ms; }
.reveal[data-delay="160"].in { transition-delay: 160ms; }
.reveal[data-delay="240"].in { transition-delay: 240ms; }

/* Excepciones de text-align: justify */
.site-footer p,
.pull-quote,
.topbar p,
.stat-number,
.stat-label,
.card-link,
.comm-foot,
.form-group label,
.footer-bottom,
figcaption,
.chip,
.tag {
  text-align: left;
  hyphens: none;
}

/* Icono de comisión en comm-cards */
.comm-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(106, 14, 18, 0.06) 0%, rgba(154, 138, 120, 0.08) 100%);
  border: 1px solid rgba(154, 138, 120, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--burgundy);
}
.comm-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Header CTA: sutil glow en botón Afíliate */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(106, 14, 18, 0); }
  50%       { box-shadow: 0 0 0 5px rgba(106, 14, 18, 0.18); }
}
.header-cta .btn-primary {
  animation: cta-glow 3s ease-in-out infinite;
}
.header-cta .btn-primary:hover {
  animation: none;
}

/* =========================================================
   REDES SOCIALES — Síguenos, Facebook, LinkedIn, Instagram
   ========================================================= */

/* ---------- Sección "Síguenos" (index.html) ---------- */
.siguenos-section {
  background: var(--ivory);
}

.siguenos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.siguenos-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.siguenos-widget-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.siguenos-widget-head svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Twitter/X timeline wrapper */
.siguenos-widget .twitter-timeline,
.siguenos-widget twitterwidget {
  flex: 1;
}

/* Instagram card dentro del widget */
.instagram-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.instagram-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.instagram-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--gold));
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.instagram-info {
  display: flex;
  flex-direction: column;
}

.instagram-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.instagram-info span {
  font-size: 0.8125rem;
  color: var(--graphite);
  margin-top: 2px;
}

.instagram-desc {
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.55;
  margin: 0;
}

.instagram-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mosaic-cell {
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
}

.mosaic-cell svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}

/* Fila de links de redes sociales */
.siguenos-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

.siguenos-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--dur-fast) var(--ease);
}

.siguenos-link:hover {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--ink);
}

/* ---------- Redes en Noticias ---------- */
.redes-noticias {
  background: var(--cream);
}

.redes-noticias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.redes-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.redes-widget-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.redes-widget-head svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.redes-widget-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

.fb-page-wrapper {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem;
  min-height: 300px;
}

/* ---------- LinkedIn Block (contacto.html) ---------- */
.linkedin-section {
  background: var(--cream);
}

.linkedin-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid #0077b5;
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.linkedin-icon-wrap {
  width: 80px;
  height: 80px;
  background: #0077b5;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.linkedin-content h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.linkedin-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.linkedin-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--charcoal);
}

.linkedin-features li svg {
  color: var(--burgundy);
  flex-shrink: 0;
}

.btn-linkedin {
  background: #0077b5;
  color: var(--white);
  border: 1px solid #0077b5;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-linkedin:hover {
  background: #005885;
  border-color: #005885;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---------- Responsive Social Sections ---------- */
@media (max-width: 900px) {
  .siguenos-grid,
  .redes-noticias-grid {
    grid-template-columns: 1fr;
  }

  .linkedin-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .linkedin-icon-wrap {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 600px) {
  .siguenos-links {
    flex-direction: column;
    align-items: stretch;
  }

  .siguenos-link {
    justify-content: center;
  }

  .instagram-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Instagram official embed wrapper */
.instagram-embed-wrap {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.instagram-embed-wrap .instagram-media {
  border-radius: var(--radius-sm) !important;
  max-width: 100% !important;
  width: 100% !important;
}

.instagram-follow-cta {
  padding-top: 0.5rem;
}

/* ---------- Redes sociales – tarjetas institucionales ---------- */
.redes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.red-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.red-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.red-card:hover {
  border-color: var(--burgundy);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.28);
}
.red-card:hover::before { transform: scaleX(1); }

.red-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--burgundy);
}
.red-card--fb .red-card-icon { background: #1877f2; }
.red-card--ig .red-card-icon { background: linear-gradient(135deg,#f9ce34 0%,#ee2a7b 50%,#6228d7 100%); }
.red-card--x  .red-card-icon { background: #111; }
.red-card--in .red-card-icon { background: #0a66c2; }

.red-card-body { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.red-card-handle {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.red-card-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--burgundy);
  line-height: 1.1;
}
.red-card-body p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0.4rem 0 0;
}
.red-card-cta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 980px) {
  .redes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .redes-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.18);
  z-index: 90;
  transition: transform var(--dur, 320ms) var(--ease, cubic-bezier(0.2, 0.7, 0.2, 1)),
    box-shadow var(--dur, 320ms) var(--ease, cubic-bezier(0.2, 0.7, 0.2, 1)),
    background var(--dur-fast, 180ms) var(--ease, cubic-bezier(0.2, 0.7, 0.2, 1));
}
.wa-float:hover {
  background: #1ebd5a;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 32px -10px rgba(0, 0, 0, 0.4);
}
.wa-float:focus-visible {
  outline: 3px solid var(--gold, #9a8a78);
  outline-offset: 3px;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  display: block;
}
@media (max-width: 560px) {
  .wa-float {
    width: 52px;
    height: 52px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--ink, #141414);
  color: var(--ivory, #f7f3ee);
  border-top: 3px solid var(--gold, #9a8a78);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  animation: cookie-up 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes cookie-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-hide {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 280ms var(--ease, ease), opacity 280ms var(--ease, ease);
}
.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 320px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(247, 243, 238, 0.9);
}
.cookie-banner-text strong {
  color: var(--white, #fff);
}
.cookie-banner-text a {
  color: var(--gold, #9a8a78);
  border-bottom: 1px solid rgba(154, 138, 120, 0.5);
}
.cookie-banner-text a:hover {
  border-bottom-color: var(--gold, #9a8a78);
}
.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
}
.cookie-banner-actions .cookie-reject {
  background: transparent;
  color: var(--ivory, #f7f3ee);
  border: 1px solid rgba(247, 243, 238, 0.4);
}
.cookie-banner-actions .cookie-reject:hover {
  background: rgba(247, 243, 238, 0.1);
  color: var(--white, #fff);
  border-color: var(--ivory, #f7f3ee);
}

/* Dejar espacio para el botón flotante de WhatsApp */
@media (max-width: 720px) {
  .cookie-banner-inner {
    padding-right: clamp(72px, 14vw, 90px);
  }
}

/* ---------- Estados del formulario ---------- */
.form-status {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  min-height: 1.4em;
}
.form-status-loading {
  color: var(--graphite, #555);
}
.form-status-error {
  color: #b00020;
  background: rgba(176, 0, 32, 0.06);
  border-left: 3px solid #b00020;
  padding: 0.6rem 0.85rem;
}
