:root {
    --color-primary: #1a365d;
    --color-primary-dark: #122847;
    --color-brand-blue: #3a6fa5;
    --color-brand-blue-light: #5a8fc4;
    --color-brand-orange: #e8941f;
    --color-accent: #c9a227;
    --color-accent-light: #e8c96a;
    --color-bg: #ffffff;
    --color-bg-soft: #f5f7fa;
    --color-text: #1a1a1a;
    --color-text-muted: #5a6472;
    --color-border: #e2e8f0;
    --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --max-width: 76rem;
    --topbar-height: 2.5rem;
    --nav-height: 4.5rem;
    --nav-banner-height: calc(var(--nav-height) * 1.62);
    --nav-banner-height-compact: calc(var(--nav-banner-height) * 2 / 3);
    --wordmark-max-width: min(100%, 36rem);
    --wordmark-scale: 1.14;
    --wordmark-scale-compact: 0.76;
    --nav-menu-block-height: 2.2rem;
    --tree-max-height: calc(var(--nav-banner-height) - 0.35rem);
    --tree-max-height-compact: calc(var(--nav-banner-height-compact) - 0.3rem);
    --orb-blue: #b8d9f0;
    --orb-orange: #f3d9a6;
    --banner-compact-ratio: 0.6666667;
    --shadow-sm: 0 1px 3px rgba(26, 54, 93, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 54, 93, 0.12);
    --radius: 0.75rem;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

img,
video,
iframe {
    max-width: 100%;
}

a {
    color: inherit;
}

/* ── Top bar ─────────────────────────────────────────────── */

.topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--color-primary-dark);
    color: #fff;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow var(--transition);
}

.topbar.is-scrolled {
    box-shadow: var(--shadow-md);
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: var(--topbar-height);
    padding: 0 clamp(0.75rem, 2vw, 1.5rem);
}

.topbar__left,
.topbar__right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.5rem;
}

.topbar__right {
    justify-content: flex-end;
    margin-left: auto;
}

.topbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: #fff;
    opacity: 0.9;
    transition: opacity var(--transition), color var(--transition);
}

.topbar__icon:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

.topbar__icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.topbar__marquee {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.topbar__marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee var(--marquee-speed, 40s) linear infinite;
}

.topbar__marquee-item {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.92);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.topbar__dropdown {
    position: relative;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.topbar__dropdown + .topbar__dropdown {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0.5rem;
    margin-left: 0.15rem;
}

.topbar__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: var(--topbar-height);
    padding: 0 0.65rem;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}

.topbar__dropdown-toggle:hover,
.topbar__dropdown.is-open .topbar__dropdown-toggle,
.topbar__dropdown:focus-within .topbar__dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.topbar__dropdown-icon,
.topbar__chevron {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
    flex-shrink: 0;
}

.topbar__chevron {
    opacity: 0.85;
}

.flag-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 1.35rem;
    height: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.flag-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.topbar__dropdown-panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 200;
    min-width: 12.5rem;
    padding: 0.35rem 0;
    background: #fff;
    color: var(--color-text);
    border-radius: 0 0 0.35rem 0.35rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.topbar__dropdown-panel--hours {
    min-width: 17rem;
    padding: 0.5rem 0;
}

.topbar__dropdown:hover .topbar__dropdown-panel,
.topbar__dropdown:focus-within .topbar__dropdown-panel,
.topbar__dropdown.is-open .topbar__dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.topbar__hours-row {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.topbar__hours-row + .topbar__hours-row {
    border-top: 1px solid var(--color-border);
}

.topbar__hours-day {
    color: var(--color-text-muted);
}

.topbar__hours-time {
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

/* ── GTranslate (wie Zeniamar6) ─────────────────────────────── */

.topbar__gtranslate {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--topbar-height);
    padding-left: 0.5rem;
    margin-left: 0.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* dwf.js fallback: never pin switcher to viewport corner */
.gt_switcher_wrapper {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.topbar__gtranslate .gtranslate_wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.topbar__gtranslate .gt_switcher {
    width: auto !important;
    min-width: 8.5rem;
    font-size: 0.8125rem !important;
    line-height: 1.2 !important;
}

.topbar__gtranslate .gt_switcher .gt_selected {
    background: transparent !important;
}

.topbar__gtranslate .gt_switcher .gt_selected a {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    width: auto !important;
    min-width: 8rem;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem !important;
    color: #fff !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0.8125rem !important;
    line-height: 1.2 !important;
    box-sizing: border-box;
}

.topbar__gtranslate .gt_switcher .gt_selected a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.25rem;
}

.topbar__gtranslate .gt_switcher .gt_selected a img {
    width: 16px !important;
    height: 16px !important;
    margin-right: 0.15rem !important;
}

.topbar__gtranslate .gt_switcher .gt_option {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 300;
    min-width: 11rem !important;
    width: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
    border-radius: 0 0 0.35rem 0.35rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.topbar__gtranslate.is-open .gt_switcher .gt_option {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.topbar__gtranslate .gt_switcher .gt_option a {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    width: auto !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    color: var(--color-text) !important;
}

.topbar__gtranslate .gt_switcher .gt_option a img {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}

.topbar__gtranslate .gt_switcher .gt_option a:hover {
    background: var(--color-bg-soft) !important;
    color: var(--color-primary) !important;
}

/* Horizontal flags widget (widget: flags) */
.topbar__gtranslate .gtranslate_wrapper > a.glink img {
    width: 16px !important;
    height: 16px !important;
}

.topbar__gtranslate .gtranslate_wrapper > a.glink:hover {
    transform: scale(1.15) translateY(-1px);
}

.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}

/* ── Main navigation ───────────────────────────────────────── */

.main-nav-sentinel {
    width: 100%;
    height: 1px;
    margin: 0;
    pointer-events: none;
    visibility: hidden;
}

.main-nav-spacer {
    height: 0;
    pointer-events: none;
}

.main-nav-wrap.is-compact .main-nav-spacer {
    height: var(--nav-banner-height);
}

.main-nav {
    position: relative;
    z-index: 150;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.main-nav-wrap.is-compact .main-nav {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.main-nav__decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.main-nav__orb {
    position: absolute;
    width: var(--orb-size);
    height: var(--orb-size);
    border-radius: 50%;
    opacity: 0.92;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav.is-compact .main-nav__orb {
    width: calc(var(--orb-size) * var(--banner-compact-ratio));
    height: calc(var(--orb-size) * var(--banner-compact-ratio));
}

.main-nav__orb--blue {
    background: var(--orb-blue);
}

.main-nav__orb--orange {
    background: var(--orb-orange);
}

.main-nav__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: var(--nav-banner-height);
    padding: 0.2rem 1.25rem calc(var(--nav-menu-block-height) + 0.12rem);
    text-align: center;
    transition: min-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav.is-compact .main-nav__inner {
    min-height: var(--nav-banner-height-compact);
    padding: 0.2rem 1.25rem calc(var(--nav-menu-block-height) + 0.12rem);
}

.main-nav__brand {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: calc(var(--nav-banner-height) - var(--nav-menu-block-height) - 0.32rem);
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav.is-compact .main-nav__brand {
    height: calc(var(--nav-banner-height-compact) - var(--nav-menu-block-height) - 0.32rem);
}

.main-nav__tree {
    position: absolute;
    bottom: 0.12rem;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    line-height: 0;
}

.main-nav__tree--left {
    left: 1.25rem;
}

.main-nav__tree img {
    display: block;
    height: var(--tree-max-height);
    max-height: var(--tree-max-height);
    width: auto;
    object-fit: contain;
    object-position: left bottom;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav.is-compact .main-nav__tree img {
    height: var(--tree-max-height-compact);
    max-height: var(--tree-max-height-compact);
}

.main-nav__wordmark {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0.25rem;
    text-decoration: none;
    pointer-events: none;
}

.main-nav__wordmark-inner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    max-width: var(--wordmark-max-width);
    transform: scale(var(--wordmark-scale));
    transform-origin: center bottom;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    pointer-events: auto;
}

.main-nav__wordmark img {
    display: block;
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.main-nav.is-compact .main-nav__wordmark-inner {
    transform: scale(var(--wordmark-scale-compact));
}

.main-nav__wordmark--text .main-nav__wordmark-inner {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--color-brand-blue);
    line-height: 1.1;
}

.main-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.main-nav__toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    background: var(--color-primary);
    transition: transform var(--transition), opacity var(--transition);
}

.main-nav__menu {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0.12rem;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: var(--nav-menu-block-height);
}

.main-nav.is-compact .main-nav__list {
    justify-content: center;
}

.main-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__item a {
    display: inline-block;
    position: relative;
    padding: 0.35rem 0.15rem 0.65rem;
    text-decoration: none;
    color: var(--color-brand-blue);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.main-nav__item a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 2px;
    background: var(--color-brand-orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.main-nav__item a:hover,
.main-nav__item a:focus-visible {
    color: var(--color-brand-blue-light);
}

.main-nav__item a:hover::after,
.main-nav__item a:focus-visible::after {
    transform: scaleX(1);
}

.main-nav__item.is-active a {
    color: var(--color-brand-blue-light);
}

.main-nav__item.is-active a::after {
    transform: scaleX(1);
}

/* ── Hero video ────────────────────────────────────────────── */

.hero-video {
    position: relative;
    min-height: clamp(32rem, 82vh, 48rem);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
}

.hero-video__media {
    position: absolute;
    inset: 0;
}

.hero-video__player,
.hero-video__embed,
.hero-video__fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.hero-video__fallback {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2c5282 45%, #1a365d 100%);
    background-size: cover;
    background-position: center;
}

.hero-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 40, 71, 0.55) 0%,
        rgba(18, 40, 71, 0.72) 100%
    );
}

.hero-video__content {
    position: relative;
    z-index: 1;
    max-width: 46rem;
    padding: 2rem 1.5rem;
    text-align: center;
}

.hero-video__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--color-accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8125rem;
}

.hero-video__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.12;
}

.hero-video__subtitle {
    margin: 0 auto 1.75rem;
    max-width: 38rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.92);
}

.hero-video__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn--primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn--ghost {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn--on-light.btn--primary {
    background: var(--color-primary);
    color: #fff;
}

.btn--on-light.btn--primary:hover {
    background: var(--color-brand-blue);
}

.btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn--outline:hover {
    background: var(--color-bg-soft);
    transform: translateY(-2px);
}

.btn--on-light.btn--outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ── Sections & cards ──────────────────────────────────────── */

.site-main {
    min-height: 40vh;
}

.section {
    padding: clamp(3rem, 6vw, 5rem) 1.25rem;
}

.section--courses {
    background: var(--color-bg-soft);
}

.section__lead--courses {
    max-width: none;
    white-space: nowrap;
}

.section--home-trust {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 55%, var(--color-bg-soft) 100%);
    padding-block: clamp(2rem, 4vw, 3.25rem);
}

.home-trust__block--features .section__header,
.home-trust__block--reviews .section__header {
    margin-bottom: 1.35rem;
}

.section__title--subsection {
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.section__lead--compact {
    font-size: 0.95rem;
    max-width: 36rem;
}

.home-trust__block--split {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
    border-top: 1px solid rgba(26, 54, 93, 0.1);
}

.home-trust__block--reviews .reviews-marquee {
    margin-top: 1.35rem;
}

.section__footer-link--tight {
    margin-top: 1rem;
    margin-bottom: 0;
}

.section--highlights {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 100%);
}

.section--page {
    padding-top: 2.5rem;
}

.section--contacto {
    padding-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

.section--nosotros {
    padding-top: 2rem;
    padding-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section__inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.section__header {
    margin-bottom: 2rem;
}

.section__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--color-primary);
    line-height: 1.15;
}

.section__lead {
    margin: 0;
    max-width: 42rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.55rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
}

.card__title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.card__subtitle {
    margin: 0 0 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.875rem;
}

.card__text {
    margin: 0 0 1rem;
    flex: 1;
    color: var(--color-text-muted);
}

.card__link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.card__link:hover {
    color: var(--color-accent);
}

.feature-chip-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.65rem 0.75rem;
    max-width: 52rem;
    margin-inline: auto;
}

.feature-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    min-height: 0;
    padding: 0.65rem 0.55rem 0.7rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
    border: 1.5px solid rgba(232, 148, 31, 0.35);
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.06);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 148, 31, 0.65);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.09);
}

.feature-chip__star {
    display: block;
    font-size: 0.95rem;
    line-height: 1;
    color: var(--color-brand-orange);
    letter-spacing: 0.05em;
}

.feature-chip__text {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-primary);
}

@media (min-width: 640px) {
    .feature-chip-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-chip {
        padding: 0.7rem 0.65rem 0.75rem;
    }

    .feature-chip__text {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-chip {
        transition: none;
    }

    .feature-chip:hover {
        transform: none;
    }
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.25rem;
}

.highlight {
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.highlight__image {
    height: 10rem;
    background: linear-gradient(135deg, var(--color-primary), #2c5282);
    background-size: cover;
    background-position: center;
}

.highlight__body {
    padding: 1.35rem;
}

.highlight__title {
    margin: 0 0 0.65rem;
    color: var(--color-primary);
    font-size: 1.15rem;
}

.highlight__text {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
}

.page-header__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-primary);
}

.page-header__lead {
    margin: 0 0 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.page-content :first-child {
    margin-top: 0;
}

.page-content h2,
.page-content h3 {
    color: var(--color-primary);
    line-height: 1.3;
}

.page-content h2 {
    margin: 0 0 1rem;
    font-size: 1.45rem;
}

.page-content h3 {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.2rem;
}

.page-content p {
    margin: 0 0 1rem;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.page-content li {
    margin: 0.3rem 0;
}

.page-content li > ul,
.page-content li > ol {
    margin: 0.35rem 0 0.5rem;
}

.page-content hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 2rem 0;
}

.page-content strong {
    color: var(--color-primary);
}

.page-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.page-content a:hover {
    color: var(--color-accent);
}

.section--notice {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -1.5rem;
}

.section__footer-link {
    margin: 1.75rem 0 0;
    text-align: center;
}

.page-notice {
    margin: 0;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(90deg, rgba(232, 148, 31, 0.12), rgba(58, 111, 165, 0.12));
    border: 1px solid rgba(232, 148, 31, 0.35);
    border-radius: 999px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.page-notice--center {
    text-align: center;
}

.prose-block {
    max-width: 42rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
}

.prose-block p {
    margin: 0 0 1rem;
}

.page-intro {
    max-width: 52rem;
    margin: 0 0 2.5rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.page-intro p {
    margin: 0 0 1.15rem;
}

.page-intro p:last-child {
    margin-bottom: 0;
}

.page-intro--contacto {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    text-align: center;
}

.page-intro--contacto .page-intro__line {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

@media (min-width: 900px) {
    .page-intro--contacto .page-intro__line {
        white-space: nowrap;
    }
}

/* ── Price tiles (Precios) ─────────────────────────────────── */

.section--precios {
    background: linear-gradient(180deg, #fff 0%, #faf6ef 40%, #fff 100%);
}

.price-block {
    margin-bottom: 3rem;
}

.price-block__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-block__subtitle {
    margin: 0 0 2rem;
    color: var(--color-text-muted);
}

.price-group {
    margin-bottom: 2.25rem;
}

.price-group__title {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    color: var(--color-brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.price-group__note {
    margin: 0 0 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.price-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.35rem;
}

.price-tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.75rem 1.5rem 1.5rem;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 10px 28px rgba(26, 54, 93, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.9);
    text-align: center;
}

.price-tile__heading {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    color: var(--color-primary);
    font-weight: 700;
}

.price-tile__band {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin: 0 0 1rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: var(--color-brand-blue);
    color: #fff;
}

.price-tile--teal .price-tile__band {
    background: #3a9fb8;
}

.price-tile--orange .price-tile__band {
    background: #f0a040;
    color: var(--color-primary-dark);
}

.price-tile--blue .price-tile__band {
    background: var(--color-brand-blue);
}

.price-tile__band--secondary {
    margin-top: -0.35rem;
    background: #5a8fc4;
}

.price-tile__amount {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}

.price-tile__suffix {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
}

.price-tile__trial-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-tile__bonus-label {
    margin: 0.25rem 0 0.15rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.price-tile__bonus {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-tile__features {
    margin: auto 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    width: 100%;
}

.price-tile__features li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.65rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.price-tile__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2f9e44;
    font-weight: 800;
}

/* ── Team ──────────────────────────────────────────────────── */

.section--nosotros {
    background: linear-gradient(180deg, #faf7f2 0%, #fff 28%);
}

.section__header--team {
    text-align: center;
    margin-bottom: 2.25rem;
}

.section__header--team .section__title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 999px;
    background: var(--color-accent);
}

.section__lead--team {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(1.1rem, 1.35vw, 1.22rem);
    line-height: 1.38;
    text-wrap: balance;
}

.team-profile-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.75rem;
    margin-bottom: 0;
    padding: 0.75rem 0 1.25rem;
    overflow: visible;
}

.team-profile-grid .team-profile-card {
    grid-column: span 2;
    width: 100%;
    max-width: 22rem;
    justify-self: center;
}

/* Five cards: center Luis & Irene in the second row */
.team-profile-grid .team-profile-card:nth-child(4):nth-last-child(2) {
    grid-column: 2 / span 2;
}

.team-profile-grid .team-profile-card:nth-child(5):last-child {
    grid-column: 4 / span 2;
}

@media (max-width: 959px) {
    .team-profile-grid {
        grid-template-columns: repeat(auto-fill, minmax(17.5rem, 22rem));
        justify-content: center;
    }

    .team-profile-grid .team-profile-card {
        grid-column: auto;
    }

    .team-profile-grid .team-profile-card:nth-child(4):nth-last-child(2),
    .team-profile-grid .team-profile-card:nth-child(5):last-child {
        grid-column: auto;
    }
}

.team-profile-card {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid rgba(232, 148, 31, 0.45);
    border-radius: 0.65rem;
    box-shadow: 0 10px 28px rgba(26, 54, 93, 0.1);
    overflow: hidden;
    text-align: center;
    transform-origin: center center;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.team-profile-card:hover,
.team-profile-card:focus-within {
    z-index: 3;
    transform: translateY(-0.65rem) scale(1.06);
    box-shadow: 0 22px 48px rgba(26, 54, 93, 0.22);
    border-color: var(--color-brand-orange);
}

.team-profile-card:hover .team-profile-card__photo,
.team-profile-card:focus-within .team-profile-card__photo {
    width: calc(100% * var(--photo-zoom) * 0.96);
    height: calc(100% * var(--photo-zoom) * 0.96);
}

.team-profile-card__media {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #e8f0f8, #dce8f4);
}

.team-profile-card__photo {
    --photo-zoom: 1.22;
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: calc(100% * var(--photo-zoom));
    height: calc(100% * var(--photo-zoom));
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center top;
    transition:
        width 0.32s ease,
        height 0.32s ease,
        transform 0.32s ease;
}

/* Nearly square portrait — pull back a touch more for waist-up framing */
.team-profile-card__photo--yasmin {
    --photo-zoom: 1.28;
}

.team-profile-card__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--color-brand-blue-light), var(--color-primary));
}

.team-profile-card__photo-placeholder span {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
}

.team-profile-card__rule {
    height: 3px;
    background: var(--color-primary);
}

.team-profile-card__body {
    padding: 1.15rem 1.25rem 1.35rem;
}

.team-profile-card__name {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.team-profile-card__name-text {
    font-weight: 700;
}

.team-profile-card__flag {
    display: block;
    width: 1.35rem;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(26, 54, 93, 0.12);
}

.team-profile-card__subjects {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-orange);
}

.team-profile-card__subjects-line {
    display: block;
}

.team-profile-card__subjects-line + .team-profile-card__subjects-line {
    margin-top: 0.2rem;
}

.team-profile-card__vita {
    padding: 0.85rem 0.95rem;
    background: #f2f6fa;
    border: 1px solid rgba(58, 111, 165, 0.18);
    border-radius: 0.5rem;
    text-align: center;
}

.team-profile-card__vita-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .team-profile-card,
    .team-profile-card__photo {
        transition: none;
    }

    .team-profile-card:hover,
    .team-profile-card:focus-within,
    .team-profile-card.reveal.is-visible:hover,
    .team-profile-card.reveal.is-visible:focus-within {
        transform: none;
    }

    .team-profile-card:hover .team-profile-card__photo,
    .team-profile-card:focus-within .team-profile-card__photo {
        width: calc(100% * var(--photo-zoom, 1.22));
        height: calc(100% * var(--photo-zoom, 1.22));
    }
}

.team-group-photo {
    margin: 0 auto 2.75rem;
    max-width: min(100%, 52rem);
    text-align: center;
}

.team-group-photo__img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 2rem;
    box-shadow: 0 16px 40px rgba(26, 54, 93, 0.14);
    border: 1px solid var(--color-border);
}

.team-group-photo__caption {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.team-group-collage {
    margin: 0 auto 2.75rem;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.team-group-collage__frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
}

.team-group-collage__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(12, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: clamp(16rem, 42vw, 28rem);
}

.team-group-collage__cell--1 {
    grid-column: 1 / 8;
    grid-row: 1 / 8;
}

.team-group-collage__cell--2 {
    grid-column: 8 / 13;
    grid-row: 1 / 7;
}

.team-group-collage__cell--3 {
    grid-column: 1 / 7;
    grid-row: 8 / 13;
}

.team-group-collage__cell--4 {
    grid-column: 7 / 13;
    grid-row: 7 / 13;
}

.team-group-collage__cell {
    position: relative;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 1.1rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 26px rgba(26, 54, 93, 0.12);
    background: linear-gradient(145deg, #e8f0f8, #dce8f4);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.team-group-collage__cell:hover,
.team-group-collage__cell:focus-within {
    z-index: 2;
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(26, 54, 93, 0.18);
    border-color: rgba(232, 148, 31, 0.45);
}

.team-group-collage__trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: zoom-in;
    text-align: inherit;
    font: inherit;
    color: inherit;
}

.team-group-collage__trigger:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.team-group-collage__zoom-icon {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.2);
    opacity: 0;
    transform: scale(0.85);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    pointer-events: none;
}

.team-group-collage__zoom-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.team-group-collage__zoom-icon::after {
    content: "";
    position: absolute;
    right: 0.38rem;
    bottom: 0.38rem;
    width: 0.45rem;
    height: 2px;
    background: var(--color-primary);
    transform: rotate(45deg);
    transform-origin: right bottom;
}

.team-group-collage__cell:hover .team-group-collage__zoom-icon,
.team-group-collage__cell:focus-within .team-group-collage__zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.team-group-collage__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.45s ease;
}

.team-group-collage__cell:hover .team-group-collage__img,
.team-group-collage__cell:focus-within .team-group-collage__img {
    transform: scale(1.06);
}

.team-group-collage__img--top {
    object-position: center top;
}

.team-group-collage__img--center {
    object-position: center center;
}

/* Portrait in landscape tile: oversize + clip = zoom out, box stays filled */
.team-group-collage__img--low {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 118%;
    height: 118%;
    object-fit: cover;
    object-position: center 36%;
    transform: translate(-50%, -50%);
}

.team-group-collage__cell:hover .team-group-collage__img--low,
.team-group-collage__cell:focus-within .team-group-collage__img--low {
    transform: translate(-50%, -50%) scale(1.06);
}

.team-group-collage__caption {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0.85rem auto 0;
    font-size: clamp(1.1rem, 1.35vw, 1.22rem);
    line-height: 1.38;
    color: var(--color-text-muted);
    text-wrap: balance;
}

.team-group-collage__decor {
    position: absolute;
    top: 50%;
    z-index: 0;
    width: min(22vw, 7.5rem);
    max-height: 95%;
    pointer-events: none;
    transform: translateY(-50%);
}

.team-group-collage__decor--left {
    left: max(-3.5rem, -7vw);
}

.team-group-collage__decor--right {
    right: max(-3.5rem, -7vw);
}

.team-group-collage__foliage {
    display: block;
    width: 100%;
    height: auto;
}

.team-group-collage__bubbles {
    position: absolute;
    inset: -8% -4%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.team-group-collage__bubble {
    position: absolute;
    border-radius: 50%;
    background: var(--bubble-bg, rgba(90, 143, 196, 0.28));
}

.team-group-collage__bubble--1 {
    top: 6%;
    right: 12%;
    width: min(4.5rem, 12vw);
    height: min(4.5rem, 12vw);
    --bubble-bg: rgba(90, 143, 196, 0.26);
}

.team-group-collage__bubble--2 {
    top: 2%;
    left: 38%;
    width: min(2.75rem, 7vw);
    height: min(2.75rem, 7vw);
    --bubble-bg: rgba(232, 201, 106, 0.45);
}

.team-group-collage__bubble--3 {
    top: 18%;
    left: 8%;
    width: min(1.35rem, 3.5vw);
    height: min(1.35rem, 3.5vw);
    --bubble-bg: rgba(90, 143, 196, 0.35);
}

.team-group-collage__bubble--4 {
    bottom: 22%;
    left: 4%;
    width: min(3.75rem, 10vw);
    height: min(3.75rem, 10vw);
    --bubble-bg: rgba(240, 215, 138, 0.5);
}

.team-group-collage__bubble--5 {
    bottom: 8%;
    right: 6%;
    width: min(4rem, 11vw);
    height: min(4rem, 11vw);
    --bubble-bg: rgba(232, 201, 106, 0.42);
}

.team-group-collage__bubble--6 {
    bottom: 32%;
    right: 22%;
    width: min(1.5rem, 4vw);
    height: min(1.5rem, 4vw);
    --bubble-bg: rgba(90, 143, 196, 0.32);
}

@media (min-width: 960px) {
    .team-group-collage__decor {
        width: min(10vw, 8.75rem);
    }

    .team-group-collage__decor--left {
        left: max(-4.25rem, -5.5vw);
    }

    .team-group-collage__decor--right {
        right: max(-4.25rem, -5.5vw);
    }

    .team-group-collage__bubble--1 {
        width: min(5.25rem, 9vw);
        height: min(5.25rem, 9vw);
    }

    .team-group-collage__bubble--5 {
        width: min(4.75rem, 8vw);
        height: min(4.75rem, 8vw);
    }
}

@media (max-width: 900px) {
    .team-group-collage__decor {
        width: min(16vw, 5rem);
        opacity: 0.65;
    }

    .team-group-collage__decor--left {
        left: -1rem;
    }

    .team-group-collage__decor--right {
        right: -1rem;
    }
}

@media (max-width: 640px) {
    .team-group-collage__decor,
    .team-group-collage__bubbles {
        display: none;
    }

    .team-group-collage__frame {
        padding: 0;
    }

    .team-group-collage__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
        gap: 0.5rem;
    }

    .team-group-collage__cell {
        aspect-ratio: 4 / 3;
    }

    .team-group-collage__cell--1,
    .team-group-collage__cell--2,
    .team-group-collage__cell--3,
    .team-group-collage__cell--4 {
        grid-column: auto;
        grid-row: auto;
    }

    .team-group-collage__cell--1 {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-group-collage__cell,
    .team-group-collage__img,
    .team-group-collage__zoom-icon {
        transition: none;
    }

    .team-group-collage__cell:hover,
    .team-group-collage__cell:focus-within {
        transform: none;
    }

    .team-group-collage__cell:hover .team-group-collage__img,
    .team-group-collage__cell:focus-within .team-group-collage__img,
    .team-group-collage__cell:hover .team-group-collage__img--low,
    .team-group-collage__cell:focus-within .team-group-collage__img--low {
        transform: none;
    }

    .team-group-collage__cell:hover .team-group-collage__img--low,
    .team-group-collage__cell:focus-within .team-group-collage__img--low {
        transform: translate(-50%, -50%);
    }
}

.team-collage-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    width: min(100vw, 100%);
    max-width: none;
    height: min(100vh, 100%);
    max-height: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.team-collage-lightbox::backdrop {
    background: rgba(20, 40, 68, 0.88);
}

.team-collage-lightbox__backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.team-collage-lightbox__scrim {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.team-collage-lightbox__panel {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: min(92vw, 76rem);
    height: min(88vh, 52rem);
    margin: 6vh auto 0;
    pointer-events: none;
}

.team-collage-lightbox__figure,
.team-collage-lightbox__close,
.team-collage-lightbox__nav {
    pointer-events: auto;
}

.team-collage-lightbox__figure {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-height: 100%;
    margin: 0;
}

.team-collage-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(82vh, 48rem);
    width: auto;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.team-collage-lightbox__close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.team-collage-lightbox__nav {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.team-collage-lightbox__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 640px) {
    .team-collage-lightbox__nav {
        display: none;
    }

    .team-collage-lightbox__panel {
        width: 94vw;
        margin-top: 8vh;
    }

    .team-collage-lightbox__close {
        top: -3rem;
        right: 0.25rem;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.team-grid:not(.team-grid--compact) {
    gap: 1.5rem;
    padding: 0.35rem 0;
}

.team-grid--compact .team-card {
    padding-bottom: 1rem;
}

.team-card {
    padding: 1.5rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1.75rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.team-grid:not(.team-grid--compact) .team-card {
    position: relative;
    z-index: 0;
    padding: 1.65rem 1.35rem 1.5rem;
    transform-origin: center center;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.team-grid:not(.team-grid--compact) .team-card:hover {
    z-index: 3;
    transform: scale(1.07);
    box-shadow: 0 16px 36px rgba(26, 54, 93, 0.16);
    border-color: rgba(58, 111, 165, 0.35);
}

.section--team-teaser {
    background: var(--color-bg-soft);
}

.team-card__avatar {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-brand-blue-light), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.team-grid:not(.team-grid--compact) .team-card__avatar {
    width: 7.75rem;
    height: 7.75rem;
    margin-bottom: 1.15rem;
    transition:
        transform 0.32s ease,
        width 0.32s ease,
        height 0.32s ease,
        box-shadow 0.32s ease;
}

.team-grid:not(.team-grid--compact) .team-card:hover .team-card__avatar {
    width: 8.75rem;
    height: 8.75rem;
    box-shadow: 0 10px 24px rgba(26, 54, 93, 0.2);
}

.team-card__avatar--photo {
    overflow: hidden;
    background: var(--color-bg-soft);
}

.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.08);
    transition: transform 0.32s ease;
}

.team-grid--compact .team-card__photo {
    transform: none;
}

.team-card__photo--teaser {
    object-position: center center;
    transform: none;
}

/* Home team teaser: per-teacher framing (compact circles) */
.team-grid--compact .team-card__photo--teaser.team-card__photo--yasmin {
    object-position: 50% 50% !important;
    transform: none !important;
}

.team-grid--compact .team-card__photo--teaser.team-card__photo--laura {
    object-position: 50% 50% !important;
    transform: none !important;
}

.team-grid--compact .team-card__photo--teaser.team-card__photo--juana {
    object-position: 50% 50% !important;
    transform: none !important;
}

.team-grid--compact .team-card__photo--teaser.team-card__photo--luis {
    object-position: 50% 50% !important;
    transform: none !important;
}

.team-grid--compact .team-card__photo--teaser.team-card__photo--irene {
    object-position: 50% 50% !important;
    transform: none !important;
}

.team-grid:not(.team-grid--compact) .team-card:hover .team-card__photo {
    transform: scale(1.18);
}

.team-card__initials {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.team-card__name {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.team-card__role {
    margin: 0 0 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-card__role--subjects {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

.team-grid--compact .team-card__role-line {
    display: block;
}

.team-grid--compact .team-card__role-line + .team-card__role-line {
    margin-top: 0.2rem;
}

.team-card__bio {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .team-grid:not(.team-grid--compact) .team-card,
    .team-grid:not(.team-grid--compact) .team-card__avatar,
    .team-card__photo {
        transition: none;
    }

    .team-grid:not(.team-grid--compact) .team-card:hover {
        transform: none;
    }

    .team-grid:not(.team-grid--compact) .team-card:hover .team-card__photo {
        transform: scale(1.08);
    }
}

/* ── Aulas marquee band ────────────────────────────────────── */

.section--aulas {
    background: #fff;
}

.section--aulas .section__header {
    text-align: center;
}

.section__lead--aulas {
    max-width: none;
    margin-inline: auto;
    white-space: nowrap;
}

.aulas-marquee {
    margin-top: 0.25rem;
}

.aulas-marquee__viewport {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.aulas-marquee__track {
    display: flex;
    width: max-content;
    animation: aulas-marquee-scroll 90s linear infinite;
}

.aulas-marquee__track:hover {
    animation-play-state: paused;
}

.aulas-marquee__set {
    display: flex;
    flex-shrink: 0;
    gap: 1rem;
    padding-inline: 0.5rem;
}

.aulas-marquee__slide {
    flex: 0 0 20rem;
    margin: 0;
}

.aulas-marquee__image {
    display: block;
    width: 100%;
    height: 14rem;
    border-radius: 1.75rem;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(135deg, var(--color-bg-soft), #dce8f4);
    border: 1px solid var(--color-border);
}

.aulas-marquee__image--placeholder {
    background-size: cover;
    background-position: center;
}

.aulas-marquee__caption {
    margin-top: 0.55rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

@keyframes aulas-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aulas-marquee__track {
        animation: none;
        overflow-x: auto;
        max-width: 100%;
        scroll-snap-type: x mandatory;
    }

    .aulas-marquee__viewport {
        mask-image: none;
    }

    .aulas-marquee__slide {
        scroll-snap-align: start;
    }
}

/* ── Google reviews marquee (curated) ──────────────────────── */

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.65rem;
    margin: 0.85rem 0 0;
    font-size: 0.98rem;
    color: var(--color-text-muted);
}

.reviews-summary__score {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
}

.reviews-summary__stars {
    letter-spacing: 0.08em;
    color: var(--color-accent);
    font-size: 1rem;
}

.reviews-summary__count {
    font-weight: 600;
}

.reviews-marquee {
    margin-top: 1.75rem;
}

.reviews-marquee__viewport {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.reviews-marquee__track {
    display: flex;
    width: max-content;
    animation: reviews-marquee-scroll 165s linear infinite;
}

.reviews-marquee__track:hover {
    animation-play-state: paused;
}

.reviews-marquee__set {
    display: flex;
    flex-shrink: 0;
    gap: 1.1rem;
    padding-inline: 0.5rem;
}

.reviews-marquee__slide {
    flex: 0 0 min(22rem, 78vw);
    margin: 0;
    padding: 1.15rem 1.25rem 1rem;
    background: #fff;
    border: 2px solid rgba(232, 148, 31, 0.35);
    border-radius: 1.15rem;
    box-shadow: 0 10px 26px rgba(26, 54, 93, 0.08);
    text-align: left;
}

.reviews-marquee__quote {
    margin: 0;
}

.reviews-marquee__stars {
    margin-bottom: 0.55rem;
    line-height: 1;
}

.reviews-marquee__star {
    color: var(--color-accent);
    font-size: 0.95rem;
}

.reviews-marquee__star--muted {
    color: rgba(201, 162, 39, 0.28);
}

.reviews-marquee__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.reviews-marquee__author {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

.reviews-marquee__date {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

@keyframes reviews-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-marquee__track {
        animation: none;
        overflow-x: auto;
        max-width: 100%;
        scroll-snap-type: x mandatory;
    }

    .reviews-marquee__viewport {
        mask-image: none;
    }

    .reviews-marquee__slide {
        scroll-snap-align: start;
    }
}

/* ── Clases / Materiales ───────────────────────────────────── */

.section__header--center {
    text-align: center;
}

.section__header--center .section__lead {
    max-width: 40rem;
    margin-inline: auto;
}

.exam-chip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem 1.25rem;
    max-width: 44rem;
    margin: 0 auto 2.75rem;
    padding: 0.25rem 0;
}

.exam-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 1 9.75rem;
    min-width: 8.5rem;
    min-height: 5.75rem;
    padding: 1.2rem 1.45rem 1.15rem;
    background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
    border-radius: 1.15rem;
    border: 2px solid rgba(232, 148, 31, 0.4);
    box-shadow: 0 10px 26px rgba(26, 54, 93, 0.09);
    text-align: center;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.exam-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(26, 54, 93, 0.12);
    border-color: var(--color-brand-orange);
}

.exam-chip__label {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.exam-chip__note {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand-orange);
}

@media (prefers-reduced-motion: reduce) {
    .exam-chip {
        transition: none;
    }

    .exam-chip:hover {
        transform: none;
    }
}

.section--materiales {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 12rem, var(--color-bg-soft) 100%);
}

.section__inner--materiales {
    max-width: 56rem;
}

.section--materiales .page-header {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
}

.section--materiales .page-header__lead {
    margin-inline: auto;
}

.material-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1.15rem;
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.material-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1.15rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.material-card__cover {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 9.25rem;
    padding: 1.15rem 1.1rem 1rem;
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-brand-blue) 58%, #4a84b8 100%);
    overflow: hidden;
}

.material-card__cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 92%, rgba(232, 148, 31, 0.35) 0%, transparent 55%);
    pointer-events: none;
}

.material-card__cover-label {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 72%;
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(18, 40, 71, 0.35);
}

.material-card__cover-line {
    display: block;
}

.material-card__cover-orb {
    position: absolute;
    right: 0.65rem;
    bottom: 0.35rem;
    z-index: 1;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--color-brand-orange) 0%, #d47a12 100%);
    box-shadow: 0 6px 18px rgba(26, 54, 93, 0.28);
    opacity: 0.92;
}

.material-card__cover-orb::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
}

.material-card__body {
    flex: 1;
    padding: 1.15rem 1.15rem 0.75rem;
}

.material-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.12rem;
    color: var(--color-primary);
}

.material-card__lead {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.material-card__items {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.material-card__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.5rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.82rem;
    background: var(--color-bg-soft);
    border-radius: 0.45rem;
}

.material-card__item-name {
    font-weight: 600;
    color: var(--color-primary);
}

.material-card__item-status {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-brand-orange);
    text-transform: uppercase;
}

.material-card__footer {
    padding: 0.35rem 1.15rem 1.2rem;
    margin-top: auto;
}

.material-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

.material-card__btn--soon {
    opacity: 0.72;
    cursor: default;
    pointer-events: none;
}

.page-content--materiales {
    margin-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* ── Escuela de verano ─────────────────────────────────────── */

.section--sommerschule .page-header {
    text-align: center;
    margin-inline: auto;
}

.section--sommerschule .page-header__title {
    max-width: 42rem;
    margin-inline: auto;
}

.section--sommerschule .page-header__lead {
    max-width: none;
    margin-inline: auto;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .section--sommerschule .page-header__lead {
        white-space: normal;
    }
}

.summer-next {
    margin: 0 0 2.5rem;
    padding: 1.5rem 1.45rem 1.35rem;
    background: linear-gradient(135deg, rgba(58, 111, 165, 0.12) 0%, rgba(232, 148, 31, 0.14) 100%);
    border: 1px solid rgba(58, 111, 165, 0.22);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.summer-next__badge {
    display: inline-block;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: #fff;
    border-radius: 999px;
}

.summer-next__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    color: var(--color-primary);
}

.summer-next__facts {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.summer-next__facts li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: #fff;
    border-radius: 0.75rem;
}

.summer-next__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-brand-orange);
}

.summer-next__value {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-primary);
}

.summer-next__hint {
    margin-top: 0.15rem;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text-muted);
}

@media (min-width: 720px) {
    .summer-next__facts {
        grid-template-columns: 1fr 1fr;
    }
}

.summer-next__tarifas {
    margin-top: 0.35rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(26, 54, 93, 0.12);
}

.summer-next__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.summer-next__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform var(--transition), background var(--transition);
}

.summer-next__btn:hover {
    transform: translateY(-2px);
}

.summer-next__btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.summer-next__btn--whatsapp:hover {
    background: #1ebe5a;
}

.summer-next__btn--email {
    background: var(--color-primary);
    color: #fff;
}

.summer-next__btn--email:hover {
    background: var(--color-brand-blue);
}

.summer-next__booking {
    margin: 0.95rem auto 0;
    max-width: none;
    text-align: center;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.summer-next__booking span {
    display: block;
}

.summer-next__booking span:first-child {
    white-space: nowrap;
}

@media (max-width: 960px) {
    .summer-next__booking span:first-child {
        white-space: normal;
    }
}

@media (max-width: 520px) {
    .summer-next__actions {
        flex-direction: column;
    }

    .summer-next__btn {
        width: 100%;
    }
}

.summer-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.summer-highlight {
    padding: 1.15rem 1.1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.summer-highlight__title {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    color: var(--color-brand-orange);
}

.summer-highlight__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.summer-week {
    margin: 0.25rem 0 2.75rem;
}

.summer-week .section__header {
    margin-bottom: 1rem;
}

.summer-week__mark {
    margin-left: 0.12rem;
    font-size: 0.55em;
    font-weight: 700;
    color: var(--color-brand-orange);
}

.summer-week__scroll {
    overflow-x: auto;
}

.summer-week__table {
    width: 100%;
    min-width: 52rem;
    border-collapse: separate;
    border-spacing: 0.45rem 0.5rem;
}

.summer-week__table th,
.summer-week__table td {
    padding: 0.8rem 0.55rem;
    border-radius: 0.95rem;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
}

.summer-week__table thead th {
    font-size: 1.02rem;
    font-weight: 700;
}

.summer-week__table thead th:first-child {
    padding: 0;
    background: transparent;
}

.summer-week__table tbody th {
    background: #f7f4ea;
    font-weight: 700;
    white-space: nowrap;
}

.summer-week__table thead th:nth-child(2) {
    background: var(--color-brand-orange);
    color: var(--color-primary-dark);
}

.summer-week__table tbody td:nth-child(2) {
    background: rgba(232, 148, 31, 0.2);
}

.summer-week__table thead th:nth-child(3) {
    background: var(--color-brand-blue-light);
    color: #fff;
}

.summer-week__table tbody td:nth-child(3) {
    background: rgba(90, 143, 196, 0.22);
}

.summer-week__table thead th:nth-child(4),
.summer-week__table tbody td:nth-child(4) {
    background: var(--color-primary);
    color: #fff;
}

.summer-week__table thead th:nth-child(5) {
    background: var(--color-accent-light);
    color: var(--color-primary-dark);
}

.summer-week__table tbody td:nth-child(5) {
    background: rgba(232, 201, 106, 0.42);
}

.summer-week__table thead th:nth-child(6) {
    background: var(--color-brand-blue);
    color: #fff;
}

.summer-week__table tbody td:nth-child(6) {
    background: rgba(58, 111, 165, 0.18);
}

.summer-week__note {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.summer-week__note sup {
    font-weight: 700;
    color: var(--color-brand-orange);
}

.summer-pricing__title {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
}

.summer-pricing__lead {
    margin: -0.35rem 0 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.summer-pricing__list {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.summer-pricing__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0.8rem 0.85rem 0.85rem;
    background: #fff;
    border-radius: 0.75rem;
    text-align: center;
}

.summer-pricing__row dt {
    align-self: stretch;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    color: var(--color-brand-orange);
}

.summer-pricing__row dd {
    margin: 0.15rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    width: 100%;
    text-align: center;
}

.summer-pricing__amount {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
}

.summer-pricing__rate {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-muted);
}

.summer-pricing__notice {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

@media (min-width: 720px) {
    .summer-pricing__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .summer-pricing__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.summer-past {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.section--sommerschule .summer-past .section__lead {
    max-width: none;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .section--sommerschule .summer-past .section__lead {
        white-space: normal;
    }
}

.summer-past-edition {
    margin-bottom: 2.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.summer-past-edition:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summer-past-edition__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.85rem;
    margin-bottom: 0.65rem;
}

.summer-past-edition__year {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--color-primary);
    border-radius: 999px;
}

.summer-past-edition__title {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.summer-past-edition__summary {
    margin: 0 0 0.35rem;
    max-width: none;
    white-space: nowrap;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.summer-past-edition__highlight {
    margin: 0 0 1.1rem;
    text-align: center;
    font-weight: 700;
    font-style: italic;
    color: var(--color-brand-orange);
    line-height: 1.45;
}

@media (max-width: 960px) {
    .summer-past-edition__summary {
        white-space: normal;
    }
}

.summer-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 1rem;
}

.summer-gallery__item {
    margin: 0;
}

.summer-gallery__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.85rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-soft);
}

.summer-gallery__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0.85rem;
    border: 1px dashed var(--color-border);
    background: linear-gradient(135deg, var(--color-bg-soft), #dce8f4);
}

.summer-gallery__caption {
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-align: center;
}

.summer-marquee {
    margin-top: 0.35rem;
}

.summer-marquee__viewport {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.summer-marquee__track {
    display: flex;
    width: max-content;
    animation: summer-marquee-scroll 120s linear infinite;
}

.summer-marquee__track:hover,
.summer-marquee__track.is-paused {
    animation-play-state: paused;
}

.summer-marquee__set {
    display: flex;
    flex-shrink: 0;
    gap: 1rem;
    padding-inline: 0.5rem;
}

.summer-marquee__slide {
    flex: 0 0 20rem;
    margin: 0;
    border-radius: 1.75rem;
    outline-offset: 3px;
}

.summer-marquee__slide:focus-visible {
    outline: 3px solid var(--color-brand-blue);
}

.summer-marquee__image {
    display: block;
    width: 100%;
    height: 14rem;
    border-radius: 1.75rem;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(135deg, var(--color-bg-soft), #dce8f4);
    border: 1px solid var(--color-border);
}

@keyframes summer-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.summer-marquee--ltr .summer-marquee__track {
    animation-name: summer-marquee-scroll-ltr;
}

@keyframes summer-marquee-scroll-ltr {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .summer-marquee__track,
    .summer-marquee--ltr .summer-marquee__track {
        animation: none;
        overflow-x: auto;
        max-width: 100%;
        scroll-snap-type: x mandatory;
    }

    .summer-marquee__viewport {
        mask-image: none;
    }

    .summer-marquee__slide {
        scroll-snap-align: start;
    }
}

.summer-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    width: min(100vw, 100%);
    max-width: none;
    height: min(100vh, 100%);
    max-height: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.summer-lightbox::backdrop {
    background: rgba(20, 40, 68, 0.88);
}

.summer-lightbox__backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.summer-lightbox__scrim {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.summer-lightbox__panel {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: min(92vw, 76rem);
    height: min(88vh, 52rem);
    margin: 6vh auto 0;
    pointer-events: none;
}

.summer-lightbox__figure,
.summer-lightbox__close,
.summer-lightbox__nav {
    pointer-events: auto;
}

.summer-lightbox__figure {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-height: 100%;
    margin: 0;
}

.summer-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(82vh, 48rem);
    width: auto;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.summer-lightbox__close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.summer-lightbox__nav {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
    .summer-lightbox__panel {
        width: 94vw;
        margin-top: 8vh;
    }

    .summer-lightbox__nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
    }

    .summer-lightbox__nav--prev {
        left: 0.35rem;
    }

    .summer-lightbox__nav--next {
        right: 0.35rem;
    }

    .summer-lightbox__close {
        top: -3rem;
        right: 0.25rem;
    }
}

@media (max-width: 960px) {
    .material-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    }
}

@media (max-width: 640px) {
    .material-card-grid {
        grid-template-columns: 1fr;
        max-width: 22rem;
        margin-inline: auto;
    }
}

/* ── Contact CTA ───────────────────────────────────────────── */

.section--cta {
    padding-top: 0;
    padding-bottom: 2rem;
    background: var(--color-bg-soft);
}

.section--nosotros + .section--cta {
    padding-top: 0.35rem;
}

.section--home-intro {
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.75rem);
    background: linear-gradient(180deg, #f4f8fc 0%, #fff 55%, #fff 100%);
    border-bottom: 1px solid rgba(58, 111, 165, 0.08);
}

.home-welcome {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.home-welcome__eyebrow {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.home-welcome__lead {
    margin: 0 0 1.35rem;
    font-size: clamp(1.45rem, 3.2vw, 2.05rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-primary);
}

.home-welcome__text {
    margin: 0;
    max-width: 38rem;
    margin-inline: auto;
    font-size: clamp(1.05rem, 1.85vw, 1.22rem);
    line-height: 1.75;
    color: var(--color-text-muted);
}

.home-welcome__eyebrow::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin: 1.1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-brand-blue));
}

.contact-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.5rem;
    padding: 1.1rem 1.35rem;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.contact-cta__body {
    flex: 1 1 16rem;
    min-width: 0;
}

.contact-cta__title {
    margin: 0 0 0.15rem;
    font-size: 1.12rem;
    line-height: 1.25;
    color: var(--color-primary);
}

.contact-cta__text {
    margin: 0;
    max-width: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.contact-cta__link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.contact-cta__link:hover {
    color: var(--color-brand-blue);
}

.contact-cta__actions {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 0.65rem;
}

.contact-cta__actions .btn {
    min-width: auto;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
}

@media (min-width: 900px) {
    .contact-cta__text {
        white-space: nowrap;
    }
}

/* ── Contact page ──────────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    padding: 1.65rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.contact-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.contact-card__text {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-card__note {
    margin: -0.35rem 0 1rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--color-primary);
    background: rgba(232, 148, 31, 0.12);
    border-left: 3px solid var(--color-brand-orange);
    border-radius: 0 0.4rem 0.4rem 0;
}

.contact-card__action {
    display: inline-block;
    font-weight: 700;
    color: var(--color-brand-blue);
    text-decoration: none;
    word-break: break-word;
}

.contact-card__action--icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
}

.contact-card__action--icon > span:last-child {
    min-width: 0;
    word-break: break-word;
}

.contact-card__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--color-brand-orange);
}

.contact-card__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.contact-card__action:hover {
    color: var(--color-accent);
}

.contact-card__action:hover .contact-card__icon {
    color: var(--color-primary);
}

.contact-card__action--link {
    font-size: 0.95rem;
}

.contact-hours {
    margin-bottom: 2rem;
    padding: 1.35rem 1.25rem;
    background: var(--color-bg-soft);
    border-radius: 1.75rem;
    text-align: center;
}

.contact-hours__title {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    text-align: center;
}

.contact-hours__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.85rem;
    margin: 0 auto;
    max-width: 100%;
    color: var(--color-text-muted);
    font-size: 0.925rem;
    line-height: 1.4;
}

.contact-hours__item {
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
}

.contact-hours__sep {
    flex: 0 0 auto;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand-orange), var(--color-accent-light));
    box-shadow: 0 0 0 2px rgba(232, 148, 31, 0.2);
}

.contact-hours__notice {
    margin: 1.1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 54, 93, 0.12);
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-brand-orange);
    letter-spacing: 0.01em;
}

.contact-social {
    margin-bottom: 0;
    padding: 1.15rem 1rem 0.35rem;
    text-align: center;
}

.contact-social__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
}

.social-icon-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
}

.social-icon-row__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    background: var(--color-bg-soft);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.social-icon-row__link svg {
    width: 1.65rem;
    height: 1.65rem;
    fill: currentColor;
}

.social-icon-row__link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.social-icon-row__link--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon-row__link--instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    border-color: transparent;
}

.social-icon-row__link--whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.contact-form-block {
    margin-bottom: 2.5rem;
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-block__title {
    margin-bottom: 0.35rem;
    font-size: 1.45rem;
}

.contact-form-block__lead {
    margin-bottom: 1.25rem;
}

.contact-form-messages {
    margin-bottom: 1rem;
}

.contact-form-message {
    margin: 0 0 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-form-message--success {
    background: rgba(47, 158, 68, 0.12);
    color: #1b5e20;
}

.contact-form-message--error {
    background: rgba(220, 53, 69, 0.1);
    color: #842029;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
    margin-bottom: 1.25rem;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-form__field--full {
    grid-column: 1 / -1;
}

.contact-form__field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.contact-form__req {
    color: var(--color-brand-orange);
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 0.85rem;
    font: inherit;
    color: var(--color-text);
    background: var(--color-bg-soft);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--color-brand-blue);
    box-shadow: 0 0 0 3px rgba(58, 111, 165, 0.15);
    background: #fff;
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 8rem;
}

.contact-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
}

.contact-form__checkbox input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

.contact-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__submit {
    min-width: 11rem;
}

@media (min-width: 960px) {
    .contact-hours__row {
        flex-wrap: nowrap;
    }
}

/* ── Scroll reveal ─────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll-reveal sets transform later — keep team card lift on hover */
.team-profile-card.reveal.is-visible:hover,
.team-profile-card.reveal.is-visible:focus-within {
    transform: translateY(-0.65rem) scale(1.06);
}

/* ── Footer ────────────────────────────────────────────────── */

.site-footer__main {
    background: var(--color-primary);
    color: #fff;
    padding: 1.5rem 1.25rem 1.25rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.85fr) minmax(0, 1.05fr);
    gap: 0.85rem 0.85rem;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: start;
}

.site-footer__logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.site-footer__tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    max-width: 18rem;
    font-size: 0.875rem;
    line-height: 1.35;
}

.site-footer__heading {
    margin: 0 0 0.35rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent-light);
}

.site-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.22rem;
    font-size: 0.875rem;
    line-height: 1.35;
}

.site-footer__address {
    display: block;
    line-height: 1.32;
}

.site-footer__address-line {
    display: block;
}

.site-footer__address-line + .site-footer__address-line {
    margin-top: 0.05rem;
}

.site-footer__address-line--city {
    white-space: nowrap;
}

.site-footer__list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer__list a:hover {
    color: var(--color-accent-light);
}

.site-footer__column--hours {
    min-width: 0;
}

.site-footer__hours-line {
    white-space: nowrap;
    font-size: 0.8125rem;
    line-height: 1.28;
}

.site-footer__bar {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
}

.site-footer__bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    line-height: 1.3;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: var(--color-accent-light);
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.site-footer__designer {
    color: rgba(255, 255, 255, 0.65);
}

.site-footer__version {
    color: var(--color-accent-light);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.site-footer__version:hover {
    color: #fff;
}

/* ── Legal pages ───────────────────────────────────────────── */

.section--legal .legal-page {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 2.25rem 2.5rem;
    background: #fff;
    border-left: 4px solid var(--color-brand-orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-sm);
}

.section--legal .legal-page h2 {
    color: var(--color-primary);
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(232, 148, 31, 0.35);
}

.section--legal .legal-page h2:first-child {
    margin-top: 0;
}

.section--legal .legal-page h3 {
    color: var(--color-brand-blue);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
}

.section--legal .legal-page p,
.section--legal .legal-page li {
    color: var(--color-text-muted);
    line-height: 1.75;
}

.section--legal .legal-page ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.section--legal .legal-page a {
    color: var(--color-brand-blue);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.section--legal .legal-page a:hover {
    color: var(--color-primary);
}

.section--legal .legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9rem;
}

.section--legal .legal-page th {
    background: var(--color-bg-soft);
    color: var(--color-primary);
    font-weight: 600;
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
}

.section--legal .legal-page td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.section--legal .legal-page code {
    font-size: 0.85em;
    background: var(--color-bg-soft);
    padding: 0.1em 0.35em;
    border-radius: 0.25rem;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 960px) {
    :root {
        --wordmark-max-width: min(100%, 22rem);
        --wordmark-scale-compact: 0.68;
        --nav-menu-block-height: 2.75rem;
    }

    .contact-cta {
        padding: 1rem 1.1rem;
    }

    .contact-cta__actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .contact-cta__actions .btn {
        flex: 1 1 auto;
    }

    .contact-cta__text {
        white-space: normal;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__address-line--city {
        white-space: normal;
    }

    .site-footer__hours-line {
        white-space: normal;
    }

    .section__lead--aulas {
        white-space: normal;
    }

    .section__lead--courses {
        white-space: normal;
    }

    .aulas-marquee__slide {
        flex-basis: min(72vw, 18rem);
    }

    .section__inner--split {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav__inner {
        min-height: var(--nav-banner-height);
        padding-top: 0.35rem;
        padding-bottom: calc(var(--nav-menu-block-height) + 0.12rem);
    }

    .main-nav.is-compact .main-nav__inner {
        min-height: var(--nav-banner-height-compact);
        padding: 0.35rem 1rem calc(var(--nav-menu-block-height) + 0.12rem);
    }

    .main-nav__tree--left {
        left: 1rem;
    }

    .main-nav__tree {
        bottom: 0.12rem;
    }

    .main-nav__brand {
        padding-right: 0;
    }

    .main-nav.is-open {
        overflow: visible;
    }

    .main-nav__toggle {
        display: flex;
        position: absolute;
        top: auto;
        bottom: 0.15rem;
        right: clamp(0.75rem, 2vw, 1.25rem);
        z-index: 6;
    }

    .main-nav.is-compact .main-nav__toggle {
        top: auto;
        bottom: 0.15rem;
    }

    .main-nav__menu {
        position: fixed;
        top: calc(var(--topbar-height) + var(--nav-banner-height));
        left: auto;
        right: 0;
        bottom: auto;
        width: min(19rem, 100vw);
        max-height: calc(100vh - var(--topbar-height) - var(--nav-banner-height));
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0.85rem 1rem 1.25rem;
        background: #fff;
        border: 1px solid var(--color-border);
        border-top: none;
        border-right: none;
        border-radius: 0 0 0 var(--radius);
        box-shadow: var(--shadow-md);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.32s ease,
            visibility 0.32s,
            top 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 180;
    }

    .main-nav.is-compact .main-nav__menu {
        top: calc(var(--topbar-height) + var(--nav-banner-height-compact));
        max-height: calc(100vh - var(--topbar-height) - var(--nav-banner-height-compact));
    }

    .main-nav.is-open .main-nav__menu {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav.is-open .main-nav__toggle span:nth-child(1) {
        transform: translateY(0.4rem) rotate(45deg);
    }

    .main-nav.is-open .main-nav__toggle span:nth-child(2) {
        opacity: 0;
    }

    .main-nav.is-open .main-nav__toggle span:nth-child(3) {
        transform: translateY(-0.4rem) rotate(-45deg);
    }

    .main-nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav__item a {
        padding: 0.75rem 0.35rem;
        text-align: right;
    }
}

@media (max-width: 720px) {
    .topbar__dropdown-toggle span:not(.flag-icon) {
        display: none;
    }

}

@media (max-width: 768px) {
    :root {
        --wordmark-max-width: min(100%, 18rem);
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
