.reference-content { padding-top: 18px; padding-bottom: 48px; color: var(--copy); }
.reference-content:has(> .campaign-hero) { padding-top: 0; }
.reference-content[data-page="institutos"], .reference-content[data-page="contactanos"] { padding-top: 55px; }
.reference-breadcrumb { display: flex; align-items: center; gap: 8px; margin: 0 0 55px; color: var(--purple); font-size: 14px; }
.reference-breadcrumb a { text-decoration: none; }
.reference-breadcrumb a:hover { text-decoration: underline; }
.reference-heading { margin: 0 0 14px; color: var(--purple); }
.reference-heading h1 { max-width: 720px; margin: 0; font-size: 34px; line-height: 1.16; }
.reference-heading .title-rule { margin: 16px 0 0; }
.reference-layout { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(255px, 1fr); align-items: start; gap: 20px; }
.reference-main-column { min-width: 0; }
.reference-content[data-page="sistemas-educativos"] { padding-top: 50px; }
.nav-dropdown > .nav-trigger.current-page { background: var(--cyan); color: var(--purple); }
.systems-hero { width: 100%; aspect-ratio: 16 / 9; margin: 0 0 26px; object-fit: cover; }
.systems-page-sidebar { display: flex; flex-direction: column; gap: 18px; padding: 20px; background: var(--mist); }
.systems-event-card { display: flex; min-height: 203px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 9px; padding: 27px 25px 24px; color: var(--purple); text-align: center; text-decoration: none; }
.systems-event-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 2px solid var(--cyan); border-radius: 50%; }
.systems-event-icon svg { width: 22px; height: 22px; fill: #45464b; }
.systems-event-card strong { font-size: 17px; font-weight: 400; }
.systems-event-card > span:last-child { max-width: 220px; color: #222; font-size: 14px; line-height: 1.45; }
.systems-event-card:hover strong { text-decoration: underline; }
.systems-area-list { display: flex; flex-direction: column; gap: 26px; margin: 24px 0 0; }
.systems-area-card { display: grid; grid-template-columns: 202px minmax(0, 1fr); align-items: start; gap: 20px; color: var(--copy); text-decoration: none; }
.systems-area-card > img { width: 202px; aspect-ratio: 16 / 9; object-fit: cover; }
.systems-area-card > span { display: block; font-size: 16px; line-height: 1.5; }
.systems-area-card strong { display: block; margin: 0 0 16px; color: var(--purple); font-size: 21px; font-weight: 400; line-height: 1.3; }
.systems-area-card > span > span { display: block; }
.systems-area-card:hover strong { text-decoration: underline; }
.regional-callout { margin-top: 32px; background: var(--mist); }
.regional-callout > h2 { margin: 0; padding: 15px 20px; background: #c6cfd1; color: #444; font-size: 16px; font-weight: 400; }
.regional-callout > div { padding: 22px 20px 28px; }
.regional-callout p { margin: 0 0 24px; }
.regional-callout .pill-button { display: flex; width: min(236px, 100%); margin: 0 auto; }
.reference-copy { color: var(--copy); font-size: 16px; line-height: 1.52; }
.reference-copy p { margin: 0 0 23px; }
.reference-copy ul { margin: 0 0 22px; padding-left: 23px; }
.reference-copy li { margin-bottom: 8px; }
.reference-copy h2 { color: var(--purple); }
.subheading-large { margin: 26px 0 16px; color: #55585b; font-size: 24px; font-weight: 400; line-height: 1.28; }
.reference-sidebar { align-self: start; padding: 20px; background: var(--mist); color: var(--purple); }
.reference-sidebar > h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 17px; font-weight: 400; }
.reference-sidebar > h2::before { content: "⌃"; color: #ec00a8; font-size: 23px; line-height: .7; }
.sidebar-links { display: flex; flex-direction: column; gap: 0; padding: 7px 20px; background: #fff; }
.sidebar-links a, .sidebar-links strong { padding: 13px 0; color: var(--purple); font-size: 14px; line-height: 1.4; text-decoration: none; }
.sidebar-links strong { color: #b10067; }
.sidebar-links a:hover { text-decoration: underline; }
.sidebar-promo-list { display: flex; flex-direction: column; gap: 18px; padding: 20px; }
.reference-content[data-page="institutos"] .reference-sidebar { margin-top: 107px; }
.reference-content[data-page="myclub"] .reference-sidebar { margin-top: 120px; }
.promo-card { display: block; overflow: hidden; background: #fff; color: var(--purple); text-decoration: none; }
.promo-card img { width: 100%; aspect-ratio: 266 / 150; object-fit: cover; }
.promo-card span { display: block; padding: 23px 20px 25px; font-size: 17px; line-height: 1.35; }
.promo-card:hover span { text-decoration: underline; }
.reference-copy a:not(.pill-button):not(.text-link) { color: var(--purple); }
.arrow-links { margin: 22px 0 !important; padding: 0 !important; list-style: none; }
.arrow-links li { margin: 0 0 4px !important; font-weight: 700; }
.arrow-links li::before { content: "➜"; margin-right: 7px; }
.arrow-links a { color: var(--purple); text-decoration: none; }
.arrow-links a:hover { text-decoration: underline; }
.wide-pill { width: min(100%, 484px); margin: 4px 0 20px; }
.location-list { padding: 0 0 22px; margin: 0 0 20px; border-bottom: 1px solid #d7dfe1; }
.location-list h2 { margin: 0 0 5px; color: var(--purple); font-size: 20px; font-weight: 400; }
.location-list p { margin: 0 0 23px; }
.location-list .contact-line { margin: 0; color: #60747b; font-weight: 700; line-height: 1.9; }
.contact-line a { color: var(--purple); text-decoration: none; }
.related-links { margin-top: 25px; }
.related-links h2 { padding: 0 0 27px; border-bottom: 1px solid #d7dfe1; font-size: 19px; font-weight: 400; }
.related-links a { text-decoration: none; }
.related-links a:hover { text-decoration: underline; }
.reference-copy .video-poster, .video-poster { width: 100%; height: auto; margin: 0 auto 25px; }
.video-poster-wrap { margin-bottom: 0; }
.callout-box { margin: 28px 0; padding: 22px 20px 30px; background: var(--mist); text-align: center; }
.callout-box p { margin: 0 0 20px; color: var(--copy); text-align: left; }
.callout-box .pill-button { min-width: 236px; }
.text-link { color: var(--purple); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.business-note { margin-top: 30px; padding: 30px 20px; background: var(--purple); color: #fff; }
.content-illustration { width: 100%; height: auto; margin: 16px 0 30px; }
.plans-table { width: 100%; border-collapse: collapse; color: var(--purple); font-size: 15px; }
.table-scroll { overflow-x: auto; margin: 25px 0; }
.plans-table th { padding: 13px; background: var(--purple); color: #fff; text-align: left; font-weight: 400; }
.plans-table td { width: 33.333%; padding: 14px 13px; border: 1px solid #e0dce7; vertical-align: top; }
.plans-table .text-link { display: inline-block; }

.reference-content > .reference-breadcrumb { margin-bottom: 55px; }
.reference-content > .reference-heading { margin-bottom: 14px; }
.campaign-hero { position: relative; left: 50%; width: 100vw; height: min(55.3vw, 755px); min-height: 520px; margin: 0 0 0 -50vw; overflow: hidden; background: #d9d9d9; }
.campaign-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.campaign-hero-copy { position: absolute; top: 50%; left: max(32px, calc((100% - 1255px) / 2)); width: min(430px, calc(100% - 64px)); padding: 35px 42px; border-radius: 42px 12px 42px 5px; background: #fff; color: var(--copy); transform: translateY(-50%); }
.campaign-hero-copy h1 { margin: 0; color: var(--purple); font-size: 36px; line-height: 1.1; }
.campaign-hero-copy .title-rule { margin: 17px 0 26px; }
.campaign-hero-copy p { margin: 0 0 22px; color: var(--copy); line-height: 1.5; }
.campaign-hero-copy .pill-button { width: 100%; padding-inline: 20px; font-size: 14px; }
.landing-content { position: relative; left: 50%; width: min(1000px, calc(100vw - 40px)); margin: 0; padding: 28px 0 16px; transform: translateX(-50%); }
.landing-content .text-section { margin: 0 auto 34px; }
.landing-content .text-section h2 { margin: 0 0 25px; color: var(--purple); font-size: 29px; line-height: 1.25; }
.landing-content .text-section h3 { margin: 22px 0 12px; color: var(--copy); font-size: 19px; }
.landing-content .text-section p, .landing-content .text-section li { color: var(--copy); line-height: 1.52; }
.landing-content .text-section p { margin: 0 0 20px; }
.landing-content .text-section ul { padding-left: 20px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; margin: 42px 0 100px; }
.feature-row > img { width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; }
.feature-row > div { padding: 0 15px; }
.feature-row h2 { margin: 0 0 22px; color: var(--purple); font-size: 30px; line-height: 1.25; }
.feature-row h2 a { color: inherit; }
.feature-row p { margin: 0; color: var(--copy); line-height: 1.55; }
.feature-row.reverse > img { grid-column: 2; grid-row: 1; }
.feature-row.reverse > div { grid-column: 1; grid-row: 1; }
.testimonial { margin: 44px 0 60px; }
.testimonial h2 { margin: 0 0 24px; color: var(--purple); font-size: 24px; }
.testimonial blockquote { margin: 0; padding: 26px 30px; border-left: 8px solid var(--cyan); color: var(--copy); font-size: 18px; }
.testimonial cite { display: block; margin-top: 26px; color: #303238; font-style: normal; font-weight: 700; }
.bottom-cta { margin: 60px 0 15px; padding: 45px max(30px, 11%); border-radius: 42px 6px 42px 6px; background: var(--mist); }
.bottom-cta h2 { margin: 0 0 22px; color: var(--purple); font-size: 26px; }
.bottom-cta p { margin: 0 0 22px; }
.bottom-cta .pill-button { min-width: min(380px, 100%); }
.video-poster { width: 100%; margin: 0 auto 24px; }
.video-poster-wrap .video-poster { margin-bottom: 0; }
.online-adults-hero { position: relative; margin: 0 0 22px; }
.online-adults-hero > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.online-hero-copy { position: absolute; top: 12%; left: 7%; width: 50%; padding: 24px; background: rgba(35, 6, 93, .9); color: #fff; }
.online-hero-copy strong { color: #fff; font-size: 18px; }
.online-hero-copy h2 { margin: 24px 0 0; color: #fff; font-size: 25px; }
.myclub-banner { width: 100%; height: auto; margin-bottom: 26px; }
.myclub-item { display: grid; grid-template-columns: 202px 1fr; gap: 20px; margin: 25px 0; }
.myclub-item img { width: 202px; aspect-ratio: 1.75 / 1; object-fit: cover; }
.myclub-item h2 { margin: 0 0 18px; color: var(--purple); font-size: 19px; font-weight: 400; line-height: 1.35; }
.myclub-item h2 a { text-decoration: none; }
.myclub-item h2 a:hover { text-decoration: underline; }
.myclub-item p { margin: 0; }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 25px 0; }
.level-grid article { padding: 20px; background: var(--mist); }
.level-grid strong { color: var(--purple); font-size: 28px; }
.level-grid h2 { margin: 4px 0 10px; font-size: 18px; }
.level-grid p { margin: 0; }

.blog-page-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, .95fr); gap: 17px; }
.blog-feed > h1 { margin: 0 0 22px; color: #666; font-size: 34px; font-weight: 400; }
.blog-filter { margin: 0 0 24px; background: #e2dfeb; color: var(--purple); }
.blog-filter summary { padding: 17px; cursor: pointer; list-style: none; }
.blog-filter summary::-webkit-details-marker { display: none; }
.blog-filter summary::after { content: "+"; float: right; color: #111; font-size: 22px; font-weight: 700; line-height: 1; }
.blog-filter[open] summary::after { content: "−"; }
.blog-filter > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 0 17px 17px; }
.blog-filter label { font-size: 13px; }
.filter-reset { padding: 6px 10px; border: 1px solid var(--purple); background: #fff; color: var(--purple); }
.blog-card { margin: 0 0 24px; background: var(--mist); }
.blog-card > img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.blog-card-copy { padding: 24px; }
.blog-card-copy p { margin: 0 0 10px; color: #687076; font-size: 14px; line-height: 1.45; }
.blog-card-copy .blog-date { margin-bottom: 6px; }
.blog-card-copy h2 { margin: 0 0 14px; color: var(--purple); font-size: 22px; font-weight: 400; line-height: 1.25; }
.blog-card-copy .blog-tag { margin: 17px 0 0; }
.blog-sidebar { display: flex; flex-direction: column; align-items: stretch; gap: 17px; }
.blog-sidebar .reference-sidebar { padding: 18px; }
.blog-sidebar .reference-sidebar > h2::before { display: none; }
.blog-sidebar .reference-sidebar > h2 { margin-bottom: 14px; color: #666; font-size: 21px; }
.blog-sidebar .sidebar-links { padding: 0; }
.blog-sidebar .sidebar-links a { padding: 15px; border-bottom: 1px solid #dce1e2; font-size: 14px; }
.blog-sidebar .sidebar-links a:last-child { border-bottom: 0; }
.blog-sidebar .sidebar-promo-list { gap: 14px; padding: 15px; }
.blog-sidebar .promo-card span { padding: 20px 16px; font-size: 15px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 17px; padding: 18px 0 0; border-top: 1px solid #ddd; color: var(--purple); }
.pagination a { text-decoration: none; }
.pagination a[aria-current] { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #111; color: #fff; }
.pagination a:hover { text-decoration: underline; }

.contact-form-card { width: min(720px, 100%); margin: 22px auto 0; padding: 30px 32px 38px; background: #f3f3f3; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); color: #111; }
.contact-form-card > p { margin: 0 0 25px; line-height: 1.5; }
.contact-form-card label:not(.demo-captcha) { display: block; margin: 24px 0 8px; font-weight: 700; }
.contact-form-card label em { color: #e60037; font-style: normal; }
.contact-form-card input:not([type=checkbox]), .contact-form-card select, .contact-form-card textarea { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid #d2d2d2; border-radius: 2px; background: #fff; color: #111; }
.contact-form-card textarea { min-height: 140px; resize: vertical; }
.contact-form-card small { display: block; margin-top: 4px; color: #555; }
.phone-input { display: grid; grid-template-columns: 100px 1fr; gap: 5px; }
.phone-input span { display: flex; align-items: center; padding: 10px 14px; border: 1px solid #d2d2d2; background: #fff; }
.privacy-copy { margin-top: 30px; line-height: 1.55; }
.privacy-copy h2 { margin: 28px 0 15px; color: #111; font-size: 16px; }
.privacy-copy a { color: #005eb8; font-weight: 700; }
.demo-captcha { display: flex; align-items: center; gap: 12px; width: fit-content; margin: 28px 0; padding: 15px; border: 1px solid #d4d4d4; background: #fff; }
.demo-captcha input { width: 26px; height: 26px; }
.demo-captcha span { font-size: 13px; }
.demo-captcha small { margin: 0 0 0 18px; font-size: 10px; }
.captcha-hint { margin: 20px 0 14px; color: #666; font-size: 13px; }
.submit-button { padding: 12px 28px; border: 0; border-radius: 3px; background: #0065b3; color: #fff; font-weight: 700; }
.submit-button:hover { background: #00549a; }
.form-status { min-height: 1.5em; color: #165b32; font-weight: 700; }

@media (max-width: 900px) {
  .reference-layout, .blog-page-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr); }
  .campaign-hero { min-height: 520px; }
  .campaign-hero-copy { left: max(28px, calc((100% - 880px) / 2)); }
  .feature-row { gap: 30px; margin-bottom: 70px; }
  .feature-row h2 { font-size: 25px; }
}

@media (max-width: 700px) {
  .reference-content { padding-top: 14px; padding-bottom: 30px; }
  .reference-content > .reference-breadcrumb { margin-bottom: 28px; }
  .reference-breadcrumb { margin-bottom: 25px; font-size: 13px; }
  .reference-heading h1 { font-size: 28px; }
  .reference-heading .title-rule { margin-top: 12px; }
  .reference-layout, .blog-page-grid { grid-template-columns: 1fr; gap: 22px; }
  .reference-content[data-page="sistemas-educativos"] { padding-top: 22px; }
  .systems-area-list { gap: 22px; }
  .systems-area-card { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .systems-area-card > img { width: 120px; }
  .systems-area-card strong { margin-bottom: 9px; font-size: 18px; }
  .systems-page-sidebar { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; padding: 14px; }
  .systems-event-card { min-height: 100%; padding: 18px 10px; }
  .systems-page-sidebar .promo-card span { padding: 15px; font-size: 15px; }
  .reference-sidebar { padding: 15px; }
  .sidebar-promo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-card span { padding: 15px; font-size: 15px; }
  .reference-copy { font-size: 15px; }
  .subheading-large { font-size: 21px; }
  .campaign-hero { height: 570px; min-height: 0; }
  .campaign-hero-image { object-position: 58% center; }
  .campaign-hero-copy { top: auto; bottom: 24px; left: 20px; width: min(430px, calc(100% - 40px)); padding: 25px 24px; border-radius: 30px 8px 30px 4px; transform: none; }
  .campaign-hero-copy h1 { font-size: 29px; }
  .campaign-hero-copy .title-rule { margin: 13px 0 16px; }
  .campaign-hero-copy p { font-size: 15px; }
  .landing-content { width: calc(100vw - 36px); padding-top: 24px; }
  .landing-content .text-section h2 { font-size: 24px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 17px; margin: 32px 0 55px; }
  .feature-row > img, .feature-row.reverse > img { grid-column: 1; grid-row: 1; }
  .feature-row > div, .feature-row.reverse > div { grid-column: 1; grid-row: 2; padding: 0 4px; }
  .feature-row h2 { margin-bottom: 12px; font-size: 23px; }
  .testimonial blockquote { padding: 20px; font-size: 16px; }
  .bottom-cta { margin: 40px 0 10px; padding: 28px 22px; border-radius: 30px 5px 30px 5px; }
  .bottom-cta h2 { font-size: 22px; }
  .myclub-item { grid-template-columns: 120px 1fr; gap: 14px; }
  .myclub-item img { width: 120px; }
  .myclub-item h2 { font-size: 16px; }
  .online-hero-copy { left: 5%; width: 74%; padding: 15px; }
  .online-hero-copy h2 { margin-top: 12px; font-size: 18px; }
  .level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-feed > h1 { font-size: 30px; }
  .blog-card-copy { padding: 18px; }
  .blog-card-copy h2 { font-size: 20px; }
  .blog-sidebar { display: grid; grid-template-columns: 1fr; }
  .pagination { flex-wrap: wrap; gap: 12px; }
  .contact-form-card { padding: 22px 18px 28px; }
  .demo-captcha { flex-wrap: wrap; }
}

/* Teaching English */
.te-banner { position: relative; overflow: hidden; container-type: inline-size; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 28px; background: var(--purple); color: #fff; }
.te-banner-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 4.2cqw 4.2cqw; z-index: 1; }
.te-logo { display: flex; align-items: center; gap: 1.2cqw; font-size: 3.1cqw; font-weight: 700; line-height: .9; letter-spacing: -.02em; }
.te-logo .brand-symbol { width: auto; grid-template-columns: repeat(2, 2.6cqw); grid-template-rows: repeat(2, 2.6cqw); gap: .35cqw; }
.te-banner-copy strong { margin-top: 10cqw; font-size: 6.4cqw; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.te-line { width: 6.8cqw; height: .5cqw; margin: 3.4cqw 0 2.8cqw; background: var(--cyan); }
.te-sub { font-size: 4.6cqw; line-height: 1.1; }
.te-accent { margin-top: 2.6cqw; color: #2fd6f2; font-size: 3.6cqw; line-height: 1.05; }
.te-shapes { position: absolute; inset: 0; }
.te-hex { position: absolute; display: block; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
.te-hex-blue { right: -6cqw; top: -8cqw; width: 22cqw; height: 26cqw; background: #0868c8; }
.te-hex-cyan { left: 59cqw; top: 14cqw; width: 22cqw; height: 22cqw; background: #00d2f0; }
.te-hex-light { right: 3cqw; bottom: -14cqw; width: 42cqw; height: 40cqw; background: #8fd3ff; }
.te-hex-photo { right: 0; top: 13cqw; width: 30cqw; height: 28cqw; background: #fff; }
.te-hex-photo img { width: 100%; height: 100%; object-fit: cover; }
.te-banner-thumb { margin: 0; }
.systems-area-card .te-banner-copy strong { display: block; margin: 10cqw 0 0; color: #fff; font-size: 6.4cqw; font-weight: 700; line-height: 1; text-decoration: none; }
.systems-area-card > .te-banner-thumb { width: 202px; }
.outline-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin: 6px 0 10px; padding: 10px 36px; border: 2px solid var(--purple); border-radius: 30px; color: var(--purple); font-size: 14px; text-align: center; text-decoration: none; }
.reference-copy a.outline-pill:hover { background: var(--purple); color: #fff; }
.te-page .subheading-large { margin-top: 34px; color: #55585b; }
.reference-copy h2.subheading-large { color: #55585b; }
.reference-copy a.systems-area-card { color: var(--copy); }
.share-links { display: flex; gap: 26px; margin-top: 30px; }
.share-links a { display: block; width: 36px; height: 36px; }
.share-links svg { width: 100%; height: 100%; fill: #111; }
.share-links a:hover svg { fill: var(--purple); }
.sidebar-links .sidebar-sublink { position: relative; padding: 6px 0 6px 18px; font-size: 13px; }
.sidebar-links .sidebar-sublink::before { content: ""; position: absolute; left: 0; top: 15px; width: 11px; height: 1px; background: var(--purple); }
.sidebar-dots { display: block; height: 4px; margin: 18px 0 6px; background: radial-gradient(circle, #ec00a8 1.6px, transparent 2px) 0 0 / 10px 4px repeat-x; }
@media (max-width: 700px) {
  .systems-area-card > .te-banner-thumb { width: 120px; }
  .outline-pill { width: 100%; padding-inline: 18px; }
}

/* Icono de Eventos y tarjeta de Alianzas (imágenes del sitio) */
.systems-event-icon { border: 0; width: 50px; height: 50px; }
.systems-event-icon img { display: block; width: 50px; height: 50px; }

/* Tarjeta de Alianzas: texto al pasar el mouse */
.promo-media { position: relative; overflow: hidden; }
.promo-media img { display: block; }
.promo-overlay { position: absolute; inset: 0; display: flex; align-items: center; padding: 22px 20px; background: rgba(20, 20, 25, .78); color: #fff; font-size: 17px; line-height: 1.45; opacity: 0; transition: opacity .25s ease; }
.promo-card:hover .promo-overlay, .promo-card:focus-visible .promo-overlay { opacity: 1; }

/* Aprende Inglés */
.ap-page { width: 100%; }
.ap-hero { position: relative; height: 440px; overflow: hidden; border-radius: 4px; }
.ap-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-hero-card { position: absolute; left: 4%; top: 50%; transform: translateY(-50%); width: min(380px, 44%); padding: 30px 28px; background: #fff; border-radius: 18px; color: var(--purple); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.ap-hero-card h1 { margin: 0 0 14px; font-size: 30px; line-height: 1.15; font-weight: 700; }
.ap-hero-card p { margin: 14px 0 18px; color: var(--copy); font-size: 16px; line-height: 1.5; }
.ap-hero-card .pill-button { display: inline-flex; min-height: 44px; padding-inline: 22px; font-size: 14px; }
.ap-intro { margin: 40px 0 10px; }
.ap-intro p { color: var(--copy); line-height: 1.6; }
.ap-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 56px 0; }
.ap-feature img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ap-feature h2 { margin: 0 0 14px; color: var(--purple); font-size: 26px; font-weight: 400; line-height: 1.25; }
.ap-feature p { color: var(--copy); line-height: 1.6; }
.ap-feature-reverse img { order: 2; }
.ap-benefits { margin: 40px 0 10px; }
.ap-benefits ul { padding-left: 22px; color: var(--copy); line-height: 1.7; }
@media (max-width: 700px) {
  .ap-hero { height: auto; }
  .ap-hero-img { height: 260px; }
  .ap-hero-card { position: relative; left: auto; top: auto; transform: none; width: auto; margin: -50px 12px 0; padding: 22px 20px; }
  .ap-hero-card h1 { font-size: 23px; }
  .ap-feature { grid-template-columns: 1fr; gap: 18px; margin: 36px 0; }
  .ap-feature-reverse img { order: 0; }
  .ap-feature h2 { font-size: 22px; }
}

.ap-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 40px 0; }
.ap-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Páginas sin barra lateral ocupan todo el ancho (Aprende Inglés) */
.reference-layout:has(> .reference-main-column > .ap-page) { grid-template-columns: minmax(0, 1fr); }

/* Banner de Aprende Inglés: tarjeta pegada a la parte inferior, como en la captura */
.ap-hero { height: 640px; }
.ap-hero-img { object-position: 70% center; }
.ap-hero-card { top: auto; bottom: 0; transform: none; left: 4%; width: min(430px, 36%); padding: 40px 40px 44px; border-radius: 22px 22px 0 0; box-shadow: none; }
.ap-hero-card h1 { font-size: 34px; }
.ap-hero-card p { font-size: 18px; }
@media (max-width: 700px) {
  .ap-hero { height: auto; }
  .ap-hero-card { bottom: auto; border-radius: 18px; }
}

/* Banner de Aprende Inglés de lado a lado de la pantalla */
.ap-hero { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
body:has(.ap-hero) { overflow-x: hidden; }
@media (max-width: 700px) {
  .ap-hero { width: auto; left: auto; margin-left: 0; }
}

/* Aprende Inglés: banner sin ruta de navegación y tarjeta más ancha, como en la captura */
.ap-hero-card { width: min(440px, 42%); }
.reference-layout:has(> .reference-main-column > .ap-page) .reference-content > .reference-breadcrumb { display: none; }

/* Aprende Inglés: banner pegado a la barra morada (sin espacio arriba) */
.reference-content[data-page="aprende-ingles"] { padding-top: 0; }

/* Aprende Inglés: textos bajo el banner, títulos enlazados y video */
.ap-intro { margin: 44px 0 10px; color: var(--copy); font-size: 16px; line-height: 1.6; }
.ap-intro p { margin: 0 0 22px; }
.ap-intro strong { color: #333; }
.ap-intro-title { margin: 0 0 22px; color: var(--purple); font-size: 30px; font-weight: 700; line-height: 1.2; }
.ap-intro-subtitle { margin: 30px 0 22px; color: #55585b; font-size: 26px; font-weight: 400; line-height: 1.25; }
.ap-intro-question { margin: 28px 0 22px; color: #55585b; font-size: 19px; font-weight: 700; }
.ap-intro .pill-button { display: inline-flex; min-height: 54px; padding-inline: 36px; font-size: 16px; }
.ap-video { background: #000; }
.ap-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.ap-feature h2 a { color: inherit; text-decoration: none; }
.ap-feature h2 a:hover, .ap-feature h2 a:focus-visible { text-decoration: underline; }
@media (max-width: 700px) {
  .ap-intro-title { font-size: 24px; }
  .ap-intro-subtitle { font-size: 21px; }
  .ap-intro .pill-button { width: 100%; padding-inline: 18px; text-align: center; }
}

/* Aprende Inglés: bloques de cursos de borde a borde (imagen media pantalla + texto) */
.ap-feature { width: 100vw; position: relative; left: 50%; margin: 70px 0 70px -50vw; grid-template-columns: 1fr 1fr; gap: 0; }
.ap-feature img { aspect-ratio: 16 / 9; height: auto; }
.ap-feature > div { padding: 0 60px; }
.ap-feature h2 { margin-bottom: 18px; font-size: 30px; font-weight: 700; }
.ap-feature p { margin: 0; font-size: 16px; }
@media (max-width: 700px) {
  .ap-feature { grid-template-columns: 1fr; gap: 18px; margin: 40px 0 40px -50vw; }
  .ap-feature > div { padding: 0 16px; }
  .ap-feature h2 { font-size: 23px; }
}

/* Ancho de borde a borde sin contar la barra de desplazamiento (--sbw lo calcula captura.js) */
.ap-hero, .ap-feature { width: calc(100vw - var(--sbw, 0px)); margin-left: calc(-50vw + var(--sbw, 0px) / 2); }
@media (max-width: 700px) {
  .ap-hero { width: auto; margin-left: 0; }
}

/* Aprende Inglés: ¿Qué recibirás?, testimonio y recuadro final */
.ap-receive { margin: 60px 0 0; color: var(--copy); font-size: 16px; line-height: 1.6; }
.ap-receive h2, .ap-testimonial h2 { margin: 0 0 26px; color: var(--purple); font-size: 24px; font-weight: 700; line-height: 1.25; }
.ap-receive h3 { margin: 24px 0 14px; color: #4a4a4f; font-size: 18px; font-weight: 700; }
.ap-receive ul { margin: 0 0 8px; padding-left: 20px; }
.ap-receive li { margin-bottom: 6px; }
.ap-receive li strong, .ap-receive li em { color: #4a4a4f; }
.ap-receive p { margin: 0 0 8px; }
.ap-receive a { color: var(--purple); text-decoration: none; }
.ap-receive a:hover { text-decoration: underline; }
.ap-testimonial { margin: 70px 0 0; }
.ap-testimonial blockquote { position: relative; margin: 0; padding: 26px 0 30px 38px; color: var(--copy); font-size: 17px; line-height: 1.65; }
.ap-testimonial blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 6px; background: var(--cyan); }
.ap-testimonial blockquote p { margin: 0 0 22px; }
.ap-testimonial cite { font-style: normal; color: #333; }
.ap-cta { position: relative; left: 50%; width: min(1220px, calc(100vw - var(--sbw, 0px) - 32px)); margin: 80px 0 60px; transform: translateX(-50%); padding: 40px 24px 66px; background: #e9eced; border-radius: 40px 6px 40px 6px; }
.ap-cta-inner { max-width: 940px; margin: 0 auto; }
.ap-cta h2 { margin: 0 0 22px; color: var(--purple); font-size: 22px; font-weight: 700; }
.ap-cta p { margin: 0 0 24px; color: var(--copy); font-size: 16px; line-height: 1.6; }
.ap-cta .pill-button { display: inline-flex; min-height: 50px; padding-inline: 36px; font-size: 15px; }
@media (max-width: 700px) {
  .ap-testimonial blockquote { padding-left: 26px; font-size: 16px; }
  .ap-cta { padding: 30px 18px 40px; border-radius: 28px 6px 28px 6px; }
  .ap-cta .pill-button { width: 100%; }
}

/* Página Examen IELTS en Colombia */
.ielts-layout { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(255px, 1fr); align-items: start; gap: 20px; }
.ielts-aside-col { display: flex; flex-direction: column; gap: 20px; }
.ielts-lead { margin: 0 0 24px; color: var(--copy); font-size: 17px; line-height: 1.6; }
.ielts-cta-band { margin: 0 0 30px; padding: 26px 20px; background: var(--mist); text-align: center; }
.ielts-cta-band .pill-button { min-height: 52px; padding-inline: 34px; font-size: 15px; }
.ielts-video { margin: 0 0 26px; overflow: hidden; }
.ielts-video .video-channel { height: 60px; display: flex; align-items: center; gap: 12px; padding: 9px 20px; background: linear-gradient(180deg, #2c2c2c, #6f6f6f); color: #fff; }
.ielts-video .video-channel-mark { width: 32px; height: 32px; flex: 0 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; padding: 7px; border-radius: 50%; background: #00a19a; }
.ielts-video .video-channel-mark i { border-radius: 50%; background: #fff; }
.ielts-video .video-channel strong { display: block; font-size: 15px; }
.ielts-video .video-channel small { display: block; font-size: 12px; opacity: .85; }
.ielts-video-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.ielts-outline-wrap { margin: 0 0 34px; text-align: center; }
.ielts-outline-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 40px; border: 2px solid var(--purple); border-radius: 30px; color: var(--purple); font-size: 16px; text-align: center; text-decoration: none; }
.ielts-outline-pill:hover { background: var(--purple); color: #fff; }
.ielts-h-purple { margin: 0 0 20px; color: var(--purple); font-size: 24px; font-weight: 700; line-height: 1.25; }
.ielts-h-purple-sm { margin: 26px 0 16px; color: var(--purple); font-size: 19px; font-weight: 700; }
.ielts-h-grey { margin: 34px 0 20px; color: #55585b; font-size: 26px; font-weight: 700; line-height: 1.25; }
.ielts-arrow-link { color: var(--purple); font-weight: 700; }
.ielts-arrow-link a { color: var(--purple); font-weight: 700; text-decoration: none; }
.ielts-arrow-link a:hover { text-decoration: underline; }
.ielts-link-ico { display: inline-block; font-size: 13px; color: var(--purple); }
.ielts-steps { margin: 0 0 22px; padding-left: 22px; color: var(--copy); line-height: 1.6; }
.ielts-steps li { margin-bottom: 10px; }
.ielts-steps a, .reference-copy .ielts-steps a { color: var(--purple); font-weight: 700; text-decoration: none; }
.ielts-steps a:hover { text-decoration: underline; }
.ielts-skills { margin: 20px 0 30px; }
.ielts-skills-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ielts-skills-table th, .ielts-skills-table td { padding: 16px 16px; border: 1px solid #d7dadd; text-align: left; vertical-align: top; line-height: 1.5; color: var(--copy); }
.ielts-skills-table thead th { background: var(--mist); color: var(--purple); font-weight: 700; font-size: 15px; }
.ielts-skills-table tbody th { color: var(--purple); font-weight: 700; width: 130px; }
.ielts-skills-table tbody th a { color: var(--purple); text-decoration: none; }
.ielts-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 44px; margin: 40px 0; }
.ielts-card { display: block; color: var(--copy); text-decoration: none; }
.ielts-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 18px; }
.ielts-card strong { display: block; margin: 0 0 12px; color: #2b2170; font-size: 22px; font-weight: 400; line-height: 1.25; }
.ielts-card > span { display: block; font-size: 15px; line-height: 1.55; }
.ielts-card:hover strong { text-decoration: underline; }
.ielts-share { margin: 46px 0 10px; }
.ielts-share h2 { margin: 0 0 20px; color: #666; font-size: 22px; font-weight: 400; }
.ielts-sidebar .sidebar-links strong { color: #b10067; }
.ielts-promo { display: block; overflow: hidden; background: #fff; color: var(--purple); text-decoration: none; }
.ielts-promo img { display: block; width: 100%; aspect-ratio: 266 / 150; object-fit: cover; }
.ielts-promo span { display: block; padding: 20px; font-size: 16px; line-height: 1.4; }
.ielts-promo:hover span { text-decoration: underline; }
@media (max-width: 900px) {
  .ielts-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr); }
}
@media (max-width: 760px) {
  .ielts-layout { grid-template-columns: 1fr; gap: 26px; }
  .ielts-h-grey { font-size: 22px; }
  .ielts-cta-band .pill-button { width: 100%; }
  .ielts-skills-table, .ielts-skills-table thead, .ielts-skills-table tbody, .ielts-skills-table tr, .ielts-skills-table th, .ielts-skills-table td { display: block; }
  .ielts-skills-table thead { display: none; }
  .ielts-skills-table tr { margin-bottom: 16px; border: 1px solid #d7dadd; }
  .ielts-skills-table td, .ielts-skills-table tbody th { border: 0; border-bottom: 1px solid #eee; width: auto; }
  .ielts-cards { grid-template-columns: 1fr; gap: 30px; }
}

/* Menú lateral "En esta sección" plegable en celular */
.section-toggle { display: none; }
@media (max-width: 760px) {
  .reference-layout, .ielts-layout { display: flex; flex-direction: column; }
  .ielts-aside-col { display: contents; }
  .reference-sidebar { order: -1; padding: 0; background: transparent; }
  .reference-sidebar > h2 { display: none; margin: 0; padding: 14px 18px; background: var(--mist); color: #55585b; font-size: 17px; }
  .reference-sidebar > h2::before { display: none; }
  .reference-sidebar .sidebar-links { display: none; }
  .reference-sidebar.is-open > h2 { display: block; }
  .reference-sidebar.is-open .sidebar-links { display: flex; }
  .section-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 66%; min-width: 220px; margin-left: auto; min-height: 56px; padding: 12px 20px; border: 0; background: var(--purple); color: #fff; font-size: 17px; text-align: left; cursor: pointer; }
  .section-toggle-ico { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 24px; height: 18px; }
  .section-toggle-ico i { display: block; width: 24px; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .reference-sidebar.is-open .section-toggle-ico i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .reference-sidebar.is-open .section-toggle-ico i:nth-child(2) { opacity: 0; }
  .reference-sidebar.is-open .section-toggle-ico i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ielts-promo { order: 2; }
}

/* Página Examen IELTS para UKVI */
.ukvi-page .systems-hero { aspect-ratio: 16 / 10; margin-bottom: 26px; }
.ukvi-price-table tbody th { width: auto; }
.ukvi-h-italic { font-style: italic; font-weight: 400; }
.ukvi-levels { margin: 0 0 22px; padding-left: 22px; color: var(--copy); line-height: 1.6; }
.ukvi-levels li { margin-bottom: 14px; }
.ukvi-subtitle { margin: 30px 0 14px; color: #55585b; font-size: 20px; font-weight: 400; }
.ukvi-accordion { margin: 10px 0 20px; }
.ukvi-acc { border-bottom: 1px solid #d7dadd; background: #f4f2f7; }
.ukvi-acc:first-child { border-top: 1px solid #d7dadd; }
.ukvi-acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 22px; border: 0; background: transparent; color: var(--purple); font-size: 16px; text-align: left; cursor: pointer; }
.ukvi-acc-ico { font-size: 22px; line-height: 1; }
.ukvi-acc.is-open .ukvi-acc-ico { transform: rotate(45deg); }
.ukvi-acc-body { display: none; padding: 0 22px 18px; color: var(--copy); line-height: 1.6; }
.ukvi-acc.is-open .ukvi-acc-body { display: block; }

/* UKVI: ajuste fino para igualar la referencia */
.ukvi-page .systems-hero { aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: center 30%; margin-bottom: 0; }
.ukvi-page .ielts-register { margin: 0 0 30px; padding: 22px 20px 24px; text-align: left; }
.ukvi-page .ielts-register p { margin: 0 0 18px; max-width: none; font-size: 15px; color: var(--copy); }
.ukvi-page .ielts-register .pill-button { display: inline-flex; min-height: 50px; padding-inline: 36px; font-size: 15px; }
.ukvi-page .ielts-register-band { display: flex; flex-direction: column; align-items: center; }
.ukvi-page .ielts-register:first-of-type { margin-top: 0; }
.ukvi-price-table td { font-size: 15px; }
.ukvi-page .ukvi-subtitle { margin: 36px 0 10px; }

/* UKVI v2: cuadro de registro centrado y tabla de precios como la referencia */
.ukvi-page .ielts-register { background: #e9eced; padding: 26px 24px 28px; text-align: center; margin: 0 0 30px; }
.ukvi-page .ielts-register p { margin: 0 0 22px; color: var(--copy); font-size: 15px; text-align: center; max-width: none; }
.ukvi-page .ielts-register .pill-button { display: inline-flex; margin: 0 auto; min-height: 50px; padding-inline: 44px; font-size: 15px; }
.ukvi-price-table th a { color: #23065d; font-weight: 700; font-size: 14px; text-decoration: none; }
.ukvi-price-table th a:hover { text-decoration: underline; }
.ukvi-price-table thead th { background: #e9eced; color: #23065d; font-weight: 700; }
.ukvi-price-table td { color: #53565a; font-size: 15px; }
.ukvi-price-table tbody th { font-weight: 700; color: #23065d; }

/* Página Administración de exámenes internacionales */
.admin-hero { aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 26px; }

/* Página British Council Partner Schools */
.colegios-cta { margin: 0 0 26px; }
.colegios-cta .pill-button { display: inline-flex; min-height: 52px; padding-inline: 44px; font-size: 15px; }
.colegios-hero { aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 26px; }
