@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Slab:wght@400;600;700&display=swap');

:root {
  --pink: #DD5275;
  --pink-dark: #C23B64;
  --dark: #1C1C2E;
  --dark-2: #2D2D45;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --bg: #ffffff;
  --bg-alt: #FEF5F7;
  --border: #e8dde0;
  --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--pink-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* HEADER */
header { background: var(--dark); padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,.45); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 42px; }
nav ul { list-style: none; display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
nav a { color: rgba(255,255,255,.82); font-size: .84rem; font-weight: 500; letter-spacing: .02em; padding: 7px 11px; border-radius: 5px; transition: all .18s; text-decoration: none; }
nav a:hover, nav a.active { color: #fff; background: rgba(221,82,117,.22); text-decoration: none; }
.nav-cta a { background: var(--pink) !important; color: #fff !important; margin-left: 6px; }
.nav-cta a:hover { background: var(--pink-dark) !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 23px; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--dark); padding: 16px 24px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 2px; }
  nav a { display: block; padding: 12px 16px; font-size: .95rem; }
  .nav-cta a { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* HERO */
.hero { background: linear-gradient(135deg, var(--dark) 0%, #2d1a2e 60%, #3a1530 100%); color: #fff; padding: 88px 24px; text-align: center; }
.hero-kicker { display: inline-block; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 22px; }
.hero h1 { font-family: 'Roboto Slab', serif; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; max-width: 740px; margin: 0 auto 20px; }
.hero h1 span { color: var(--pink); }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--dark); color: #fff; padding: 52px 24px; }
.page-hero .container { }
.page-hero .kicker { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.page-hero h1 { font-family: 'Roboto Slab', serif; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.25; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-top: 14px; max-width: 620px; line-height: 1.65; }

/* BUTTONS */
.btn { display: inline-block; padding: 13px 28px; border-radius: 6px; font-size: .94rem; font-weight: 600; cursor: pointer; border: none; transition: all .18s; text-decoration: none; line-height: 1; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--pink); border: 2px solid var(--pink); }
.btn-ghost:hover { background: var(--pink); color: #fff; text-decoration: none; }

/* SECTIONS */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.dark-band { background: var(--dark); color: #fff; padding: 64px 0; }
.section-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.section-title { font-family: 'Roboto Slab', serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--ink); margin-bottom: 16px; line-height: 1.3; }
.dark-band .section-title { color: #fff; }
.section-lead { font-size: 1.02rem; color: var(--ink-2); max-width: 660px; line-height: 1.7; margin-bottom: 32px; }
.dark-band .section-lead { color: rgba(255,255,255,.72); }
.text-center { text-align: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* STAT GRID */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-top: 32px; }
.stat { background: #fff; border-radius: 10px; padding: 24px 20px; text-align: center; box-shadow: 0 1px 8px rgba(0,0,0,.06); border-top: 3px solid var(--pink); }
.stat-n { font-family: 'Roboto Slab', serif; font-size: 2rem; font-weight: 700; color: var(--pink); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 32px; }
.card { background: #fff; border-radius: 10px; padding: 26px; box-shadow: 0 1px 6px rgba(0,0,0,.07); border-left: 3px solid var(--pink); }
.card h3 { font-family: 'Roboto Slab', serif; font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.card p { font-size: .91rem; color: var(--ink-2); line-height: 1.65; }

/* NEWS CARDS */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,.08); transition: transform .18s, box-shadow .18s; }
.news-card:hover { transform: translateY(-2px); box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.news-card-body { padding: 22px 24px; }
.news-date { font-size: .75rem; color: var(--pink); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.news-card h3 { font-family: 'Roboto Slab', serif; font-size: .97rem; color: var(--ink); margin-bottom: 10px; line-height: 1.45; }
.news-card p { font-size: .88rem; color: var(--ink-2); line-height: 1.62; }
.news-more { display: inline-block; margin-top: 14px; color: var(--pink); font-size: .86rem; font-weight: 700; }
.news-more:hover { color: var(--pink-dark); }

/* PROSE */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-family: 'Roboto Slab', serif; font-size: 1.35rem; font-weight: 700; color: var(--ink); margin: 36px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.prose h2:first-child { border-top: none; margin-top: 0; }
.prose h3 { font-family: 'Roboto Slab', serif; font-size: 1.08rem; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.prose p { margin-bottom: 16px; line-height: 1.78; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; line-height: 1.65; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--pink); padding: 14px 20px; background: var(--bg-alt); margin: 24px 0; border-radius: 0 6px 6px 0; }
.prose blockquote p { margin: 0; font-style: italic; color: var(--ink-2); font-size: .97rem; }

/* PILLAR BLOCKS */
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.pillar:last-child { border-bottom: none; }
.pillar-num { font-family: 'Roboto Slab', serif; font-size: 1.7rem; font-weight: 700; color: var(--pink); line-height: 1; padding-top: 2px; }
.pillar-content h3 { font-family: 'Roboto Slab', serif; font-size: 1.02rem; color: var(--ink); margin-bottom: 8px; }
.pillar-content p { font-size: .91rem; color: var(--ink-2); line-height: 1.65; }

/* TIMELINE */
.timeline { border-left: 2px solid var(--pink); padding-left: 24px; margin-top: 8px; }
.timeline-item { position: relative; margin-bottom: 18px; }
.timeline-item::before { content: ''; position: absolute; left: -30px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.timeline-year { font-family: 'Roboto Slab', serif; font-size: .86rem; font-weight: 700; color: var(--pink); }
.timeline-text { font-size: .91rem; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }

/* DIRECTORIO */
.directorio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.directorio-card { background: var(--bg-alt); border-radius: 8px; padding: 18px 20px; }
.directorio-cargo { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin-bottom: 4px; }
.directorio-nombre { font-size: .93rem; font-weight: 500; color: var(--ink); line-height: 1.4; }

/* PUBLICATION */
.pub-card { background: #fff; border-radius: 10px; padding: 28px 32px; box-shadow: 0 1px 8px rgba(0,0,0,.08); border-top: 4px solid var(--pink); margin-bottom: 20px; }
.pub-meta { font-size: .78rem; color: var(--ink-2); margin-bottom: 12px; }
.pub-card h3 { font-family: 'Roboto Slab', serif; font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.pub-card p { font-size: .93rem; color: var(--ink-2); line-height: 1.68; margin-bottom: 16px; }
.pub-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--bg-alt); color: var(--pink); font-size: .73rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); }

/* CONTACT FORM */
.contact-form { max-width: 600px; }
.contact-form label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 6px; font-size: .94rem; color: var(--ink); font-family: inherit; transition: border .18s; outline: none; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(221,82,117,.1); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { margin-bottom: 18px; }

/* COLLABORATION TABLE */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.data-table th { background: var(--dark); color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-align: left; padding: 12px 16px; }
.data-table td { padding: 12px 16px; font-size: .9rem; border-bottom: 1px solid var(--border); }
.data-table td:first-child { color: var(--ink-2); font-size: .82rem; }
.data-table td:last-child { font-weight: 500; color: var(--ink); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) { background: var(--bg-alt); }

/* VALIDATION LOGOS (text-based) */
.validation-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.validation-item { background: #fff; border-radius: 8px; padding: 14px 20px; box-shadow: 0 1px 6px rgba(0,0,0,.07); font-size: .82rem; color: var(--ink-2); line-height: 1.45; border-left: 3px solid var(--pink); }
.validation-item strong { display: block; color: var(--ink); font-size: .88rem; margin-bottom: 2px; }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 52px 24px 24px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 38px; margin-bottom: 14px; }
.footer-about { font-size: .88rem; line-height: 1.62; }
.footer-col h4 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .86rem; text-decoration: none; transition: color .18s; }
.footer-col a:hover { color: var(--pink); text-decoration: none; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a { color: rgba(255,255,255,.55); font-size: .82rem; text-decoration: none; padding: 6px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 4px; transition: all .18s; }
.footer-social a:hover { color: #fff; border-color: var(--pink); background: rgba(221,82,117,.15); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; font-size: .78rem; color: rgba(255,255,255,.35); text-align: center; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* UTILITIES */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0 !important; }
.pink  { color: var(--pink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.info-block { background: var(--bg-alt); border-radius: 10px; padding: 24px 28px; border-left: 3px solid var(--pink); margin-top: 24px; }
.info-block p { font-size: .92rem; color: var(--ink-2); line-height: 1.7; margin: 0; }
.info-block strong { color: var(--ink); }
