@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&display=swap');
/* ===================== TOKENS ===================== */
:root {
  /* Paleta de marca (Fundación / Tanto Monta / Memorabilia) */
  --oxblood: #c0392b;        /* rojo ladrillo institucional (≈ Pantone 7599C) */
  --oxblood-deep: #9e2b1e;   /* rojo profundo para fondos y hover */
  --gold: #a8894f;           /* acento bronce sobrio */
  --gold-soft: #c0a369;
  --cream: #f7f3e8;          /* crema principal del manual */
  --cream-deep: #f0e9d8;
  --beige: #ede4dd;
  --slate: #29343d;          /* neutro oscuro alternativo del manual */
  --ink: #2b2723;            /* negro cálido 90% */
  --ink-soft: #6b615a;
  --paper: #fffdf8;
  --line: #e4dbca;
  --radius: 4px;
  --display-caps: "Cinzel", Georgia, serif;
  --serif-display: "Cormorant Garamond", Georgia, serif;
  --serif-body: "EB Garamond", Georgia, serif;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--serif-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }

/* ===================== TYPOGRAPHY HELPERS ===================== */
.eyebrow {
  font-family: var(--display-caps);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow.light { color: var(--gold-soft); }
.section-title {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--oxblood-deep);
  margin-bottom: 1.2rem;
}
.section-title.light { color: var(--cream); }
.lede { font-size: 1.18rem; color: var(--ink-soft); }
.lede.light { color: rgba(247,242,233,.85); }
.lede.sub { max-width: 620px; margin: 0 auto; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--oxblood); color: var(--cream);
  font-family: var(--display-caps); font-weight: 700; font-size: 1rem;
  letter-spacing: .01em; border-radius: 2px;
}
.brand-logo { width: 46px; height: 46px; flex: none; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: .64rem; text-transform: uppercase; letter-spacing: .28em; color: var(--ink-soft); font-weight: 600; }
.brand-text em { font-family: var(--display-caps); font-style: normal; font-size: 1.02rem; font-weight: 600; letter-spacing: .04em; color: var(--oxblood-deep); text-transform: uppercase; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { font-size: .96rem; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s; }
.main-nav a:hover { color: var(--oxblood); }
.main-nav a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1.5px; background: var(--gold); transition: width .25s; }
.main-nav a:hover::after { width:100%; }

.cart-btn { position: relative; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--oxblood); color: #fff; font-family: var(--serif-body);
  font-size: .68rem; min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--oxblood); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(90,26,31,.55), transparent 60%),
    linear-gradient(180deg, var(--oxblood-deep), var(--oxblood));
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px; opacity:.6;
}
.hero-content { position: relative; padding: 90px 28px; max-width: 900px; }
.hero-eyebrow { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; color: var(--gold-soft); margin-bottom: 1.4rem; }
.hero-title {
  font-family: var(--serif-display); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04;
  letter-spacing: -.015em; margin-bottom: 1.6rem;
}
.hero-lead { font-size: 1.3rem; max-width: 620px; color: rgba(247,242,233,.88); margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block; font-family: var(--display-caps);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600;
  padding: 15px 30px; border-radius: 2px;
  cursor: pointer; border: 1px solid transparent; transition: all .25s ease; line-height: 1;
}
.btn + .btn { margin-left: 12px; }
/* Primario para fondos claros: rojo de marca, texto crema */
.btn-primary { background: var(--oxblood); color: var(--cream); border-color: var(--oxblood); }
.btn-primary:hover { background: var(--oxblood-deep); border-color: var(--oxblood-deep); }
/* Crema para fondos oscuros/rojos (hero) */
.btn-cream { background: var(--cream); color: var(--oxblood-deep); border-color: var(--cream); }
.btn-cream:hover { background: #fff; border-color: #fff; }
/* Contorno claro (secundario sobre rojo/oscuro) */
.btn-ghost, .btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(247,242,233,.5); }
.btn-ghost:hover, .btn-outline-light:hover { border-color: var(--cream); background: rgba(255,255,255,.08); }
.btn.full { width: 100%; text-align: center; }

/* ===================== SECTIONS ===================== */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.eyebrow, .section-title, .lede { }
#fundacion .center { margin-bottom: 3rem; }

.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 1rem; }
.pillar { padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.pillar h3 { font-family: var(--serif-display); font-size: 1.7rem; color: var(--oxblood); margin-bottom: .5rem; font-weight: 600; }
.pillar p { color: var(--ink-soft); font-size: 1.02rem; }

/* ===================== LINES ===================== */
.lines-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; margin-top: 3rem; }
.line-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px 34px; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.line-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(67,20,26,.5); }
.line-index { font-family: var(--serif-display); font-size: 3.4rem; color: var(--cream-deep); position: absolute; top: 14px; right: 24px; line-height: 1; }
.line-card h3 { font-family: var(--serif-display); font-size: 1.9rem; color: var(--oxblood-deep); font-weight: 600; margin-bottom: .3rem; }
.line-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: var(--gold); margin-bottom: 1rem; }
.line-card p { color: var(--ink-soft); }
.line-link { display: inline-block; margin-top: 1.2rem; color: var(--oxblood); font-weight: 600; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.line-link:hover { color: var(--gold); }

/* ===================== TIMELINE ===================== */
.timeline { margin-top: 3.4rem; max-width: 760px; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 0 0 40px; position: relative; }
.tl-item::before { content:""; position:absolute; left: 120px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-year { font-family: var(--serif-display); font-size: 2rem; color: var(--gold); text-align: right; font-weight: 600; position: relative; }
.tl-year::after { content:""; position:absolute; right: -35px; top: 12px; width: 12px; height: 12px; background: var(--oxblood); border-radius: 50%; border: 3px solid var(--paper); }
.tl-body h3 { font-family: var(--serif-display); font-size: 1.5rem; color: var(--oxblood-deep); font-weight: 600; margin-bottom: .3rem; }
.tl-body p { color: var(--ink-soft); }

/* ===================== PRODUCTS ===================== */
.products-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; margin-top: 3rem; max-width: 920px; margin-left: auto; margin-right: auto; }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(67,20,26,.5); }
.product-cover { aspect-ratio: 3/4; background: linear-gradient(160deg, var(--oxblood), var(--oxblood-deep)); position: relative; display: grid; place-items: center; padding: 22px; }
.product-cover.has-img { padding: 0; background: var(--cream-deep); }
.product-cover img { width: 100%; height: 100%; object-fit: contain; }
.product-cover .cover-fallback { font-family: var(--serif-display); color: var(--cream); font-size: 1.25rem; text-align: center; line-height: 1.2; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-title { font-family: var(--serif-display); font-size: 1.55rem; color: var(--oxblood-deep); font-weight: 600; line-height: 1.12; }
.product-subtitle { font-family: var(--serif-display); font-size: 1.05rem; color: var(--ink-soft); font-style: italic; }
.product-author { font-size: .9rem; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.product-desc { font-size: .98rem; color: var(--ink-soft); margin-top: 8px; }
.product-price { font-family: var(--serif-display); font-size: 1.4rem; color: var(--ink); margin-top: auto; padding-top: 14px; }
.product .btn { margin-top: 10px; padding: 11px; font-size: .95rem; }
.tag { display:inline-block; font-size:.64rem; text-transform:uppercase; letter-spacing:.12em; background: var(--oxblood); color:var(--cream); padding:4px 9px; border-radius:2px; position:absolute; top:12px; left:12px; z-index:2; }
.ci-cover { background-size: cover; background-position: center; }

/* ===================== COLABORA ===================== */
.colabora { background: linear-gradient(160deg, var(--oxblood), var(--oxblood-deep)); }
.colabora .center { margin-bottom: 3rem; }
.collab-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.collab-card { border: 1px solid rgba(247,242,233,.22); border-radius: var(--radius); padding: 34px 28px; text-align: center; background: rgba(255,255,255,.03); }
.collab-card h3 { font-family: var(--serif-display); font-size: 1.7rem; color: var(--cream); font-weight: 600; margin-bottom: .6rem; }
.collab-card p { color: rgba(247,242,233,.78); margin-bottom: 1.4rem; }

/* ===================== CONTACTO ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list strong { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--cream); padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--serif-body); font-size: 1.05rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-note { color: var(--oxblood); font-weight: 600; text-transform: none; letter-spacing: 0; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: var(--cream); padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(247,242,233,.15); }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; max-width: 340px; }
.footer-logo { width: 56px; height: 56px; flex: none; object-fit: contain; }
.footer-brand strong { font-family: var(--serif-display); font-size: 1.3rem; }
.footer-brand p { color: rgba(247,242,233,.6); font-size: .95rem; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: var(--gold-soft); margin-bottom: 1rem; }
.footer-cols a { display: block; color: rgba(247,242,233,.72); font-size: .98rem; padding: 4px 0; }
.footer-cols a:hover { color: var(--cream); }
.footer-bottom { padding-top: 24px; color: rgba(247,242,233,.5); font-size: .88rem; }

/* ===================== CART DRAWER ===================== */
.cart-backdrop { position: fixed; inset: 0; background: rgba(36,20,18,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 60; }
.cart-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 90vw;
  background: var(--paper); z-index: 70; transform: translateX(100%); transition: transform .3s;
  display: flex; flex-direction: column; box-shadow: -12px 0 40px -18px rgba(0,0,0,.4);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--serif-display); font-size: 1.6rem; color: var(--oxblood-deep); }
.cart-close { background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { color: var(--ink-soft); text-align: center; padding: 40px 0; font-style: italic; }
.ci { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci-cover { width: 48px; height: 64px; background: linear-gradient(160deg, var(--oxblood), var(--oxblood-deep)); border-radius: 2px; }
.ci-title { font-family: var(--serif-display); font-size: 1.1rem; color: var(--oxblood-deep); line-height: 1.1; }
.ci-meta { font-size: .85rem; color: var(--ink-soft); }
.ci-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.ci-qty button { width: 22px; height: 22px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; border-radius: 2px; color: var(--ink); }
.ci-remove { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: .82rem; text-decoration: underline; }
.ci-price { font-family: var(--serif-display); font-size: 1.1rem; }
.cart-foot { padding: 24px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total span { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--ink-soft); }
.cart-total strong { font-family: var(--serif-display); font-size: 1.8rem; color: var(--oxblood-deep); }
.cart-note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; text-align: center; font-style: italic; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  body { font-size: 18px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 18px 28px; border-bottom: 1px solid var(--line); gap: 8px; }
  .pillars, .lines-grid, .collab-grid, .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { gap: 32px; }
  .section { padding: 68px 0; }
}
@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 18px; }
  .tl-item::before { left: 70px; }
  .tl-year { font-size: 1.4rem; }
  .tl-year::after { right: -24px; }
  .footer-cols { gap: 36px; }
}

/* ===================== PROYECTOS (Fundación) ===================== */
.proyectos-grid { grid-template-columns: repeat(3, 1fr); }
.line-card.featured { border-top: 3px solid var(--oxblood); background: linear-gradient(180deg, var(--paper), var(--cream)); }
.line-card.featured .line-index { color: var(--oxblood); opacity: .5; font-size: 2.6rem; }
.line-card.featured .line-link { color: var(--oxblood); border-color: var(--oxblood); }
@media (max-width: 900px) { .proyectos-grid { grid-template-columns: 1fr; } }

/* ===================== DIRECTORIO ===================== */
.directorio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; margin-top: 3rem; }
.member { text-align: center; }
.member-photo { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--cream-deep); border: 2px solid var(--line); display: grid; place-items: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-initials { font-family: var(--display-caps); font-size: 2rem; color: var(--oxblood); }
.member-name { font-family: var(--serif-display); font-size: 1.3rem; color: var(--oxblood-deep); font-weight: 600; line-height: 1.12; }
.member-role { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-top: 4px; }
.member.is-lead .member-photo { border-color: var(--oxblood); }
@media (max-width: 900px) { .directorio-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== NOTICIAS ===================== */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 3rem; }
.news-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--oxblood); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(67,20,26,.5); }
.news-date { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; color: var(--gold); margin-bottom: .8rem; }
.news-card h3 { font-family: var(--serif-display); font-size: 1.45rem; color: var(--oxblood-deep); font-weight: 600; margin-bottom: .5rem; line-height: 1.14; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--oxblood); }
.news-card p { color: var(--ink-soft); font-size: 1rem; }
.news-more { display: inline-block; margin-top: auto; padding-top: 12px; color: var(--oxblood); font-weight: 600; }
.news-cta { text-align: center; margin-top: 2.4rem; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

/* ===================== LEY DE DONACIONES ===================== */
.ley-box { max-width: 820px; margin: 0 auto 2.6rem; text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(247,242,233,.25); border-radius: var(--radius); padding: 28px 32px; }
.ley-box .ley-badge { display: inline-block; font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--gold-soft); border: 1px solid rgba(247,242,233,.3); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.ley-box p { color: rgba(247,242,233,.85); font-size: 1.05rem; }

/* ===================== ENTRADA (single) ===================== */
.post-single { max-width: 760px; margin: 0 auto; }
.post-single .post-meta { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold); margin-bottom: 1rem; }
.post-single h1 { font-family: var(--serif-display); font-size: clamp(2rem, 4.5vw, 3rem); color: var(--oxblood-deep); font-weight: 600; line-height: 1.1; margin-bottom: 1.4rem; }
.post-single .post-body { font-size: 1.14rem; color: var(--ink); }
.post-single .post-body p { margin-bottom: 1.2rem; }
.post-back { display: inline-block; margin-bottom: 2rem; color: var(--oxblood); font-weight: 600; }

/* ===================== NUESTROS PROYECTOS (con logos) ===================== */
.proyectos-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; margin-top: 3rem; }
.proy-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; transition: transform .2s, box-shadow .2s; }
.proy-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(67,20,26,.5); }
.proy-logo { height: 88px; display: grid; place-items: center; margin-bottom: 18px; width: 100%; }
.proy-logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }
.proy-logo--text .proy-name { font-family: var(--display-caps); font-size: 1.15rem; line-height: 1.2; color: var(--oxblood-deep); letter-spacing: .04em; text-transform: uppercase; }
.proy-logo--text .proy-name em { display: block; font-family: var(--serif-display); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: var(--ink-soft); margin-top: 4px; }
.proy-desc { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.1rem; flex: 1; }
.proy-card .line-link { border-bottom: 1.5px solid var(--gold); }
@media (max-width: 900px) { .proyectos-logos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proyectos-logos { grid-template-columns: 1fr; } }

/* ===================== NUESTRO ALCANCE (números) ===================== */
.stats-band { position: relative; padding: 90px 0; color: var(--cream); background: linear-gradient(160deg, var(--oxblood), var(--oxblood-deep)); overflow: hidden; }
.stats-band::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity:.6; }
.stats-band .container { position: relative; }
.stats-band .center { margin-bottom: 2.6rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat-num { display: block; font-family: var(--serif-display); font-weight: 600; font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1; color: var(--cream); }
.stat-label { display: block; margin-top: 10px; font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gold-soft); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } }

/* Botón dentro de tarjeta de proyecto */
.proy-btn { margin-top: auto; padding: 10px 22px; font-size: .95rem; }

/* ===================== CARRUSEL / GALERÍA ===================== */
.carousel { position: relative; margin-top: 3rem; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; }
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(43,39,35,.55); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; z-index: 2; }
.carousel-btn:hover { background: var(--oxblood); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dots button.active { background: var(--oxblood); transform: scale(1.25); }
@media (max-width: 620px) { .carousel-btn { width: 38px; height: 38px; font-size: 1.4rem; } }

/* ===================== COLLAGE INTEGRADO (Nuestro alcance) ===================== */
.impact-collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 14px; margin-top: 2.8rem; }
.ic-item { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 12px 28px -18px rgba(0,0,0,.55); }
.ic-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ic-item:hover img { transform: scale(1.05); }
.ic-lead { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .impact-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .ic-lead { grid-column: span 2; grid-row: span 1; }
}

/* ===================== PÁGINAS INTERNAS ===================== */
.page-hero { position: relative; overflow: hidden; padding: 96px 0 72px; color: var(--cream); background: linear-gradient(160deg, var(--oxblood), var(--oxblood-deep)); }
.page-hero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity:.6; }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { font-family: var(--serif-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; color: var(--cream); }
.page-hero p.page-sub { margin-top: 1rem; max-width: 620px; font-size: 1.2rem; color: rgba(247,242,233,.85); }
.section-cta { text-align: center; margin-top: 2.6rem; }
/* Enlace tipo "ver más" en resúmenes de la portada */
.summary-more { display:inline-block; margin-top: 1.4rem; }

/* ===================== VARIANTES CLARAS / BOTÓN OSCURO ===================== */
.btn-outline-dark { background: transparent; color: var(--oxblood); border-color: rgba(192,57,43,.4); }
.btn-outline-dark:hover { background: var(--oxblood); color: var(--cream); border-color: var(--oxblood); }

/* Ley de Donaciones sobre fondo claro (página Aportar) */
.ley-box--light { background: var(--cream); border-color: var(--line); }
.ley-box--light .ley-badge { color: var(--gold); border-color: var(--line); }
.ley-box--light p { color: var(--ink); }

/* Tarjetas de aporte sobre fondo claro */
.collab-grid--light { margin-top: 2.4rem; }
.collab-card--light { background: var(--paper); border-color: var(--line); }
.collab-card--light h3 { color: var(--oxblood-deep); }
.collab-card--light p { color: var(--ink-soft); }

/* ===================== TABLA CONGRESO ===================== */
.table-wrap { margin-top: 2.6rem; overflow-x: auto; }
.congreso-table { width: 100%; border-collapse: collapse; }
.congreso-table thead th {
  background: var(--oxblood-deep); color: var(--cream);
  font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; text-align: left; padding: 18px 22px; white-space: nowrap;
}
.congreso-table tbody td { padding: 22px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 1.05rem; color: var(--ink); line-height: 1.35; }
.congreso-table tbody tr:hover { background: var(--cream); }
.congreso-table .ed { font-family: var(--display-caps); color: var(--oxblood); font-weight: 700; white-space: nowrap; letter-spacing: .04em; }
@media (max-width: 680px) {
  .congreso-table, .congreso-table tbody, .congreso-table tr, .congreso-table td { display: block; width: 100%; }
  .congreso-table thead { display: none; }
  .congreso-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; padding: 6px 4px; }
  .congreso-table tbody td { border: none; padding: 8px 18px; display: flex; justify-content: space-between; gap: 16px; }
  .congreso-table tbody td::before { content: attr(data-label); font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; color: var(--gold); flex: none; align-self: center; }
  .congreso-table .ed { font-size: 1.2rem; }
}

/* ===================== ACORDEÓN CONGRESO (ediciones desplegables) ===================== */
.congreso-acc { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.acc-headrow, .acc-head { display: grid; grid-template-columns: 110px 150px 1fr 210px 28px; gap: 22px; align-items: center; }
.acc-headrow { background: var(--oxblood-deep); color: var(--cream); font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; padding: 16px 22px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; text-align: left; background: var(--paper); border: none; cursor: pointer; padding: 22px; font-family: var(--serif-body); font-size: 1.05rem; color: var(--ink); line-height: 1.35; transition: background .2s; }
.acc-head:hover { background: var(--cream); }
.acc-head .ed { font-family: var(--display-caps); color: var(--oxblood); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.acc-caret { color: var(--gold); justify-self: end; transition: transform .25s; }
.acc-head[aria-expanded="true"] { background: var(--cream); }
.acc-head[aria-expanded="true"] .acc-caret { transform: rotate(180deg); }
.acc-body { display: none; background: var(--cream); padding: 0 22px 26px; }
.acc-body.open { display: block; }
.ed-program .ed-meta { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--gold); margin-bottom: 14px; }
.ed-sched { list-style: none; }
.ed-sched li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.ed-sched li:first-child { border-top: none; }
.ed-sched .t { font-family: var(--display-caps); font-size: .8rem; color: var(--oxblood); letter-spacing: .04em; white-space: nowrap; }
.ed-sched .a { color: var(--ink); }
.ed-empty { color: var(--ink-soft); font-style: italic; }
@media (max-width: 680px) {
  .acc-headrow { display: none; }
  .acc-head { display: block; position: relative; padding-right: 46px; }
  .acc-head span { display: block; }
  .acc-head .ed { font-size: 1.2rem; margin-bottom: 4px; }
  .acc-caret { position: absolute; right: 20px; top: 22px; }
  .ed-sched li { grid-template-columns: 1fr; gap: 2px; }
}

/* Programa simplificado (Panel / Conferencia) */
.ed-block { padding: 16px 0; border-top: 1px solid var(--line); }
.ed-block:first-of-type { border-top: none; }
.ed-kind { display: inline-block; font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; color: var(--gold); margin-bottom: 6px; }
.ed-tt { font-family: var(--serif-display); font-size: 1.35rem; color: var(--oxblood-deep); font-weight: 600; line-height: 1.15; }
.ed-people { color: var(--ink-soft); font-size: 1.02rem; margin-top: 3px; }

/* ===================== MINI-GALERÍA POR EDICIÓN + VISOR ===================== */
.ed-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 22px; }
.ed-thumb { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; }
.ed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ed-thumb:hover img { transform: scale(1.06); }

/* Visor (lightbox) */
.lb-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(20,16,14,.92); display: none; align-items: center; justify-content: center; }
.lb-overlay.open { display: flex; }
.lb-img { max-width: 88vw; max-height: 82vh; object-fit: contain; box-shadow: 0 20px 60px -20px rgba(0,0,0,.7); border-radius: 2px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: var(--oxblood); }
.lb-prev { left: 4vw; } .lb-next { right: 4vw; }
.lb-close { top: 4vh; right: 4vw; width: 44px; height: 44px; font-size: 1.4rem; }
.lb-count { position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center; color: rgba(247,242,233,.8); font-family: var(--display-caps); letter-spacing: .12em; font-size: .78rem; }
@media (max-width: 620px) { .lb-btn { width: 42px; height: 42px; } .lb-prev { left: 2vw; } .lb-next { right: 2vw; } }

/* Directorio con presentación (bio) */
.directorio-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.member-bio { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; max-width: 300px; margin-left: auto; margin-right: auto; }

/* ===================== SUBMENÚ DESPLEGABLE (encabezado) ===================== */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-caret { font-size: .7em; color: var(--gold); margin-left: 2px; }
.sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 190px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 34px -20px rgba(67,20,26,.5);
  padding: 8px 0; display: none; z-index: 60;
}
.sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .sub-menu { display: block; }
.sub-menu a { display: block; padding: 9px 20px; font-size: .95rem; color: var(--ink-soft); white-space: nowrap; }
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: var(--cream); color: var(--oxblood); }
@media (max-width: 900px) {
  .nav-item, .nav-item.has-sub { display: block; }
  .nav-caret { display: none; }
  .sub-menu { position: static; display: block; border: none; box-shadow: none; padding: 2px 0 6px 16px; min-width: 0; }
  .sub-menu::before { display: none; }
}

/* Cifras de impacto del Congreso (fondo claro) */
.congreso-impacto { margin-top: 3rem; }
.congreso-impacto .stat-num { color: var(--oxblood); }
.congreso-impacto .stat-label { color: var(--gold); }

/* Nube de logos (monocromática, altura pareja) */
.logo-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 46px; max-width: 940px; margin: 3.2rem auto 0; }
.logo-chip { display: flex; align-items: center; justify-content: center; height: 42px; }
.logo-chip img { max-height: 40px; max-width: 155px; width: auto; object-fit: contain; opacity: .78; transition: opacity .25s, transform .25s; }
.logo-chip img:hover { opacity: 1; transform: scale(1.08); }
@media (max-width: 560px) { .logo-cloud { gap: 24px 30px; } .logo-chip { height: 34px; } .logo-chip img { max-height: 32px; max-width: 120px; } }

/* Impacto del Congreso: 5 cifras parejas */
.congreso-impacto { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) { .congreso-impacto { grid-template-columns: repeat(2, 1fr); } }

/* Cátedra — grupos de lectura */
.lectura-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 3rem; max-width: 820px; margin-left: auto; margin-right: auto; }
.lectura-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--oxblood); border-radius: var(--radius); padding: 30px 30px 32px; }
.lectura-year { font-family: var(--display-caps); font-size: 1.05rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 10px; }
.lectura-card h3 { font-family: var(--serif-display); font-size: 1.7rem; color: var(--oxblood-deep); font-weight: 600; line-height: 1.12; }
.lectura-author { font-style: italic; color: var(--ink-soft); margin-top: 2px; }
.lectura-note { color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 640px) { .lectura-grid { grid-template-columns: 1fr; } }

/* Cátedra — lista de cursos */
.curso-kicker { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--gold); text-align: center; margin-top: 1.4rem; }
.curso-list { list-style: none; max-width: 560px; margin: 1.2rem auto 0; }
.curso-list li { font-family: var(--serif-display); font-size: 1.35rem; color: var(--oxblood-deep); text-align: center; padding: 14px 0; border-top: 1px solid var(--line); }
.curso-list li:first-child { border-top: none; }

/* Cátedra — galería con pies de foto (usa el visor .ed-thumb) */
.cat-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin-top: 3rem; }
.cat-fig { margin: 0; }
.cat-fig .ed-thumb { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; }
.cat-fig .ed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-fig .ed-thumb:hover img { transform: scale(1.06); }
.cat-fig figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.35; }

/* ===================== CÁTEDRA — REDISEÑO ===================== */
/* Hero con foto */
.catedra-hero { background-color: var(--oxblood-deep); background-size: cover; background-position: center; padding: 132px 0 112px; }
.catedra-hero::before { background-image: linear-gradient(180deg, rgba(28,14,11,.48), rgba(70,20,15,.84)); background-size: cover; opacity: 1; }
.catedra-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }

/* 3 instancias */
.instancias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 3rem; }
.instancia { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--oxblood); border-radius: var(--radius); padding: 34px 30px 30px; overflow: hidden; }
.inst-num { position: absolute; top: 14px; right: 22px; font-family: var(--serif-display); font-size: 3rem; line-height: 1; color: var(--cream-deep); }
.inst-cadence { display: inline-block; font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; color: var(--cream); background: var(--oxblood); border-radius: 999px; padding: 5px 13px; margin-bottom: 14px; }
.instancia h3 { font-family: var(--serif-display); font-size: 1.75rem; color: var(--oxblood-deep); font-weight: 600; margin-bottom: .4rem; }
.instancia p { color: var(--ink-soft); }

/* Filas imagen + texto */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.fr-media { min-height: 460px; background-size: cover; background-position: center; }
.fr-body { padding: 74px clamp(28px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.feature-row.reverse .fr-media { order: 2; }
.fr-title { font-family: var(--serif-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--oxblood-deep); line-height: 1.1; margin: .2rem 0 1rem; }
.fr-text { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1rem; }
.fr-list { list-style: none; }
.fr-list li { position: relative; padding: 12px 0 12px 24px; border-top: 1px solid var(--line); color: var(--ink); }
.fr-list li:first-child { border-top: none; }
.fr-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.fr-list--plain li { font-family: var(--serif-display); font-size: 1.3rem; color: var(--oxblood-deep); }
.fr-list--plain li::before { display: none; }
.fr-year { font-family: var(--display-caps); color: var(--oxblood); font-size: .9rem; margin-right: 6px; letter-spacing: .04em; }
.fr-kicker { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--gold); margin: 1.1rem 0 .2rem; }

/* Cierre */
.catedra-cta { background: linear-gradient(160deg, var(--oxblood), var(--oxblood-deep)); }

@media (max-width: 860px) {
  .instancias { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row .fr-media { min-height: 280px; order: 0 !important; }
  .fr-body { padding: 48px 28px; }
}

/* ===================== REVISTA ESTUDIOS ===================== */
.pullquote { text-align: center; font-family: var(--serif-display); font-style: italic; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--oxblood); margin: 2.6rem auto 0; max-width: 720px; line-height: 1.2; }
.revista-spread { margin: 3rem auto 0; max-width: 940px; }
.revista-spread img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 50px -28px rgba(67,20,26,.5); }
.revista-spread figcaption { text-align: center; font-size: .9rem; color: var(--ink-soft); font-style: italic; margin-top: 12px; }
.revista-ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.revista-ficha .ficha-wide { grid-column: 1 / -1; }
.ficha-kicker { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; color: var(--gold); margin-bottom: 4px; }
.ficha-value { font-family: var(--serif-display); font-size: 1.2rem; color: var(--oxblood-deep); }
.ficha-wide .ficha-value { font-size: 1.05rem; line-height: 1.5; }
.temas-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.6rem; }
.temas-cloud span { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--oxblood-deep); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; background: var(--paper); }
/* Variante compacta, junto a la portada */
.temas-cloud--sm { justify-content: flex-start; gap: 8px; margin-top: 8px; }
.temas-cloud--sm span { font-size: .64rem; letter-spacing: .08em; padding: 5px 11px; }
@media (max-width: 620px) { .revista-ficha { grid-template-columns: 1fr; } }

/* Revista — Número 1: portada + ficha en dos columnas */
.revista-n1 { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; margin-top: 3rem; max-width: 980px; margin-left: auto; margin-right: auto; }
.revista-cover { margin: 0; }
.revista-cover img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -26px rgba(67,20,26,.6); }
.revista-ficha-col .ficha-row { padding: 16px 0; border-top: 1px solid var(--line); }
.revista-ficha-col .ficha-row:first-child { border-top: none; }
.ficha-comite { font-size: 1.02rem !important; line-height: 1.6; }
@media (max-width: 760px) { .revista-n1 { grid-template-columns: 1fr; gap: 28px; max-width: 460px; } }

/* ===================== HERO CON FOTO (portada) ===================== */
.hero--photo { background-color: var(--oxblood-deep); background-size: cover; background-position: center; }
.hero--photo::before {
  background-image: linear-gradient(90deg, rgba(28,13,10,.88) 0%, rgba(45,17,13,.7) 45%, rgba(60,20,15,.48) 100%);
  background-size: cover; opacity: 1;
}
.hero--photo .hero-content { padding-top: 96px; padding-bottom: 96px; }

/* Espaciado pilares en portada (Quiénes somos) */
#quienes-somos .pillars { margin-top: 2.8rem; }
#quienes-somos .section-cta { margin-top: 2.6rem; }

/* ===================== PROYECTOS EN CÍRCULOS ===================== */
.proyectos-circulos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(24px, 4vw, 52px); margin-top: 3.4rem;
}
.proy-circ {
  width: clamp(148px, 15vw, 186px); text-decoration: none; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.proy-disc {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: #ffffff; border: 1px solid var(--line);
  box-shadow: 0 16px 34px -18px rgba(67,20,26,.35);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.proy-circ:hover .proy-disc {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px -20px rgba(158,43,30,.45);
  border-color: var(--gold, #a8894f);
}
.proy-disc img { width: 52%; height: 52%; object-fit: contain; display: block; margin: 0; }
.proy-disc--text .proy-txt {
  font-family: var(--display-caps, "Cinzel", serif); text-transform: uppercase;
  letter-spacing: .1em; font-size: clamp(.85rem, 1.2vw, 1.05rem); font-weight: 600;
  color: var(--oxblood-deep); line-height: 1.15; padding: 0 14px;
}
.proy-label {
  margin-top: 1.1rem; font-family: var(--serif-display, "Cormorant Garamond", serif);
  font-size: 1.18rem; font-weight: 600; color: var(--oxblood-deep); line-height: 1.2;
}
.proy-circ:hover .proy-label { color: var(--oxblood); }
@media (max-width: 620px) {
  .proy-circ { width: 40%; }
}

/* ============================================================
   HISTORIA — línea de tiempo (según diseño del cliente)
   ============================================================ */
.historia { background: #FBF7E9; color: #141414; font-family: 'EB Garamond', Georgia, serif; font-size: 19px; line-height: 1.6; margin: 0; }
.historia .hist-wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(24px, 6vw, 72px); padding-right: clamp(24px, 6vw, 72px); }

/* Hero */
.hist-hero { padding-top: clamp(40px, 6vw, 80px); }
.hist-eyebrow { margin: 0 0 18px; font-family: 'Archivo', Helvetica, sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #B9B2A0; }
.hist-title { margin: 0; font-family: 'EB Garamond', Georgia, serif; font-weight: 500; font-size: clamp(38px, 6.4vw, 82px); line-height: .98; letter-spacing: -.02em; color: #141414; max-width: 18ch; }
.hist-portada { width: 100%; height: clamp(260px, 40vh, 520px); object-fit: cover; display: block; margin-top: clamp(32px, 4vw, 56px); }

/* Intro */
.hist-intro { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(8px, 2vw, 24px); }
.hist-h2 { margin: 0; font-family: 'EB Garamond', Georgia, serif; font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.015em; color: #141414; max-width: 26ch; }

/* Timeline */
.hist-timeline { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 100px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 7vw, 100px); }
.hist-hito { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: start; }
.hist-year { position: sticky; top: 96px; }
.hist-anio { margin: 0; font-family: 'Archivo', Helvetica, sans-serif; font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -.02em; color: var(--oxblood); }
.hist-anio--memo { color: #c43417; }
.hist-label { margin: 10px 0 0; font-family: 'Archivo', Helvetica, sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #6E6A5E; line-height: 1.5; }
.hist-content { border-top: 1px solid var(--oxblood); padding-top: 26px; }
.hist-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.hist-text p { margin: 0 0 18px; max-width: 62ch; text-align: justify; }
.hist-text p:last-child { margin-bottom: 0; }

/* Figuras */
.hist-fig { margin: 0; }
.hist-fig img, .hist-slot { display: block; width: 100%; }
/* Sin recorte: la foto se muestra completa a su proporción natural.
   Los modificadores (--wide, --portrait, --mini) fuerzan un recorte cuando se necesita. */
.hist-fig img { height: auto; }
.hist-fig--wide img, .hist-fig--portrait img, .hist-fig--mini img,
.hist-grid2 .hist-fig img, .hist-gal-item img { object-fit: cover; }
.hist-fig--portrait img, .hist-fig--portrait .hist-ph { aspect-ratio: 2 / 3; }
.hist-fig--wide img, .hist-fig--wide .hist-ph { aspect-ratio: 16 / 10; }
.hist-fig--sm { max-width: 200px; }
.hist-fig--mini { max-width: 160px; }
.hist-fig--mini img { width: 160px !important; height: 224px !important; aspect-ratio: auto !important; object-fit: cover; object-position: center; }
.hist-fig--mini .hist-ph { width: 160px; aspect-ratio: 2 / 3; }
.hist-fig--logo { max-width: 230px; margin: 8px auto 0; }
.hist-fig--logo img, .hist-fig--logo .hist-ph {
  aspect-ratio: 1 / 1; border-radius: 50%; object-fit: contain;
  background: #FBF7E9; padding: 26px; border: 1px solid #E2DAC4; min-height: 0;
}
.hist-fig--center { max-width: 240px; margin: 0 auto; }
.hist-fig--contain { background: transparent; }
.hist-fig--contain img { object-fit: contain; }
.hist-gallery { display: grid; gap: 14px; align-content: start; }
.hist-gallery--sm { max-width: 230px; }
.hist-fig--v { max-width: 230px; }   /* vertical chica; la horizontal de al lado va a ancho completo */
.hist-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hist-grid2 .hist-fig img, .hist-grid2 .hist-ph { aspect-ratio: 4 / 3; }

/* Placeholder (cuando aún no hay foto) */
.hist-ph { display: grid; place-items: center; background: #FDFAF0; border: 1px dashed #cbc2ab; min-height: 150px; padding: 20px; text-align: center; }
.hist-ph span { font-family: 'Archivo', Helvetica, sans-serif; font-size: 12px; letter-spacing: .04em; color: #9a927f; max-width: 30ch; line-height: 1.5; }
.hist-fig--portrait .hist-ph { min-height: 0; }

/* Galería */
.hist-galeria-sec { padding-bottom: clamp(48px, 6vw, 88px); }
.hist-galeria-head { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--oxblood); padding-top: 22px; margin-bottom: 22px; }
.hist-galeria-head .hist-label { margin: 0; }
.hist-gal-btns { display: flex; gap: 10px; }
.hist-gal-btns button { width: 42px; height: 42px; border-radius: 999px; border: 1px solid #D9D2BC; background: transparent; color: #45423A; font: 400 18px 'Archivo', Helvetica, sans-serif; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.hist-gal-btns button:hover { border-color: var(--oxblood); color: var(--oxblood); }
.hist-galeria { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 12px; }
.hist-gal-item { flex: 0 0 clamp(240px, 26vw, 340px); height: clamp(200px, 20vw, 260px); scroll-snap-align: start; }
.hist-gal-item img, .hist-gal-item .hist-ph { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 720px) {
  .hist-hito { grid-template-columns: 1fr; }
  .hist-year { position: static; }
}

/* ===== Revista: bloque Contenidos fusionado con El primer número ===== */
.revista-temas-head { margin-top: clamp(48px, 6vw, 84px); }

/* ===== Quiénes somos: acordeón de beneficios ===== */
.qs-acc { border-top: 1px solid #C0392B; }
.qs-acc:last-child { border-bottom: 1px solid #C0392B; }
.qs-acc-sum { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: clamp(16px,1.6vw,26px); align-items: center; padding: clamp(20px,2.6vw,32px) 0; }
.qs-acc-sum::-webkit-details-marker { display: none; }
.qs-acc-letter { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(38px,4vw,60px); line-height: .8; color: #C0392B; }
.qs-acc-title { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(21px,1.9vw,31px); line-height: 1.16; letter-spacing: -.01em; color: #241F1C; }
.qs-acc:hover .qs-acc-title { color: #9E2B1E; }
.qs-acc-ico { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.qs-acc-ico::before, .qs-acc-ico::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #C0392B; }
.qs-acc-ico::before { width: 16px; height: 2px; }
.qs-acc-ico::after { width: 2px; height: 16px; transition: transform .2s ease; }
.qs-acc[open] .qs-acc-ico::after { transform: translate(-50%,-50%) scaleY(0); }
.qs-acc-body { padding: 0 0 clamp(22px,2.6vw,32px); }
.qs-acc-body p { margin: 0; max-width: 68ch; text-align: justify; color: #4A4239; padding-left: calc(clamp(38px,4vw,60px) + clamp(16px,1.6vw,26px)); }
@media (max-width: 560px) { .qs-acc-body p { padding-left: 0; } }

/* ===== Quiénes somos: beneficios ===== */
.qs-benef { display: flex; flex-direction: column; gap: clamp(26px, 4vw, 42px); margin-top: clamp(22px, 3vw, 36px); }
.qs-benef-item { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2.4vw, 26px); align-items: start; }
.qs-benef-letter { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--oxblood); color: var(--cream); font-family: var(--display-caps); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; }
.qs-benef-title { font-family: var(--serif-display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; color: var(--oxblood-deep); margin: 6px 0 10px; }
.qs-benef-body p { margin: 0; }
@media (max-width: 560px) { .qs-benef-item { grid-template-columns: 1fr; gap: 12px; } }

/* ===== Aportar: contacto ===== */
.aportar-contacto { margin-top: clamp(24px, 4vw, 40px); }
.aportar-contacto .btn { margin-top: 14px; }

/* ===== Revista: sumario del número 1 ===== */
.revista-sumario-head { margin-top: clamp(48px, 6vw, 84px); }
.revista-sumario { columns: 2; column-gap: clamp(32px, 5vw, 64px); max-width: 980px; margin: 0 auto; }
.sum-sec { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 18px; }
.sum-sec-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; font-family: var(--serif-display); font-weight: 600; font-size: 1.32rem; color: var(--oxblood-deep); border-bottom: 1px solid var(--line, #e6ddc9); padding-bottom: 5px; }
.sum-num { font-family: var(--display-caps); font-size: .78rem; letter-spacing: .1em; color: var(--oxblood); }
.sum-materia { margin: 9px 0 3px; font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; color: #8a8172; }
.sum-list { list-style: none; margin: 0; padding: 0; }
.sum-item { display: flex; gap: 10px; padding: 3px 0; border-bottom: 1px dotted rgba(138,129,114,.3); }
.sum-item:last-child { border-bottom: 0; }
.sum-p { flex: 0 0 30px; font-family: var(--display-caps); font-size: .78rem; color: var(--oxblood); padding-top: 2px; }
.sum-body { display: flex; flex-direction: column; gap: 0; }
.sum-t { font-family: var(--serif-body); font-size: .94rem; line-height: 1.25; color: #26201b; }
.sum-a { font-family: var(--serif-body); font-style: italic; font-size: .84rem; color: var(--oxblood-deep); }
@media (max-width: 640px) { .revista-sumario { columns: 1; } }

/* ===== Revista: botón comprar ===== */
.revista-compra { margin-top: 22px; }
.revista-compra .btn { display: inline-block; }
.revista-compra-note { margin: 10px 0 0; font-size: .85rem; color: #6E6A5E; }

/* ===== Revista: carrusel de testimonios ===== */
.testi-head { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--oxblood); padding-top: 20px; margin-bottom: 22px; }
.testi-head .hist-label { margin: 0; font-family: 'Archivo', Helvetica, sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #6E6A5E; }
.testi-btns { display: flex; gap: 10px; }
.testi-btns button { width: 42px; height: 42px; border-radius: 999px; border: 1px solid #D9D2BC; background: transparent; color: #45423A; font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.testi-btns button:hover { border-color: var(--oxblood); color: var(--oxblood); }
.testi-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.testi-track::-webkit-scrollbar { height: 6px; }
.testi-track::-webkit-scrollbar-thumb { background: #D9D2BC; border-radius: 999px; }
.testi-card { position: relative; flex: 0 0 clamp(300px, 34vw, 420px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 22px; background: var(--paper); border: 1px solid var(--cream-deep); border-radius: 6px; padding: 40px 34px 30px; }
.testi-card::before { content: "\201C"; position: absolute; top: .04em; left: 20px; font-family: var(--serif-display), 'EB Garamond', Georgia, serif; font-size: 4.6rem; line-height: 1; color: rgba(192,57,43,.18); pointer-events: none; }
.testi-quote { margin: 0; flex: 1; position: relative; font-family: var(--serif-display), 'EB Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.34; letter-spacing: -.005em; color: #201a16; }
.testi-cite { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--cream-deep); padding-top: 16px; }
.testi-name { font-family: var(--display-caps), 'Archivo', Helvetica, sans-serif; font-weight: 600; font-size: .74rem; letter-spacing: .18em; color: var(--oxblood); text-transform: uppercase; }
.testi-role { font-size: .82rem; font-style: italic; color: #6E6A5E; }

/* ===== Portada: banda de citas (voces) ===== */
.fac-voces { background: linear-gradient(160deg, var(--oxblood-deep), var(--oxblood)); color: var(--cream); padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.fac-voces::before { content: "\201C"; position: absolute; top: -.06em; left: 50%; transform: translateX(-50%); font-family: var(--serif-display); font-size: clamp(7rem, 15vw, 12rem); line-height: 1; color: rgba(247,242,233,.13); pointer-events: none; }
.fac-voces-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.fac-voces-track::-webkit-scrollbar { display: none; }
.fac-voz { flex: 0 0 100%; scroll-snap-align: center; margin: 0; text-align: center; padding: 0 clamp(4px, 4vw, 60px); position: relative; }
.fac-voz-q { margin: 0 auto 1.6rem; max-width: 880px; font-family: var(--serif-display); font-weight: 500; font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.3; letter-spacing: -.005em; }

/* Variante de citas SIN la comilla gigante de fondo y SIN eyebrow.
   Las comillas van en el propio texto (« »). */
.fac-voces--plain::before { display: none; }
.fac-voz-cite { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: .4rem; }
.fac-voz-cite::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold-soft); margin-bottom: .7rem; opacity: .9; }
.fac-voz-name { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1rem, 1.5vw, 1.22rem); font-weight: 700; color: var(--cream); }
.fac-voz-role { font-family: var(--serif-body); font-style: italic; font-size: .96rem; color: var(--gold-soft); }

/* Encabezado dentro de la banda (usado en Estudios) */
.fac-voces-eyebrow { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .3em; font-size: .74rem; color: var(--gold-soft); margin: 0 0 1rem; position: relative; }
.fac-voces-title { font-family: var(--serif-display); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--cream); margin: 0 0 clamp(30px, 4vw, 48px); position: relative; }
.fac-voces-dots { display: flex; justify-content: center; gap: 10px; margin-top: clamp(28px, 4vw, 40px); }
.fac-voces-dot { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 1px solid rgba(247,242,233,.55); background: transparent; cursor: pointer; transition: all .2s; }
.fac-voces-dot.is-on { background: var(--gold-soft); border-color: var(--gold-soft); }

/* ===== Newsletter band (MC4WP) ===== */
.nl-band { background: var(--cream); border-top: 1px solid var(--cream-deep); padding: clamp(48px,7vw,88px) 0; }
.nl-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.nl-title { font-family: var(--serif-display); font-weight: 600; font-size: clamp(1.9rem,4vw,2.8rem); line-height: 1.1; color: var(--oxblood-deep); margin: 0 0 .6rem; }
.nl-sub { font-family: var(--serif-body); font-size: 1.05rem; color: var(--ink-soft); margin: 0 auto 1.8rem; max-width: 46ch; }
.nl-form .mc4wp-form { margin: 0; }
.nl-fields { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nl-fields input[type=email] { flex: 1 1 320px; max-width: 420px; padding: 14px 16px; font-family: var(--serif-body); font-size: 1rem; border: 1px solid #cfc7b4; border-radius: 4px; background: #fff; color: var(--ink); }
.nl-fields input[type=email]:focus { outline: none; border-color: var(--oxblood); }
.nl-fields input[type=submit] { padding: 14px 28px; background: var(--ink); color: #fff; border: 0; border-radius: 4px; font-family: var(--display-caps); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; cursor: pointer; transition: background .2s; }
.nl-fields input[type=submit]:hover { background: var(--oxblood); }
.nl-form .mc4wp-response { margin-top: 12px; font-family: var(--serif-body); color: var(--ink-soft); }
@media (max-width:520px){ .nl-fields input[type=submit]{ flex:1 1 100%; } }

/* Consentimiento (datos) */
.nl-consent { display: flex; align-items: flex-start; gap: 8px; justify-content: center; max-width: 48ch; margin: 14px auto 0; font-family: var(--serif-body); font-size: .85rem; line-height: 1.4; color: var(--ink-soft); text-align: left; }
.nl-consent input[type=checkbox] { margin-top: 3px; flex: 0 0 auto; }
.nl-consent a { color: var(--oxblood); text-decoration: underline; }

/* Nota de datos bajo el formulario */
.nl-note { margin: 14px auto 0; max-width: 46ch; font-family: var(--serif-body); font-size: .82rem; line-height: 1.4; color: var(--ink-soft); text-align: center; }
