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

:root {
  --orange: #E8561A;
  --orange-light: #FF6B2B;
  --dark: #1A1A1A;
  --dark-bg: #1C1C1C;
  --gray: #6B6B6B;
  --gray-light: #F7F7F7;
  --border: #E8E8E8;
  --white: #FFFFFF;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 5%; display: flex; align-items: center;
  justify-content: space-between; height: 64px;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.logo-brand { font-size: 1.1rem; font-weight: 800; color: var(--orange); letter-spacing: -0.5px; }
.logo-sub { font-size: 0.55rem; font-weight: 600; color: var(--dark); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: .88rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--orange); color: var(--white); font-size: .88rem; font-weight: 600;
  padding: .55rem 1.3rem; border-radius: 6px; text-decoration: none; border: none;
  cursor: pointer; transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: var(--white); font-size: .88rem; font-weight: 600;
  padding: .55rem 1.3rem; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.4);
  text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: .9rem 5%; font-size: .8rem; color: var(--gray);
  background: var(--white); border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 .4rem; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 4rem 5% 5rem;
  background: linear-gradient(160deg, #fff 60%, #FFF3EE 100%);
}
.page-hero-eyebrow {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .8rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.1; max-width: 700px; margin-bottom: 1rem;
}
.page-hero p { font-size: 1rem; color: var(--gray); max-width: 520px; line-height: 1.65; }

/* ── SECTION COMMONS ── */
section { padding: 5rem 5%; }
.section-eyebrow {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; text-align: center;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900;
  letter-spacing: -1px; line-height: 1.1; text-align: center; margin-bottom: .8rem;
}
.section-sub {
  text-align: center; color: var(--gray); font-size: .95rem;
  max-width: 520px; margin: 0 auto 3.5rem;
}
.inner { max-width: 1100px; margin: 0 auto; }
.inner-narrow { max-width: 760px; margin: 0 auto; }

/* ════════════ HOME ════════════ */
.hero {
  min-height: 82vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 6rem 5% 5rem;
  background: linear-gradient(160deg, #fff 60%, #FFF3EE 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, #FF6B2B18 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #FFF3EE; border: 1px solid #FFD5C0; color: var(--orange);
  font-size: .72rem; font-weight: 700; padding: .3rem .9rem;
  border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.8rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -1.5px; max-width: 750px; margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--orange); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.hero > p { font-size: 1rem; color: var(--gray); max-width: 480px; margin-bottom: 2.2rem; }
.hero-cta { margin-bottom: 4rem; }
.hero-stats { display: flex; gap: 4rem; align-items: flex-start; }
.stat-item { text-align: center; }
.stat-number { font-size: 1.9rem; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-label { font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-top: .3rem; }

/* fases */
.fases { background: var(--white); }
.fases-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.fase-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.8rem 1.5rem; transition: box-shadow .2s, transform .2s;
}
.fase-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.fase-icon {
  width: 44px; height: 44px; background: #FFF3EE; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.1rem;
}
.fase-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: .5rem; }
.fase-card p { font-size: .83rem; color: var(--gray); line-height: 1.55; }

/* servicios home */
.servicios-home { background: var(--gray-light); }
.servicios-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.servicios-left h2 { font-size: clamp(1.9rem,3.5vw,3rem); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 1rem; text-align: left; }
.servicios-left p { color: var(--gray); font-size: .95rem; }
.servicios-eyebrow { display: block; font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); margin-bottom:1rem; }
.servicios-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.serv-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.4rem 1.2rem; transition: box-shadow .2s;
}
.serv-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.serv-icon { font-size: 1.3rem; margin-bottom: .8rem; display: block; }
.serv-card h4 { font-size: .92rem; font-weight: 800; margin-bottom: .4rem; }
.serv-card p { font-size: .78rem; color: var(--gray); line-height: 1.5; margin-bottom: .8rem; }
.serv-link { font-size: .75rem; font-weight: 700; color: var(--orange); text-decoration: none; letter-spacing: .04em; text-transform: uppercase; }
.serv-link:hover { text-decoration: underline; }

/* casos */
.casos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; max-width: 900px; margin: 3rem auto 0; }
.caso-card { border: 1px solid var(--border); border-radius: 12px; padding: 2.2rem 1.8rem; transition: box-shadow .2s; }
.caso-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.caso-icon { font-size: 1.1rem; color: var(--orange); margin-bottom: 1rem; }
.caso-metric { font-size: 2.6rem; font-weight: 900; letter-spacing: -1px; line-height: 1; margin-bottom: .4rem; }
.caso-metric.positive { color: var(--orange); }
.caso-metric.neutral { color: var(--dark); }
.caso-metric.green { color: #1DB954; }
.caso-desc { font-size: .82rem; color: var(--gray); margin-bottom: 1.2rem; }
.caso-tag { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); border-top: 1px solid var(--border); padding-top: .6rem; }

/* docencia home */
.docencia-home { background: var(--dark-bg); color: var(--white); }
.docencia-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.docencia-left .eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.docencia-left h2 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 1.2rem; }
.docencia-left p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 2rem; }
.docencia-left p strong { color: var(--white); font-weight: 600; }
.docencia-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.docencia-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.doc-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1.4rem; }
.doc-card-icon { width: 38px; height: 38px; background: rgba(232,86,26,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: .9rem; }
.doc-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; }
.doc-card p { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ════════════ SERVICE PAGES ════════════ */
.serv-page-body { padding: 4rem 5%; }
.serv-content { max-width: 760px; margin: 0 auto; }
.serv-content p { font-size: .95rem; color: var(--dark); line-height: 1.75; margin-bottom: 1.2rem; }
.serv-content p strong { font-weight: 700; }
.badge-partner {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); border-radius: 6px;
  padding: .4rem 1rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 2rem;
}
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 2rem 0; }
.check-item {
  display: flex; align-items: flex-start; gap: .7rem;
  background: var(--gray-light); border: 1px solid var(--border);
  border-radius: 8px; padding: 1rem;
}
.check-item .chk { color: var(--orange); font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.check-item span { font-size: .85rem; color: var(--dark); line-height: 1.5; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.pillar { border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.pillar-icon { font-size: 1.3rem; color: var(--orange); margin-bottom: .7rem; display: block; }
.pillar h4 { font-size: .95rem; font-weight: 800; margin-bottom: .3rem; }
.pillar p { font-size: .8rem; color: var(--gray); line-height: 1.5; }
.steps-list { display: flex; flex-direction: column; gap: .8rem; margin: 2rem 0; }
.step-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
  border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem 1.4rem;
}
.step-num { font-size: 1.1rem; font-weight: 900; color: var(--orange); min-width: 28px; line-height: 1.3; }
.step-item h4 { font-size: .95rem; font-weight: 800; margin-bottom: .3rem; }
.step-item p { font-size: .83rem; color: var(--gray); line-height: 1.5; }
.serv-section-title { font-size: 1.5rem; font-weight: 900; letter-spacing: -.5px; margin-bottom: 1.5rem; }
.cta-banner {
  background: var(--dark); color: var(--white); border-radius: 12px;
  padding: 2.5rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; margin-top: 3rem;
}
.cta-banner h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .3rem; }
.cta-banner p { font-size: .85rem; color: rgba(255,255,255,.6); }

/* ════════════ DOCENCIA PAGE ════════════ */
.doc-page-body { padding: 4rem 5%; }
.doc-program-card { border: 1px solid var(--border); border-radius: 14px; padding: 2.5rem; margin-bottom: 2rem; }
.doc-program-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.doc-prog-icon {
  width: 48px; height: 48px; background: var(--orange); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.doc-prog-eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .3rem; }
.doc-prog-title { font-size: 1.4rem; font-weight: 900; letter-spacing: -.5px; margin-bottom: .3rem; }
.doc-prog-sub { font-size: .88rem; color: var(--gray); }
.coautores-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.book-list { display: flex; flex-direction: column; gap: .6rem; }
.book-item { display: flex; align-items: center; gap: .8rem; border: 1px solid var(--border); border-radius: 8px; padding: .9rem 1.1rem; }
.book-item .book-icon { font-size: 1rem; color: var(--orange); flex-shrink: 0; }
.book-item h5 { font-size: .9rem; font-weight: 700; }
.book-item p { font-size: .77rem; color: var(--gray); }
.doc-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--orange); font-size: .88rem; font-weight: 600; text-decoration: none; margin-top: 1rem; }
.doc-link:hover { text-decoration: underline; }
.mentoria-card { border: 1px solid var(--border); border-radius: 14px; padding: 3rem; text-align: center; background: var(--gray-light); }
.mentoria-card h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.5px; margin-bottom: .7rem; }
.mentoria-card p { color: var(--gray); font-size: .93rem; max-width: 460px; margin: 0 auto 1.8rem; line-height: 1.65; }

/* ════════════ LEGAL PAGES ════════════ */
.legal-body { padding: 4rem 5%; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; font-weight: 800; color: var(--orange); margin: 2.5rem 0 .8rem; }
.legal-content h3 { font-size: 1rem; font-weight: 800; margin: 1.8rem 0 .6rem; }
.legal-content p { font-size: .88rem; color: var(--dark); line-height: 1.75; margin-bottom: .9rem; }
.legal-content strong { font-weight: 700; }
.legal-content ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-content ul li { font-size: .88rem; color: var(--dark); line-height: 1.75; margin-bottom: .4rem; }
.legal-content a { color: var(--orange); }
.legal-info-box { background: var(--gray-light); border-radius: 8px; padding: 1.2rem 1.4rem; margin: 1rem 0; }
.legal-info-box p { margin: .25rem 0; font-size: .87rem; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .83rem; }
.cookie-table th { background: var(--gray-light); padding: .6rem .9rem; text-align: left; font-weight: 700; border: 1px solid var(--border); }
.cookie-table td { padding: .6rem .9rem; border: 1px solid var(--border); }

/* ════════════ FOOTER ════════════ */
footer { background: #111; color: rgba(255,255,255,.55); padding: 3.5rem 5% 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-brand { color: var(--orange); }
.footer-brand .logo-sub { color: rgba(255,255,255,.4); }
.footer-brand p { font-size: .8rem; line-height: 1.6; margin-top: 1rem; max-width: 260px; }
.footer-badges { display: flex; gap: .6rem; margin-top: .8rem; }
.gp-badge { background: var(--white); border-radius: 6px; padding: .3rem .7rem; font-size: .65rem; font-weight: 800; color: var(--dark); letter-spacing: .04em; }
.footer-socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social-link { width: 32px; height: 32px; background: rgba(255,255,255,.08); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .85rem; text-decoration: none; color: rgba(255,255,255,.6); transition: background .2s; }
.footer-social-link:hover { background: var(--orange); color: white; }
.footer-col h5 { font-size: .8rem; font-weight: 700; color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.contact-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; }
.contact-item .icon { font-size: .9rem; margin-top: 1px; color: var(--orange); }
.footer-bottom { max-width: 1100px; margin: 1.8rem auto 0; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 900px) {
  .fases-grid { grid-template-columns: repeat(2,1fr); }
  .servicios-inner { grid-template-columns: 1fr; gap: 2rem; }
  .servicios-left h2 { text-align: center; }
  .casos-grid { grid-template-columns: 1fr 1fr; }
  .docencia-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .checklist-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-stats { gap: 2rem; }
  .fases-grid { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .casos-grid { grid-template-columns: 1fr; }
  .docencia-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .pillars-grid { grid-template-columns: 1fr; }
  .doc-program-header { flex-direction: column; }
}
