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

:root {
  --ink: #141936;
  --ink-rgb: 20, 25, 54;
  --blue: #141936;
  --gold: #c3ad68;
  --amber: #ffbd45;
  --mist: #f1f1f1;
  --white: #fff;
  --shadow: 0 18px 50px rgba(14, 24, 49, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Century Gothic', Manrope, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: absolute; z-index: 10; top: 24px; left: 50%; width: min(93%, 1830px);
  min-height: 112px; display: flex; align-items: center; gap: 35px; padding: 20px 35px;
  border-radius: 58px; background: rgba(255,255,255,.87); box-shadow: 0 4px 20px rgba(7,23,44,.04);
  transform: translateX(-50%); backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; flex: 0 0 190px; }
.brand img { display: block; width: 188px; height: auto; }
.primary-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(20px, 2.8vw, 65px); }
.primary-nav a { position: relative; padding: 10px 0; font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; white-space: nowrap; }
.primary-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; content: ''; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current='page']::after { transform: scaleX(1); }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); transition: transform .2s, background .2s; }
.social-links a:hover { background: var(--gold); transform: translateY(-2px); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }
.nav-toggle { display: none; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.nav-toggle svg { width: 30px; height: 30px; }

.hero-contact {
  min-height: 785px; position: relative; display: grid; place-items: center; overflow: hidden;
  color: var(--white); background: linear-gradient(90deg, rgba(2,21,28,.08), rgba(14,18,36,.28)), url('assets/portada-contacto.jpg') center / cover;
}
.hero-contact::after { position: absolute; inset: 0; content: ''; background: rgba(14, 20, 44, .1); }
.hero-contact h1 { position: relative; z-index: 1; margin: 88px 0 0 28%; font-family: 'Bebas Kai', 'Bebas Neue', Impact, sans-serif; font-size: clamp(5rem, 9vw, 10rem); font-weight: 400; letter-spacing: .025em; line-height: .9; }

.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; max-width: 1440px; margin: 0 auto; padding: 90px 30px 78px; text-align: center; }
.detail-card { display: flex; flex-direction: column; align-items: center; gap: 20px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.detail-icon { width: 75px; height: 75px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); }
.detail-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.detail-card p { margin: 0; }

.map-section { padding: 0 30px 120px; }
.map-frame { display: block; width: min(100%, 1000px); height: 425px; margin: 0 auto; border: 0; box-shadow: var(--shadow); filter: saturate(.78) contrast(.94); }

.form-section { max-width: 1480px; margin: 0 auto; padding: 0 50px 125px; }
.form-intro { max-width: 420px; margin: 0 0 26px 8%; font-size: 22px; font-weight: 800; line-height: 1.32; }
.contact-form { display: grid; grid-template-columns: 1.08fr 1fr; gap: 12px 18px; max-width: 1000px; margin: 0 auto; }
.form-message { grid-row: span 4; }
.form-field { min-height: 62px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 11px 22px; border-radius: 28px; background: var(--mist); }
.form-message { min-height: 284px; justify-content: flex-start; padding-top: 18px; border-radius: 36px; }
.form-field label { color: #637080; font-size: 14px; font-weight: 800; line-height: 1.2; }
.form-field input, .form-field textarea { width: 100%; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; resize: none; }
.form-field textarea { min-height: 206px; line-height: 1.45; }
.submit-wrap { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: 12px; }
.submit-button { width: min(100%, 620px); min-height: 62px; border: 0; border-radius: 31px; color: var(--ink); background: var(--amber); cursor: pointer; font-size: 19px; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.submit-button:hover { box-shadow: 0 12px 24px rgba(255,189,69,.35); transform: translateY(-2px); }
.form-status { grid-column: 1 / -1; display: none; margin: 0; color: #2f6d35; text-align: center; font-weight: 700; }
.form-status.is-visible { display: block; }

.site-footer { color: var(--white); background: var(--ink); }
.footer-content { max-width: 1420px; min-height: 250px; display: grid; grid-template-columns: 1fr 1.45fr; gap: 100px; align-items: center; margin: 0 auto; padding: 50px 45px 34px; }
.footer-logo { width: min(100%, 315px); height: auto; }
.footer-contact { display: grid; gap: 17px; font-size: 14px; font-weight: 700; }
.footer-contact div { display: flex; align-items: center; gap: 17px; }
.footer-contact svg { width: 25px; height: 25px; flex: 0 0 auto; color: #9dcc6c; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.copyright { margin: 0; padding: 0 30px 24px; font-size: 10px; font-weight: 600; text-align: center; }

.subpage { min-height: 100vh; padding: 220px 30px 110px; background: linear-gradient(150deg, #f6f4ed, #fff 60%); }
.subpage-content { max-width: 1120px; margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 15px; color: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.subpage h1 { margin: 0; color: var(--blue); font-family: 'Bebas Kai', 'Bebas Neue', Impact, sans-serif; font-size: clamp(4.2rem, 9vw, 8rem); font-weight: 400; letter-spacing: .025em; }
.subpage p:not(.eyebrow) { max-width: 650px; margin: 24px auto 0; font-size: 18px; font-weight: 600; line-height: 1.7; }
.coming-card { max-width: 760px; margin: 58px auto 0; padding: 58px 45px; border-radius: 36px; background: var(--white); box-shadow: var(--shadow); }
.coming-card strong { color: var(--blue); font-size: 22px; }
.coming-card p { margin-top: 14px !important; color: #5c6374; }

/* Página de inicio */
.home-page { overflow-x: hidden; }
.home-page h2 { margin: 0; font-family: 'Bebas Kai', 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.4rem, 5vw, 5.6rem); font-weight: 400; letter-spacing: .025em; line-height: .95; }
.home-hero { min-height: clamp(500px, 50vw, 850px); position: relative; display: grid; place-items: center; overflow: hidden; color: var(--white); background: #092f4c; }
.home-hero-video { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; user-select: none; background: #092f4c; }
.home-hero-video #home-video-player, .home-hero-video #home-video-player iframe { width: max(100vw, 177.78vh) !important; height: max(100%, 56.25vw) !important; position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none; transform: translate(-50%, -50%); }
.home-hero::after { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(180deg, rgba(3, 18, 36, .12), rgba(3, 18, 36, .38)); }
.home-hero-content { width: min(920px, calc(100% - 48px)); position: relative; z-index: 2; margin-top: 90px; text-align: center; }
.home-hero-kicker { margin: 0 0 16px; color: #f0d28d; font-family: Manrope, sans-serif; font-size: clamp(.7rem, 1vw, .9rem); font-weight: 900; letter-spacing: .18em; line-height: 1.25; text-transform: uppercase; }
.home-hero-content h1 { margin: 0; color: var(--white); font-family: 'Bebas Kai', 'Bebas Neue', Impact, sans-serif; font-size: clamp(5rem, 11vw, 12rem); font-weight: 400; letter-spacing: .035em; line-height: .85; text-shadow: 0 3px 20px rgba(1, 10, 20, .32); }
.home-hero-message { max-width: 600px; margin: 22px auto 0; color: #f4f7f5; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 800; line-height: 1.45; text-shadow: 0 2px 10px rgba(1, 10, 20, .25); }
.home-hero-pillars { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px 17px; margin-top: 28px; color: #fff; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
.home-hero-pillars span { display: inline-flex; align-items: center; gap: 17px; }
.home-hero-pillars span:not(:last-child)::after { width: 4px; height: 4px; content: ''; border-radius: 50%; background: #e8cd82; }
.home-hero-scroll { position: absolute; z-index: 2; right: 32px; bottom: 25px; display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(255,255,255,.92); font-family: Manrope, sans-serif; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.home-hero-scroll span { width: 29px; height: 1px; display: block; background: #e8cd82; }
.about-home { max-width: 1320px; display: grid; grid-template-columns: .95fr 1.2fr; gap: clamp(50px, 10vw, 165px); align-items: center; margin: 0 auto; padding: 105px 45px; }
.about-copy h2, .specialties h2, .alliances h2 { color: #070d22; }
.about-copy p { max-width: 480px; margin: 12px 0 0; font-size: 13px; font-weight: 600; line-height: 1.45; }
.about-feature { min-height: 330px; position: relative; display: grid; place-items: center; overflow: hidden; padding: 26px; color: var(--white); background: linear-gradient(135deg, rgba(4,36,55,.83), rgba(4,36,55,.43)), url('assets/cemer2.jpg') center / cover; box-shadow: var(--shadow); text-align: center; }
.about-feature::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(0,10,23,.04), rgba(0,10,23,.35)); }
.about-feature-title, .about-feature-play { position: relative; z-index: 1; }
.about-feature-title { font-size: clamp(1.3rem, 2.5vw, 2.1rem); font-weight: 800; line-height: 1.12; }
.about-feature-play { width: 50px; height: 50px; position: absolute; bottom: 23px; left: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--white); transition: transform .2s, background .2s; }
.about-feature-play svg { width: 27px; height: 27px; fill: currentColor; }
.about-feature:hover .about-feature-play { background: var(--amber); transform: scale(1.1); }
.results-parallax { min-height: 610px; position: relative; display: grid; place-items: center; color: var(--white); background: url('assets/parallax-inicio.jpg') center / cover fixed; }
.results-parallax::before { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(0,25,42,.44), rgba(1,39,55,.32)); }
.results-layer { width: min(1510px, calc(100% - 60px)); position: relative; z-index: 1; padding: 72px 0; text-align: center; }
.results-layer h2 { color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 5vw, 5.6rem); font-weight: 400; letter-spacing: .025em; line-height: .95; text-shadow: 0 3px 13px rgba(0,0,0,.48); }
.results-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.result-card { min-height: 300px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 28px 25px; border: 1px solid rgba(238,222,166,.34); border-top: 4px solid #e8cc87; border-radius: 18px; color: var(--white); background: linear-gradient(145deg, rgba(5,35,55,.88), rgba(6,50,71,.72)); box-shadow: 0 18px 36px rgba(0,13,23,.28); backdrop-filter: blur(8px); text-align: center; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.result-card::after { width: 80px; height: 80px; position: absolute; right: -38px; bottom: -40px; border: 1px solid rgba(232,204,135,.35); border-radius: 50%; content: ''; }.result-card > * { position: relative; z-index: 1; }.result-card:hover { background: linear-gradient(145deg, rgba(5,35,55,.94), rgba(8,65,85,.79)); box-shadow: 0 24px 44px rgba(0,13,23,.34); transform: translateY(-6px); }
.result-card p { margin: 0; font-size: clamp(12px, 1.05vw, 15px); font-weight: 700; line-height: 1.48; }
.result-card .result-lead { color: #f1d78e; font-size: clamp(14px, 1.22vw, 17px); font-weight: 800; line-height: 1.35; }
.result-card strong { color: #f4dd9b; font-weight: 900; }
.result-card-projects { align-items: flex-start; justify-content: center; text-align: left; }
.result-card-projects .result-label { margin-top: 17px; color: #f1d78e; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.result-card-projects ul { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 19px; font-size: clamp(11px, .95vw, 13px); font-weight: 700; line-height: 1.32; }
.result-symbol { width: 80px; height: 80px; display: grid; place-items: center; flex: 0 0 auto; margin-bottom: 21px; border: 1px solid rgba(244,221,155,.54); border-radius: 50%; color: #f1d78e; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 7px rgba(255,255,255,.025), 0 10px 22px rgba(0,12,24,.2); }.result-symbol svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }.result-card-rie .result-symbol { border-radius: 18px; }.result-card-rie p + p { width: 100%; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(232,204,135,.3); }
.specialties { padding: 125px 0 105px; }
.section-title-row { width: min(1270px, calc(100% - 60px)); display: flex; justify-content: space-between; align-items: center; margin: 0 auto 58px; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(20,25,54,.18); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.carousel-button:hover { color: var(--white); background: var(--ink); transform: translateY(-2px); }
.carousel-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.specialties-carousel { width: 100%; margin: 0 auto; overflow: hidden; }
.specialties-track { display: flex; width: 100%; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.specialties-track::-webkit-scrollbar { display: none; }
.specialty-card { width: 16.666%; min-height: 185px; position: relative; display: grid; place-items: center; flex: 0 0 16.666%; overflow: hidden; padding: 22px 15px; color: var(--white); background: #071f34; font-size: clamp(11px, 1.1vw, 16px); font-weight: 800; line-height: 1.25; text-align: center; scroll-snap-align: start; isolation: isolate; transition: filter .25s; }
.specialty-card::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(180deg, rgba(3,18,36,.13), rgba(3,18,36,.42)); }
.specialty-card img { width: 100%; height: 100%; position: absolute; z-index: -2; inset: 0; display: block; object-fit: cover; transition: transform .35s ease; }
.specialty-card span { max-width: 15ch; position: relative; z-index: 1; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.specialty-card:hover { filter: brightness(1.06); }
.specialty-card:hover img { transform: scale(1.045); }
.alliances { padding: 65px 30px 115px; text-align: center; }
.alliances-grid { max-width: 950px; display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 45px; align-items: stretch; margin: 50px auto 0; }
.alliance-card { min-height: 185px; position: relative; display: grid; place-items: center; overflow: hidden; padding: 25px; border: 0; border-radius: 26px; outline: none; background: transparent; box-shadow: none; transition: transform .25s, box-shadow .25s; }
.alliance-card::before { width: 0; height: 0; position: absolute; top: 50%; left: 50%; content: ''; border-radius: 50%; background: rgba(195,173,104,.17); transform: translate(-50%, -50%); transition: width .4s, height .4s; }
.alliance-card img { max-width: min(100%, 260px); max-height: 165px; position: relative; z-index: 1; object-fit: contain; filter: grayscale(100%) contrast(.85); opacity: .72; transition: filter .3s, opacity .3s, transform .3s; }
.alliance-card:hover, .alliance-card:focus-visible { box-shadow: 0 17px 34px rgba(8,20,38,.11); transform: translateY(-7px); }
.alliance-card:hover::before, .alliance-card:focus-visible::before { width: 410px; height: 410px; }
.alliance-card:hover img, .alliance-card:focus-visible img { filter: grayscale(0) contrast(1); opacity: 1; transform: scale(1.06); }

@media (hover: none) {
  .alliance-card img { filter: grayscale(0) contrast(1); opacity: 1; }
}
.collaborate { min-height: 450px; display: grid; align-items: center; color: var(--white); background: linear-gradient(90deg, rgba(18,35,9,.65), rgba(18,35,9,.1)), url('assets/cemer2.jpg') center / cover; }
.collaborate > div { width: min(1270px, calc(100% - 60px)); margin: 0 auto; }
.collaborate h2 { max-width: 510px; font-size: clamp(4rem, 7vw, 7.2rem); }
.collaborate-button { min-width: 250px; display: inline-flex; justify-content: center; margin-top: 32px; padding: 19px 32px; border-radius: 35px; color: var(--ink); background: var(--amber); font-size: 17px; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.collaborate-button:hover { box-shadow: 0 10px 25px rgba(0,0,0,.25); transform: translateY(-3px); }

@media (max-width: 980px) {
  .site-header { top: 15px; min-height: 74px; padding: 15px 23px; gap: 20px; border-radius: 40px; }
  .brand { flex-basis: auto; }
  .brand img { width: 150px; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .primary-nav { position: absolute; top: calc(100% + 12px); right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 15px; border-radius: 25px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { width: 100%; padding: 12px; text-align: center; }
  .social-links { display: none; }
  .hero-contact { min-height: 630px; }
  .hero-contact h1 { margin: 85px 0 0 22%; }
  .contact-details { gap: 30px; padding: 70px 30px; }
  .footer-content { grid-template-columns: 1fr; gap: 40px; padding: 52px 30px 30px; }
  .home-hero { min-height: 620px; }
  .about-home { grid-template-columns: 1fr; gap: 55px; padding: 95px 35px; }
  .about-copy { text-align: center; }.about-copy p { margin-right: auto; margin-left: auto; }
  .results-parallax { min-height: auto; background-attachment: scroll; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specialties { padding: 95px 0 80px; }.alliances { padding-bottom: 105px; }
  .specialty-card { flex-basis: 33.333%; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 24px); top: 12px; padding: 13px 18px; }
  .brand img { width: 133px; }
  .hero-contact { min-height: 530px; background-position: 39% center; }
  .hero-contact h1 { margin: 78px 0 0 24%; font-size: clamp(4.5rem, 19vw, 7rem); }
  .contact-details { grid-template-columns: 1fr; padding: 58px 28px; }
  .detail-card { gap: 13px; font-size: 15px; }
  .detail-icon { width: 65px; height: 65px; }
  .map-section { padding: 0 18px 76px; }
  .map-frame { height: 360px; }
  .form-section { padding: 0 20px 80px; }
  .form-intro { margin: 0 10px 24px; font-size: 18px; }
  .contact-form { grid-template-columns: 1fr; gap: 10px; }
  .form-message { grid-row: auto; min-height: 124px; padding-top: 13px; border-radius: 28px; }
  .form-field { min-height: 54px; padding: 8px 18px; }
  .form-field textarea { min-height: 68px; }
  .form-field label { font-size: 13px; }
  .submit-wrap { padding-top: 8px; }.submit-button { min-height: 54px; font-size: 18px; }
  .form-message textarea { min-height: 160px; }
  .submit-wrap { padding-top: 18px; }
  .submit-button { min-height: 70px; font-size: 20px; }
  .footer-contact { font-size: 12px; }
  .footer-contact div { gap: 12px; align-items: flex-start; }
  .subpage { padding: 160px 22px 80px; }
  .coming-card { margin-top: 35px; padding: 40px 23px; }
  /* Inicio: versión móvil compacta y legible */
  .home-hero { min-height: 460px; background-position: 56% center; }.home-hero-content { width: min(100% - 40px, 520px); margin-top: 42px; }.home-hero-kicker { margin-bottom: 12px; font-size: 10px; letter-spacing: .14em; }.home-hero-content h1 { font-size: clamp(4rem, 18vw, 5.4rem); }.home-hero-message { margin-top: 18px; font-size: 15px; }.home-hero-pillars { gap: 7px 11px; margin-top: 21px; font-size: 9px; letter-spacing: .09em; }.home-hero-pillars span { gap: 11px; }.home-hero-scroll { right: 20px; bottom: 18px; font-size: 8px; }
  .about-home { gap: 30px; padding: 58px 24px; }.about-copy h2 { font-size: 3.35rem; }.about-copy p { max-width: 345px; margin-top: 14px; font-size: 15px; line-height: 1.58; }.about-feature { min-height: 215px; }.about-feature-title { font-size: 1.2rem; }.about-feature-play { width: 45px; height: 45px; bottom: 18px; left: 18px; }
  .results-layer { width: calc(100% - 36px); padding: 52px 0; }.results-layer h2 { font-size: 3.5rem; }.results-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }.result-card { min-height: 0; padding: 28px 24px; border-radius: 16px; }.result-card p { font-size: 14px; }.result-card .result-lead { font-size: 15px; }.result-card-projects { align-items: center; text-align: center; }.result-card-projects ul { max-width: 320px; text-align: left; font-size: 13px; }.result-symbol { width: 72px; height: 72px; margin-bottom: 18px; }.result-symbol svg { width: 40px; height: 40px; }
  .specialties { padding: 58px 0 52px; }.section-title-row { width: calc(100% - 36px); align-items: flex-end; margin-bottom: 24px; }.specialties h2 { max-width: 220px; font-size: 3.15rem; }.carousel-button { width: 39px; height: 39px; }.specialty-card { width: 100%; min-height: 165px; flex-basis: 100%; font-size: 17px; }
  .alliances { padding: 48px 18px 65px; }.alliances h2 { font-size: 3.3rem; }.alliances-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 28px; }.alliance-card { min-height: 112px; padding: 7px; }.alliance-card img { max-height: 88px; }.collaborate { min-height: 310px; }.collaborate > div { width: calc(100% - 40px); }.collaborate h2 { font-size: 3.55rem; }.collaborate-button { min-width: 195px; margin-top: 21px; padding: 15px 22px; }
  .footer-content { gap: 28px; padding: 43px 28px 25px; }.footer-logo { width: 265px; }.footer-contact { gap: 13px; font-size: 12px; }.copyright { padding-bottom: 18px; }
}

/* Revista Identidad Energética */
.magazine-page { background: #f8f8f4; }
.magazine-kicker { margin: 0 0 14px; color: #9c8343; font-size: 12px; font-weight: 800; letter-spacing: .17em; line-height: 1.25; text-transform: uppercase; }
.volumes-heading h1, .policies-page h1, .issue-copy h1 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 6vw, 6.5rem); font-weight: 400; line-height: .94; letter-spacing: .015em; }
.current-volume { display: grid; grid-template-columns: minmax(270px, .62fr) minmax(330px, 1fr); gap: clamp(50px, 9vw, 150px); align-items: center; max-width: 1180px; margin: 0 auto; padding: 10px 45px 125px; }
.current-volume-cover { max-width: 360px; position: relative; margin: 0 auto; transform: rotate(-3deg); box-shadow: 22px 27px 0 #d4c284, 0 24px 45px rgba(6,44,68,.2); }.current-volume-cover img { width: 100%; height: auto; display: block; }
.current-volume-copy h2, .articles-heading h2, .policies-layout h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3rem, 4vw, 4.8rem); font-weight: 400; line-height: .95; letter-spacing: .015em; }
.current-volume-copy > p:not(.magazine-kicker) { max-width: 590px; margin: 24px 0 0; color: #3c4b5a; font-size: 18px; font-weight: 600; line-height: 1.7; }
.issue-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid #0b3b59; border-radius: 3px; font-size: 14px; font-weight: 800; text-align: center; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }.button:hover { box-shadow: 0 10px 20px rgba(4,38,59,.16); transform: translateY(-2px); }.button-primary { color: var(--white); background: #0b3b59; }.button-secondary { color: #0b3b59; background: transparent; }.button-secondary:hover { color: var(--white); background: #0b3b59; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #0b3b59; font-size: 14px; font-weight: 800; }.text-link span { color: #b29448; font-size: 22px; line-height: .6; transition: transform .2s; }.text-link:hover span { transform: translateX(4px); }
.magazine-footer { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 45px; align-items: center; padding: 42px max(5vw, 30px); color: var(--white); background: #071f34; }.magazine-footer .magazine-footer-contact { display: grid; gap: 10px; font-size: 13px; }.magazine-footer .magazine-footer-contact strong { color: #e8cc87; text-transform: uppercase; letter-spacing: .12em; }.magazine-footer-contact a, .magazine-footer-location { width: fit-content; display: flex; align-items: flex-start; gap: 10px; color: inherit; line-height: 1.42; }.magazine-footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; color: #e8cc87; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }.magazine-footer p { margin: 0; font-size: 11px; font-weight: 600; text-align: right; }.magazine-footer .magazine-footer-name { max-width: 250px; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.25rem; font-weight: 400; letter-spacing: .025em; line-height: .86; text-align: left; }
.issue-hero { max-width: 1280px; margin: 0 auto; padding: 178px 45px 92px; }.issue-back { display: inline-flex; margin-bottom: 35px; color: #0b3b59; font-size: 14px; font-weight: 800; }.issue-intro { display: grid; grid-template-columns: minmax(255px, .52fr) minmax(330px, 1fr); gap: clamp(50px, 10vw, 150px); align-items: center; }.issue-cover { max-width: 370px; position: relative; margin: 0 auto; box-shadow: 20px 24px 0 #d4c284, 0 20px 42px rgba(4,38,59,.16); }.issue-cover img { width: 100%; display: block; aspect-ratio: .73; object-fit: cover; }.issue-copy > p:not(.magazine-kicker) { max-width: 560px; margin: 24px 0 0; color: #415161; font-size: 18px; font-weight: 600; line-height: 1.65; }.issue-preview { padding: 80px max(5vw, 30px); color: var(--white); background: #0a344f; }.issue-preview-heading, .issue-preview-meta, .issue-preview-cards, .issue-preview-empty { max-width: 1150px; margin-right: auto; margin-left: auto; }.issue-preview-heading { display: grid; grid-template-columns: minmax(265px, .7fr) 1fr; gap: 45px; align-items: end; }.issue-preview-heading .magazine-kicker { grid-column: 1 / -1; margin-bottom: -28px; color: #e5ca84; }.issue-preview-heading h2 { margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.2rem, 4.7vw, 5.1rem); font-weight: 400; line-height: .92; letter-spacing: .015em; }.issue-preview-heading > p:not(.magazine-kicker) { max-width: 580px; margin: 0; color: #d7e0de; font-size: 17px; font-weight: 600; line-height: 1.6; }.issue-preview-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: 46px; padding: 17px 0; border-top: 1px solid rgba(240,210,141,.45); border-bottom: 1px solid rgba(240,210,141,.45); color: #d4dfdc; font-size: 13px; font-weight: 700; }.issue-preview-meta strong { color: #f0d28d; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.1rem; font-weight: 400; line-height: .7; }.issue-preview-meta span[aria-hidden] { width: 4px; height: 4px; margin: 0 9px; border-radius: 50%; background: #e5ca84; }.issue-preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 25px; }.issue-preview-card { min-height: 245px; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border-top: 3px solid #d6bd79; background: rgba(255,255,255,.09); transition: background .2s, transform .2s; }.issue-preview-card:hover { background: rgba(255,255,255,.16); transform: translateY(-4px); }.issue-preview-card > span { color: #f0d28d; font-size: 11px; font-weight: 800; letter-spacing: .12em; }.issue-preview-card h3 { margin: 18px 0 0; color: var(--white); font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; line-height: 1.35; }.issue-preview-card p { margin: 13px 0 0; color: #d8e0df; font-size: 12px; font-weight: 600; line-height: 1.5; }.issue-preview-card small { margin-top: auto; padding-top: 15px; color: #f1d488; font-size: 11px; font-weight: 800; }.issue-preview-empty { max-width: 760px; margin-top: 25px; padding: 30px; border-left: 4px solid #d6bd79; background: rgba(255,255,255,.1); }.issue-preview-empty strong { color: #f0d28d; font-size: 17px; }.issue-preview-empty p { margin: 9px 0 0; color: #d8e0df; font-size: 14px; font-weight: 600; line-height: 1.6; }.issue-articles { padding: 90px max(5vw, 30px) 130px; background: #eef1ee; }.articles-heading { max-width: 1150px; display: flex; justify-content: space-between; gap: 80px; align-items: end; margin: 0 auto 34px; }.articles-heading > p { max-width: 330px; margin: 0; color: #576575; font-size: 14px; font-weight: 600; line-height: 1.45; }.article-list { max-width: 1150px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid #cfd6d1; }.article-item { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 30px 4px; border-bottom: 1px solid #cfd6d1; }.article-number { color: #b29448; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2rem; }.article-info h3 { margin: 0; color: #0a344f; font-family: Manrope, sans-serif; font-size: 18px; font-weight: 800; line-height: 1.3; }.article-info p { margin: 9px 0 4px; color: #536171; font-size: 14px; font-weight: 600; line-height: 1.45; }.article-info span { color: #8b7440; font-size: 12px; font-weight: 800; }.article-actions { display: flex; gap: 8px; }.article-actions a { padding: 9px 12px; border: 1px solid #0b3b59; color: #0b3b59; font-size: 12px; font-weight: 800; transition: background .2s, color .2s; }.article-actions a:first-child { color: var(--white); background: #0b3b59; }.article-actions a:hover { color: var(--white); background: #b29448; border-color: #b29448; }.archive-note { max-width: 1150px; margin: 0 auto; padding: 36px; border-left: 5px solid #b29448; color: #415161; background: var(--white); }.archive-note strong { color: #0b3b59; font-size: 18px; }.archive-note p { margin: 8px 0 0; font-weight: 600; line-height: 1.55; }
.reader-page { max-width: 1280px; margin: 0 auto; padding: 172px 45px 112px; }.reader-back { display: inline-flex; margin-bottom: 30px; color: #0b3b59; font-size: 14px; font-weight: 800; }.reader-shell { padding: clamp(28px, 5vw, 62px); background: #0a344f; box-shadow: 0 22px 50px rgba(4,38,59,.14); }.reader-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; }.reader-heading .magazine-kicker { color: #e5ca84; }.reader-heading h1 { max-width: 670px; margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.4rem, 5.4vw, 5.8rem); font-weight: 400; line-height: .9; letter-spacing: .015em; }.reader-heading .button-secondary { border-color: #e5ca84; color: #f3d992; }.reader-heading .button-secondary:hover { color: #0b3b59; background: #f3d992; }.reader-intro { margin: 20px 0 0; color: #d7e0de; font-size: 16px; font-weight: 600; line-height: 1.55; }.reader-stage { display: grid; place-items: center; min-height: 470px; margin-top: 38px; padding: clamp(14px, 3vw, 35px); background: radial-gradient(circle at 50% 30%, #31566b, #051f33 72%); perspective: 1700px; }.reader-book { max-width: 100%; position: relative; display: grid; place-items: center; filter: drop-shadow(0 26px 24px rgba(0,0,0,.33)); }.reader-page-sheet { position: relative; transform-style: preserve-3d; transform-origin: left center; will-change: transform, opacity; }.reader-page-sheet::before { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 14px; content: ''; pointer-events: none; background: linear-gradient(90deg, rgba(2,18,29,.32), transparent); }.reader-page-sheet canvas { max-width: 100%; height: auto !important; display: block; background: var(--white); }.reader-page-sheet.is-turning-next { animation: reader-turn-next .5s cubic-bezier(.6,.02,.3,.98); }.reader-page-sheet.is-turning-previous { transform-origin: right center; animation: reader-turn-previous .5s cubic-bezier(.6,.02,.3,.98); }.reader-status { min-height: 20px; margin: 19px 0 0; color: #dce5e1; font-size: 13px; font-weight: 700; text-align: center; }.reader-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; max-width: 760px; margin: 30px auto 0; }.reader-control { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(240,210,141,.7); color: #f4d78b; background: transparent; cursor: pointer; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; transition: background .2s, color .2s, transform .2s; }.reader-control:hover:not(:disabled) { color: #0a344f; background: #f0d28d; transform: translateY(-2px); }.reader-control:disabled { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.35); cursor: not-allowed; }.reader-page-number { display: flex; align-items: center; justify-content: center; gap: 7px; color: #dce5e1; font-size: 13px; font-weight: 800; white-space: nowrap; }.reader-page-number input { width: 53px; padding: 8px 5px; border: 1px solid rgba(240,210,141,.55); color: var(--white); background: rgba(255,255,255,.09); font: inherit; text-align: center; }.reader-page-number input:focus { outline: 2px solid #f0d28d; outline-offset: 2px; }.reader-original { display: block; width: fit-content; margin: 23px auto 0; color: #d9e4df; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }.reader-original:hover { color: #f0d28d; }.reader-noscript { margin: -70px auto 90px; color: #0b3b59; text-align: center; }
@keyframes reader-turn-next { 0% { opacity: 1; transform: rotateY(0); } 48% { opacity: .2; transform: rotateY(-88deg); } 52% { opacity: .2; transform: rotateY(88deg); } 100% { opacity: 1; transform: rotateY(0); } } @keyframes reader-turn-previous { 0% { opacity: 1; transform: rotateY(0); } 48% { opacity: .2; transform: rotateY(88deg); } 52% { opacity: .2; transform: rotateY(-88deg); } 100% { opacity: 1; transform: rotateY(0); } }
.policies-page { max-width: 1240px; margin: 0 auto; padding: clamp(150px, 12vw, 190px) max(5vw, 26px) clamp(84px, 9vw, 125px); }.policies-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; margin-top: 55px; }.policies-layout section { padding: 55px; background: var(--white); box-shadow: 0 16px 38px rgba(5,41,61,.08); }.policies-layout section p { max-width: 590px; margin: 22px 0; color: #475768; font-size: 17px; font-weight: 600; line-height: 1.65; }.policies-layout aside { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 35px; border-top: 6px solid #b29448; color: #0b3b59; background: #e9ede9; }.policies-layout aside img { width: 100%; filter: brightness(.42) sepia(.35) saturate(1.2); }.policies-layout aside strong { margin-top: 24px; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }.policies-layout aside a { font-size: 15px; font-weight: 800; }.policies-layout aside p { margin: 0; color: #4b5d69; font-size: 14px; font-weight: 600; line-height: 1.5; }

@media (max-width: 1040px) {
  .magazine-footer { grid-template-columns: 1fr 1fr; }.magazine-footer p { grid-column: 1 / -1; text-align: left; }
  .magazine-footer { grid-template-columns: 1fr 1fr; }.magazine-footer p { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  .magazine-site-header .brand { flex-basis: auto; }.magazine-site-header .brand img { width: 133px; }.magazine-site-header .magazine-nav a { width: 100%; max-width: none; padding: 12px; font-size: 16px; white-space: nowrap; }
  .volumes-heading h1, .policies-page h1, .issue-copy h1 { font-size: 3.9rem; }
  .current-volume-copy h2, .articles-heading h2, .policies-layout h2 { font-size: 3.6rem; }.current-volume-copy > p:not(.magazine-kicker) { font-size: 16px; }.issue-actions { margin-top: 26px; }.button { width: 100%; min-height: 50px; }
  .magazine-footer { grid-template-columns: 1fr; gap: 25px; padding: 36px 25px; }.magazine-footer > img { width: 225px; }.magazine-footer p { grid-column: auto; text-align: left; }
  .issue-hero { padding: 135px 25px 68px; }.issue-back { margin-bottom: 25px; }.issue-intro { grid-template-columns: 1fr; gap: 43px; }.issue-cover { max-width: 270px; }.issue-copy > p:not(.magazine-kicker) { font-size: 16px; }.issue-preview { padding: 58px 20px; }.issue-preview-heading { display: block; }.issue-preview-heading .magazine-kicker { margin-bottom: 13px; }.issue-preview-heading h2 { font-size: 3.6rem; }.issue-preview-heading > p:not(.magazine-kicker) { margin-top: 18px; font-size: 15px; }.issue-preview-meta { gap: 6px; margin-top: 30px; }.issue-preview-meta span[aria-hidden] { margin: 0 5px; }.issue-preview-cards { grid-template-columns: 1fr; gap: 13px; margin-top: 17px; }.issue-preview-card { min-height: 0; padding: 22px; }.issue-preview-card h3 { font-size: 15px; }.issue-preview-card p { font-size: 12px; }.issue-preview-card small { margin-top: 17px; }.issue-articles { padding: 60px 20px 75px; }.articles-heading { display: block; margin-bottom: 25px; }.articles-heading > p { margin-top: 14px; }.article-item { grid-template-columns: 34px 1fr; gap: 14px; padding: 23px 0; }.article-number { font-size: 1.65rem; }.article-info h3 { font-size: 16px; }.article-info p { font-size: 13px; }.article-actions { grid-column: 2; flex-wrap: wrap; margin-top: 3px; }.article-actions a { flex: 1; text-align: center; }.archive-note { padding: 25px 20px; }
  .reader-page { padding: 133px 14px 65px; }.reader-back { margin-bottom: 20px; padding-left: 6px; }.reader-shell { padding: 28px 14px 30px; }.reader-heading { display: block; }.reader-heading h1 { font-size: 3.65rem; }.reader-heading .button { width: 100%; margin-top: 23px; }.reader-intro { font-size: 14px; }.reader-stage { min-height: 390px; margin-top: 27px; padding: 16px 8px; }.reader-status { margin-top: 14px; font-size: 12px; }.reader-controls { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 23px; }.reader-control { min-height: 48px; font-size: 12px; }.reader-page-number { grid-column: 1 / -1; grid-row: 1; font-size: 12px; }.reader-controls [data-reader-prev] { grid-column: 1; grid-row: 2; }.reader-controls [data-reader-next] { grid-column: 2; grid-row: 2; }.reader-original { margin-top: 20px; font-size: 11px; text-align: center; }
  .policies-page { padding: 148px 22px 78px; }.policies-layout { grid-template-columns: 1fr; gap: 23px; margin-top: 38px; }.policies-layout section { padding: 34px 25px; }.policies-layout section p { font-size: 16px; }.policies-layout aside { padding: 28px; }
}

/* Lector de revista: una página completa por pantalla, sin desplazamiento vertical. */
.reader-page-body { height: 100vh; height: 100dvh; overflow: hidden; background: #0a344f; }
.reader-page-body .site-header, .reader-page-body .magazine-footer { display: none; }
.reader-page { width: 100%; max-width: none; height: 100vh; height: 100dvh; min-height: 0; margin: 0; padding: 0; }
.reader-shell { width: 100%; height: 100%; min-height: 0; position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: clamp(6px, 1vh, 10px); padding: clamp(12px, 1.7vw, 22px) clamp(14px, 2.2vw, 36px); box-shadow: none; }
.reader-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 48px); align-items: center; }
.reader-back { margin: 0; padding: 10px 0; color: #f1d488; white-space: nowrap; }
.reader-heading { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.reader-heading h1 { max-width: 720px; font-size: clamp(1.8rem, 2.6vw, 2.65rem); line-height: .92; }
.reader-heading .magazine-kicker { margin-bottom: 7px; font-size: 10px; }
.reader-heading .button { width: auto; min-height: 42px; flex: 0 0 auto; padding: 10px 15px; font-size: 12px; }
.reader-heading-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.reader-intro { display: none; }
.reader-stage { min-height: 0; height: 100%; position: relative; display: grid; grid-template-rows: minmax(0, 1fr); margin: 0; padding: 5px 46px; overflow: hidden; }
.reader-stage.is-zoomed { display: block; padding: 38px 14px 72px; overflow: auto; cursor: grab; }.reader-stage.is-zoomed:active { cursor: grabbing; }.reader-stage.is-zoomed .reader-book { width: fit-content; max-width: none; max-height: none; margin: 0 auto; touch-action: pan-x pan-y; }.reader-stage.is-zoomed .reader-page-sheet, .reader-stage.is-zoomed .reader-page-sheet canvas { max-width: none; max-height: none; }
.reader-book { min-width: 0; min-height: 0; max-height: 100%; align-self: center; justify-self: center; touch-action: pan-y; cursor: grab; }
.reader-book:active { cursor: grabbing; }
.reader-page-sheet { max-width: 100%; max-height: 100%; }
.reader-page-sheet canvas { max-width: 100%; max-height: 100%; height: auto !important; }
.reader-status { position: absolute; z-index: 4; top: 9px; left: 50%; min-height: 0; margin: 0; padding: 5px 10px; border-radius: 30px; color: rgba(255,255,255,.86); background: rgba(3,31,48,.48); font-size: 11px; transform: translateX(-50%); }
.reader-zoom-controls { position: absolute; z-index: 6; top: 9px; right: 10px; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(240,210,141,.5); border-radius: 4px; color: #f5d98e; background: rgba(3,31,48,.68); backdrop-filter: blur(8px); }.reader-zoom-controls button { min-width: 31px; min-height: 28px; border: 0; color: inherit; background: transparent; cursor: pointer; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; }.reader-zoom-controls button:hover:not(:disabled) { color: #092f4c; background: #f0d28d; }.reader-zoom-controls button:disabled { color: rgba(255,255,255,.35); cursor: not-allowed; }.reader-zoom-controls span { min-width: 39px; color: var(--white); font-size: 10px; font-weight: 800; text-align: center; }
.reader-page-hit { position: absolute; z-index: 3; top: 5px; bottom: 5px; width: 15%; border: 0; color: rgba(245,217,142,.9); background: transparent; cursor: pointer; font-family: Arial, sans-serif; font-size: clamp(2.3rem, 5vw, 4rem); opacity: .22; transition: opacity .2s, background .2s; }
.reader-page-hit:hover:not(:disabled), .reader-page-hit:focus-visible { opacity: 1; background: linear-gradient(90deg, rgba(5,31,49,.26), transparent); outline: 0; }
.reader-page-hit:disabled { opacity: 0; cursor: default; }.reader-page-hit-prev { left: 0; }.reader-page-hit-next { right: 0; }.reader-page-hit-next:hover:not(:disabled), .reader-page-hit-next:focus-visible { background: linear-gradient(270deg, rgba(5,31,49,.26), transparent); }
.reader-controls { width: min(660px, calc(100% - 40px)); position: absolute; z-index: 5; bottom: 16px; left: 50%; margin: 0; transform: translateX(-50%); }.reader-control { min-height: 40px; background: rgba(4,34,52,.8); backdrop-filter: blur(8px); }.reader-original { display: none; }

@media (max-width: 680px) {
  .reader-shell { gap: 5px; padding: 9px 7px 10px; }
  .reader-toolbar { grid-template-columns: 1fr; gap: 4px; }
  .reader-back { width: fit-content; padding: 2px 0; font-size: 12px; }
  .reader-heading { gap: 8px; }.reader-heading h1 { font-size: 1.72rem; }.reader-heading .magazine-kicker { display: none; }.reader-heading .button { min-height: 32px; margin: 0; padding: 7px 8px; font-size: 9px; }.reader-heading-actions { gap: 4px; }
  .reader-stage { padding: 3px 22px; }.reader-page-hit { top: 3px; bottom: 3px; width: 13%; font-size: 3rem; opacity: .42; }
  .reader-status { top: 5px; margin: 0; font-size: 9px; }.reader-zoom-controls { top: 5px; right: 5px; }.reader-zoom-controls button { min-width: 28px; min-height: 25px; font-size: 10px; }.reader-zoom-controls span { min-width: 35px; font-size: 9px; }.reader-stage.is-zoomed { padding: 35px 9px 58px; }.reader-controls { width: calc(100% - 20px); bottom: 9px; gap: 8px; }.reader-control { min-height: 38px; font-size: 11px; }.reader-page-number { font-size: 11px; }.reader-page-number input { padding: 6px 4px; }.reader-original { display: none; }
}

/* Adelantos visuales de los artículos: páginas reales de cada PDF. */
.issue-preview-meta { gap: 26px; }
.issue-preview-stat { display: inline-flex; align-items: baseline; gap: 8px; }
.issue-preview-card { min-height: 0; overflow: hidden; padding: 0 0 22px; border-top: 3px solid #d6bd79; background: rgba(255,255,255,.09); }
.issue-preview-image { height: 190px; position: relative; margin: 0; overflow: hidden; background: #eef1ee; }
.issue-preview-image::after { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(2,29,44,.45)); }
.issue-preview-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; transition: transform .45s ease, filter .35s ease; }
.issue-preview-image figcaption { position: absolute; z-index: 1; right: 13px; bottom: 11px; margin: 0; color: var(--white); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-shadow: 0 1px 4px rgba(0,0,0,.65); }
.issue-preview-card:hover .issue-preview-image img { filter: saturate(1.1); transform: scale(1.055); }
.issue-preview-card-copy { min-height: 263px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 22px 0; }
.issue-preview-card-copy > span { color: #f0d28d; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.issue-preview-card-copy h3 { margin: 14px 0 0; color: var(--white); font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; line-height: 1.35; }
.issue-preview-card-copy p { display: -webkit-box; margin: 12px 0 0; overflow: hidden; color: #d8e0df; font-size: 12px; font-weight: 600; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.issue-preview-card-copy small { margin-top: auto; padding-top: 15px; color: #f1d488; font-size: 11px; font-weight: 800; }
.issue-preview-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: #fff2c8; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.issue-preview-link b { color: #f0d28d; font-size: 18px; font-weight: 400; line-height: .7; transition: transform .2s; }
.issue-preview-link:hover b, .issue-preview-link:focus-visible b { transform: translateX(4px); }

@media (max-width: 680px) {
  .issue-preview-meta { gap: 12px 22px; }
  .issue-preview-image { height: 205px; }
  .issue-preview-card { padding-bottom: 20px; }
  .issue-preview-card-copy { min-height: 0; padding: 19px 20px 0; }
  .issue-preview-card-copy h3 { font-size: 16px; }
  .issue-preview-card-copy p { -webkit-line-clamp: 4; }
  .issue-preview-card-copy small { margin-top: 16px; padding-top: 0; }
}

/* ==========================================================================
   Encabezado institucional (barra fija de borde a borde, dos niveles)
   Nivel 1  ·  logotipo + accesos institucionales + redes sociales
   Nivel 2  ·  barra azul con las áreas y programas del centro
   ========================================================================== */
.core-site-header {
  --gutter: max(clamp(26px, 3.4vw, 68px), (100% - 1830px) / 2);
  top: 0; left: 0; width: 100%; padding: 0;
  border: 0; border-radius: 0; background: var(--white);
  box-shadow: 0 2px 18px rgba(6,50,82,.13); transform: none; backdrop-filter: none;
}

@media (min-width: 1181px) {
  .core-site-header {
    min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 94px auto;
    align-items: center; gap: 0;
  }
  .core-site-header .nav-toggle { display: none; }
  .core-site-header .header-menu { display: contents; }

  /* Nivel 1 */
  .core-site-header .brand { grid-column: 1; grid-row: 1; flex: none; padding-left: var(--gutter); }
  .core-site-header .brand img { width: clamp(200px, 14vw, 228px); }
  .core-site-header .utility-nav { grid-column: 2; grid-row: 1; min-width: 0; display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
  .core-site-header .utility-nav a { padding: 11px 20px; border-radius: 11px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; letter-spacing: .015em; transition: color .2s, background .2s; }
  .core-site-header .utility-nav a::after { display: none; }
  .core-site-header .utility-nav a:hover, .core-site-header .utility-nav a[aria-current='page'] { color: var(--blue); background: #edf3f5; }
  .core-site-header .social-links { grid-column: 3; grid-row: 1; position: relative; gap: 10px; margin-left: 22px; padding-right: var(--gutter); padding-left: 24px; }
  .core-site-header .social-links::before { width: 1px; height: 30px; position: absolute; top: 50%; left: 0; margin-top: -15px; content: ''; background: #e2e9ed; }
  .core-site-header .social-links a { width: 34px; height: 34px; color: var(--ink); background: #edf3f5; }
  .core-site-header .social-links svg { width: 19px; height: 19px; }
  .core-site-header .social-links a:hover { color: var(--white); background: var(--gold); transform: translateY(-1px); }

  /* Nivel 2 */
  .core-site-header .primary-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0 var(--gutter); border-top: 1px solid #e6ecef; background: var(--blue); }
  .core-site-header .primary-nav a { min-height: 68px; max-width: none; position: relative; display: grid; place-items: center; padding: 10px clamp(10px, 1.3vw, 24px); color: rgba(255,255,255,.94); font-family: Manrope, sans-serif; font-size: clamp(14px, 1.05vw, 16px); font-weight: 700; line-height: 1.2; letter-spacing: .012em; text-align: center; white-space: normal; transition: color .2s, background .2s; }
  .core-site-header .primary-nav a + a::before { width: 1px; height: 30px; position: absolute; top: 50%; left: 0; margin-top: -15px; content: ''; background: rgba(255,255,255,.17); }
  .core-site-header .primary-nav a::after { height: 4px; position: absolute; right: 0; bottom: 0; left: 0; display: block; content: ''; background: var(--gold); transform: scaleX(0); transition: transform .22s ease; }
  .core-site-header .primary-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); box-shadow: none; transform: none; }
  .core-site-header .primary-nav a:hover::after { transform: scaleX(1); }
  .core-site-header .primary-nav a[aria-current='page'] { color: #f2dda6; background: rgba(255,255,255,.07); box-shadow: none; }
  .core-site-header .primary-nav a[aria-current='page']::after { transform: scaleX(1); }
}

@media (max-width: 1180px) {
  .core-site-header { min-height: 86px; display: flex; align-items: center; gap: 16px; padding: 12px max(20px, 3.4vw); }
  .core-site-header .brand { flex: 0 1 auto; }
  .core-site-header .brand img { width: clamp(160px, 24vw, 190px); }
  .core-site-header .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; color: var(--blue); }
  .core-site-header .nav-toggle svg { width: 34px; height: 34px; }
  .core-site-header .header-menu { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 16px max(20px, 3.4vw) 20px; border-top: 1px solid #e4eaee; border-radius: 0; background: var(--white); box-shadow: 0 14px 26px rgba(6,50,82,.14); }
  .core-site-header .header-menu.is-open { display: flex; }
  .core-site-header .utility-nav, .core-site-header .primary-nav { width: 100%; position: static; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .core-site-header .utility-nav { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #e4eaee; }
  .core-site-header .utility-nav a, .core-site-header .primary-nav a { width: 100%; max-width: none; min-height: 0; padding: 16px 16px; border-radius: 11px; font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; line-height: 1.25; text-align: center; white-space: normal; }
  .core-site-header .utility-nav a::after, .core-site-header .primary-nav a::after { display: none; }
  .core-site-header .utility-nav a { color: var(--ink); }
  .core-site-header .primary-nav a { color: var(--ink); background: #f2f6f8; }
  .core-site-header .utility-nav a:hover, .core-site-header .primary-nav a:hover { color: var(--blue); background: #e7eef1; }
  .core-site-header .utility-nav a[aria-current='page'], .core-site-header .primary-nav a[aria-current='page'] { color: var(--white); background: var(--blue); }
  .core-site-header .social-links { display: flex; justify-content: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e4eaee; }
  .core-site-header .social-links a { width: 36px; height: 36px; color: var(--ink); background: #edf3f5; }
  .core-site-header .social-links svg { width: 20px; height: 20px; }
  .core-site-header .social-links a:hover { color: var(--white); background: var(--gold); }
}

/* Encabezado persistente: se reduce al navegar para conservar el contenido visible. */
.core-site-header, .magazine-site-header {
  position: fixed;
  z-index: 100;
  transition: background-color .24s ease, box-shadow .24s ease, min-height .24s ease, padding .24s ease, top .24s ease, width .24s ease, border-radius .24s ease;
}

@media (min-width: 1181px) {
  .core-site-header.is-compact {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 64px;
    min-height: 64px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 5px 18px rgba(6,50,82,.15);
    backdrop-filter: blur(12px);
  }
  .core-site-header.is-compact .brand { grid-column: 1; grid-row: 1; }
  .core-site-header.is-compact .brand img { width: clamp(148px, 11vw, 176px); }
  .core-site-header.is-compact .utility-nav,
  .core-site-header.is-compact .social-links { display: none; }
  .core-site-header.is-compact .primary-nav {
    grid-column: 2 / -1;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0 var(--gutter) 0 20px;
    border: 0;
    background: transparent;
  }
  .core-site-header.is-compact .primary-nav a {
    min-height: 64px;
    padding: 8px clamp(10px, 1.25vw, 22px);
    color: var(--ink);
    font-size: clamp(13px, .96vw, 15px);
    line-height: 1.15;
  }
  .core-site-header.is-compact .primary-nav a + a::before { background: #dbe5e9; }
  .core-site-header.is-compact .primary-nav a:hover,
  .core-site-header.is-compact .primary-nav a[aria-current='page'] { color: var(--blue); background: #edf3f5; }
}

/* Submenú de Revista en el encabezado institucional */
.core-site-header .nav-dropdown { min-width: 0; position: relative; }
.core-site-header .nav-dropdown-toggle { border: 0; font: inherit; cursor: pointer; }
.core-site-header .nav-dropdown-toggle svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.core-site-header .nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }

@media (min-width: 1181px) {
  .core-site-header .primary-nav .nav-dropdown { min-height: 68px; display: grid; grid-template-columns: minmax(0, 1fr) 38px; align-items: stretch; }
  .core-site-header .primary-nav .nav-dropdown::before { width: 1px; height: 30px; position: absolute; z-index: 1; top: 50%; left: 0; margin-top: -15px; content: ''; background: rgba(255,255,255,.17); }
  .core-site-header .primary-nav .nav-dropdown-link { grid-column: 1; padding-right: 3px; }
  .core-site-header .primary-nav .nav-dropdown-toggle { grid-column: 2; display: grid; place-items: center; color: rgba(255,255,255,.94); background: transparent; }
  .core-site-header .primary-nav .nav-dropdown:hover .nav-dropdown-toggle, .core-site-header .primary-nav .nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--white); background: rgba(255,255,255,.08); }
  .core-site-header .primary-nav .nav-dropdown-menu { width: min(300px, calc(100vw - 32px)); position: absolute; z-index: 20; top: 100%; right: 0; display: grid; gap: 2px; padding: 10px; border: 1px solid #dce4e7; color: var(--ink); background: var(--white); box-shadow: 0 15px 29px rgba(var(--ink-rgb),.2); opacity: 0; pointer-events: none; transform: translateY(-7px); visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .core-site-header .primary-nav .nav-dropdown-menu a { min-height: auto; display: block; padding: 13px 15px; color: var(--ink); background: transparent; font-size: 14px; font-weight: 800; line-height: 1.3; text-align: left; }
  .core-site-header .primary-nav .nav-dropdown-menu a::before, .core-site-header .primary-nav .nav-dropdown-menu a::after { display: none; }
  .core-site-header .primary-nav .nav-dropdown-menu a:hover, .core-site-header .primary-nav .nav-dropdown-menu a:focus-visible { color: var(--ink); background: #edf3f5; outline: none; }
  .core-site-header .primary-nav .nav-dropdown:hover .nav-dropdown-menu, .core-site-header .primary-nav .nav-dropdown:focus-within .nav-dropdown-menu, .core-site-header .primary-nav .nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
  .core-site-header.is-compact .primary-nav .nav-dropdown { min-height: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 34px; }
  .core-site-header.is-compact .primary-nav .nav-dropdown::before { background: #dbe5e9; }
  .core-site-header.is-compact .primary-nav .nav-dropdown-link { min-height: 64px; }
  .core-site-header.is-compact .primary-nav .nav-dropdown-toggle { color: var(--ink); }
  .core-site-header.is-compact .primary-nav .nav-dropdown:hover .nav-dropdown-toggle, .core-site-header.is-compact .primary-nav .nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--blue); background: #edf3f5; }
}

@media (max-width: 1180px) {
  .core-site-header .primary-nav .nav-dropdown { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 4px; }
  .core-site-header .primary-nav .nav-dropdown-link { grid-column: 1; }
  .core-site-header .primary-nav .nav-dropdown-toggle { grid-column: 2; display: grid; place-items: center; border-radius: 11px; color: var(--ink); background: #f2f6f8; }
  .core-site-header .primary-nav .nav-dropdown-toggle:hover, .core-site-header .primary-nav .nav-dropdown-toggle:focus-visible { color: var(--white); background: var(--blue); outline: none; }
  .core-site-header .primary-nav .nav-dropdown-menu { grid-column: 1 / -1; display: none; gap: 4px; margin: 0 8px 7px; padding: 8px; border-left: 3px solid #b29448; background: #edf3f5; }
  .core-site-header .primary-nav .nav-dropdown.is-open .nav-dropdown-menu { display: grid; }
  .core-site-header .primary-nav .nav-dropdown-menu a { min-height: 0; padding: 13px 14px; border-radius: 8px; color: var(--ink); background: var(--white); font-size: 14px; text-align: left; }
  .core-site-header .primary-nav .nav-dropdown-menu a:hover, .core-site-header .primary-nav .nav-dropdown-menu a:focus-visible { color: var(--white); background: var(--blue); outline: none; }
}

.magazine-site-header.is-compact {
  top: 0;
  width: 100%;
  min-height: 64px;
  padding: 9px max(3.4vw, 24px);
  border-radius: 0;
  background: rgba(255,255,255,.98);
  box-shadow: 0 5px 18px rgba(6,50,82,.15);
  backdrop-filter: blur(12px);
}
.magazine-site-header.is-compact .brand img { width: 138px; }
.magazine-site-header.is-compact .magazine-nav { gap: clamp(12px, 1.8vw, 31px); }
.magazine-site-header.is-compact .magazine-nav a { font-size: 14px; }

@media (max-width: 1180px) {
  .core-site-header.is-compact {
    min-height: 62px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 5px 18px rgba(6,50,82,.15);
    backdrop-filter: blur(12px);
  }
  .core-site-header.is-compact .brand img { width: clamp(138px, 21vw, 165px); }
  .core-site-header.is-compact .nav-toggle svg { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .core-site-header, .magazine-site-header { transition: none; }
}

/* Página Nosotros */
.nosotros-page { overflow-x: clip; background: #fff; }
.nosotros-page h1, .nosotros-page h2, .nosotros-page h3, .nosotros-page p { margin-top: 0; }
.about-hero { min-height: min(780px, 70vw); position: relative; display: grid; place-items: center; overflow: hidden; padding: 220px 32px 120px; color: var(--white); background: linear-gradient(105deg, rgba(3,32,54,.5), rgba(3,32,54,.2)), url('assets/nosotros-portada.jpg') center 52% / cover; text-align: center; }
.about-hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(4,26,47,.1), rgba(4,26,47,.28)); }
.about-hero-content { max-width: 860px; position: relative; z-index: 1; }
.about-kicker, .section-label { margin-bottom: 12px; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.about-kicker { color: #f0d28d; }
.about-hero h1 { margin-bottom: 20px; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(4.7rem, 9vw, 9.2rem); font-weight: 400; letter-spacing: .02em; line-height: .88; text-shadow: 0 3px 18px rgba(1,10,20,.28); }
.about-hero p:last-child { margin-bottom: 0; font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-weight: 800; line-height: 1.4; }

.director-section { padding: clamp(86px, 10vw, 150px) 32px; background: #fff; }
.director-profile { width: min(100%, 580px); display: flex; justify-content: center; margin: 0 auto; }
.director-art { width: min(100%, 540px); aspect-ratio: .824; position: relative; }
.director-frame { width: 100%; height: 100%; position: absolute; z-index: 2; inset: 0; object-fit: contain; }
.director-photo { width: 60%; height: auto; position: absolute; z-index: 1; top: 17%; left: 21.5%; object-fit: cover; object-position: center; filter: drop-shadow(0 18px 21px rgba(8,35,59,.21)); }
.director-copy { position: absolute; z-index: 3; top: 66%; right: 21%; left: 29%; color: #082f4d; }
.director-copy .section-label, .values-heading .section-label, .timeline-heading .section-label, .directory-copy .section-label { color: #b69246; }
.values-heading h2, .timeline-heading h2, .directory-copy h2 { margin-bottom: 18px; color: #082f4d; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.5rem, 5vw, 5.65rem); font-weight: 400; letter-spacing: .015em; line-height: .9; }
.director-copy h2 { margin: 0; color: #082f4d; font-family: Manrope, sans-serif; font-size: clamp(17px, 1.35vw, 22px); font-weight: 800; letter-spacing: -.025em; line-height: 1.18; }
.director-role { margin: 5px 0 0; color: #082f4d; font-size: clamp(11px, .86vw, 13px); font-style: italic; font-weight: 800; letter-spacing: .06em; line-height: 1.25; }
.director-copy .director-description { margin: 12px 0 0; color: #345267; font-size: clamp(12px, .95vw, 14px); font-weight: 600; line-height: 1.44; }

.mission-vision { position: relative; display: grid; gap: clamp(45px, 7vw, 100px); overflow: hidden; padding: clamp(85px, 12vw, 165px) max(5vw, 36px); color: var(--white); background: linear-gradient(rgba(2,29,51,.48), rgba(2,29,51,.64)), url('assets/nosotros-parallax.jpg') center / cover fixed; }
.mission-vision::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(3,18,42,.19), rgba(3,18,42,.04), rgba(3,18,42,.3)); pointer-events: none; }
.statement { width: min(100%, 720px); min-height: 192px; position: relative; z-index: 1; display: flex; align-items: center; color: var(--white); background-repeat: no-repeat; background-position: center; background-size: 100% 100%; }
.statement > div { width: 62%; padding: 28px clamp(23px, 3vw, 45px); }
.statement .section-label { margin-bottom: 9px; color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.3rem); letter-spacing: .025em; }
.statement p:last-child { margin-bottom: 0; font-size: clamp(.78rem, 1.1vw, .98rem); font-weight: 600; line-height: 1.45; }
.statement-mission { justify-self: start; background-image: url('assets/nosotros-flecha-izquierda.png'); transform: translateX(-80px); }
.statement-vision { justify-self: end; justify-content: flex-end; background-image: url('assets/nosotros-flecha-derecha.png'); transform: translateX(80px); }
.statement-vision > div { padding-right: clamp(23px, 3vw, 45px); }
.has-scroll-reveal .statement.is-visible { transform: translateX(0); }

.values-section { padding: clamp(80px, 10vw, 140px) 32px; background: #fff; text-align: center; }
.values-heading { max-width: 620px; margin: 0 auto 55px; }
.values-heading h2, .timeline-heading h2 { color: #101a25; }
.values-heading > p:last-child { margin: 0 auto; color: #60707c; font-size: 16px; font-weight: 600; line-height: 1.6; }
.values-grid { width: min(1120px, 100%); display: grid; grid-template-columns: repeat(5, minmax(128px, 1fr)); gap: clamp(13px, 2vw, 31px); margin: 0 auto; }
.value-card { width: 100%; aspect-ratio: .663; position: relative; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; perspective: 1000px; }
.value-card:focus-visible { outline: 3px solid #073555; outline-offset: 5px; }
.value-card-inner { width: 100%; height: 100%; position: relative; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.value-card:hover .value-card-inner, .value-card:focus-visible .value-card-inner, .value-card.is-flipped .value-card-inner { transform: rotateY(180deg); }
.value-card-face { position: absolute; inset: 0; display: grid; place-items: center; padding: 22% 18%; backface-visibility: hidden; color: var(--white); font-family: Manrope, sans-serif; font-size: clamp(.8rem, 1.25vw, 1.05rem); font-weight: 800; line-height: 1.25; text-align: center; }
.value-card-face::before { position: absolute; z-index: -1; inset: 0; content: ''; background: url('assets/nosotros-tarjeta-valor.png') center / 100% 100% no-repeat; }
.value-card-blue .value-card-face::before { filter: hue-rotate(135deg) saturate(.92) brightness(.74); }
.value-card-back { padding: 20% 16%; font-size: clamp(.7rem, 1.03vw, .9rem); line-height: 1.38; transform: rotateY(180deg); }

.timeline-section { overflow: hidden; padding: clamp(82px, 11vw, 150px) 32px; background: #f5f7fa; }
.timeline-heading { margin-bottom: 65px; text-align: center; }
.timeline { width: min(100%, 980px); position: relative; margin: 0 auto; padding: 12px 0; }
.timeline::before { width: 2px; position: absolute; top: 0; bottom: 0; left: 50%; content: ''; background: #8ca0ad; transform: translateX(-50%); }
.timeline-item { min-height: 220px; position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.timeline-content { max-width: 292px; position: relative; z-index: 2; padding: 22px; border-radius: 12px; color: #fff; background: rgba(5,61,24,.79); box-shadow: 0 10px 24px rgba(12,50,25,.13); }
.timeline-content h3 { margin-bottom: 0; font-size: 16px; font-weight: 800; line-height: 1.35; }
.timeline-year { margin-bottom: 7px; color: #f2dc9a; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.timeline-marker { width: 50px; height: 50px; grid-column: 2; position: relative; z-index: 3; justify-self: center; display: grid; place-items: center; background: #f5f7fa; }
.timeline-marker img { width: 100%; height: 100%; object-fit: contain; }
.timeline-leaf { width: min(390px, 50vw); position: absolute; z-index: 1; top: 50%; opacity: .95; transform: translateY(-50%); }
.timeline-left .timeline-content { grid-column: 1; justify-self: end; text-align: right; }
.timeline-left .timeline-leaf { right: calc(50% + 36px); transform: translateY(-50%) rotate(4deg); }
.timeline-right .timeline-content { grid-column: 3; justify-self: start; text-align: left; }
.timeline-right .timeline-leaf { left: calc(50% + 36px); transform: translateY(-50%) rotate(-4deg); }

.directory-section { display: grid; grid-template-columns: minmax(310px, .78fr) minmax(340px, 1.22fr); color: #082c49; background: #94c75c; }
.directory-copy { padding: clamp(55px, 8vw, 105px) clamp(32px, 6vw, 96px); }
.directory-copy .section-label { color: #082c49; }
.directory-copy h2 { margin-bottom: 42px; font-size: clamp(3.3rem, 5.5vw, 5.5rem); }
.directory-copy div + div { margin-top: 30px; }
.directory-copy h3 { margin-bottom: 5px; font-size: 16px; font-weight: 800; line-height: 1.3; }
.directory-copy p, .directory-copy a { margin-bottom: 6px; display: block; font-size: 14px; font-weight: 700; line-height: 1.45; }
.directory-copy a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.directory-image { min-height: 510px; }
.directory-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }

.has-scroll-reveal .nosotros-page [data-reveal] { opacity: 0; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.has-scroll-reveal .nosotros-page [data-reveal].is-visible { opacity: 1; }
.has-scroll-reveal .director-profile[data-reveal], .has-scroll-reveal .values-heading[data-reveal], .has-scroll-reveal .timeline-heading[data-reveal] { transform: translateY(34px); }
.has-scroll-reveal .director-profile[data-reveal].is-visible, .has-scroll-reveal .values-heading[data-reveal].is-visible, .has-scroll-reveal .timeline-heading[data-reveal].is-visible { transform: translateY(0); }
.has-scroll-reveal .value-card[data-reveal] { transform: translateY(32px) scale(.96); }
.has-scroll-reveal .value-card[data-reveal].is-visible { transform: translateY(0) scale(1); }
.has-scroll-reveal .timeline-left[data-reveal] { transform: translateX(-55px); }
.has-scroll-reveal .timeline-right[data-reveal] { transform: translateX(55px); }
.has-scroll-reveal .timeline-item[data-reveal].is-visible { transform: translateX(0); }
.values-grid .value-card:nth-child(2) { transition-delay: .07s; }.values-grid .value-card:nth-child(3) { transition-delay: .14s; }.values-grid .value-card:nth-child(4) { transition-delay: .21s; }.values-grid .value-card:nth-child(5) { transition-delay: .28s; }

@media (max-width: 760px) {
  .about-hero { min-height: 570px; padding: 150px 24px 80px; background-position: 64% center; }
  .director-section { padding: 72px 20px; }.director-profile { width: min(100%, 440px); }.director-art { width: 100%; }.director-copy { top: 66%; right: 21%; left: 29%; text-align: left; }
  .mission-vision { gap: 26px; padding: 70px 20px; background-attachment: scroll; }.statement { min-height: 238px; aspect-ratio: auto; padding: 28px 34px; background-color: #06416d; background-image: none; }.statement::after { width: 0; height: 0; position: absolute; top: 50%; content: ''; border-top: 31px solid transparent; border-bottom: 31px solid transparent; transform: translateY(-50%); }.statement-mission::after { right: 0; border-right: 0; border-left: 31px solid #f59a4b; }.statement-vision::after { left: 0; border-right: 31px solid #1b9ec4; border-left: 0; }.statement > div { width: 100%; padding: 0; }.statement .section-label { margin-bottom: 10px; font-size: 1.65rem; }.statement p:last-child { font-size: 14px; line-height: 1.48; }.statement-mission, .statement-vision { transform: none; }
  .values-section { padding: 78px 20px; }.values-heading { margin-bottom: 38px; }.values-grid { grid-template-columns: repeat(2, minmax(125px, 1fr)); gap: 22px; }.value-card:last-child { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }.value-card-face { font-size: 15px; }.value-card-back { font-size: 12px; }
  .timeline-section { padding: 75px 20px; }.timeline-heading { margin-bottom: 36px; }.timeline::before { left: 30px; }.timeline-item { min-height: 180px; display: block; padding-left: 67px; }.timeline-marker { width: 38px; height: 38px; position: absolute; top: 50%; left: 11px; transform: translateY(-50%); }.timeline-content, .timeline-left .timeline-content, .timeline-right .timeline-content { width: min(100%, 310px); position: relative; z-index: 3; justify-self: auto; margin-left: 0; text-align: left; }.timeline-leaf { width: min(290px, 74vw); top: 50%; left: 30px !important; right: auto !important; opacity: .78; transform: translateY(-50%) rotate(-5deg) !important; }.timeline-left .timeline-leaf { transform: translateY(-50%) rotate(5deg) !important; }
  .directory-section { grid-template-columns: 1fr; }.directory-copy { padding: 62px 28px; }.directory-copy h2 { margin-bottom: 30px; }.directory-image { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  .mission-vision { background-attachment: scroll; }
  .value-card-inner, .has-scroll-reveal .nosotros-page [data-reveal] { transition: none; }
}

/* Directrices para autores */
.policies-page { max-width: 1240px; padding-bottom: 130px; }
.policies-intro { max-width: 850px; }
.policies-intro > p:not(.magazine-kicker) { max-width: 700px; margin: 25px 0 0; color: #435465; font-size: 18px; font-weight: 600; line-height: 1.65; }
.policies-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.policies-actions .button { min-width: 218px; }
.policies-page .policies-layout { grid-template-columns: minmax(245px, .48fr) minmax(0, 1fr); gap: clamp(38px, 6vw, 86px); align-items: start; margin-top: 72px; }
.policies-page .policies-aside { position: sticky; top: 88px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; padding: 33px; border-top: 6px solid #b29448; color: #0b3b59; background: #e9ede9; }
.policies-page .policies-aside-name { max-width: 205px; margin: 0 0 16px; color: #0b3b59; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 3.25rem; font-weight: 400; letter-spacing: .02em; line-height: .84; }
.policies-page .policies-aside .magazine-kicker { margin-bottom: 0; }
.policies-page .policies-aside h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 1.4rem; font-weight: 800; line-height: 1.25; }
.policies-facts { width: 100%; display: grid; gap: 16px; margin: 9px 0 4px; }
.policies-facts div { display: grid; gap: 4px; padding-bottom: 15px; border-bottom: 1px solid rgba(9,47,76,.18); }
.policies-facts dt { color: #8b7440; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.policies-facts dd { margin: 0; color: #294356; font-size: 14px; font-weight: 700; line-height: 1.45; }
.policies-facts a { text-decoration: underline; text-underline-offset: 3px; }
.policies-content { display: grid; gap: 26px; }
.policies-page .policies-layout .policy-section { padding: clamp(30px, 4.5vw, 54px); border-top: 5px solid #0b3b59; background: var(--white); box-shadow: 0 16px 38px rgba(5,41,61,.08); }
.policy-number { margin: 0 0 14px; color: #b29448; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.05rem; font-weight: 400; letter-spacing: .08em; line-height: .8; }
.policies-page .policies-layout .policy-section h2, .policy-template h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3rem, 4.3vw, 4.55rem); font-weight: 400; line-height: .93; letter-spacing: .015em; }
.policies-page .policies-layout .policy-section .policy-summary { max-width: 620px; margin: 20px 0 0; color: #475768; font-size: 17px; font-weight: 600; line-height: 1.65; }
.policy-steps { display: grid; gap: 0; margin: 35px 0 0; padding: 0; list-style: none; counter-reset: policy-step; }
.policy-steps li { position: relative; padding: 25px 0 26px 58px; border-top: 1px solid #d9dfdc; counter-increment: policy-step; }
.policy-steps li::before { width: 33px; height: 33px; position: absolute; top: 25px; left: 0; display: grid; place-items: center; content: counter(policy-step); border: 1px solid #c9ad67; color: #8d7133; font-size: 12px; font-weight: 800; }
.policy-steps h3, .policy-requirements h3 { margin: 0; color: #0b3b59; font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; line-height: 1.38; }
.policies-page .policies-layout .policy-steps p { margin: 9px 0 0; color: #526170; font-size: 15px; font-weight: 600; line-height: 1.65; }
.policy-steps a, .policy-summary a { color: #0b3b59; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.policy-note { margin: 6px 0 0; padding: 17px 0 0 18px; border-left: 3px solid #c0a05a; color: #5c6470; font-size: 14px; font-weight: 700; line-height: 1.55; }
.policy-requirements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin-top: 34px; }
.policy-requirements article { padding: 24px 0; border-top: 1px solid #d9dfdc; }
.policies-page .policies-layout .policy-requirements p { margin: 9px 0 0; color: #526170; font-size: 15px; font-weight: 600; line-height: 1.62; }
.policy-template { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: clamp(30px, 4.2vw, 48px); border: 1px solid #dfe5df; border-top: 5px solid #b29448; color: #092f4c; background: var(--white); box-shadow: 0 16px 34px rgba(5,41,61,.08); }
.policy-template .magazine-kicker { color: #e8cf8e; }
.policy-template h2 { color: #092f4c; font-size: clamp(2.7rem, 4vw, 4rem); }
.policy-template p:not(.magazine-kicker) { max-width: 550px; margin: 17px 0 0; color: #42515d; font-family: Manrope, sans-serif; font-size: 16px; font-weight: 300; line-height: 1.6; }
.policy-template .button { flex: 0 0 auto; color: #0b3b59; border-color: #f0d28d; background: #f0d28d; }
.policies-actions .button-primary { color: #071f34; border-color: #f0d28d; background: #f0d28d; }
.policies-actions .button-primary:hover { color: var(--white); border-color: #071f34; background: #071f34; }

@media (max-width: 960px) {
  .policies-page .policies-layout { grid-template-columns: 1fr; gap: 27px; margin-top: 50px; }
  .policies-page .policies-aside { position: static; display: grid; grid-template-columns: 160px 1fr; column-gap: 30px; align-items: center; }
  .policies-page .policies-aside-name { grid-row: span 3; grid-column: 1; align-self: start; width: 145px; margin: 0; font-size: 2.6rem; }
  .policies-page .policies-aside .magazine-kicker, .policies-page .policies-aside h2 { grid-column: 2; }
  .policies-facts { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .policies-page .policies-aside .text-link { grid-column: 1 / -1; }
}

@media (min-width: 961px) and (max-height: 730px) {
  .policies-page .policies-aside { top: 76px; gap: 10px; padding: 24px; }
  .policies-page .policies-aside-name { max-width: 180px; margin-bottom: 7px; font-size: 2.7rem; }
  .policies-page .policies-aside h2 { font-size: 1.25rem; }
  .policies-facts { gap: 10px; margin: 4px 0 0; }
  .policies-facts div { padding-bottom: 9px; }
}

@media (max-width: 680px) {
  .policies-page { padding: 148px 20px 76px; }
  .policies-intro > p:not(.magazine-kicker) { margin-top: 18px; font-size: 16px; line-height: 1.6; }
  .policies-actions { display: grid; margin-top: 26px; }
  .policies-actions .button { width: 100%; min-width: 0; }
  .policies-page .policies-layout { margin-top: 38px; }
  .policies-page .policies-aside { display: flex; align-items: flex-start; padding: 28px 25px; }
  .policies-page .policies-aside-name { width: 188px; font-size: 2.85rem; }
  .policies-facts { grid-template-columns: 1fr; gap: 13px; }
  .policies-page .policies-layout .policy-section { padding: 31px 24px; }
  .policies-page .policies-layout .policy-section h2, .policy-template h2 { font-size: 3.45rem; }
  .policies-page .policies-layout .policy-section .policy-summary { margin-top: 17px; font-size: 16px; }
  .policy-steps { margin-top: 25px; }
  .policy-steps li { padding: 21px 0 22px 47px; }
  .policy-steps li::before { width: 29px; height: 29px; top: 21px; }
  .policies-page .policies-layout .policy-steps p, .policies-page .policies-layout .policy-requirements p { font-size: 14px; }
  .policy-requirements { grid-template-columns: 1fr; margin-top: 24px; }
  .policy-requirements article { padding: 21px 0; }
  .policy-template { display: block; padding: 32px 25px; }
  .policy-template p:not(.magazine-kicker) { font-size: 15px; }
  .policy-template .button { width: 100%; margin-top: 27px; }
}

/* Página interna: equipo del proyecto */
.project-team-page { color: #12354b; background: #f6f7f3; }
.project-team-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px max(28px, 6vw); border-bottom: 1px solid #e0e6e7; background: rgba(255,255,255,.97); }
.project-team-header .brand { flex: none; display: inline-flex; }
.project-team-header .brand img { width: clamp(180px, 17vw, 230px); }
.project-team-header > p { margin: 0; color: #607282; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.project-team-hero { max-width: 1220px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr); gap: 70px; align-items: end; margin: 0 auto; padding: clamp(80px, 11vw, 155px) max(28px, 6vw) clamp(64px, 9vw, 112px); }
.project-team-hero .section-label, .executive-direction .section-label, .project-team-heading .section-label { margin: 0 0 13px; color: #a58643; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase; }
.project-team-hero h1, .executive-direction h2, .project-team-heading h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; line-height: .9; letter-spacing: .015em; }
.project-team-hero h1 { font-size: clamp(4.6rem, 9vw, 8.4rem); }
.project-team-hero > p:last-child { max-width: 540px; margin: 25px 0 0; color: #526675; font-size: 18px; font-weight: 600; line-height: 1.65; }
.project-team-hero div > p:last-child { max-width: 540px; margin: 25px 0 0; color: #526675; font-size: 18px; font-weight: 600; line-height: 1.65; }
.project-team-hero-art { min-height: 230px; position: relative; overflow: hidden; border: 1px solid rgba(178,148,72,.32); background: linear-gradient(140deg, #0a344f, #12546f); }
.project-team-hero-art::before, .project-team-hero-art::after { position: absolute; content: ''; border: 1px solid rgba(229,202,132,.52); transform: rotate(45deg); }
.project-team-hero-art::before { width: 170px; height: 170px; top: -80px; right: -52px; }.project-team-hero-art::after { width: 105px; height: 105px; bottom: -52px; left: -35px; }
.project-team-hero-art span { position: absolute; display: block; border-radius: 50%; background: #e8ca83; }.project-team-hero-art span:nth-child(1) { width: 18px; height: 18px; top: 27%; left: 20%; }.project-team-hero-art span:nth-child(2) { width: 9px; height: 9px; top: 57%; left: 43%; }.project-team-hero-art span:nth-child(3) { width: 13px; height: 13px; right: 31%; bottom: 27%; }
.executive-direction { max-width: 1220px; display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr); gap: clamp(42px, 8vw, 115px); align-items: center; margin: 0 auto; padding: clamp(44px, 6vw, 78px) clamp(28px, 8vw, 105px); color: var(--white); background: linear-gradient(112deg, #072c48, #0e4c67); box-shadow: 0 23px 46px rgba(5,42,63,.16); }
.executive-direction .section-label { color: #e6cb86; }
.executive-direction h2 { max-width: 850px; color: var(--white); font-size: clamp(3.3rem, 6vw, 6.4rem); }
.executive-copy > p:not(.section-label) { margin: 18px 0 0; color: #e6eef2; font-size: 17px; font-weight: 800; line-height: 1.5; }.executive-copy .executive-description { max-width: 590px; margin-top: 13px; color: #cbdce4; font-size: 15px; font-weight: 600; }
.project-team-list { max-width: 1220px; margin: 0 auto; padding: clamp(76px, 10vw, 135px) max(28px, 6vw); }
.project-team-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.project-team-heading h2 { font-size: clamp(3.7rem, 6vw, 5.8rem); }
.project-team-heading > p { max-width: 390px; margin: 0 0 4px; color: #607080; font-size: 15px; font-weight: 600; line-height: 1.6; }
.project-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-team-card { min-height: 435px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #e1e7e7; border-top: 5px solid #b29448; background: var(--white); box-shadow: 0 15px 32px rgba(4,40,61,.08); transition: transform .25s ease, box-shadow .25s ease; }.project-team-card:hover { transform: translateY(-7px); box-shadow: 0 22px 38px rgba(4,40,61,.15); }
.team-photo-slot { width: 100%; aspect-ratio: 1.36; display: grid; place-items: center; align-content: center; gap: 9px; overflow: hidden; border: 1px dashed rgba(10,52,79,.34); color: #6e8392; background: linear-gradient(135deg, #eef2f1, #e4ebec); }.team-photo-slot svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.6; }.team-photo-slot span { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.team-photo-slot-executive { aspect-ratio: 1; border-color: rgba(230,203,134,.72); color: #e6cb86; background: rgba(255,255,255,.06); }.team-photo-slot-executive svg { width: 62px; height: 62px; }
.team-card-meta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }.team-card-meta p { margin: 0; color: #607080; font-size: 13px; font-weight: 800; line-height: 1.35; text-align: right; }
.team-number { color: #b29448; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2rem; line-height: 1; }
.project-team-card h3 { margin: 20px 0 0; color: #0a344f; font-family: Manrope, sans-serif; font-size: clamp(1.12rem, 1.7vw, 1.45rem); font-weight: 800; line-height: 1.35; }

@media (max-width: 760px) {
  .project-team-header { min-height: 82px; padding: 19px 24px; }.project-team-header > p { display: none; }
  .project-team-header .brand img { width: 166px; }
  .project-team-hero { grid-template-columns: 1fr; gap: 40px; padding: 78px 24px 65px; }
  .project-team-hero h1 { font-size: 4.5rem; }
  .project-team-hero div > p:last-child { margin-top: 19px; font-size: 16px; }.project-team-hero-art { min-height: 155px; }
  .executive-direction { grid-template-columns: 1fr; gap: 30px; align-items: flex-start; padding: 47px 24px; }
  .team-photo-slot-executive { width: min(210px, 58vw); }
  .executive-direction h2 { font-size: 3.8rem; }
  .executive-copy > p:not(.section-label) { margin-top: 14px; font-size: 16px; }.executive-copy .executive-description { font-size: 14px; }
  .project-team-list { padding: 75px 24px; }
  .project-team-heading { display: block; margin-bottom: 31px; }.project-team-heading > p { margin-top: 17px; }
  .project-team-heading h2 { font-size: 4rem; }
  .project-team-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-team-card { min-height: 0; padding: 20px; }.team-photo-slot { aspect-ratio: 1.55; }
}

/* Menú desplegable: Servicios y proyectos destacados */
@media (min-width: 1181px) {
  .core-site-header .primary-nav .nav-dropdown-services .nav-services-menu {
    width: min(920px, calc(100vw - 32px));
    left: 0;
    right: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 10px;
  }
  .core-site-header .nav-services-group {
    min-width: 0;
    padding: 12px 14px 15px;
    border-bottom: 1px solid #e1e9ec;
  }
  .core-site-header .nav-services-group:nth-last-child(-n + 3) { border-bottom: 0; }
  .core-site-header .primary-nav .nav-services-group .nav-services-title {
    min-height: auto;
    display: block;
    padding: 4px 0 9px;
    color: var(--ink);
    background: transparent;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .035em;
    line-height: 1.25;
    text-transform: uppercase;
  }
  .core-site-header .primary-nav .nav-services-group .nav-services-title:hover,
  .core-site-header .primary-nav .nav-services-group .nav-services-title:focus-visible { color: #a38137; background: transparent; }
  .core-site-header .primary-nav .nav-services-group a:not(.nav-services-title) {
    min-height: auto;
    padding: 5px 0;
    color: #506a7a;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
  }
  .core-site-header .primary-nav .nav-services-group a:not(.nav-services-title):hover,
  .core-site-header .primary-nav .nav-services-group a:not(.nav-services-title):focus-visible { color: var(--ink); background: transparent; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 3px; }
  .core-site-header .primary-nav .nav-dropdown-services + a::before { width: 1px; height: 30px; position: absolute; top: 50%; left: 0; margin-top: -15px; content: ''; background: rgba(255,255,255,.17); }
  .core-site-header.is-compact .primary-nav .nav-dropdown-services + a::before { background: #dbe5e9; }
}

@media (max-width: 1180px) {
  .core-site-header .primary-nav .nav-dropdown-services .nav-services-menu {
    grid-template-columns: 1fr;
    max-height: min(59vh, 570px);
    overflow-y: auto;
    padding: 8px;
  }
  .core-site-header .nav-services-group { padding: 9px 8px 12px; border-bottom: 1px solid #d8e2e7; }
  .core-site-header .nav-services-group:last-child { border-bottom: 0; }
  .core-site-header .primary-nav .nav-services-group .nav-services-title {
    padding: 8px 7px;
    color: var(--ink);
    background: transparent;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
  }
  .core-site-header .primary-nav .nav-services-group a:not(.nav-services-title) { margin-top: 3px; padding: 10px 12px; color: #406071; font-size: 13px; line-height: 1.35; }
}

/* Página Servicios */
.services-page { overflow-x: clip; color: #103d58; background: #f6f8f7; }
.services-hero { min-height: 470px; display: grid; align-items: end; padding: 205px max(28px, 8vw) 78px; color: var(--white); background: linear-gradient(118deg, rgba(4,38,59,.97), rgba(10,68,94,.89) 58%, rgba(158,130,64,.86)), linear-gradient(133deg, #0c4d68, #b29448); }
.services-hero > div { width: min(970px, 100%); }
.services-hero .eyebrow { color: #e9d18f; }
.services-hero h1 { max-width: 880px; margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(4.3rem, 8vw, 8rem); font-weight: 400; line-height: .9; letter-spacing: .02em; }
.services-hero > div > p:last-child { max-width: 660px; margin: 24px 0 0; color: #e4edf0; font-size: 18px; font-weight: 600; line-height: 1.65; }
.projects-showcase { padding: clamp(78px, 10vw, 124px) max(28px, 8vw); background: #edf3f1; scroll-margin-top: 98px; }
.projects-showcase-heading { max-width: 760px; margin-bottom: 43px; }
.projects-showcase .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.projects-showcase h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 6vw, 6.3rem); font-weight: 400; line-height: .92; letter-spacing: .015em; }
.projects-showcase-heading > p:last-child { margin: 22px 0 0; color: #486475; font-size: 17px; font-weight: 600; line-height: 1.65; }
.projects-showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1500px; }
.project-directory-card { min-height: 310px; display: flex; flex-direction: column; padding: 29px; border-top: 5px solid #b29448; background: var(--white); box-shadow: 0 14px 30px rgba(5,42,62,.08); scroll-margin-top: 98px; }
.project-directory-number { margin: 0; color: #b29448; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2rem; line-height: 1; }
.project-directory-card h3 { margin: 22px 0 13px; color: #092f4c; font-family: Manrope, sans-serif; font-size: clamp(1.08rem, 1.5vw, 1.35rem); font-weight: 900; line-height: 1.25; }
.project-directory-card h3 span { color: #9c7d32; }
.project-directory-card > p:not(.project-directory-number) { margin: 0; color: #5e6e79; font-size: 15px; font-weight: 600; line-height: 1.6; }
.project-directory-card a, .projects-main-link { display: inline-flex; align-items: center; gap: 9px; color: #0a4564; font-size: 14px; font-weight: 900; line-height: 1.35; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 5px; }
.project-directory-card a { margin-top: auto; padding-top: 23px; }
.project-directory-card a span, .projects-main-link span { font-size: 19px; line-height: 1; transition: transform .2s ease; }
.project-directory-card a:hover, .projects-main-link:hover { color: #a38137; }
.project-directory-card a:hover span, .projects-main-link:hover span { transform: translateX(4px); }
.projects-main-link { width: fit-content; margin-top: 33px; }
.services-catalogue { padding: clamp(78px, 10vw, 135px) max(28px, 8vw); }
.services-catalogue-heading { max-width: 770px; margin-bottom: 45px; }
.services-catalogue .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.services-catalogue h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 6vw, 6.3rem); font-weight: 400; line-height: .92; letter-spacing: .015em; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1500px; }
.service-category { min-height: 270px; position: relative; padding: 30px; border-top: 5px solid #b29448; background: var(--white); box-shadow: 0 14px 30px rgba(5,42,62,.08); scroll-margin-top: 98px; }
.service-category-featured { grid-column: span 1; min-height: 0; }
.services-page .service-category#proyectos-destacados { grid-column: span 1; border-top-color: #e9d18f; color: var(--white); background: linear-gradient(145deg, #082f4c, #0e5a77); box-shadow: 0 22px 42px rgba(5,42,62,.22); }
.services-page .service-category#proyectos-destacados::after { width: 112px; height: 112px; position: absolute; right: -42px; bottom: -46px; border: 1px solid rgba(233,209,143,.42); border-radius: 50%; content: ''; }
.services-page .service-category#proyectos-destacados .service-number { color: #e9d18f; }
.services-page .service-category#proyectos-destacados h3 { color: var(--white); }
.services-page .service-category#proyectos-destacados > p:not(.service-number) { color: #dce8ed; }
.services-page .service-category#proyectos-destacados .service-items section { border-top-color: rgba(233,241,244,.22); border-left-color: #e9d18f; }
.services-page .service-category#proyectos-destacados .service-items h4 { color: var(--white); }
.services-page .service-category#proyectos-destacados .service-items h4 span { color: #e9d18f; }
.services-page .service-category#proyectos-destacados .service-items p { color: #dce8ed; }
.services-page .service-category#proyectos-destacados .service-text-link { color: #f3d98e; }
.services-page .service-category#proyectos-destacados .service-text-link:hover { color: var(--white); }
.services-page .service-category#proyectos-destacados .project-priority { position: relative; margin-top: 8px; padding: 19px 18px 18px; border: 1px solid rgba(233,209,143,.62); border-left: 4px solid #f1d488; background: rgba(255,255,255,.08); }
.services-page .service-category#proyectos-destacados .project-priority + section { margin-top: 8px; }
.project-priority-label { margin: 0 0 7px !important; color: #f1d488 !important; font-family: Manrope, sans-serif; font-size: 10px !important; font-weight: 900 !important; letter-spacing: .12em; line-height: 1.2 !important; text-transform: uppercase; }
.service-number { margin: 0; color: #b29448; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2rem; line-height: 1; }
.service-category h3 { margin: 23px 0 13px; color: #092f4c; font-family: Manrope, sans-serif; font-size: clamp(1.18rem, 1.8vw, 1.58rem); font-weight: 900; line-height: 1.22; }
.service-category > p:not(.service-number) { margin: 0; color: #5e6e79; font-size: 16px; font-weight: 600; line-height: 1.6; }
.service-items { display: grid; gap: 0; margin-top: 25px; }
.service-items section, .service-inline { padding: 17px 0 17px 19px; border-top: 1px solid #dce4e6; border-left: 3px solid #d6bf7d; scroll-margin-top: 98px; }
.service-items h4, .service-inline h4 { margin: 0; color: #123e59; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 900; line-height: 1.38; }
.service-items h4 span { color: #a38137; }
.service-items p, .service-inline p { margin: 7px 0 0; color: #61717c; font-size: 15px; font-weight: 600; line-height: 1.55; }
.service-inline { margin-top: 22px; }
.service-text-link { display: inline-flex; gap: 8px; margin-top: 11px; color: #0a4564; font-size: 14px; font-weight: 900; line-height: 1.35; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 4px; }
.service-text-link:hover { color: #a38137; }
.service-page-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #0a4564; font-size: 14px; font-weight: 900; line-height: 1.35; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 5px; }
.service-page-link span { font-size: 19px; line-height: 1; transition: transform .2s ease; }
.service-page-link:hover { color: #a38137; }
.service-page-link:hover span { transform: translateX(4px); }

@media (min-width: 1181px) {
  .core-site-header .nav-services-group a[href$="#internet-libre-gente"],
  .core-site-header .nav-services-group a[href$="#instalaciones-fotovoltaicas"] { margin-top: 4px; padding: 7px 9px !important; border-left: 3px solid #b29448; color: var(--ink) !important; background: #f5efe0 !important; font-weight: 900 !important; }
  .core-site-header .nav-services-group a[href$="#internet-libre-gente"]::before,
  .core-site-header .nav-services-group a[href$="#instalaciones-fotovoltaicas"]::before { content: 'DESTACADO · '; color: #a38137; font-size: 9px; letter-spacing: .06em; }
}

@media (max-width: 1180px) {
  .core-site-header .nav-services-group a[href$="#internet-libre-gente"],
  .core-site-header .nav-services-group a[href$="#instalaciones-fotovoltaicas"] { border-left: 3px solid #b29448; color: var(--ink); background: #fbf6e9; font-weight: 900; }
}

@media (max-width: 1000px) {
  .projects-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .services-hero { min-height: 0; padding: 155px 24px 60px; }
  .services-hero h1 { font-size: clamp(4rem, 17vw, 5.5rem); }
  .services-hero > div > p:last-child { margin-top: 18px; font-size: 16px; }
  .projects-showcase, .services-catalogue { padding: 70px 24px; }
  .projects-showcase-heading { margin-bottom: 32px; }
  .projects-showcase h2 { font-size: 3.9rem; }
  .projects-showcase-heading > p:last-child { margin-top: 18px; font-size: 16px; }
  .projects-showcase-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-directory-card { min-height: 0; padding: 26px 23px; }
  .services-catalogue-heading { margin-bottom: 32px; }
  .services-catalogue h2 { font-size: 3.9rem; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-category, .service-category-featured, .services-page .service-category#proyectos-destacados { grid-column: auto; min-height: 0; padding: 26px 23px; }
  .service-category h3 { margin-top: 19px; font-size: 1.25rem; }
  .service-category > p:not(.service-number) { font-size: 16px; }
  .service-items { margin-top: 20px; }
  .service-items section, .service-inline { padding-left: 15px; }
}

/* En escritorio, los submenús ocupan el ancho útil del encabezado. */
@media (min-width: 1181px) {
  .core-site-header .primary-nav .nav-dropdown .nav-dropdown-menu {
    width: auto;
    position: fixed;
    top: 162px;
    right: var(--gutter);
    left: var(--gutter);
    padding: 14px 18px;
  }
  .core-site-header .primary-nav .nav-dropdown:not(.nav-dropdown-services) .nav-dropdown-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .core-site-header .primary-nav .nav-dropdown:not(.nav-dropdown-services) .nav-dropdown-menu a {
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 12px 16px;
    text-align: center;
  }
  .core-site-header.is-compact .primary-nav .nav-dropdown .nav-dropdown-menu { top: 64px; }
}

/* Revista: mismo componente de submenú, con una línea de contexto por sección. */
.nav-magazine-description { margin: 0; color: #607080; font-size: 12px; font-weight: 700; line-height: 1.42; }

@media (min-width: 1181px) {
  .core-site-header .primary-nav .nav-dropdown-magazine .nav-services-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .core-site-header .nav-dropdown-magazine .nav-services-group { border-bottom: 0; }
  .core-site-header .nav-dropdown-magazine .nav-magazine-description { padding-right: 8px; }
}

@media (max-width: 1180px) {
  .core-site-header .nav-dropdown-magazine .nav-magazine-description { padding: 0 12px 5px; }
}

/* Páginas independientes de Servicios */
.service-detail-body { color: #103d58; background: #f6f8f7; }
.service-detail-page { overflow-x: clip; }
.service-detail-hero { min-height: 485px; display: grid; align-items: end; padding: 205px max(28px, 8vw) 80px; color: var(--white); background: linear-gradient(118deg, rgba(4,38,59,.97), rgba(10,68,94,.84)); }
.service-detail-energy { background: linear-gradient(118deg, rgba(4,38,59,.96), rgba(8,83,102,.82)), linear-gradient(135deg, #0b526e, #b29448); }
.service-detail-connectivity { background: linear-gradient(118deg, rgba(4,38,59,.96), rgba(20,91,118,.84)), linear-gradient(135deg, #0d5873, #8ab7c6); }
.service-detail-sustainability { background: linear-gradient(118deg, rgba(5,49,54,.96), rgba(28,96,83,.82)), linear-gradient(135deg, #1d5b55, #9cae60); }
.service-detail-generic { background: linear-gradient(118deg, rgba(4,38,59,.97), rgba(31,88,108,.84)), linear-gradient(135deg, #0b526e, #b29448); }
.portfolio-hero { background: linear-gradient(108deg, rgba(3,35,53,.94), rgba(4,43,63,.62) 57%, rgba(4,43,63,.28)), url('assets/cartera-servicios/portada-cartera.jpeg') center 58% / cover; }
.service-detail-hero > div { width: min(900px, 100%); }
.service-detail-hero .eyebrow { color: #ecd38d; }
.service-detail-hero h1 { max-width: 850px; margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(4.4rem, 8vw, 8.2rem); font-weight: 400; line-height: .9; letter-spacing: .02em; }
.service-detail-hero > div > p:last-child { max-width: 680px; margin: 24px 0 0; color: #e2ecef; font-size: 18px; font-weight: 600; line-height: 1.65; }
.service-detail-content { padding: clamp(78px, 10vw, 130px) max(28px, 8vw); }
.service-detail-heading { max-width: 740px; margin-bottom: 44px; }
.service-detail-heading .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.service-detail-heading h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 6vw, 6.3rem); font-weight: 400; line-height: .92; letter-spacing: .015em; }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1500px; }
.service-detail-grid article { min-height: 275px; padding: 30px; border-top: 5px solid #b29448; background: var(--white); box-shadow: 0 14px 30px rgba(5,42,62,.08); scroll-margin-top: 98px; }
.service-detail-grid h3 { margin: 23px 0 13px; color: #092f4c; font-family: Manrope, sans-serif; font-size: clamp(1.18rem, 1.8vw, 1.58rem); font-weight: 900; line-height: 1.22; }
.service-detail-grid article > p:not(.service-number) { margin: 0; color: #5e6e79; font-size: 16px; font-weight: 600; line-height: 1.6; }
.service-detail-grid-single { grid-template-columns: minmax(0, 620px); }
.portfolio-access { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; padding: clamp(68px, 8vw, 112px) max(28px, 8vw); color: #103d58; background: #edf4f2; }
.portfolio-access-copy { max-width: 720px; }
.portfolio-access .section-label, .portfolio-summary .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.portfolio-access h2, .portfolio-summary h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 5.5vw, 6rem); font-weight: 400; line-height: .92; letter-spacing: .015em; }
.portfolio-access-copy > p:last-child { margin: 21px 0 0; color: #506873; font-size: 17px; font-weight: 600; line-height: 1.65; }
.portfolio-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.portfolio-actions .button { min-width: 184px; justify-content: center; }
.portfolio-summary { padding: clamp(76px, 10vw, 128px) max(28px, 8vw); background: var(--white); }
.portfolio-summary-heading { max-width: 730px; margin-bottom: 43px; }
.portfolio-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1500px; }
.portfolio-summary-grid article { min-height: 230px; padding: 30px; border-top: 5px solid #b29448; background: #f7faf9; box-shadow: 0 14px 30px rgba(5,42,62,.08); }
.portfolio-summary-grid h3 { margin: 0; color: #092f4c; font-family: Manrope, sans-serif; font-size: clamp(1.18rem, 1.8vw, 1.55rem); font-weight: 900; line-height: 1.25; }
.portfolio-summary-grid p { margin: 16px 0 0; color: #5b6f7a; font-size: 16px; font-weight: 600; line-height: 1.6; }

@media (max-width: 800px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid-single { grid-template-columns: 1fr; }
  .portfolio-access { grid-template-columns: 1fr; gap: 30px; }
  .portfolio-actions { justify-content: flex-start; }
  .portfolio-summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .service-detail-hero { min-height: 0; padding: 155px 24px 60px; }
  .service-detail-hero h1 { font-size: clamp(4rem, 17vw, 5.5rem); }
  .service-detail-hero > div > p:last-child { margin-top: 18px; font-size: 16px; }
  .service-detail-content { padding: 70px 24px; }
  .service-detail-heading { margin-bottom: 32px; }
  .service-detail-heading h2 { font-size: 3.9rem; }
  .service-detail-grid article { min-height: 0; padding: 26px 23px; }
  .service-detail-grid h3 { margin-top: 19px; font-size: 1.25rem; }
  .service-detail-grid article > p:not(.service-number) { font-size: 16px; }
  .portfolio-access { padding: 68px 24px; }
  .portfolio-access h2, .portfolio-summary h2 { font-size: 3.9rem; }
  .portfolio-access-copy > p:last-child { margin-top: 18px; font-size: 16px; }
  .portfolio-actions { display: grid; grid-template-columns: 1fr; }
  .portfolio-actions .button { width: 100%; }
  .portfolio-summary { padding: 70px 24px; }
  .portfolio-summary-heading { margin-bottom: 32px; }
  .portfolio-summary-grid { gap: 14px; }
  .portfolio-summary-grid article { min-height: 0; padding: 26px 23px; }
}

/* Portadas de las áreas: misma presencia editorial que la sección Nosotros. */
.services-hero,
.programme-hero,
.service-detail-hero,
.success-cases-hero {
  min-height: min(780px, 70vw);
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 220px 32px 120px;
  background-position: center;
  background-size: cover;
  text-align: center;
}
.services-hero::after,
.programme-hero::after,
.service-detail-hero::after,
.success-cases-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, rgba(3,28,47,.3), rgba(3,28,47,.72));
}
.services-hero > div,
.programme-hero > div,
.service-detail-hero > div,
.success-cases-hero > div {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
}
.services-hero h1,
.programme-hero h1,
.service-detail-hero h1,
.success-cases-hero h1 {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(4.7rem, 9vw, 9.2rem);
  text-shadow: 0 3px 18px rgba(1,10,20,.3);
}
.services-hero > div > p:last-child,
.programme-hero > div > p:last-child,
.service-detail-hero > div > p:last-child,
.success-cases-hero p:last-child {
  max-width: 730px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}

/* Cada portada conserva su propio contexto visual. */
.services-hero { background-image: url('assets/cemer2.jpg'); background-position: center; }
.research-page .programme-hero { background-image: url('assets/parallax-inicio.jpg'); background-position: center; }
.education-page .programme-hero { background-image: url('assets/cemer2.jpg'); background-position: center; }
.service-detail-energy { background-image: url('assets/inicio-portada-provisional.jpg'); background-position: center; }
.service-detail-connectivity { background-image: url('assets/parallax-inicio.jpg'); background-position: center; }
.service-detail-sustainability { background-image: url('assets/cemer2.jpg'); background-position: center; }
.service-detail-generic { background-image: url('assets/cemer2.jpg'); background-position: center; }
.portfolio-hero { background-image: url('assets/cartera-servicios/portada-cartera.jpeg'); background-position: center 58%; }
.success-cases-hero { background-image: url('assets/casos-exito/3-600x600.png'); background-position: center; }
.service-detail-sustainability::after { background: linear-gradient(180deg, rgba(8,55,45,.3), rgba(5,43,43,.76)); }
.service-detail-connectivity::after { background: linear-gradient(180deg, rgba(3,33,56,.33), rgba(4,38,65,.76)); }

@media (max-width: 760px) {
  .services-hero,
  .programme-hero,
  .service-detail-hero,
  .success-cases-hero {
    min-height: 570px;
    padding: 150px 24px 80px;
  }
  .services-hero h1,
  .programme-hero h1,
  .service-detail-hero h1,
  .success-cases-hero h1 { font-size: clamp(4.15rem, 17vw, 5.8rem); }
  .services-hero > div > p:last-child,
  .programme-hero > div > p:last-child,
  .service-detail-hero > div > p:last-child,
  .success-cases-hero p:last-child { font-size: 1rem; }
  .services-hero { background-position: 58% center; }
  .education-page .programme-hero, .service-detail-generic { background-position: center; }
}

/* Superficie editorial clara: Revista Identidad Energética */
.magazine-page { background: #fff; }
.issue-articles { background: #fff; }

/* Investigación y Educación Continua */
@media (min-width: 1181px) {
  .core-site-header .primary-nav .nav-dropdown-research .nav-services-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .core-site-header .nav-dropdown-research .nav-services-group { border-bottom: 0; }
  .core-site-header .primary-nav .nav-dropdown-education .nav-services-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .core-site-header .nav-dropdown-education .nav-services-group { border-bottom: 0; }
}
.programme-page { overflow-x: clip; color: #103d58; background: #f6f8f7; }
.programme-hero { min-height: 485px; display: grid; align-items: end; padding: 205px max(28px, 8vw) 80px; color: var(--white); background: linear-gradient(118deg, rgba(4,38,59,.97), rgba(10,68,94,.84)), linear-gradient(135deg, #0b526e, #b29448); }
.education-page .programme-hero { background: linear-gradient(118deg, rgba(4,38,59,.97), rgba(12,70,92,.83)), linear-gradient(135deg, #0d5775, #a7843f); }
.programme-hero > div { width: min(900px, 100%); }
.programme-hero .eyebrow { color: #ecd38d; }
.programme-hero h1 { max-width: 900px; margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(4.4rem, 8vw, 8.2rem); font-weight: 400; line-height: .9; letter-spacing: .02em; }
.programme-hero > div > p:last-child { max-width: 700px; margin: 24px 0 0; color: #e2ecef; font-size: 18px; font-weight: 600; line-height: 1.65; }
.programme-catalogue { padding: clamp(78px, 10vw, 130px) max(28px, 8vw); }
.programme-heading { max-width: 760px; margin-bottom: 44px; }
.programme-heading .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.programme-heading h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 6vw, 6.3rem); font-weight: 400; line-height: .92; letter-spacing: .015em; }
.programme-intro { max-width: 760px; margin: 23px 0 0; color: #506873; font-size: 17px; font-weight: 600; line-height: 1.65; }
.programme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1500px; }
.programme-grid article { min-height: 315px; padding: 31px; border-top: 5px solid #b29448; background: var(--white); box-shadow: 0 14px 30px rgba(5,42,62,.08); scroll-margin-top: 98px; }
.programme-number { margin: 0; color: #b29448; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2rem; line-height: 1; }
.programme-grid h3 { margin: 21px 0 13px; color: #092f4c; font-family: Manrope, sans-serif; font-size: clamp(1.2rem, 1.8vw, 1.58rem); font-weight: 900; line-height: 1.25; }
.programme-grid article > p:not(.programme-number) { max-width: 620px; margin: 0; color: #5e6e79; font-size: 16px; font-weight: 600; line-height: 1.6; }
.programme-grid ul { display: grid; gap: 9px; margin: 21px 0 0; padding: 0; list-style: none; }
.programme-grid li { position: relative; padding-left: 18px; color: #0a4564; font-size: 14px; font-weight: 800; line-height: 1.45; scroll-margin-top: 98px; }
.programme-grid li::before { position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; content: ''; background: #b29448; }
.programme-link { display: inline-flex; gap: 9px; margin-top: 22px; color: #0a4564; font-size: 14px; font-weight: 900; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 5px; }
.programme-link:hover { color: #a38137; }
.education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.education-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(62px, 8vw, 105px) max(28px, 8vw); color: var(--white); background: #0a4564; }
.education-benefits article { max-width: 690px; padding: clamp(26px, 3.5vw, 42px); border-top: 4px solid #e4ca7e; background: rgba(255,255,255,.08); }
.education-benefits h2 { margin: 0; color: var(--white); font-family: Manrope, sans-serif; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 900; line-height: 1.2; }
.education-benefits p { margin: 16px 0 0; color: #deebed; font-size: 16px; font-weight: 600; line-height: 1.62; }
.student-opportunities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 28px; }
.student-opportunities section { min-height: 205px; padding: 19px 18px; border: 1px solid #dce5e8; border-top: 3px solid #d1b46b; background: #f7faf9; }
.student-opportunities h3 { margin: 0; color: #0a4564; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 900; line-height: 1.35; }
.student-opportunities h3 span { color: #a38137; }
.student-opportunities p { margin: 10px 0 0; color: #5a6d78; font-size: 14px; font-weight: 600; line-height: 1.55; }
.student-opportunities small { display: block; margin-top: 12px; color: #89733a; font-size: 11px; font-weight: 800; line-height: 1.42; }
.student-opportunities a { display: inline-flex; gap: 7px; margin-top: 14px; color: #0a4564; font-size: 13px; font-weight: 900; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 4px; }
.student-opportunities a:hover { color: #a38137; }
.programme-inline-link { color: inherit; font: inherit; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 4px; }
.programme-inline-link span { color: #a38137; font-size: 17px; line-height: .7; }
.diploma-detail { padding: clamp(78px, 10vw, 130px) max(28px, 8vw); color: #103d58; background: #eff5f4; scroll-margin-top: 98px; }
.diploma-heading { max-width: 880px; }
.diploma-heading .section-label, .diploma-modules-heading .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.diploma-heading h2, .diploma-modules-heading h3 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.9rem, 6vw, 6.2rem); font-weight: 400; line-height: .93; letter-spacing: .015em; }
.diploma-heading > p:last-child { max-width: 660px; margin: 22px 0 0; color: #506672; font-size: 17px; font-weight: 600; line-height: 1.6; }
.diploma-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1500px; margin-top: 48px; }
.diploma-overview article { padding: 28px; border-top: 4px solid #b29448; background: var(--white); box-shadow: 0 12px 26px rgba(5,42,62,.08); }
.diploma-label { margin: 0; color: #a38137; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.diploma-overview article > p:last-child, .diploma-context > p:not(.diploma-label) { margin: 15px 0 0; color: #566d79; font-size: 15px; font-weight: 600; line-height: 1.68; }
.diploma-context { max-width: 1100px; margin-top: 18px; padding: 30px 32px; border-left: 4px solid #b29448; background: #dfeceb; }
.diploma-context > p:not(.diploma-label) + p { margin-top: 14px; }
.course-programme-points { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.course-programme-points li { position: relative; padding-left: 19px; color: #566d79; font-size: 15px; font-weight: 600; line-height: 1.62; }
.course-programme-points li::before { width: 7px; height: 7px; position: absolute; top: .55em; left: 0; border-radius: 50%; content: ''; background: #b29448; }
.diploma-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; max-width: 1500px; margin-top: 38px; }
.diploma-blocks article { min-height: 150px; padding: 24px; border-top: 4px solid #b29448; background: rgba(255,255,255,.8); box-shadow: 0 10px 20px rgba(5,42,62,.06); }
.diploma-blocks p { margin: 0; color: #a38137; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.diploma-blocks h4 { margin: 13px 0 0; color: #0a4564; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 900; line-height: 1.35; }
.diploma-modules-heading { margin-top: clamp(68px, 8vw, 102px); }
.diploma-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; max-width: 1500px; margin: 42px 0 0; padding: 0; list-style: none; counter-reset: none; }
.diploma-modules > li { min-width: 0; }
.diploma-modules article { min-height: 250px; padding: 23px 21px; border-top: 4px solid #b29448; background: var(--white); box-shadow: 0 12px 26px rgba(5,42,62,.08); }
.diploma-modules article > p { margin: 0; color: #b29448; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 1.55rem; line-height: 1; }
.diploma-modules h4 { margin: 15px 0 0; color: #0a4564; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 900; line-height: 1.35; }
.diploma-modules ul { display: grid; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.diploma-modules li li { position: relative; padding-left: 15px; color: #5b6f7a; font-size: 13px; font-weight: 600; line-height: 1.42; }
.diploma-modules li li::before { width: 5px; height: 5px; position: absolute; top: .52em; left: 0; border-radius: 50%; content: ''; background: #b29448; }
.workshop-detail { padding: clamp(78px, 10vw, 130px) max(28px, 8vw); color: var(--white); background: linear-gradient(120deg, #073b58, #0b6170); scroll-margin-top: 98px; }
.workshop-heading { max-width: 950px; }
.workshop-heading .section-label { margin: 0 0 12px; color: #efd994; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.workshop-heading h2 { margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.9rem, 6vw, 6.2rem); font-weight: 400; line-height: .93; letter-spacing: .015em; }
.workshop-heading > p:last-child { max-width: 710px; margin: 22px 0 0; color: #dcebed; font-size: 17px; font-weight: 600; line-height: 1.6; }
.workshop-content { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); gap: 20px; max-width: 1500px; margin-top: 48px; }
.workshop-introduction { padding: 32px; border-left: 4px solid #e3c978; background: rgba(255,255,255,.09); }
.workshop-introduction p, .workshop-focus > p:not(.diploma-label) { margin: 0; color: #e2edef; font-size: 15px; font-weight: 600; line-height: 1.7; }
.workshop-introduction p + p, .workshop-focus > p + p { margin-top: 17px; }
.workshop-focus { padding: 31px; border-top: 4px solid #e3c978; color: #123e59; background: #f7faf9; }
.workshop-focus h3 { margin: 14px 0 0; color: #0a4564; font-family: Manrope, sans-serif; font-size: clamp(1.25rem, 1.8vw, 1.62rem); font-weight: 900; line-height: 1.3; }
.workshop-focus > p:not(.diploma-label) { color: #566d79; }
.workshop-briefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1500px; margin-top: 20px; }
.workshop-briefs article { padding: 29px; border-top: 4px solid #e3c978; color: #123e59; background: rgba(255,255,255,.11); }
.workshop-briefs h3 { margin: 14px 0 0; color: var(--white); font-family: Manrope, sans-serif; font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 900; line-height: 1.3; }
.workshop-briefs p:last-child { margin: 15px 0 0; color: #dcebed; font-size: 15px; font-weight: 600; line-height: 1.67; }
.student-practice-detail { padding: clamp(78px, 10vw, 130px) max(28px, 8vw); color: #103d58; background: #fff; scroll-margin-top: 98px; }
.student-practice-heading { max-width: 850px; }
.student-practice-heading .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.student-practice-heading h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.9rem, 6vw, 6.2rem); font-weight: 400; line-height: .93; letter-spacing: .015em; }
.student-practice-heading > p:last-child { max-width: 650px; margin: 22px 0 0; color: #506672; font-size: 17px; font-weight: 600; line-height: 1.6; }

/* Casos de éxito fotovoltaicos */
.success-cases-page { overflow-x: clip; color: #103d58; background: #fff; }
.success-cases-hero { min-height: 505px; display: grid; align-items: end; padding: 205px max(28px, 8vw) 78px; color: var(--white); background: linear-gradient(110deg, rgba(4,36,55,.94), rgba(4,36,55,.48)), url('assets/casos-exito/3-600x600.png') center/cover; }
.success-cases-hero > div { width: min(780px, 100%); }
.success-cases-hero .eyebrow { color: #f1d488; }
.success-cases-hero h1 { margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(4.5rem, 8vw, 8.3rem); font-weight: 400; line-height: .9; letter-spacing: .02em; }
.success-cases-hero p:last-child { max-width: 660px; margin: 23px 0 0; color: #e6f0f1; font-size: 18px; font-weight: 600; line-height: 1.62; }
.featured-projects { padding: clamp(76px, 9vw, 120px) max(28px, 8vw); background: #f3f7f7; }
.featured-projects-heading { max-width: 750px; margin-bottom: 42px; }
.featured-projects-heading .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.featured-projects-heading h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 6vw, 6.3rem); font-weight: 400; line-height: .92; }
.featured-projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1500px; }
.featured-project { min-height: 270px; padding: 31px; border-top: 5px solid #b29448; background: var(--white); box-shadow: 0 14px 30px rgba(5,42,62,.08); scroll-margin-top: 98px; }
.featured-project-ilg { grid-column: 1 / -1; display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 30px; align-items: center; }
.featured-project-ilg > img { width: 112px; max-height: 142px; justify-self: center; object-fit: contain; }
.project-tag { margin: 0 0 12px; color: #a38137; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.featured-project h3 { margin: 0; color: #092f4c; font-family: Manrope, sans-serif; font-size: clamp(1.2rem, 1.8vw, 1.58rem); font-weight: 900; line-height: 1.25; }
.featured-project h3 span { color: #a38137; }
.featured-project h3 + p { max-width: 840px; margin: 14px 0 0; color: #5e6e79; font-size: 16px; font-weight: 600; line-height: 1.62; }
.project-link { display: inline-flex; gap: 9px; margin-top: 19px; color: #0a4564; font-size: 14px; font-weight: 900; text-decoration: underline; text-decoration-color: #b29448; text-underline-offset: 5px; }
.project-link:hover { color: #a38137; }
.ioten-detail { padding: clamp(78px, 10vw, 130px) max(28px, 8vw); color: #103d58; background: #edf5f5; scroll-margin-top: 98px; }
.ioten-heading { max-width: 780px; }
.ioten-heading .section-label, .ioten-section-heading .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.ioten-heading h2, .ioten-section-heading h3 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.9rem, 6vw, 6.2rem); font-weight: 400; line-height: .93; letter-spacing: .015em; }
.ioten-heading > p:last-child { margin: 20px 0 0; color: #526a77; font-size: 17px; font-weight: 700; line-height: 1.6; }
.ioten-introduction { display: grid; grid-template-columns: minmax(235px, .75fr) repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1500px; margin-top: 48px; padding: 31px; border-left: 4px solid #b29448; background: var(--white); box-shadow: 0 12px 26px rgba(5,42,62,.08); }
.ioten-label { margin: 0; color: #a38137; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.ioten-introduction h3 { margin: 13px 0 0; color: #0a4564; font-family: Manrope, sans-serif; font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 900; line-height: 1.28; }
.ioten-introduction > p { margin: 0; color: #566d79; font-size: 15px; font-weight: 600; line-height: 1.67; }
.ioten-section-heading { margin-top: clamp(68px, 8vw, 102px); }
.ioten-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; max-width: 1500px; margin-top: 40px; }
.ioten-services article { min-height: 215px; padding: 27px; border-top: 4px solid #b29448; background: var(--white); box-shadow: 0 12px 26px rgba(5,42,62,.08); }
.ioten-services h4 { margin: 0; color: #0a4564; font-family: Manrope, sans-serif; font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 900; line-height: 1.28; }
.ioten-services p { margin: 14px 0 0; color: #5a6f7a; font-size: 15px; font-weight: 600; line-height: 1.62; }
.ioten-project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 18px; max-width: 1500px; margin: 40px 0 0; padding: 0; list-style: none; }
.ioten-project-list li { min-height: 70px; position: relative; display: flex; align-items: center; padding: 17px 20px 17px 37px; border: 1px solid #d8e5e6; color: #0a4564; background: rgba(255,255,255,.68); font-size: 14px; font-weight: 800; line-height: 1.45; }
.ioten-project-list li::before { width: 10px; height: 10px; position: absolute; top: 50%; left: 18px; margin-top: -5px; border-radius: 50%; content: ''; background: #b29448; box-shadow: 0 0 0 4px rgba(178,148,72,.15); }
.success-cases-catalogue { padding: clamp(76px, 10vw, 128px) max(28px, 8vw); }
.success-cases-heading { max-width: 750px; margin-bottom: 44px; }
.success-cases-heading .section-label { margin: 0 0 12px; color: #a38137; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.success-cases-heading h2 { margin: 0; color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.7rem, 6vw, 6.3rem); font-weight: 400; line-height: .92; }
.success-cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1500px; }
.success-case { overflow: hidden; background: #fff; box-shadow: 0 15px 35px rgba(5,42,62,.12); transition: transform .24s ease, box-shadow .24s ease; }
.success-case:hover { box-shadow: 0 23px 43px rgba(5,42,62,.2); transform: translateY(-6px); }
.success-case img { width: 100%; aspect-ratio: 1 / .72; display: block; object-fit: cover; transition: transform .5s ease; }
.success-case:hover img { transform: scale(1.055); }
.success-case-copy { padding: 22px 23px 25px; border-top: 4px solid #b29448; }
.success-case-copy h2 { margin: 0; color: #0a4564; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.success-case-copy p { margin: 11px 0 0; color: #536574; font-size: 15px; font-weight: 600; line-height: 1.55; }

@media (max-width: 900px) {
  .programme-grid { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }
  .student-opportunities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .education-benefits { grid-template-columns: 1fr; }
  .diploma-overview { grid-template-columns: 1fr; }
  .diploma-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diploma-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshop-content { grid-template-columns: 1fr; }
  .workshop-briefs { grid-template-columns: 1fr; }
  .success-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-projects-grid { grid-template-columns: 1fr; }
  .featured-project-ilg { grid-column: auto; }
  .ioten-introduction { grid-template-columns: 1fr; }
  .ioten-project-list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .programme-hero, .success-cases-hero { min-height: 0; padding: 155px 24px 60px; }
  .programme-hero h1, .success-cases-hero h1 { font-size: clamp(4rem, 17vw, 5.5rem); }
  .programme-hero > div > p:last-child, .success-cases-hero p:last-child { margin-top: 18px; font-size: 16px; }
  .programme-catalogue, .success-cases-catalogue { padding: 70px 24px; }
  .featured-projects { padding: 70px 24px; }
  .programme-heading, .success-cases-heading { margin-bottom: 32px; }
  .programme-heading h2, .success-cases-heading h2, .featured-projects-heading h2 { font-size: 3.9rem; }
  .programme-intro { margin-top: 18px; font-size: 16px; }
  .programme-grid article { min-height: 0; padding: 26px 23px; }
  .programme-grid h3 { margin-top: 19px; font-size: 1.25rem; }
  .programme-grid article > p:not(.programme-number) { font-size: 16px; }
  .student-opportunities { grid-template-columns: 1fr; margin-top: 23px; }
  .student-opportunities section { min-height: 0; padding: 18px 16px; }
  .education-benefits { gap: 14px; padding: 58px 24px; }
  .education-benefits article { padding: 25px 22px; }
  .diploma-detail { padding: 70px 24px; }
  .diploma-heading h2, .diploma-modules-heading h3 { font-size: 4rem; }
  .diploma-heading > p:last-child { font-size: 16px; }
  .diploma-overview { margin-top: 34px; }
  .diploma-overview article, .diploma-context { padding: 23px 20px; }
  .diploma-context { margin-top: 14px; }
  .diploma-blocks { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .diploma-blocks article { min-height: 0; padding: 22px; }
  .diploma-modules-heading { margin-top: 62px; }
  .diploma-modules { grid-template-columns: 1fr; gap: 14px; margin-top: 31px; }
  .diploma-modules article { min-height: 0; padding: 21px 19px; }
  .workshop-detail { padding: 70px 24px; }
  .workshop-heading h2 { font-size: 4rem; }
  .workshop-heading > p:last-child { font-size: 16px; }
  .workshop-content { margin-top: 34px; }
  .workshop-introduction, .workshop-focus { padding: 24px 20px; }
  .workshop-briefs { gap: 14px; margin-top: 14px; }
  .workshop-briefs article { padding: 24px 20px; }
  .student-practice-detail { padding: 70px 24px; }
  .student-practice-heading h2 { font-size: 4rem; }
  .student-practice-heading > p:last-child { font-size: 16px; }
  .success-cases-grid { grid-template-columns: 1fr; gap: 17px; }
  .success-case-copy { padding: 20px; }
  .featured-projects-heading { margin-bottom: 32px; }
  .featured-project { min-height: 0; padding: 26px 23px; }
  .featured-project-ilg { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .featured-project-ilg > img { width: 92px; max-height: 116px; }
  .featured-project h3 + p { font-size: 16px; }
  .ioten-detail { padding: 70px 24px; }
  .ioten-heading h2, .ioten-section-heading h3 { font-size: 4rem; }
  .ioten-heading > p:last-child { font-size: 16px; }
  .ioten-introduction { gap: 18px; margin-top: 34px; padding: 24px 20px; }
  .ioten-section-heading { margin-top: 62px; }
  .ioten-services { grid-template-columns: 1fr; gap: 14px; margin-top: 31px; }
  .ioten-services article { min-height: 0; padding: 23px 20px; }
  .ioten-project-list { gap: 10px; margin-top: 31px; }
  .ioten-project-list li { min-height: 0; padding: 16px 17px 16px 35px; }
}

/* Ajuste final de cascada para las portadas de Investigación, Educación y Proyectos. */
.programme-hero,
.success-cases-hero {
  min-height: min(780px, 70vw);
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 220px 32px 120px;
  background-position: center;
  background-size: cover;
  text-align: center;
}
.programme-hero::after,
.success-cases-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, rgba(3,28,47,.3), rgba(3,28,47,.72));
}
.programme-hero > div,
.success-cases-hero > div {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
}
.programme-hero h1,
.success-cases-hero h1 {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(4.7rem, 9vw, 9.2rem);
  text-shadow: 0 3px 18px rgba(1,10,20,.3);
}
.programme-hero > div > p:last-child,
.success-cases-hero p:last-child {
  max-width: 730px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}
.research-page .programme-hero { background-image: url('assets/parallax-inicio.jpg'); background-position: center; }
.education-page .programme-hero { background-image: url('assets/cemer2.jpg'); background-position: center; }
.success-cases-hero { background-image: url('assets/casos-exito/3-600x600.png'); background-position: center; }
.education-page .programme-hero::after { background: linear-gradient(180deg, rgba(3,34,44,.2), rgba(3,34,44,.58)); }
.service-detail-energy::after { background: linear-gradient(180deg, rgba(3,32,50,.18), rgba(3,32,50,.55)); }

@media (max-width: 760px) {
  .programme-hero,
  .success-cases-hero { min-height: 570px; padding: 150px 24px 80px; }
  .programme-hero h1,
  .success-cases-hero h1 { font-size: clamp(4.15rem, 17vw, 5.8rem); }
  .programme-hero > div > p:last-child,
  .success-cases-hero p:last-child { font-size: 1rem; }
  .education-page .programme-hero { background-position: center; }
}

/* ==========================================================================
   Educación continua · mismo lenguaje visual que Inicio, Nosotros y Contacto
   ========================================================================== */
.core-page { overflow-x: hidden; color: var(--ink); background: var(--white); }

/* Portada editorial, como la de Nosotros */
.core-hero {
  min-height: min(780px, 70vw); position: relative; display: grid; place-items: center;
  overflow: hidden; padding: 220px 32px 120px; color: var(--white);
  background-position: center 52%; background-size: cover; text-align: center;
}
.core-hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(var(--ink-rgb),.14), rgba(var(--ink-rgb),.38)); }
.core-hero-content { max-width: 900px; position: relative; z-index: 1; }
.core-hero .about-kicker { margin-top: 0; color: #f0d28d; }
.core-hero h1 { margin: 0 0 20px; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(4.2rem, 8.4vw, 8.8rem); font-weight: 400; letter-spacing: .02em; line-height: .88; text-shadow: 0 3px 18px rgba(1,10,20,.3); }
.core-hero p:last-child { max-width: 720px; margin: 0 auto; font-size: clamp(1.02rem, 1.7vw, 1.42rem); font-weight: 800; line-height: 1.42; }
.core-hero-education { background-image: linear-gradient(105deg, rgba(3,32,54,.55), rgba(3,32,54,.2)), url('assets/cemer2.jpg'); }
.core-hero-training { background-image: linear-gradient(105deg, rgba(3,32,54,.55), rgba(3,32,54,.2)), url('assets/parallax-inicio.jpg'); }
.core-hero-workshop { background-image: linear-gradient(105deg, rgba(2,29,51,.58), rgba(2,29,51,.22)), url('assets/nosotros-parallax.jpg'); }
.core-hero-students { background-image: linear-gradient(105deg, rgba(3,32,54,.58), rgba(3,32,54,.22)), url('assets/nosotros-directorio.jpg'); }
.core-hero-future { background-image: linear-gradient(105deg, rgba(3,32,54,.55), rgba(3,32,54,.2)), url('assets/nosotros-portada.jpg'); }

/* Superficies y encabezados de sección */
.core-section { padding: clamp(80px, 10vw, 142px) 32px; background: var(--white); scroll-margin-top: 110px; }
.core-section-soft { background: #f5f7fa; }
.core-shell { width: min(1270px, 100%); margin: 0 auto; }
.core-heading { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.core-heading-start { margin-inline: 0; text-align: left; }
.core-heading .section-label { margin-top: 0; margin-bottom: 12px; color: #b69246; }
.core-label { margin: 0 0 12px; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; color: #b69246; }
.core-card > .core-label { margin: 0 0 4px; font-size: 12px; }
.core-grid-stacked { margin-top: 34px; }
.core-heading h2 { margin: 0 0 18px; color: var(--ink); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.4rem, 5vw, 5.65rem); font-weight: 400; letter-spacing: .015em; line-height: .9; }
.core-heading > p:last-child { margin: 0; color: #60707c; font-size: 16px; font-weight: 600; line-height: 1.62; }
.core-heading-start > p:last-child { max-width: 560px; }

/* Introducción y datos clave de Internet Libre para la Gente */
.ilg-intro-copy { max-width: 850px; margin: -28px 0 38px; }
.ilg-intro-copy p { margin: 0; color: #425769; font-size: clamp(1rem, 1.5vw, 1.14rem); font-weight: 600; line-height: 1.75; }
.ilg-table-wrap { overflow: hidden; border: 1px solid #d5ded9; background: var(--white); box-shadow: 0 14px 30px rgba(8,35,59,.1); }
.ilg-table { width: 100%; border-collapse: collapse; color: var(--ink); text-align: left; }
.ilg-table th, .ilg-table td { padding: 17px 20px; border-bottom: 1px solid #d5ded9; vertical-align: top; font-size: 15px; font-weight: 600; line-height: 1.55; }
.ilg-table thead th { color: var(--white); background: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ilg-table tbody th { width: 31%; color: var(--ink); background: #eef4f1; font-weight: 800; }
.ilg-table tbody tr:last-child th, .ilg-table tbody tr:last-child td { border-bottom: 0; }
.ilg-conclusion { display: flex; align-items: flex-start; justify-content: space-between; gap: 34px; margin-top: 37px; padding: 29px 32px; border-left: 5px solid #b29448; background: #e6edea; }
.ilg-conclusion p { max-width: 860px; margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.7; }
.ilg-conclusion .core-link { flex: 0 0 auto; margin-top: 5px; padding-top: 0; }

/* Tarjetas con la esquina característica de la portada */
.core-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.core-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.core-card {
  display: flex; flex-direction: column; padding: 38px 36px;
  border: 1px solid rgba(20,25,54,.07); border-radius: 0 42px 0 42px;
  background: var(--white); box-shadow: 0 15px 34px rgba(8,35,59,.1);
  scroll-margin-top: 110px; transition: transform .25s ease, box-shadow .25s ease;
}
.core-section-soft .core-card { border-color: rgba(20,25,54,.05); }
.core-card:hover { box-shadow: 0 24px 46px rgba(8,35,59,.16); transform: translateY(-4px); }
.core-card > .core-card-number { margin: 0; color: #b69246; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.1rem; font-weight: 400; letter-spacing: .04em; line-height: 1; }
.core-card h3 { margin: 16px 0 12px; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(1.12rem, 1.55vw, 1.48rem); font-weight: 800; line-height: 1.22; }
.core-card h3 span { color: #b69246; font-size: .8em; }
.core-card > p { margin: 0; color: #5c6c78; font-size: 15px; font-weight: 600; line-height: 1.62; }
.core-card > p + p { margin-top: 13px; }
.core-card small { display: block; margin-top: 14px; color: #8b7440; font-size: 12px; font-weight: 800; line-height: 1.45; }
.core-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 24px; color: var(--ink); font-size: 14px; font-weight: 800; }
.core-link-arrow { display: inline-block; color: #b69246; transition: transform .2s ease; }
.core-link-text { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.core-link:hover .core-link-text { text-decoration-color: var(--amber); }
.core-card:hover .core-link-arrow, .core-link:hover .core-link-arrow { transform: translateX(5px); }

/* Bloque a dos columnas, como CONÓCENOS en la portada */
.core-split { display: grid; grid-template-columns: .95fr 1.1fr; gap: clamp(46px, 7vw, 108px); align-items: center; }
.core-split-reverse { grid-template-columns: 1.1fr .95fr; }
.core-copy > p { margin: 0; color: #5c6c78; font-size: 16px; font-weight: 600; line-height: 1.68; }
.core-copy > p + p { margin-top: 15px; }
.core-list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.core-list li { position: relative; padding-left: 27px; color: #5c6c78; font-size: 15px; font-weight: 600; line-height: 1.6; scroll-margin-top: 110px; }
.core-list li::before { position: absolute; top: .42em; left: 0; width: 11px; height: 11px; content: ''; border-radius: 0 7px 0 7px; background: var(--gold); }
.core-list strong { color: var(--ink); font-weight: 800; }

/* Panel fotográfico, igual que INVESTIGACIÓN APLICADA en la portada */
.core-feature {
  min-height: 400px; position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; padding: 38px; border-radius: 0 42px 0 42px; color: var(--white);
  background: linear-gradient(150deg, rgba(4,36,55,.84), rgba(4,36,55,.42)), url('assets/cemer2.jpg') center / cover;
  box-shadow: var(--shadow);
}
.core-feature::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(var(--ink-rgb),.04), rgba(var(--ink-rgb),.4)); }
.core-feature > * { position: relative; z-index: 1; }
.core-feature .section-label { margin-top: 0; color: #f0d28d; }
.core-feature h3 { margin: 0 0 14px; font-family: Manrope, sans-serif; font-size: clamp(1.3rem, 2.1vw, 1.95rem); font-weight: 800; line-height: 1.18; }
.core-feature p { margin: 0; color: #dcebef; font-size: 15px; font-weight: 600; line-height: 1.62; }
.core-feature p + p { margin-top: 13px; }
.core-feature .core-link { color: var(--white); }
.core-feature-workshop { background-image: linear-gradient(150deg, rgba(4,44,52,.86), rgba(4,44,52,.42)), url('assets/parallax-inicio.jpg'); }

/* Franja parallax, como RESULTADOS QUE NOS RESPALDAN */
.core-parallax { position: relative; display: grid; place-items: center; padding: clamp(82px, 10vw, 140px) 32px; color: var(--white); background: url('assets/parallax-inicio.jpg') center / cover fixed; }
.core-parallax::before { position: absolute; inset: 0; content: ''; background: rgba(var(--ink-rgb),.68); }
.core-parallax-deep { background-image: url('assets/nosotros-parallax.jpg'); }
.core-parallax-deep::before { background: rgba(var(--ink-rgb),.7); }
.core-parallax > div { width: min(1270px, 100%); position: relative; z-index: 1; }
.core-parallax .core-heading .section-label { color: #f0d28d; }
.core-parallax .core-heading h2 { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.core-parallax .core-heading > p:last-child { color: #dbe9ee; }
.core-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.core-panels-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.core-panel { display: flex; flex-direction: column; padding: 32px 30px; border: 1px solid rgba(214,233,237,.16); border-radius: 0 42px 0 42px; background: rgba(var(--ink-rgb),.72); box-shadow: 0 15px 30px rgba(var(--ink-rgb),.2); backdrop-filter: blur(4px); }
.core-panel .section-label { margin-top: 0; margin-bottom: 10px; color: #f0d28d; }
.core-panel > .core-panel-figure { margin: 0 0 10px; color: #f0d28d; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(2.6rem, 4vw, 3.9rem); font-weight: 400; letter-spacing: .02em; line-height: 1; }
.core-panel h3 { margin: 0 0 12px; font-family: Manrope, sans-serif; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 800; line-height: 1.25; }
.core-panel p { margin: 0; color: #dbe9ee; font-size: 15px; font-weight: 600; line-height: 1.62; }
.core-panel p + p { margin-top: 12px; }

/* Bloques temáticos con la paleta de ESPECIALISTAS EN */
.core-blocks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.core-block { min-height: 215px; display: flex; flex-direction: column; justify-content: center; gap: 13px; padding: 30px 22px; color: var(--white); text-align: center; transition: filter .25s ease; }
.core-block:hover { filter: brightness(1.08); }
.core-block p { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .82; }
.core-block h3 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(12px, 1.05vw, 16px); font-weight: 800; line-height: 1.28; }
.core-block-cyan { background: #50c4d8; }
.core-block-green { background: #3fa936; }
.core-block-yellow { background: #e3b807; }
.core-block-orange { background: #e66c00; }
.core-block-pink { background: #bc4d82; }
.core-block-purple { background: #401d78; }

/* Plan de estudios */
.core-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.core-modules > li { min-width: 0; display: flex; }
.core-modules .core-card { width: 100%; padding: 32px 30px; }
.core-modules h4 { margin: 15px 0 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 1.05rem; font-weight: 800; line-height: 1.28; }
.core-modules ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.core-modules ul li { position: relative; padding-left: 17px; color: #61727d; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.core-modules ul li::before { position: absolute; top: .52em; left: 0; width: 6px; height: 6px; content: ''; border-radius: 50%; background: var(--gold); }

/* Cierre, igual que COLABORA CON NOSOTROS */
.core-cta { min-height: 430px; display: grid; align-items: center; color: var(--white); background: linear-gradient(90deg, rgba(18,35,9,.68), rgba(18,35,9,.12)), url('assets/cemer2.jpg') center / cover; }
.core-cta > div { width: min(1270px, calc(100% - 60px)); margin: 0 auto; padding: 70px 0; }
.core-cta h2 { max-width: 620px; margin: 0; font-family: 'Bebas Kai', 'Bebas Neue', Impact, sans-serif; font-size: clamp(3.4rem, 6vw, 6.4rem); font-weight: 400; letter-spacing: .025em; line-height: .95; }
.core-cta p { max-width: 540px; margin: 20px 0 0; font-size: 16px; font-weight: 700; line-height: 1.52; }

/* Aparición al desplazar, como en Nosotros */
.has-scroll-reveal .core-page [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.has-scroll-reveal .core-page [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .core-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .core-split, .core-split-reverse { grid-template-columns: 1fr; gap: 42px; }
  .core-heading-start { margin-inline: auto; text-align: center; }
  .core-heading-start > p:last-child { max-width: none; }
  .core-feature { min-height: 330px; }
  .core-parallax { background-attachment: scroll; }
}
@media (max-width: 760px) {
  .core-hero { min-height: 570px; padding: 150px 24px 80px; }
  .core-hero h1 { font-size: clamp(3.6rem, 15vw, 5.6rem); }
  .core-hero p:last-child { font-size: 1rem; }
  .core-section { padding: 68px 24px; }
  .core-heading { margin-bottom: 36px; text-align: center; }
  .core-heading h2 { font-size: clamp(3rem, 12vw, 3.9rem); }
  .ilg-intro-copy { margin: -12px 0 28px; }
  .ilg-table-wrap { overflow: visible; box-shadow: none; }
  .ilg-table, .ilg-table tbody, .ilg-table tr, .ilg-table th, .ilg-table td { display: block; width: 100%; }
  .ilg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ilg-table tbody { display: grid; gap: 12px; }
  .ilg-table tbody tr { border: 1px solid #d5ded9; background: var(--white); }
  .ilg-table tbody th { padding: 13px 16px 5px; border: 0; background: #eef4f1; }
  .ilg-table tbody td { padding: 7px 16px 15px; border: 0; }
  .ilg-conclusion { display: block; margin-top: 28px; padding: 24px 21px; }
  .ilg-conclusion .core-link { margin-top: 20px; }
  .core-grid, .core-grid-3, .core-modules, .core-panels { grid-template-columns: 1fr; gap: 18px; }
  .core-card, .core-modules .core-card { padding: 30px 26px; border-radius: 0 34px 0 34px; }
  .core-panel { padding: 28px 24px; border-radius: 0 34px 0 34px; }
  .core-feature { min-height: 290px; padding: 30px 26px; border-radius: 0 34px 0 34px; }
  .core-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-block { min-height: 160px; padding: 24px 18px; }
  .core-parallax { padding: 68px 24px; }
  .core-cta { min-height: 0; }
  .core-cta > div { width: calc(100% - 48px); padding: 64px 0; }
  .core-cta h2 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .core-cta .collaborate-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .has-scroll-reveal .core-page [data-reveal] { opacity: 1; transform: none; transition: none; }
  .core-card, .core-link-arrow, .core-block { transition: none; }
}

/* Portadas del resto de las vistas */
.core-hero-research { background-image: linear-gradient(105deg, rgba(3,32,54,.55), rgba(3,32,54,.2)), url('assets/parallax-inicio.jpg'); }
.core-hero-services { background-image: linear-gradient(105deg, rgba(3,32,54,.55), rgba(3,32,54,.2)), url('assets/cemer2.jpg'); }
.core-hero-energy { background-image: linear-gradient(105deg, rgba(3,32,50,.55), rgba(3,32,50,.2)), url('assets/inicio-portada-provisional.jpg'); }
.core-hero-connectivity { background-image: linear-gradient(105deg, rgba(3,33,56,.58), rgba(4,38,65,.22)), url('assets/parallax-inicio.jpg'); }
.core-hero-sustainability { background-image: linear-gradient(105deg, rgba(8,55,45,.6), rgba(5,43,43,.24)), url('assets/cemer2.jpg'); }
.core-hero-consulting { background-image: linear-gradient(105deg, rgba(2,29,51,.58), rgba(2,29,51,.22)), url('assets/nosotros-parallax.jpg'); }
.core-hero-applications { background-image: linear-gradient(105deg, rgba(3,32,54,.58), rgba(3,32,54,.22)), url('assets/nosotros-directorio.jpg'); }
.core-hero-talent { background-image: linear-gradient(105deg, rgba(3,32,54,.55), rgba(3,32,54,.2)), url('assets/nosotros-portada.jpg'); }
.core-hero-portfolio { background-image: linear-gradient(105deg, rgba(3,32,54,.55), rgba(3,32,54,.2)), url('assets/cartera-servicios/portada-cartera.jpeg'); background-position: center 58%; }
.core-hero-cases { background-image: linear-gradient(105deg, rgba(3,32,54,.58), rgba(3,32,54,.24)), url('assets/casos-exito/3-600x600.png'); }
.core-feature-lab { background-image: linear-gradient(150deg, rgba(4,36,55,.86), rgba(4,36,55,.44)), url('assets/parallax-inicio.jpg'); }
.core-feature-field { background-image: linear-gradient(150deg, rgba(4,36,55,.86), rgba(4,36,55,.44)), url('assets/nosotros-directorio.jpg'); }
.core-parallax-field { background-image: url('assets/cemer2.jpg'); }

/* Botones de acción */
.core-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.core-button { min-width: 250px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 19px 32px; border-radius: 35px; color: var(--ink); background: var(--amber); font-size: 17px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.core-button:hover { box-shadow: 0 10px 25px rgba(0,0,0,.2); transform: translateY(-3px); }
.core-button-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px rgba(20,25,54,.22); }
.core-button-ghost:hover { color: var(--white); background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.core-parallax .core-button-ghost, .core-feature .core-button-ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.core-parallax .core-button-ghost:hover, .core-feature .core-button-ghost:hover { color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 2px var(--white); }

/* Listas dentro de tarjetas y sobre fondos oscuros */
.core-list-two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.core-card .core-list { margin-top: 18px; }
.core-card .core-list li { padding-left: 23px; font-size: 14px; }
.core-card .core-list li::before { top: .46em; width: 9px; height: 9px; border-radius: 0 6px 0 6px; }
.core-parallax .core-list li, .core-panel .core-list li { color: #dbe9ee; }
.core-parallax .core-list strong, .core-panel .core-list strong { color: var(--white); }
.core-feature .core-list li { color: #dcebef; }
.core-feature .core-list strong { color: var(--white); }

/* Galería de casos */
.core-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.core-case { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(20,25,54,.07); border-radius: 0 42px 0 42px; background: var(--white); box-shadow: 0 15px 34px rgba(8,35,59,.1); transition: transform .25s ease, box-shadow .25s ease; }
.core-case:hover { box-shadow: 0 24px 46px rgba(8,35,59,.16); transform: translateY(-4px); }
.core-case img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.core-case-copy { padding: 25px 28px 30px; }
.core-case-copy h3 { margin: 0; color: var(--ink); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2rem; font-weight: 400; letter-spacing: .02em; line-height: 1; }
.core-case-copy p { margin: 11px 0 0; color: #5c6c78; font-size: 15px; font-weight: 600; line-height: 1.55; }

/* Icono dentro de tarjeta */
.core-card-icon { width: 64px; max-height: 78px; margin-bottom: 18px; object-fit: contain; object-position: left center; }

@media (max-width: 1180px) {
  .core-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .core-gallery { grid-template-columns: 1fr; gap: 18px; }
  .core-case { border-radius: 0 34px 0 34px; }
  .core-case-copy { padding: 22px 24px 26px; }
  .core-list-two { grid-template-columns: 1fr; }
  .core-actions { gap: 12px; }
  .core-button { width: 100%; min-width: 0; }
}

/* ==========================================================================
   Composiciones alternas · mismo lenguaje, distinta estructura por vista
   ========================================================================== */

/* Filas numeradas editoriales */
.core-numbered { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(8,47,77,.13); }
.core-numbered > li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 26px; align-items: start; padding: 28px 0; border-bottom: 1px solid rgba(8,47,77,.13); scroll-margin-top: 110px; }
.core-numbered-index { margin: 0; color: #b69246; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.3rem; font-weight: 400; letter-spacing: .03em; line-height: 1; }
.core-numbered h3 { margin: 0 0 9px; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(1.02rem, 1.45vw, 1.34rem); font-weight: 800; line-height: 1.25; }
.core-numbered p { margin: 0; color: #5c6c78; font-size: 15px; font-weight: 600; line-height: 1.62; }
.core-numbered p + p { margin-top: 11px; }
.core-parallax .core-numbered, .core-parallax .core-numbered > li { border-color: rgba(255,255,255,.2); }
.core-parallax .core-numbered h3 { color: var(--white); }
.core-parallax .core-numbered p { color: #dbe9ee; }

/* Filas alternas con imagen */
.core-stack { display: grid; gap: clamp(42px, 6vw, 88px); }
.core-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 78px); align-items: center; scroll-margin-top: 110px; }
.core-row:nth-child(even) .core-row-media { order: -1; }
.core-row-media { min-height: 330px; position: relative; overflow: hidden; border-radius: 0 42px 0 42px; background-position: center; background-size: cover; box-shadow: var(--shadow); }
.core-row-media::after { position: absolute; inset: 0; content: ''; background: linear-gradient(165deg, rgba(4,36,55,.34), rgba(4,36,55,.04)); }
.core-row-index { margin: 0 0 13px; color: #b69246; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2rem; font-weight: 400; letter-spacing: .03em; line-height: 1; }
.core-row h3 { margin: 0 0 15px; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(1.38rem, 2.3vw, 2.15rem); font-weight: 800; line-height: 1.16; }
.core-row p { margin: 0; color: #5c6c78; font-size: 16px; font-weight: 600; line-height: 1.68; }
.core-row p + p { margin-top: 14px; }
.core-media-solar { background-image: url('assets/casos-exito/1-600x600.png'); }
.core-media-pv { background-image: url('assets/casos-exito/7-600x600.png'); }
.core-media-industry { background-image: url('assets/casos-exito/4-600x600.png'); }
.core-media-home { background-image: url('assets/casos-exito/6-600x600.png'); }
.core-media-lab { background-image: url('assets/parallax-inicio.jpg'); }
.core-media-campus { background-image: url('assets/cemer2.jpg'); }
.core-media-field { background-image: url('assets/nosotros-directorio.jpg'); }
.core-media-city { background-image: url('assets/nosotros-parallax.jpg'); }

/* Franja de cifras */
.core-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid rgba(8,47,77,.12); border-radius: 0 42px 0 42px; background: var(--white); box-shadow: 0 15px 34px rgba(8,35,59,.09); }
.core-strip-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.core-strip > article { padding: 34px 30px; border-right: 1px solid rgba(8,47,77,.12); }
.core-strip > article:last-child { border-right: 0; }
.core-strip-figure { margin: 0 0 10px; color: #b69246; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(2.7rem, 4vw, 3.9rem); font-weight: 400; letter-spacing: .02em; line-height: 1; }
.core-strip h3 { margin: 0 0 9px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.core-strip p { margin: 0; color: #5c6c78; font-size: 14px; font-weight: 600; line-height: 1.55; }
.core-parallax .core-strip { border-color: rgba(255,255,255,.2); background: rgba(var(--ink-rgb),.72); box-shadow: 0 15px 30px rgba(var(--ink-rgb),.2); backdrop-filter: blur(4px); }
.core-parallax .core-strip > article { border-right-color: rgba(255,255,255,.2); }
.core-parallax .core-strip-figure { color: #f0d28d; }
.core-parallax .core-strip h3 { color: var(--white); }
.core-parallax .core-strip p { color: #dbe9ee; }

/* Cita destacada */
.core-quote { max-width: 1020px; margin: 0 auto; padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px); border-left: 5px solid var(--gold); background: #f5f7fa; }
.core-section-soft .core-quote { background: var(--white); }
.core-quote > p:first-child { margin: 0; color: var(--ink); font-size: clamp(1.02rem, 1.5vw, 1.28rem); font-weight: 700; line-height: 1.55; }
.core-quote > p { margin: 16px 0 0; color: #5c6c78; font-size: 16px; font-weight: 600; line-height: 1.68; }
.core-quote cite { display: block; margin-top: 22px; color: #a38137; font-size: 12px; font-style: normal; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.core-parallax .core-quote { border-color: #f0d28d; background: rgba(var(--ink-rgb),.66); backdrop-filter: blur(4px); }
.core-parallax .core-quote > p:first-child { color: var(--white); }
.core-parallax .core-quote > p { color: #dbe9ee; }
.core-parallax .core-quote cite { color: #f0d28d; }

/* Acordeón */
.core-accordion { display: grid; gap: 12px; }
.core-disclosure { overflow: hidden; border: 1px solid rgba(20,25,54,.08); border-left: 4px solid var(--gold); border-radius: 0 26px 0 26px; background: var(--white); box-shadow: 0 10px 22px rgba(8,35,59,.07); scroll-margin-top: 110px; }
.core-disclosure > summary { display: flex; align-items: center; gap: 16px; padding: 21px 26px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 800; line-height: 1.3; list-style: none; cursor: pointer; }
.core-disclosure > summary::-webkit-details-marker { display: none; }
.core-disclosure > summary:hover { color: #a38137; }
.core-disclosure > summary:focus-visible { outline: 3px solid #073555; outline-offset: -3px; }
.core-disclosure > summary::after { margin-left: auto; color: #b69246; content: '+'; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 1.9rem; line-height: 1; }
.core-disclosure[open] > summary::after { content: '–'; }
.core-disclosure-index { flex: 0 0 auto; color: #b69246; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 1.5rem; font-weight: 400; letter-spacing: .03em; line-height: 1; }
.core-disclosure > p { margin: 0; padding: 0 26px 24px; color: #5c6c78; font-size: 15px; font-weight: 600; line-height: 1.64; }
.core-disclosure ul { display: grid; gap: 8px; margin: 0; padding: 0 26px 24px; list-style: none; }
.core-disclosure li { position: relative; padding-left: 17px; color: #61727d; font-size: 14px; font-weight: 600; line-height: 1.5; }
.core-disclosure li::before { position: absolute; top: .52em; left: 0; width: 6px; height: 6px; content: ''; border-radius: 50%; background: var(--gold); }

/* Pasos */
.core-steps { display: grid; margin: 0; padding: 0 0 0 4px; list-style: none; counter-reset: core-step; }
.core-steps > li { position: relative; padding: 0 0 40px 60px; border-left: 2px solid rgba(8,47,77,.15); }
.core-steps > li:last-child { padding-bottom: 0; border-left-color: transparent; }
.core-steps > li::before { position: absolute; top: -5px; left: -23px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); content: counter(core-step); counter-increment: core-step; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 1.4rem; line-height: 1; }
.core-steps h3 { margin: 0 0 10px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 1.1rem; font-weight: 800; line-height: 1.25; }
.core-steps p { margin: 0; color: #5c6c78; font-size: 15px; font-weight: 600; line-height: 1.62; }

/* Mosaico fotográfico */
.core-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.core-tile { min-height: 310px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 34px; border-radius: 0 42px 0 42px; color: var(--white); background-position: center; background-size: cover; box-shadow: var(--shadow); }
.core-tile::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(var(--ink-rgb),.16), rgba(var(--ink-rgb),.82)); }
.core-tile > * { position: relative; z-index: 1; }
.core-tile-wide { grid-column: span 2; min-height: 270px; }
.core-tile .section-label { margin: 0 0 10px; color: #f0d28d; }
.core-tile h3 { margin: 0 0 12px; font-family: Manrope, sans-serif; font-size: clamp(1.22rem, 2vw, 1.85rem); font-weight: 800; line-height: 1.18; }
.core-tile p { margin: 0; color: #dcebef; font-size: 15px; font-weight: 600; line-height: 1.6; }
.core-tile .core-link { color: var(--white); }

@media (max-width: 1180px) {
  .core-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-strip > article:nth-child(2n) { border-right: 0; }
  .core-strip > article:nth-child(-n+2) { border-bottom: 1px solid rgba(8,47,77,.12); }
  .core-strip-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .core-row, .core-row:nth-child(even) { grid-template-columns: 1fr; }
  .core-row:nth-child(even) .core-row-media { order: 0; }
  .core-row-media { min-height: 240px; }
  .core-mosaic { grid-template-columns: 1fr; }
  .core-tile-wide { grid-column: span 1; }
  .core-strip-3 { grid-template-columns: 1fr; }
  .core-strip-3 > article { border-right: 0; border-bottom: 1px solid rgba(8,47,77,.12); }
  .core-strip-3 > article:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
  .core-numbered > li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .core-numbered-index { font-size: 1.9rem; }
  .core-strip, .core-strip-3 { grid-template-columns: 1fr; border-radius: 0 34px 0 34px; }
  .core-strip > article { border-right: 0; border-bottom: 1px solid rgba(8,47,77,.12); padding: 28px 24px; }
  .core-strip > article:last-child { border-bottom: 0; }
  .core-quote { padding: 28px 24px; }
  .core-tile { min-height: 250px; padding: 28px 24px; border-radius: 0 34px 0 34px; }
  .core-steps > li { padding: 0 0 32px 44px; }
  .core-steps > li::before { left: -19px; width: 36px; height: 36px; font-size: 1.2rem; }
  .core-disclosure > summary { padding: 18px 20px; font-size: .95rem; }
  .core-disclosure > p, .core-disclosure ul { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .core-row-media, .core-tile { transition: none; }
}

/* ==========================================================================
   Fotografía propia del centro · una imagen distinta por bloque
   ========================================================================== */
.core-hero-research { background-image: linear-gradient(105deg, rgba(3,32,54,.6), rgba(3,32,54,.24)), url('assets/sitio/centro.png'); }
.core-hero-services { background-image: linear-gradient(105deg, rgba(3,32,54,.62), rgba(3,32,54,.26)), url('assets/sitio/servicios-portada.png'); }
.core-hero-energy { background-image: linear-gradient(105deg, rgba(3,32,50,.55), rgba(3,32,50,.18)), url('assets/sitio/paneles.jpg'); }
.core-hero-consulting { background-image: linear-gradient(105deg, rgba(2,29,51,.66), rgba(2,29,51,.3)), url('assets/sitio/proyectos-portada.png'); }
.core-hero-applications { background-image: linear-gradient(105deg, rgba(3,32,54,.6), rgba(3,32,54,.24)), url('assets/inicio-portada-provisional.jpg'); }
.core-hero-talent { background-image: linear-gradient(105deg, rgba(3,32,54,.66), rgba(3,32,54,.3)), url('assets/sitio/est-4.jpg'); }
.core-hero-cases { background-image: linear-gradient(105deg, rgba(3,32,54,.58), rgba(3,32,54,.2)), url('assets/sitio/solar-techo.jpg'); }
.core-hero-education { background-image: linear-gradient(105deg, rgba(3,32,54,.66), rgba(3,32,54,.3)), url('assets/sitio/est-portada.jpg'); }
.core-hero-training { background-image: linear-gradient(105deg, rgba(3,32,54,.66), rgba(3,32,54,.3)), url('assets/sitio/est-2.jpg'); }
.core-hero-students { background-image: linear-gradient(105deg, rgba(3,32,54,.66), rgba(3,32,54,.3)), url('assets/sitio/est-portada.jpg'); }

.core-media-panel { background-image: url('assets/sitio/servicios-portada.png'); }
.core-media-roof { background-image: url('assets/sitio/solar-techo.jpg'); }
.core-media-array { background-image: url('assets/sitio/paneles.jpg'); }
.core-media-electronics { background-image: url('assets/sitio/electronica.jpg'); }
.core-media-print3d { background-image: url('assets/sitio/impresion-3d.jpg'); }
.core-media-building { background-image: url('assets/sitio/edificio.jpg'); }
.core-media-centre { background-image: url('assets/sitio/centro.png'); }
.core-media-plans { background-image: url('assets/sitio/proyectos-portada.png'); }
.core-media-graduates { background-image: url('assets/sitio/diplomado-aula.jpg'); }
.core-media-team { background-image: url('assets/sitio/est-4.jpg'); }
.core-media-study { background-image: url('assets/sitio/est-1.jpg'); }
.core-media-boards { background-image: url('assets/sitio/est-5.jpg'); }
.core-media-shop { background-image: url('assets/casos-exito/5-600x600.png'); }
.core-media-farm { background-image: url('assets/casos-exito/6-600x600.png'); }
.core-media-house { background-image: url('assets/casos-exito/13-600x600.png'); }

.core-feature-electronics { background-image: linear-gradient(150deg, rgba(4,36,55,.86), rgba(4,36,55,.4)), url('assets/sitio/electronica.jpg'); }
.core-feature-building { background-image: linear-gradient(150deg, rgba(4,36,55,.84), rgba(4,36,55,.38)), url('assets/sitio/edificio.jpg'); }
.core-feature-plans { background-image: linear-gradient(150deg, rgba(4,36,55,.86), rgba(4,36,55,.42)), url('assets/sitio/proyectos-portada.png'); }
.core-feature-print3d { background-image: linear-gradient(150deg, rgba(4,36,55,.86), rgba(4,36,55,.4)), url('assets/sitio/impresion-3d.jpg'); }
.core-feature-panel { background-image: linear-gradient(150deg, rgba(4,36,55,.88), rgba(4,36,55,.44)), url('assets/sitio/servicios-portada.png'); }
.core-feature-graduates { background-image: linear-gradient(150deg, rgba(4,36,55,.86), rgba(4,36,55,.42)), url('assets/sitio/diplomado-aula.jpg'); }
.core-feature-centre { background-image: linear-gradient(150deg, rgba(4,36,55,.84), rgba(4,36,55,.38)), url('assets/sitio/centro.png'); }
.core-feature-study { background-image: linear-gradient(150deg, rgba(4,36,55,.86), rgba(4,36,55,.42)), url('assets/sitio/est-1.jpg'); }
.core-feature-roof { background-image: linear-gradient(150deg, rgba(4,36,55,.82), rgba(4,36,55,.34)), url('assets/sitio/solar-techo.jpg'); }

.core-parallax-campus { background-image: url('assets/cemer2.jpg'); }
.core-parallax-building { background-image: url('assets/sitio/edificio.jpg'); }
.core-parallax-array { background-image: url('assets/sitio/paneles.jpg'); }

/* Lista numerada con miniatura */
.core-numbered-rich > li { grid-template-columns: 92px minmax(0, 1fr) 224px; }
.core-numbered-thumb { width: 100%; aspect-ratio: 4 / 3; display: block; overflow: hidden; border-radius: 0 24px 0 24px; object-fit: cover; box-shadow: 0 10px 22px rgba(8,35,59,.12); }

/* Imagen enmarcada con pie */
.core-figure { max-width: 1020px; margin: 38px auto 0; }
.core-figure img { display: block; width: 100%; height: auto; border: 1px solid rgba(20,25,54,.08); border-radius: 0 42px 0 42px; background: var(--white); box-shadow: 0 15px 34px rgba(8,35,59,.1); }
.core-figure figcaption { margin: 16px 2px 0; color: #6b7a85; font-size: 13px; font-weight: 700; line-height: 1.5; }
.core-parallax .core-figure figcaption { color: #cfe0e6; }
.core-figure-start { margin-left: 0; }

@media (max-width: 1180px) {
  .core-numbered-rich > li { grid-template-columns: 92px minmax(0, 1fr) 180px; }
}
@media (max-width: 900px) {
  .core-numbered-rich > li { grid-template-columns: 78px minmax(0, 1fr); }
  .core-numbered-rich .core-numbered-thumb { grid-column: 1 / -1; max-width: 320px; margin-top: 4px; }
}
@media (max-width: 760px) {
  .core-numbered-rich > li { grid-template-columns: 1fr; }
  .core-numbered-rich .core-numbered-thumb { max-width: none; border-radius: 0 20px 0 20px; }
  .core-figure img { border-radius: 0 28px 0 28px; }
}

/* ==========================================================================
   Revista Identidad Energética · sistema editorial
   Misma paleta institucional (azul profundo + dorado) con más jerarquía:
   cabecera oscura con credenciales, cuerpo claro y cierre de hemeroteca.
   ========================================================================== */
.magazine-page {
  --j-navy: #071f34;
  --j-navy-deep: #071f34;
  --j-ink: #071f34;
  --j-blue: #071f34;
  --j-gold: #b29448;
  --j-gold-light: #f0d28d;
  --j-gold-deep: #8b7440;
  --j-body: #4c5c6b;
  --j-muted: #657686;
  --j-paper: #f7f8f4;
  --j-line: #e2e6e2;
}

/* --- Cabecera editorial ---------------------------------------------------
   Sustituye la portada blanca por una cabecera de revista: nombre, promesa,
   portada del último número y la ficha de credenciales de la publicación. */
.journal-masthead {
  position: relative; overflow: hidden;
  padding: clamp(148px, 13vw, 202px) max(5vw, 26px) 0;
  color: var(--white);
  background:
    radial-gradient(115% 90% at 84% 4%, rgba(178,148,72,.32), transparent 56%),
  linear-gradient(148deg, #104660 0%, #071f34 48%, #071f34 100%);
}
/* Trama fina de líneas doradas: textura de papel impreso, no ruido visual. */
.journal-masthead::before {
  position: absolute; inset: 0; content: ''; pointer-events: none; opacity: .45;
  background-image: repeating-linear-gradient(90deg, rgba(240,210,141,.09) 0 1px, transparent 1px 74px);
}
.journal-masthead::after {
  position: absolute; content: ''; width: 680px; height: 680px; top: -368px; right: 6%;
  border: 1px solid rgba(240,210,141,.16); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 58px rgba(255,255,255,.028), 0 0 0 126px rgba(255,255,255,.02);
}
.journal-masthead-inner {
  max-width: 1240px; position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, .72fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  margin: 0 auto; padding-bottom: clamp(54px, 7vw, 88px);
}
.journal-nameplate-rule { display: block; width: 72px; height: 3px; margin-bottom: clamp(26px, 3.4vw, 38px); background: var(--j-gold-light); }
.journal-nameplate-name {
  margin: 17px 0 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.85rem, 2.5vw, 2.45rem); font-weight: 400; letter-spacing: .05em; line-height: .86;
}
.journal-nameplate-issn { margin: 12px 0 0; color: #e5ca84; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.journal-masthead .magazine-kicker { color: #8fb0c4; }
.journal-masthead h1 {
  max-width: 15ch; margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3.3rem, 5.4vw, 5.6rem); font-weight: 400; letter-spacing: .018em; line-height: .9;
}
.journal-lead { max-width: 52ch; margin: 22px 0 0; color: #cfdbe2; font-size: 17px; font-weight: 600; line-height: 1.68; }
.journal-masthead-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.journal-masthead-actions .button-primary { color: var(--j-navy); background: var(--j-gold-light); border-color: var(--j-gold-light); }
.button-ghost { border-color: rgba(240,210,141,.6); color: var(--j-gold-light); background: transparent; }
.button-ghost:hover { color: var(--j-navy); background: var(--j-gold-light); border-color: var(--j-gold-light); }

.journal-masthead-cover { max-width: 370px; position: relative; justify-self: end; margin: 0; }
.journal-masthead-cover img {
  width: 100%; height: auto; display: block;
  box-shadow: 24px 28px 0 rgba(240,210,141,.2), 0 30px 58px rgba(0,12,22,.5);
}
.journal-masthead-cover figcaption { margin-top: 22px; color: #d8e3e9; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journal-masthead-cover figcaption span { display: block; margin-bottom: 7px; color: var(--j-gold-light); }

/* Ficha de credenciales: lo que un lector académico busca de inmediato. */
.journal-credentials {
  max-width: 1240px; position: relative; z-index: 1; display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto; padding: 0; border-top: 1px solid rgba(240,210,141,.3);
}
.journal-credentials > div { padding: 23px 26px 30px; border-left: 1px solid rgba(240,210,141,.16); }
.journal-credentials > div:first-child { padding-left: 0; border-left: 0; }
.journal-credentials dt { color: #93aabb; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.journal-credentials dd { margin: 10px 0 0; color: var(--white); font-size: 15px; font-weight: 800; line-height: 1.35; }

/* --- Alcance de la revista ------------------------------------------------ */
.journal-about { max-width: 1240px; margin: 0 auto; padding: clamp(76px, 9vw, 120px) max(5vw, 26px); }
.journal-about-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 6.4vw, 108px); align-items: start;
}
.journal-about-intro h2 {
  max-width: 14ch; margin: 0; color: var(--j-ink); font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3.1rem, 4.6vw, 5rem); font-weight: 400; letter-spacing: .015em; line-height: .94;
}
.journal-about-copy p { margin: 0 0 18px; color: var(--j-body); font-size: 17px; font-weight: 600; line-height: 1.76; }
.journal-about-lead { color: #31424f !important; font-size: 19px !important; }
.journal-about-copy strong { color: var(--j-ink); }

.journal-topics { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--j-line); }
.journal-topics-label { display: block; margin-bottom: 15px; color: #a38137; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.journal-topics ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.journal-topics li { padding: 9px 14px; border: 1px solid #dde1da; border-radius: 2px; color: var(--j-blue); background: var(--j-paper); font-size: 13px; font-weight: 700; }

.journal-indicators {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin: clamp(52px, 6vw, 80px) 0 0; padding: 0; background: var(--j-line);
}
.journal-indicators > div {
  display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 11px;
  padding: 28px 26px 30px; border-top: 3px solid var(--j-gold); background: var(--white);
}
.journal-indicators dt { color: var(--j-muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.journal-indicators dd { margin: 0; color: var(--j-ink); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(2.7rem, 3.4vw, 3.5rem); font-weight: 400; letter-spacing: .02em; line-height: .8; }

/* --- Número vigente ------------------------------------------------------- */
.current-volume {
  max-width: none; grid-template-columns: minmax(220px, 330px) minmax(0, 640px);
  justify-content: center; column-gap: clamp(44px, 7vw, 108px);
  padding: clamp(70px, 8vw, 108px) max(5vw, 26px);
  border-top: 1px solid #e7eae4; border-bottom: 1px solid #e7eae4; background: var(--j-paper);
}
.current-volume-cover { box-shadow: 20px 25px 0 #d4c284, 0 24px 45px rgba(6,44,68,.18); }

.issue-meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.issue-meta-chips li {
  padding: 7px 13px; border: 1px solid rgba(178,148,72,.45); border-radius: 2px;
  color: var(--j-blue); background: var(--white); font-size: 12px; font-weight: 800;
}

/* Información legal y editorial común al cierre de cada página de la revista. */
.magazine-legal { padding: clamp(48px, 6vw, 82px) max(5vw, 26px); background: var(--j-paper); }
.magazine-legal-inner {
  max-width: 1180px; margin: 0 auto; padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid #dfe4dd; border-left: 5px solid var(--j-gold); background: var(--white);
}
.magazine-legal h2 { margin: 0; color: var(--j-blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.magazine-legal-copy { max-width: 960px; margin-top: 18px; }
.magazine-legal-copy p { margin: 0 0 12px; color: #4a5a67; font-size: 13px; font-weight: 600; line-height: 1.68; }
.magazine-legal-copy p:last-child { margin-bottom: 0; }
.magazine-legal-copy a { color: var(--j-blue); font-weight: 800; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--j-gold); text-underline-offset: 3px; }

/* --- Acceso a la hemeroteca ----------------------------------------------- */
.journal-archive {
  position: relative; overflow: hidden;
  padding: clamp(76px, 9vw, 118px) max(5vw, 26px); color: var(--white);
  background: linear-gradient(103deg, #071f34 0%, #071f34 58%, #104660 100%);
}
/* Una portada desenfocada da profundidad sin competir con el texto. */
.journal-archive::before {
  position: absolute; inset: -48px; content: ''; pointer-events: none; opacity: .3;
  background: url('assets/revista/portada-revista-1400x1980.jpg') center 36% / cover;
  filter: blur(28px) saturate(.65);
}
.journal-archive::after {
  position: absolute; inset: 0; content: ''; pointer-events: none;
  background: linear-gradient(103deg, rgba(4,26,44,.9), rgba(6,45,72,.62));
}
.journal-archive-inner {
  position: relative; z-index: 1;
  max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(42px, 6vw, 92px); align-items: center; margin: 0 auto;
}
.journal-archive-copy .magazine-kicker { color: var(--j-gold-light); }
.journal-archive-copy h2 {
  margin: 0; color: var(--white); font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3.1rem, 4.6vw, 5rem); font-weight: 400; letter-spacing: .015em; line-height: .94;
}
.journal-archive-copy > p { max-width: 48ch; margin: 19px 0 0; color: #cfdbe2; font-size: 17px; font-weight: 600; line-height: 1.66; }
.journal-archive-copy .button-primary { color: var(--j-navy); background: var(--j-gold-light); border-color: var(--j-gold-light); }

.journal-archive-search { margin: 32px 0 26px; }
.journal-archive-search label { display: block; margin-bottom: 11px; color: #e5ca84; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.journal-archive-search div { max-width: 460px; display: flex; border: 1px solid rgba(240,210,141,.45); background: rgba(255,255,255,.07); }
.journal-archive-search input { width: 100%; min-width: 0; padding: 14px 16px; border: 0; outline: 0; color: var(--white); background: transparent; font-size: 15px; font-weight: 600; }
.journal-archive-search input::placeholder { color: rgba(214,227,234,.62); }
.journal-archive-search input:focus-visible { outline: 2px solid var(--j-gold-light); outline-offset: -2px; }
.journal-archive-search button { flex: 0 0 auto; padding: 0 20px; border: 0; border-left: 1px solid rgba(240,210,141,.45); color: var(--j-gold-light); background: transparent; cursor: pointer; font-size: 13px; font-weight: 800; transition: color .2s, background .2s; }
.journal-archive-search button:hover { color: var(--j-navy); background: var(--j-gold-light); }

.journal-archive-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.journal-archive-covers img {
  width: 100%; display: block; aspect-ratio: .74; object-fit: cover;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 32px rgba(0,10,20,.42);
  transition: transform .3s ease, box-shadow .3s ease;
}
.journal-archive-covers a:hover img, .journal-archive-covers a:focus-visible img { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(0,10,20,.56); }
.journal-archive-covers span { display: block; margin-top: 11px; color: #d6e3ea; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

/* --- Ruta editorial para autores ------------------------------------------ */
.journal-publish {
  max-width: 1240px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 92px); align-items: start; margin: 0 auto;
  padding: clamp(76px, 9vw, 120px) max(5vw, 26px);
}
.journal-publish-intro h2 {
  max-width: 13ch; margin: 0; color: var(--j-ink); font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3.1rem, 4.6vw, 5rem); font-weight: 400; letter-spacing: .015em; line-height: .94;
}
.journal-publish-intro > p { max-width: 44ch; margin: 20px 0 28px; color: var(--j-body); font-size: 17px; font-weight: 600; line-height: 1.7; }
.journal-publish-contact { margin: 26px 0 0 !important; color: var(--j-muted); font-size: 14px !important; font-weight: 700; }
.journal-publish-contact a { color: var(--j-blue); font-weight: 800; text-decoration: underline; text-decoration-color: var(--j-gold); text-underline-offset: 3px; }

.journal-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--j-line); }
.journal-steps li { padding: clamp(26px, 3vw, 34px); background: var(--white); }
.journal-steps-index { color: var(--j-gold); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.1rem; letter-spacing: .04em; line-height: 1; }
.journal-steps h3 { margin: 15px 0 10px; color: var(--j-ink); font-family: Manrope, sans-serif; font-size: 1.16rem; font-weight: 900; line-height: 1.25; }
.journal-steps p { margin: 0; color: #5c6c78; font-size: 15px; font-weight: 600; line-height: 1.62; }

/* --- Hemeroteca: encabezado y filtros ------------------------------------- */
.volumes-page { max-width: 1240px; margin: 0 auto; padding: clamp(142px, 12vw, 186px) max(5vw, 26px) clamp(80px, 9vw, 120px); }
.volumes-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(34px, 5vw, 78px);
  align-items: end; padding-bottom: clamp(30px, 3.6vw, 44px); border-bottom: 1px solid var(--j-line);
}
.volumes-heading-copy { max-width: 800px; }
.volumes-heading-copy > p:not(.magazine-kicker) { max-width: 620px; margin: 20px 0 0; color: var(--j-body); font-size: 17px; font-weight: 600; line-height: 1.66; }
.volumes-stats { display: flex; gap: clamp(22px, 3vw, 46px); margin: 0; padding: 0; }
.volumes-stats > div { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
.volumes-stats dt { color: var(--j-muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.volumes-stats dd { margin: 0; color: var(--j-ink); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.6rem; font-weight: 400; letter-spacing: .02em; line-height: .8; }

.volumes-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px 36px; margin-top: clamp(30px, 4vw, 44px); }
.volume-filter { width: min(100%, 372px); display: grid; gap: 9px; margin-top: 0; color: var(--j-blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.volume-filter input { width: 100%; padding: 14px 16px; border: 1px solid #d3d8d1; border-radius: 2px; outline-color: var(--j-gold); color: var(--ink); background: var(--white); font-size: 16px; font-weight: 600; letter-spacing: normal; text-transform: none; }
.volume-years { display: flex; flex-wrap: wrap; gap: 7px; }
.volume-year-chip {
  padding: 9px 15px; border: 1px solid #d8ddd6; border-radius: 2px; color: #3f5160; background: var(--white);
  cursor: pointer; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  transition: color .2s, background .2s, border-color .2s;
}
.volume-year-chip:hover { border-color: var(--j-gold); color: var(--j-blue); }
.volume-year-chip[aria-pressed='true'] { border-color: var(--j-blue); color: var(--white); background: var(--j-blue); }
.volumes-result-count { margin: clamp(26px, 3vw, 34px) 0 0; color: var(--j-muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.volumes-empty { margin: 34px 0 0; padding: 28px 30px; border-left: 4px solid var(--j-gold); color: var(--j-body); background: var(--j-paper); font-size: 15px; font-weight: 600; }

/* --- Hemeroteca: tarjetas -------------------------------------------------
   La portada se muestra completa sobre su propio marco y los datos viven
   debajo, en blanco: se lee el título sin competir con la imagen. */
.volumes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 30px); margin-top: clamp(20px, 2.4vw, 28px); }
.volume-card {
  display: flex; border: 1px solid var(--j-line); background: var(--white);
  box-shadow: 0 10px 26px rgba(3,35,53,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
/* display:flex ganaría al atributo hidden que usa el filtro. */
.volume-card[hidden] { display: none; }
.volume-card:hover, .volume-card:focus-within { border-color: #d8cdab; box-shadow: 0 22px 46px rgba(3,35,53,.15); transform: translateY(-6px); }
.volume-card-link { width: 100%; display: flex; flex-direction: column; color: inherit; }
.volume-card-link:focus-visible { outline: 3px solid var(--j-gold); outline-offset: -3px; }

.volume-card-cover { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--j-blue); }
.volume-card-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.volume-card-cover::after { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(180deg, rgba(4,31,48,0) 58%, rgba(4,31,48,.4)); }
.volume-card:hover .volume-card-cover img, .volume-card:focus-within .volume-card-cover img { filter: saturate(1.08); transform: scale(1.06); }
.volume-card-flag {
  position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 11px;
  color: var(--j-navy); background: var(--j-gold-light);
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.volume-document-peek { width: 42%; z-index: 2; top: auto; right: 14px; bottom: 14px; transform: translateY(14px) rotate(3deg); }
.volume-card:hover .volume-document-peek, .volume-card:focus-within .volume-document-peek { transform: translateY(0) rotate(3deg); }

.volume-card-copy { flex: 1; display: flex; flex-direction: column; padding: clamp(22px, 2vw, 27px); }
.volume-card-meta { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--j-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.volume-card-year { padding: 4px 9px; color: var(--j-gold-deep); background: #f2f1e6; }
.volume-card-copy h2 { margin: 14px 0 0; color: var(--j-ink); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.5rem; font-weight: 400; letter-spacing: .02em; line-height: .88; }
.volume-card-hook { margin: 13px 0 0; color: #55656f; font-size: 14px; font-weight: 600; line-height: 1.56; }
.volume-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: auto 0 0; padding-top: 17px; border-top: 1px solid #e9ece7; }
.volume-card-contents { color: var(--j-gold-deep); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.volume-card-action { display: inline-flex; align-items: center; gap: 7px; color: var(--j-blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.volume-card-action b { color: var(--j-gold); font-size: 17px; font-weight: 400; transition: transform .2s ease; }
.volume-card:hover .volume-card-action b, .volume-card:focus-within .volume-card-action b { transform: translateX(4px); }

/* El número vigente abre la hemeroteca con una tarjeta de ancho completo. */
.volume-card-featured { grid-column: 1 / -1; }
.volume-card-featured .volume-card-link { flex-direction: row; align-items: stretch; }
.volume-card-featured .volume-card-cover { flex: 0 0 38%; aspect-ratio: auto; }
.volume-card-featured .volume-card-copy { justify-content: center; padding: clamp(30px, 4vw, 56px); }
.volume-card-featured .volume-card-copy h2 { font-size: clamp(3rem, 4.4vw, 4.4rem); }
.volume-card-featured .volume-card-hook { max-width: 52ch; margin-top: 16px; font-size: 16px; line-height: 1.66; }
.volume-card-featured .volume-card-foot { margin-top: clamp(26px, 3vw, 38px); }

/* --- Detalle del volumen -------------------------------------------------- */
.issue-hero { max-width: 1240px; padding: clamp(142px, 12vw, 182px) max(5vw, 26px) clamp(64px, 7vw, 92px); }
.issue-back { align-items: center; gap: 9px; margin-bottom: 32px; transition: color .2s; }
.issue-back:hover { color: var(--j-gold-deep); }
.issue-intro { grid-template-columns: minmax(230px, .5fr) minmax(320px, 1fr); }
.issue-copy > p:not(.magazine-kicker) { margin-top: 22px; color: #415161; }
.issue-articles { padding: clamp(70px, 8vw, 100px) max(5vw, 26px) clamp(84px, 9vw, 120px); }
.article-item { transition: background .2s ease; }
.article-item:hover { background: var(--j-paper); }
.article-info h3 { transition: color .2s ease; }
.article-item:hover .article-info h3 { color: var(--j-gold-deep); }

@media (prefers-reduced-motion: reduce) {
  .volume-card, .volume-card-cover img, .volume-document-peek,
  .journal-archive-covers img, .volume-card-action b { transition: none; }
}

@media (max-width: 1040px) {
  .journal-masthead-inner { grid-template-columns: 1fr; gap: 46px; }
  .journal-masthead h1 { max-width: none; }
  .journal-masthead-cover { max-width: 300px; justify-self: start; }
  .journal-credentials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journal-credentials > div { padding: 20px 22px 24px; border-top: 1px solid rgba(240,210,141,.16); }
  .journal-credentials > div:first-child, .journal-credentials > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .journal-credentials > div:nth-child(-n+3) { border-top: 0; }
  .journal-about-grid, .journal-publish, .journal-archive-inner { grid-template-columns: 1fr; }
  .journal-about-intro h2, .journal-publish-intro h2 { max-width: none; }
  .journal-indicators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal-archive-covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .current-volume { grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); }
  .volumes-heading { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .volumes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .volume-card-featured .volume-card-cover { flex-basis: 42%; }
}

@media (max-width: 680px) {
  .journal-masthead { padding: 130px 22px 0; }
  .journal-masthead::after { width: 380px; height: 380px; top: -244px; right: -118px; }
  .journal-masthead-inner { gap: 38px; padding-bottom: 44px; }
  .journal-masthead h1 { font-size: clamp(3rem, 12.5vw, 4.1rem); }
  .journal-lead { margin-top: 18px; font-size: 16px; }
  .journal-masthead-actions { gap: 10px; margin-top: 28px; }
  .journal-masthead-actions .button { width: 100%; }
  .journal-masthead-cover { max-width: 240px; }
  .journal-credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal-credentials > div { padding: 17px 16px 19px; }
  .journal-credentials > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .journal-credentials > div:nth-child(-n+2) { border-top: 0; }
  .journal-credentials > div:last-child { grid-column: 1 / -1; }

  .journal-about { padding: 66px 22px; }
  .journal-about-grid { gap: 26px; }
  .journal-about-intro h2 { font-size: 3.4rem; }
  .journal-about-copy p { font-size: 16px; line-height: 1.7; }
  .journal-about-lead { font-size: 17px !important; }
  .journal-topics { margin-top: 26px; padding-top: 22px; }
  .journal-indicators { margin-top: 42px; }
  .journal-indicators > div { padding: 22px 20px 24px; }

  .current-volume { grid-template-columns: 1fr; gap: 42px; padding: 62px 22px; }
  .current-volume-cover { max-width: 250px; }
  .issue-meta-chips { gap: 7px; margin-top: 18px; }
  .issue-meta-chips li { padding: 6px 11px; font-size: 11px; }
  .magazine-legal { padding: 48px 22px; }
  .magazine-legal-inner { padding: 22px 18px; }
  .magazine-legal-copy { margin-top: 14px; }
  .magazine-legal-copy p { font-size: 12px; line-height: 1.66; }

  .journal-archive { padding: 62px 22px; }
  .journal-archive-inner { gap: 38px; }
  .journal-archive-copy h2 { font-size: 3.4rem; }
  .journal-archive-copy > p { font-size: 15px; }
  .journal-archive-search { margin: 26px 0 22px; }
  .journal-archive-copy .button { width: 100%; }
  .journal-archive-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .journal-publish { gap: 34px; padding: 62px 22px 70px; }
  .journal-publish-intro h2 { font-size: 3.4rem; }
  .journal-publish-intro > p { margin-bottom: 22px; font-size: 16px; }
  .journal-publish-intro .button { width: 100%; }
  .journal-steps { grid-template-columns: 1fr; }
  .journal-steps li { padding: 24px 22px; }

  .volumes-page { padding: 140px 20px 74px; }
  .volumes-heading { gap: 26px; padding-bottom: 26px; }
  .volumes-heading-copy > p:not(.magazine-kicker) { font-size: 15px; }
  .volumes-stats { flex-wrap: wrap; gap: 18px 26px; }
  .volumes-stats dd { font-size: 2.1rem; }
  .volumes-toolbar { align-items: stretch; gap: 18px; }
  .volumes-grid { grid-template-columns: 1fr; gap: 16px; }
  .volume-card-copy h2 { font-size: 2.3rem; }
  .volume-card-foot { flex-wrap: wrap; gap: 9px; }
  .volume-document-peek { width: 36%; right: 11px; bottom: 11px; opacity: .97; transform: rotate(3deg); }
  .volume-card-featured .volume-card-link { flex-direction: column; }
  .volume-card-featured .volume-card-cover { flex: 0 0 auto; aspect-ratio: 1; }
  .volume-card-featured .volume-card-copy { padding: 24px 22px; }
  .volume-card-featured .volume-card-copy h2 { font-size: 2.6rem; }
  .volume-card-featured .volume-card-hook { font-size: 14px; }

  .issue-hero { padding: 134px 22px 58px; }
  .issue-intro { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cabecera de la revista · dos niveles
   Nivel 1 · logotipo institucional + cabecera de la publicación + envío
   Nivel 2 · franja azul con las secciones de la revista
   Los enlaces ya no se parten en dos líneas y el ancho se aprovecha entero.
   ========================================================================== */
.magazine-site-header {
  /* Alinea la cabecera con la columna de 1240px del resto de la revista. */
  --j-header-gutter: max(max(5vw, 26px), (100% - 1240px) / 2);
  top: 0; left: 0; width: 100%; min-height: 0;
  display: block; gap: 0; padding: 0;
  border-radius: 0; background: var(--white);
  box-shadow: 0 2px 18px rgba(6,50,82,.12);
  transform: none; backdrop-filter: none;
}
.magazine-header-top { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 32px); padding: 15px var(--j-header-gutter); }
.magazine-site-header .brand { flex: 0 0 auto; }
.magazine-site-header .brand img { width: clamp(140px, 12.5vw, 166px); transition: width .24s ease; }
.magazine-header-title { display: grid; gap: 5px; padding-left: clamp(15px, 2.2vw, 32px); border-left: 1px solid #e1e7e4; }
.magazine-header-title span {
  color: #092f4c; font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.22rem, 1.7vw, 1.58rem); font-weight: 400; letter-spacing: .05em; line-height: .9; text-transform: uppercase;
}
.magazine-header-title small { color: #8b7440; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.magazine-header-title:hover span { color: #0b3b59; }
.magazine-header-cta {
  flex: 0 0 auto; margin-left: auto; padding: 11px 19px;
  border: 1px solid #e0c688; border-radius: 2px; color: #062d48; background: #f0d28d;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: color .2s, background .2s, border-color .2s;
}
.magazine-header-cta:hover { color: var(--white); background: #0b3b59; border-color: #0b3b59; }

.magazine-site-header .magazine-nav {
  flex: 0 0 auto; display: flex; align-items: stretch; justify-content: flex-start;
  gap: clamp(17px, 2.5vw, 42px); padding: 0 var(--j-header-gutter);
  background: linear-gradient(94deg, #071f34 0%, #104660 100%);
}
.magazine-site-header .magazine-nav a {
  max-width: none; display: inline-flex; align-items: center; padding: 15px 0;
  color: rgba(255,255,255,.87); font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .035em;
  line-height: 1.2; text-align: left; white-space: nowrap; transition: color .2s ease;
}
.magazine-site-header .magazine-nav a:hover { color: var(--white); }
.magazine-site-header .magazine-nav a::after { bottom: 0; height: 3px; background: #f0d28d; }
.magazine-site-header .magazine-nav a[aria-current='page'] { color: #f0d28d; }
.magazine-site-header .magazine-nav a:focus-visible { outline: 2px solid #f0d28d; outline-offset: -4px; }

/* Al desplazarse la cabecera se adelgaza sin perder ninguna sección. */
.magazine-site-header.is-compact { width: 100%; min-height: 0; padding: 0; border-radius: 0; background: var(--white); box-shadow: 0 5px 18px rgba(6,50,82,.16); backdrop-filter: none; }
.magazine-site-header.is-compact .magazine-header-top { padding-top: 9px; padding-bottom: 9px; }
.magazine-site-header.is-compact .brand img { width: clamp(124px, 10.5vw, 142px); }
.magazine-site-header.is-compact .magazine-header-title small { display: none; }
.magazine-site-header.is-compact .magazine-header-cta { padding: 9px 15px; font-size: 11px; }
.magazine-site-header.is-compact .magazine-nav { gap: clamp(14px, 2.1vw, 34px); }
.magazine-site-header.is-compact .magazine-nav a { padding: 11px 0; font-size: 13px; }

@media (max-width: 1180px) {
  .magazine-header-top { gap: 14px; padding-top: 12px; padding-bottom: 12px; }
  .magazine-site-header .brand img { width: clamp(134px, 19vw, 158px); }
  .magazine-header-title { padding-left: 14px; }
  .magazine-header-title span { font-size: 1.12rem; }
  .magazine-header-cta { display: none; }
  .magazine-site-header .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; color: #0b3b59; }
  .magazine-site-header .nav-toggle svg { width: 32px; height: 32px; }
  .magazine-site-header .magazine-nav {
    position: absolute; top: 100%; right: 0; left: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0;
    box-shadow: 0 18px 32px rgba(4,32,52,.26);
  }
  .magazine-site-header .magazine-nav.is-open { display: flex; }
  .magazine-site-header .magazine-nav a,
  .magazine-site-header.is-compact .magazine-nav a {
    width: 100%; padding: 16px var(--j-header-gutter); border-top: 1px solid rgba(255,255,255,.11);
    font-size: 15px; white-space: normal;
  }
  .magazine-site-header .magazine-nav a:first-child { border-top: 0; }
  .magazine-site-header .magazine-nav a::after { display: none; }
  .magazine-site-header .magazine-nav a:hover { color: var(--white); background: rgba(255,255,255,.09); }
  .magazine-site-header .magazine-nav a[aria-current='page'] { color: #062d48; background: #f0d28d; }
}

@media (max-width: 560px) {
  .magazine-site-header .brand img { width: 118px; }
  .magazine-header-title { padding-left: 11px; }
  .magazine-header-title span { font-size: .98rem; }
  .magazine-header-title small { display: none; }
}

/* Texto editorial extenso: la variante ligera conserva aire sin perder contraste. */
.magazine-page .journal-lead,
.magazine-page .journal-about-copy p,
.magazine-page .current-volume-copy > p:not(.magazine-kicker),
.magazine-page .journal-archive-copy > p,
.magazine-page .journal-publish-intro > p,
.magazine-page .magazine-legal-copy p,
.magazine-page .policies-intro > p:not(.magazine-kicker),
.magazine-page .policies-page .policies-layout .policy-section .policy-summary,
.magazine-page .policies-page .policies-layout .policy-steps p,
.magazine-page .policies-page .policies-layout .policy-requirements p,
.magazine-page .policy-note {
  font-family: Manrope, sans-serif;
  font-weight: 300;
}

.magazine-page .policies-intro > p:not(.magazine-kicker),
.magazine-page .policies-page .policies-layout .policy-section .policy-summary,
.magazine-page .policies-page .policies-layout .policy-steps p,
.magazine-page .policies-page .policies-layout .policy-requirements p,
.magazine-page .policy-note {
  color: #40505c;
}
