:root {
    --cma-red: #b51f2e;
    --cma-red-600: #a01825;
    --cma-red-700: #86141f;
    --cma-red-800: #6d1019;
    --cma-red-900: #4b0b12;
    --cma-yellow: #f5bd00;
    --cma-gray-950: #171717;
    --cma-gray-900: #242424;
    --cma-gray-800: #343434;
    --cma-gray-700: #525252;
    --cma-gray-600: #737373;
    --cma-gray-500: #8d8d8d;
    --cma-gray-300: #d7d7d7;
    --cma-gray-200: #e9e9e9;
    --cma-gray-100: #f5f5f5;
    --cma-gray-50: #fafafa;
    --cma-white: #ffffff;
    --cma-text: #292929;
    --cma-muted: #707070;
    --cma-shadow-sm: 0 10px 30px rgba(23, 23, 23, 0.06);
    --cma-shadow: 0 22px 65px rgba(23, 23, 23, 0.11);
    --cma-shadow-red: 0 24px 60px rgba(128, 25, 35, 0.24);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

section[id] {
    scroll-margin-top: 105px;
}

body {
    margin: 0;
    color: var(--cma-text);
    background: var(--cma-white);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
}

a { text-decoration: none; }
::selection { background: var(--cma-red); color: #fff; }

.cma-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.80);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cma-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 35px rgba(30, 30, 30, 0.08);
}

.cma-header .navbar { min-height: 84px; }
.cma-brand { display: flex; align-items: center; gap: 12px; }
.cma-brand-logo-wrap {
    width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
    border-radius: 17px; background: rgba(255,255,255,.92); overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,.09); border: 1px solid rgba(255,255,255,.9);
}
.cma-brand-logo { width: 54px; height: 54px; object-fit: contain; }
.cma-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.cma-brand-copy strong { color: var(--cma-gray-900); font-size: 14px; }
.cma-brand-copy small { margin-top: 4px; color: var(--cma-gray-500); font-size: 11px; }
.cma-header .nav-link { margin: 0 5px; padding: 10px !important; color: var(--cma-gray-700); font-size: 14px; font-weight: 600; }
.cma-header .nav-link:hover, .cma-header .nav-link.active { color: var(--cma-red); }
.cma-dropdown { padding: 10px; border: 1px solid rgba(0,0,0,.04); border-radius: 18px; background: rgba(255,255,255,.95); box-shadow: var(--cma-shadow); backdrop-filter: blur(20px); }
.cma-dropdown .dropdown-item { padding: 10px 14px; border-radius: 12px; color: var(--cma-gray-700); font-weight: 500; }
.cma-dropdown .dropdown-item:hover { color: var(--cma-red); background: rgba(181,31,46,.07); }

.cma-btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 11px 21px; border: 0; border-radius: 14px; color: #fff !important;
    background: linear-gradient(135deg, var(--cma-red), var(--cma-red-700)); font-weight: 700;
    box-shadow: 0 10px 30px rgba(181,31,46,.20); transition: transform .25s ease, box-shadow .25s ease;
}
.cma-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(181,31,46,.30); }
.cma-btn-lg { min-height: 54px; padding-inline: 25px; border-radius: 17px; }
.cma-btn-glass {
    display: inline-flex; justify-content: center; align-items: center; border: 1px solid rgba(255,255,255,.35);
    border-radius: 17px; color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.cma-btn-glass:hover { color: #fff; background: rgba(255,255,255,.20); }
.cma-btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--cma-gray-300);
    border-radius: 17px; color: var(--cma-gray-800); background: rgba(255,255,255,.76);
}
.cma-btn-outline:hover { border-color: var(--cma-red); color: var(--cma-red); }

.cma-glass {
    background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
    border: 1px solid rgba(255,255,255,.80); backdrop-filter: blur(24px) saturate(135%); -webkit-backdrop-filter: blur(24px) saturate(135%);
    box-shadow: var(--cma-shadow), inset 0 1px 0 rgba(255,255,255,.72);
}
.cma-glass-dark {
    background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.17); backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%);
}

/* ============================================================
   HERO V3 - LIQUID GLASS
   ============================================================ */

.cma-hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    color: #fff;
    background: #3b0b12;
    isolation: isolate;
}

.cma-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -5;
    background-image: url('../images/cma/hero/estudiantes-cma-fondo.jpg');
    background-size: cover;
    background-position: center 34%;
    transform: scale(1.018);
    filter: saturate(1.03) contrast(1.02);
}

.cma-hero-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        linear-gradient(90deg,
            rgba(39, 4, 10, .86) 0%,
            rgba(64, 7, 14, .72) 32%,
            rgba(101, 12, 22, .36) 59%,
            rgba(118, 15, 27, .18) 100%),
        linear-gradient(180deg,
            rgba(25, 0, 5, .28) 0%,
            rgba(62, 5, 14, .08) 42%,
            rgba(43, 4, 11, .42) 100%);
}

.cma-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 33%, rgba(255, 190, 172, .18), transparent 30%),
        radial-gradient(circle at 12% 88%, rgba(181, 31, 46, .26), transparent 35%);
    mix-blend-mode: screen;
}

.cma-hero-ambient {
    position: absolute;
    z-index: -2;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(60px);
}

.cma-hero-ambient-one {
    width: 440px;
    height: 440px;
    right: -120px;
    top: 80px;
    background: rgba(255, 137, 126, .12);
}

.cma-hero-ambient-two {
    width: 380px;
    height: 380px;
    left: 34%;
    bottom: -240px;
    background: rgba(245, 189, 0, .09);
}

.cma-hero-shell {
    padding-top: 118px;
    padding-bottom: 62px;
}

.cma-hero-row {
    min-height: 635px;
}

.cma-liquid-glass,
.cma-liquid-glass-soft {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .26);
    box-shadow:
        0 28px 80px rgba(19, 0, 4, .30),
        inset 0 1px 0 rgba(255, 255, 255, .26),
        inset 0 -1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.cma-liquid-glass {
    background:
        linear-gradient(145deg,
            rgba(44, 16, 17, .54) 0%,
            rgba(89, 19, 28, .40) 48%,
            rgba(94, 22, 26, .24) 100%);
}

.cma-liquid-glass-soft {
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .20),
            rgba(255, 255, 255, .09));
}

.cma-liquid-glass::before,
.cma-liquid-glass-soft::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(125deg,
            rgba(255, 255, 255, .16),
            transparent 28%,
            transparent 68%,
            rgba(255, 255, 255, .07));
}

.cma-hero-brand-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-bottom: 28px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cma-hero-copy-panel {
    border-radius: 34px;
    padding: 42px 44px 34px;
}

.cma-hero-content {
    position: relative;
    z-index: 2;
}

.cma-hero h1 {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: clamp(3.45rem, 5.5vw, 5.9rem);
    line-height: .98;
    letter-spacing: -.065em;
    text-wrap: balance;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .13);
}

.cma-hero h1 span {
    display: block;
    color: rgba(255, 255, 255, .63);
}

.cma-hero-content > p {
    max-width: 660px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .83);
    font-size: 17px;
    line-height: 1.72;
}

.cma-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cma-hero .cma-btn-primary {
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(135deg, rgba(194, 31, 47, .95), rgba(143, 17, 31, .96));
    box-shadow: 0 14px 36px rgba(91, 0, 13, .30), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.cma-hero .cma-btn-glass {
    border-color: rgba(255, 255, 255, .27);
    background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.17);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.cma-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 26px;
    color: rgba(255, 255, 255, .79);
    font-size: 13px;
}

.cma-hero-tags i {
    margin-right: 6px;
    color: #fff;
}

.cma-family-card {
    max-width: 420px;
    margin-left: auto;
    border-radius: 34px;
    padding: 15px;
    background:
        linear-gradient(145deg,
            rgba(255, 248, 246, .23),
            rgba(75, 20, 25, .20));
}

.cma-family-card-inner {
    position: relative;
    z-index: 2;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px 26px 112px;
    border-radius: 26px;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(104, 24, 31, .14), rgba(83, 14, 22, .18)),
        radial-gradient(circle at 50% 35%, rgba(255, 230, 217, .12), transparent 42%);
    border: 1px solid rgba(255, 255, 255, .15);
}

.cma-family-card-inner::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    background-image: url('../images/cma/hero/estudiantes-cma-fondo.jpg');
    background-size: cover;
    background-position: 56% center;
    filter: blur(23px) brightness(.78) saturate(.85);
    transform: scale(1.16);
    opacity: .62;
}

.cma-family-kicker {
    max-width: 265px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .90);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.cma-family-title {
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: .95;
}

.cma-family-title span {
    margin-bottom: 7px;
    font-family: "Manrope", sans-serif;
    font-size: 31px;
    font-weight: 700;
}

.cma-family-title strong {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.8rem, 4vw, 4rem);
    letter-spacing: -.045em;
}

.cma-family-book {
    margin-top: 25px;
    color: rgba(255, 255, 255, .96);
    font-size: 58px;
    line-height: 1;
}

.cma-family-admission {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 17px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px 15px 19px;
    border-radius: 22px;
    color: var(--cma-gray-900);
    text-align: left;
    background:
        linear-gradient(135deg,
            rgba(255, 246, 243, .88),
            rgba(255, 211, 210, .77));
    border-color: rgba(255, 255, 255, .64);
    box-shadow:
        0 12px 28px rgba(54, 0, 8, .14),
        inset 0 1px 0 rgba(255, 255, 255, .75);
}

.cma-family-admission > div {
    display: flex;
    flex-direction: column;
}

.cma-family-admission span {
    color: #807477;
    font-size: 12px;
}

.cma-family-admission strong {
    margin-top: 2px;
    color: #2f2729;
    font-size: 16px;
}

.cma-family-admission a {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--cma-red);
    background: rgba(202, 72, 84, .12);
    border: 1px solid rgba(255, 255, 255, .48);
    font-size: 18px;
    transition: transform .2s ease, background .2s ease;
}

.cma-family-admission a:hover {
    transform: translateY(-2px);
    background: rgba(202, 72, 84, .20);
}

.cma-section { position: relative; padding: 115px 0; }
.cma-section-soft { position: relative; overflow: hidden; background: linear-gradient(180deg, #fafafa, #f2f2f2); }
.cma-section-soft::before { content: ""; position: absolute; width: 430px; height: 430px; top: 70px; left: -180px; border-radius: 50%; background: rgba(181,31,46,.08); filter: blur(70px); }
.cma-section-heading { max-width: 760px; margin: 0 auto; }
.cma-eyebrow { display: inline-block; margin-bottom: 14px; color: var(--cma-red); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cma-eyebrow-light { color: rgba(255,255,255,.70); }
.cma-section-heading h2, .cma-title-lg { color: var(--cma-gray-900); font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.06; }
.cma-section-heading p { max-width: 650px; margin: 21px auto 0; color: var(--cma-muted); font-size: 17px; line-height: 1.75; }
.cma-lead { color: var(--cma-gray-700); font-size: 18px; line-height: 1.75; }
.cma-text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--cma-red); font-weight: 700; }
.cma-text-link:hover { color: var(--cma-red-700); }

.cma-level-card { position: relative; min-height: 455px; padding: 34px; border-radius: 28px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.cma-level-card:hover { transform: translateY(-7px); box-shadow: 0 30px 80px rgba(30,30,30,.13); }
.cma-level-number { position: absolute; right: 24px; top: 18px; color: rgba(181,31,46,.08); font-family: "Manrope",sans-serif; font-size: 72px; font-weight: 800; line-height: 1; }
.cma-level-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 36px; border-radius: 18px; color: var(--cma-red); background: rgba(181,31,46,.09); font-size: 24px; }
.cma-level-card h3 { margin-bottom: 16px; font-size: 25px; }
.cma-level-card p { color: var(--cma-muted); line-height: 1.7; }
.cma-level-meta { display: block; margin: 23px 0 8px; color: var(--cma-gray-700); font-size: 13px; font-weight: 700; }
.cma-level-detail { display: block; min-height: 42px; color: var(--cma-gray-500); font-size: 12px; line-height: 1.5; }
.cma-level-card > a { position: absolute; left: 34px; bottom: 30px; display: inline-flex; align-items: center; gap: 9px; color: var(--cma-red); font-weight: 700; }
.cma-level-card-featured { color: #fff; background: linear-gradient(145deg, var(--cma-red), var(--cma-red-800)); box-shadow: var(--cma-shadow-red); }
.cma-level-card-featured .cma-level-number { color: rgba(255,255,255,.10); }
.cma-level-card-featured .cma-level-icon { color: #fff; background: rgba(255,255,255,.14); }
.cma-level-card-featured p, .cma-level-card-featured .cma-level-meta, .cma-level-card-featured .cma-level-detail { color: rgba(255,255,255,.77); }
.cma-level-card-featured > a { color: #fff; }

.cma-photo-card { position: relative; border-radius: 34px; overflow: hidden; box-shadow: var(--cma-shadow); }
.cma-photo-card img { width: 100%; min-height: 540px; object-fit: cover; display: block; }
.cma-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.35)); pointer-events: none; }
.cma-photo-badge { position: absolute; z-index: 2; left: 26px; bottom: 26px; min-width: 130px; padding: 14px 18px; border-radius: 18px; display: flex; flex-direction: column; color: var(--cma-gray-900); }
.cma-photo-badge span { color: var(--cma-gray-500); font-size: 11px; text-transform: uppercase; letter-spacing: .10em; }
.cma-photo-badge strong { font-size: 27px; }
.cma-mini-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cma-mini-values span { padding: 10px 14px; border-radius: 999px; background: var(--cma-gray-100); color: var(--cma-gray-700); font-size: 13px; font-weight: 700; }
.cma-mini-values i { color: var(--cma-red); margin-right: 6px; }

.cma-feature-section { overflow: hidden; color: #fff; background: linear-gradient(135deg, #241215, var(--cma-red-900)); }
.cma-feature-section::before { content: ""; position: absolute; width: 600px; height: 600px; right: -250px; top: -250px; border-radius: 50%; background: rgba(181,31,46,.34); filter: blur(80px); }
.cma-feature-section h2 { color: #fff; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.cma-feature-section .col-xl-7 > p { color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.7; }
.cma-pastoral-visual { position: relative; overflow: hidden; padding: 10px; border-radius: 28px; }
.cma-pastoral-visual img { width: 100%; height: 240px; object-fit: cover; border-radius: 20px; display: block; }
.cma-feature-card { position: relative; z-index: 1; min-height: 270px; padding: 30px; border-radius: 25px; }
.cma-feature-card > i { display: inline-flex; margin-bottom: 38px; font-size: 29px; }
.cma-feature-card h3 { font-size: 21px; }
.cma-feature-card p { color: rgba(255,255,255,.64); line-height: 1.65; }

.cma-convocatorias-section { background: #fff; }
.cma-call-card { height: 100%; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--cma-gray-200); box-shadow: var(--cma-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cma-call-card:hover { transform: translateY(-6px); box-shadow: var(--cma-shadow); }
.cma-call-image-wrap { position: relative; overflow: hidden; background: #f1f1f1; aspect-ratio: 0.88; }
.cma-call-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cma-call-body { padding: 27px 28px 30px; }
.cma-call-kicker { color: var(--cma-red); font-size: 11px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }
.cma-call-body h3 { margin: 12px 0 16px; font-size: 22px; }
.cma-call-body ul { margin: 0; padding-left: 18px; color: var(--cma-muted); line-height: 1.75; }

.cma-admissions { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 54px 58px; overflow: hidden; border-radius: 32px; }
.cma-admissions::before { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; top: -80px; border-radius: 50%; background: rgba(181,31,46,.10); filter: blur(5px); }
.cma-admissions h2 { max-width: 620px; margin-bottom: 13px; color: var(--cma-gray-900); font-size: clamp(2rem, 4vw, 3.4rem); }
.cma-admissions p { max-width: 620px; margin-bottom: 0; color: var(--cma-muted); font-size: 17px; }
.cma-admissions-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; }

.cma-footer { padding: 80px 0 25px; color: rgba(255,255,255,.72); background: linear-gradient(135deg, #191516, #291317); }
.cma-footer-logo-wrap { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: #fff; overflow: hidden; }
.cma-footer-logo { width: 58px; height: 58px; object-fit: contain; }
.cma-footer h3 { color: #fff; font-size: 22px; }
.cma-footer p { max-width: 470px; line-height: 1.7; }
.cma-footer h6 { margin-bottom: 19px; color: #fff; font-size: 13px; letter-spacing: .04em; }
.cma-footer ul { margin: 0; padding: 0; list-style: none; }
.cma-footer li { margin-bottom: 10px; }
.cma-footer a { color: rgba(255,255,255,.65); }
.cma-footer a:hover { color: #fff; }
.cma-footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 65px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.45); font-size: 13px; }
.cma-socials { display: flex; gap: 9px; }
.cma-socials a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.10); border-radius: 12px; background: rgba(255,255,255,.05); }

@media (max-width: 1199px) {
    .cma-header .navbar-collapse { margin-top: 12px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: var(--cma-shadow); }
    .cma-hero-shell { padding-top: 112px; }
    .cma-hero-row { min-height: 620px; }
    .cma-hero-copy-panel { padding: 36px 34px 30px; }
    .cma-family-card { max-width: 380px; }
    .cma-family-card-inner { min-height: 440px; }
}

@media (max-width: 991px) {
    .cma-section { padding: 85px 0; }
    .cma-hero { min-height: auto; }
    .cma-hero-photo { background-position: 48% center; }
    .cma-hero-photo-overlay {
        background:
            linear-gradient(180deg, rgba(41,4,10,.72) 0%, rgba(65,8,16,.58) 48%, rgba(55,5,13,.76) 100%),
            linear-gradient(90deg, rgba(36,3,8,.48), rgba(83,12,21,.15));
    }
    .cma-hero-shell { padding-top: 118px; padding-bottom: 80px; }
    .cma-hero-row { min-height: auto; }
    .cma-family-card { max-width: 560px; margin: 12px auto 0; }
    .cma-family-card-inner { min-height: 400px; }
    .cma-family-card-inner::before { background-position: 48% center; }
    .cma-admissions { flex-direction: column; align-items: flex-start; padding: 40px; }
}

@media (max-width: 767px) {
    html { scroll-padding-top: 88px; }
    section[id] { scroll-margin-top: 88px; }
    .cma-header .navbar { min-height: 72px; }
    .cma-brand-logo-wrap { width: 48px; height: 48px; }
    .cma-brand-logo { width: 45px; height: 45px; }
    .cma-brand-copy strong { font-size: 12px; }
    .cma-brand-copy small { display: none; }
    .cma-hero-shell { padding-top: 102px; padding-bottom: 62px; }
    .cma-hero-brand-pill { margin-bottom: 18px; min-height: 38px; padding-inline: 14px; font-size: 10px; }
    .cma-hero-copy-panel { padding: 28px 22px 25px; border-radius: 27px; }
    .cma-hero h1 { font-size: clamp(2.9rem, 13vw, 4.25rem); }
    .cma-hero-content > p { font-size: 16px; }
    .cma-hero-actions { flex-direction: column; }
    .cma-hero-actions .btn { width: 100%; }
    .cma-hero-tags { gap: 10px 14px; }
    .cma-family-card { padding: 10px; border-radius: 28px; }
    .cma-family-card-inner { min-height: 365px; padding: 30px 20px 105px; border-radius: 22px; }
    .cma-family-title span { font-size: 26px; }
    .cma-family-title strong { font-size: 2.8rem; }
    .cma-family-book { font-size: 48px; }
    .cma-family-admission { left: 12px; right: 12px; bottom: 12px; padding: 13px 13px 13px 15px; }
    .cma-family-admission strong { font-size: 14px; }
    .cma-level-card { min-height: 430px; }
    .cma-photo-card img { min-height: 400px; }
    .cma-admissions { padding: 32px 25px; }
    .cma-admissions-actions { width: 100%; flex-direction: column; }
    .cma-admissions-actions .btn { width: 100%; }
    .cma-footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ============================================================
   V4 - MULTIPAGE CONTENT SYSTEM
   ============================================================ */

.cma-quick-strip {
    position: relative;
    z-index: 20;
    margin-top: -1px;
    background: #fff;
    border-bottom: 1px solid var(--cma-gray-200);
}
.cma-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cma-quick-item {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 13px;
    min-height: 105px;
    padding: 20px 22px;
    color: var(--cma-gray-900);
    border-right: 1px solid var(--cma-gray-200);
    transition: background .22s ease, color .22s ease;
}
.cma-quick-item:first-child { border-left: 1px solid var(--cma-gray-200); }
.cma-quick-item:hover { color: var(--cma-red); background: rgba(181,31,46,.035); }
.cma-quick-item > i:first-child {
    width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
    color: var(--cma-red); background: rgba(181,31,46,.08); font-size: 18px;
}
.cma-quick-item > i:last-child { color: var(--cma-gray-400, #aaa); }
.cma-quick-item span { display: flex; flex-direction: column; min-width: 0; }
.cma-quick-item small { color: var(--cma-muted); font-size: 11px; }
.cma-quick-item strong { margin-top: 2px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cma-info-card {
    position: relative;
    height: 100%;
    min-height: 305px;
    padding: 30px;
    border: 1px solid var(--cma-gray-200);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--cma-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cma-info-card:hover { transform: translateY(-5px); box-shadow: var(--cma-shadow); border-color: rgba(181,31,46,.2); }
.cma-info-card-accent { background: linear-gradient(145deg, var(--cma-red), var(--cma-red-800)); color: #fff; border-color: transparent; }
.cma-info-icon {
    display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px;
    border-radius: 17px; color: var(--cma-red); background: rgba(181,31,46,.08); font-size: 22px;
}
.cma-info-card-accent .cma-info-icon { color: #fff; background: rgba(255,255,255,.14); }
.cma-info-kicker { display: block; color: var(--cma-red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cma-info-card-accent .cma-info-kicker { color: rgba(255,255,255,.64); }
.cma-info-card h3 { margin: 10px 0 13px; font-size: 23px; }
.cma-info-card p { color: var(--cma-muted); line-height: 1.68; }
.cma-info-card-accent p { color: rgba(255,255,255,.74); }
.cma-info-card a { position: absolute; left: 30px; bottom: 28px; color: var(--cma-red); font-weight: 700; }
.cma-info-card-accent a { color: #fff; }

.cma-feature-card-large { min-height: 300px; }
.cma-feature-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #fff; font-weight: 700; }

.cma-infra-photo {
    position: relative; height: 100%; min-height: 510px; overflow: hidden; border-radius: 32px;
    box-shadow: var(--cma-shadow);
}
.cma-infra-photo img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; display: block; }
.cma-infra-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,4,6,.55)); pointer-events: none; }
.cma-infra-caption {
    position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; padding: 17px 19px; border-radius: 18px;
    display: flex; flex-direction: column; color: #fff;
}
.cma-infra-caption span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.cma-infra-caption strong { margin-top: 4px; font-size: 17px; }
.cma-infra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; height: 100%; }
.cma-infra-item {
    min-height: 150px; padding: 22px; border-radius: 23px; display: flex; flex-direction: column; justify-content: space-between;
}
.cma-infra-item i { color: var(--cma-red); font-size: 27px; }
.cma-infra-item span { color: var(--cma-gray-800); font-weight: 700; line-height: 1.25; }

.cma-experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.cma-experience-grid-wide { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cma-experience-card {
    min-height: 230px; padding: 28px; border: 1px solid var(--cma-gray-200); border-radius: 24px; background: #fff; box-shadow: var(--cma-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cma-experience-card:hover { transform: translateY(-5px); box-shadow: var(--cma-shadow); }
.cma-experience-card > i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 32px; border-radius: 16px; background: rgba(181,31,46,.08); color: var(--cma-red); font-size: 22px; }
.cma-experience-card h3 { font-size: 20px; }
.cma-experience-card p { margin-bottom: 0; color: var(--cma-muted); line-height: 1.65; }

/* Inner page hero */
.cma-page-hero {
    position: relative;
    min-height: 585px;
    padding: 165px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--cma-red-900), var(--cma-red-700));
    isolation: isolate;
}
.cma-page-hero-compact { min-height: 470px; }
.cma-page-hero-bg {
    position: absolute; inset: 0; z-index: -4;
    background-image: var(--cma-page-hero-image, linear-gradient(135deg, #4b0b12, #86141f));
    background-size: cover; background-position: center;
    filter: saturate(.92) contrast(1.03);
}
.cma-page-hero-overlay {
    position: absolute; inset: 0; z-index: -3;
    background:
        linear-gradient(90deg, rgba(34,3,8,.9) 0%, rgba(67,7,15,.72) 42%, rgba(88,12,20,.35) 100%),
        linear-gradient(180deg, rgba(20,0,4,.25), rgba(45,4,10,.45));
}
.cma-page-hero::after { content:""; position:absolute; z-index:-2; width:560px; height:560px; right:-140px; top:-170px; border-radius:50%; background:rgba(255,161,145,.13); filter:blur(70px); }
.cma-page-hero-panel { max-width: 820px; padding: 42px 44px; border-radius: 34px; }
.cma-page-kicker { display: inline-block; margin-bottom: 16px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cma-page-hero h1 { margin: 0; font-size: clamp(3rem, 5vw, 5.4rem); line-height: .99; letter-spacing: -.06em; }
.cma-page-hero p { max-width: 720px; margin: 22px 0 0; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.7; }
.cma-page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.cma-prose p { color: var(--cma-muted); font-size: 16px; line-height: 1.8; }
.cma-prose .cma-lead { color: var(--cma-gray-700); font-size: 19px; }

.cma-statement-card { height: 100%; min-height: 355px; padding: 34px; border-radius: 28px; }
.cma-statement-icon { display: grid; place-items:center; width:58px; height:58px; margin-bottom:32px; border-radius:18px; color:var(--cma-red); background:rgba(181,31,46,.09); font-size:24px; }
.cma-statement-card h3 { font-size: 26px; }
.cma-statement-card p { margin-bottom:0; color:var(--cma-muted); line-height:1.75; }

.cma-values-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.cma-value-chip { display:flex; align-items:center; gap:12px; min-height:76px; padding:16px 18px; border:1px solid var(--cma-gray-200); border-radius:18px; background:#fff; box-shadow:var(--cma-shadow-sm); font-weight:700; color:var(--cma-gray-800); }
.cma-value-chip i { color:var(--cma-red); font-size:20px; }

.cma-dark-points { display:grid; gap:14px; }
.cma-dark-points > div { display:flex; align-items:center; gap:14px; padding:18px 20px; border:1px solid rgba(255,255,255,.12); border-radius:19px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.82); }
.cma-dark-points i { display:grid; place-items:center; width:40px; height:40px; border-radius:13px; background:rgba(255,255,255,.1); color:#fff; }

.cma-pending-note { display:flex; align-items:flex-start; gap:12px; padding:18px 20px; border-radius:18px; border:1px dashed rgba(181,31,46,.28); background:rgba(181,31,46,.04); color:var(--cma-gray-700); }
.cma-pending-note i { color:var(--cma-red); }

.cma-route-card { position:relative; height:100%; min-height:535px; padding:34px; border-radius:30px; overflow:hidden; }
.cma-route-card > i { display:grid; place-items:center; width:58px; height:58px; margin:14px 0 34px; border-radius:18px; background:rgba(181,31,46,.09); color:var(--cma-red); font-size:25px; }
.cma-route-number { position:absolute; top:20px; right:24px; color:rgba(181,31,46,.07); font-size:76px; font-weight:800; line-height:1; }
.cma-route-card h2 { font-size:29px; }
.cma-route-card p { color:var(--cma-muted); line-height:1.7; }
.cma-route-card ul { padding-left:18px; color:var(--cma-gray-700); line-height:1.85; }
.cma-route-card > a { position:absolute; left:34px; bottom:32px; color:var(--cma-red); font-weight:700; }
.cma-route-card-red { position:relative; height:100%; min-height:535px; padding:34px; border-radius:30px; overflow:hidden; color:#fff; background:linear-gradient(145deg,var(--cma-red),var(--cma-red-800)); box-shadow:var(--cma-shadow-red); }
.cma-route-card-red > i { display:grid; place-items:center; width:58px; height:58px; margin:14px 0 34px; border-radius:18px; background:rgba(255,255,255,.14); color:#fff; font-size:25px; }
.cma-route-card-red .cma-route-number { color:rgba(255,255,255,.09); }
.cma-route-card-red h2 { font-size:29px; }
.cma-route-card-red p, .cma-route-card-red ul { color:rgba(255,255,255,.76); }
.cma-route-card-red ul { padding-left:18px; line-height:1.85; }
.cma-route-card-red > a { position:absolute; left:34px; bottom:32px; color:#fff; font-weight:700; }

.cma-schedule-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cma-schedule-card { padding:28px; border:1px solid var(--cma-gray-200); border-radius:24px; background:#fff; box-shadow:var(--cma-shadow-sm); display:flex; flex-direction:column; }
.cma-schedule-card i { color:var(--cma-red); font-size:28px; margin-bottom:26px; }
.cma-schedule-card span { color:var(--cma-muted); font-size:13px; }
.cma-schedule-card strong { margin-top:4px; font-size:24px; color:var(--cma-gray-900); }
.cma-schedule-card small { margin-top:5px; color:var(--cma-gray-500); }

.cma-age-list { padding:26px; border-radius:28px; }
.cma-age-list > div { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 4px; border-bottom:1px solid rgba(0,0,0,.07); }
.cma-age-list > div:last-child { border-bottom:0; }
.cma-age-list strong { font-size:17px; }
.cma-age-list span { color:var(--cma-muted); font-weight:600; text-align:right; }

.cma-icon-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.cma-icon-card { min-height:145px; padding:22px; border:1px solid var(--cma-gray-200); border-radius:22px; background:#fff; box-shadow:var(--cma-shadow-sm); display:flex; flex-direction:column; }
.cma-icon-card i { color:var(--cma-red); font-size:25px; margin-bottom:auto; }
.cma-icon-card strong { margin-top:28px; font-size:15px; }
.cma-icon-card small { color:var(--cma-muted); }

.cma-check-list { display:grid; gap:12px; }
.cma-check-list > div { display:flex; gap:12px; align-items:flex-start; padding:13px 15px; border-radius:15px; background:var(--cma-gray-50); }
.cma-check-list i { color:var(--cma-red); margin-top:2px; }
.cma-check-list span { color:var(--cma-gray-700); }

.cma-contact-panel { padding:34px; border-radius:28px; }
.cma-contact-panel h3 { font-size:25px; }
.cma-contact-panel p { color:var(--cma-muted); line-height:1.7; }
.cma-time-big { color:var(--cma-red)!important; font-size:35px!important; font-weight:800; font-family:"Manrope",sans-serif; }

.cma-cycle-stack { display:grid; gap:14px; }
.cma-cycle-card { padding:22px 24px; border-radius:22px; }
.cma-cycle-card span { display:block; color:var(--cma-red); font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.cma-cycle-card strong { display:block; margin:5px 0 8px; font-size:20px; }
.cma-cycle-card p { margin:0; color:var(--cma-muted); line-height:1.55; font-size:14px; }
.cma-cycle-card-red { padding:22px 24px; border-radius:22px; color:#fff; background:linear-gradient(145deg,var(--cma-red),var(--cma-red-800)); box-shadow:var(--cma-shadow-red); }
.cma-cycle-card-red span { display:block; color:rgba(255,255,255,.62); font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.cma-cycle-card-red strong { display:block; margin:5px 0 8px; font-size:20px; }
.cma-cycle-card-red p { margin:0; color:rgba(255,255,255,.72); line-height:1.55; font-size:14px; }

.cma-curriculum-table-wrap { overflow-x:auto; border-radius:24px; box-shadow:var(--cma-shadow-sm); border:1px solid var(--cma-gray-200); background:#fff; }
.cma-curriculum-table { width:100%; border-collapse:collapse; min-width:720px; }
.cma-curriculum-table th { width:50%; padding:18px 22px; background:linear-gradient(135deg,var(--cma-red),var(--cma-red-700)); color:#fff; text-align:left; font-size:15px; }
.cma-curriculum-table td { padding:14px 22px; border-top:1px solid var(--cma-gray-200); color:var(--cma-gray-700); vertical-align:top; }
.cma-curriculum-table td + td { border-left:1px solid var(--cma-gray-200); }
.cma-curriculum-table .cma-table-section td { background:var(--cma-gray-100); color:var(--cma-gray-900); font-weight:800; text-transform:uppercase; font-size:12px; letter-spacing:.07em; }
.cma-callout { display:flex; gap:11px; align-items:flex-start; padding:16px 18px; border-radius:16px; background:rgba(181,31,46,.06); color:var(--cma-gray-700); }
.cma-callout i { color:var(--cma-red); }

.cma-program-card { height:100%; min-height:280px; padding:30px; border-radius:26px; }
.cma-program-card i { display:grid; place-items:center; width:54px; height:54px; margin-bottom:28px; border-radius:17px; color:var(--cma-red); background:rgba(181,31,46,.09); font-size:23px; }
.cma-program-card h3 { font-size:22px; line-height:1.3; }
.cma-program-card p { color:var(--cma-muted); line-height:1.68; }
.cma-tag-cloud { display:flex; flex-wrap:wrap; gap:10px; }
.cma-tag-cloud span { padding:10px 14px; border-radius:999px; background:var(--cma-gray-100); color:var(--cma-gray-700); font-weight:700; font-size:13px; }

.cma-quote { margin:12px 0 20px; color:var(--cma-red); font-family:"Manrope",sans-serif; font-size:clamp(2rem,4vw,3.3rem); font-weight:800; line-height:1.05; letter-spacing:-.05em; }
.cma-heading-light h2 { color:#fff; }
.cma-heading-light p { color:rgba(255,255,255,.65); }
.cma-icon-grid-dark { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cma-dark-icon-card { min-height:245px; padding:27px; border-radius:24px; }
.cma-dark-icon-card i { font-size:27px; color:#fff; }
.cma-dark-icon-card h3 { margin-top:32px; color:#fff; font-size:20px; }
.cma-dark-icon-card p { color:rgba(255,255,255,.62); line-height:1.6; }

.cma-support-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cma-support-item { min-height:105px; padding:18px; border-radius:20px; display:flex; gap:13px; align-items:center; }
.cma-support-item i { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border-radius:13px; color:var(--cma-red); background:rgba(181,31,46,.08); }
.cma-support-item span { color:var(--cma-gray-800); font-weight:700; font-size:14px; }

.cma-sport-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.cma-sport-card { min-height:120px; padding:20px; border-radius:20px; display:flex; align-items:center; gap:14px; }
.cma-sport-card i { display:grid; place-items:center; width:46px; height:46px; border-radius:14px; color:var(--cma-red); background:rgba(181,31,46,.08); font-size:21px; }

.cma-admission-summary { height:100%; min-height:230px; padding:28px; border-radius:25px; display:flex; flex-direction:column; }
.cma-admission-summary > i { color:var(--cma-red); font-size:28px; }
.cma-admission-summary span { margin-top:38px; color:var(--cma-muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.cma-admission-summary strong { margin-top:5px; font-size:20px; }
.cma-admission-summary a { margin-top:auto; color:var(--cma-red); font-weight:700; }
.cma-admission-summary-red { height:100%; min-height:230px; padding:28px; border-radius:25px; display:flex; flex-direction:column; color:#fff; background:linear-gradient(145deg,var(--cma-red),var(--cma-red-800)); box-shadow:var(--cma-shadow-red); }
.cma-admission-summary-red > i { font-size:28px; }
.cma-admission-summary-red span { margin-top:38px; color:rgba(255,255,255,.62); font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.cma-admission-summary-red strong { margin-top:5px; font-size:20px; }
.cma-admission-summary-red a { margin-top:auto; color:#fff; font-weight:700; }

.cma-age-admission-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.cma-age-admission-grid > div { min-height:150px; padding:24px; border-radius:24px; background:#fff; border:1px solid var(--cma-gray-200); box-shadow:var(--cma-shadow-sm); display:flex; flex-direction:column; justify-content:flex-end; }
.cma-age-admission-grid span { color:var(--cma-muted); }
.cma-age-admission-grid strong { margin-top:4px; font-size:28px; color:var(--cma-red); }

.cma-requirement-card { height:100%; padding:32px; border-radius:28px; }
.cma-requirement-card h3 { font-size:24px; }
.cma-document-list { margin:22px 0 0; padding:0; list-style:none; display:grid; gap:12px; }
.cma-document-list li { position:relative; padding-left:30px; color:var(--cma-gray-700); line-height:1.58; }
.cma-document-list li::before { content:"\F26B"; font-family:"bootstrap-icons"; position:absolute; left:0; top:2px; color:var(--cma-red); }

.cma-dark-list { display:grid; gap:13px; }
.cma-dark-list > div { display:flex; gap:12px; align-items:flex-start; color:rgba(255,255,255,.75); }
.cma-dark-list i { color:#fff; margin-top:2px; }
.cma-dark-contact { min-height:260px; padding:30px; border-radius:26px; display:flex; flex-direction:column; }
.cma-dark-contact span { color:rgba(255,255,255,.55); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.cma-dark-contact strong { margin-top:8px; color:#fff; font-size:25px; }
.cma-dark-contact a { margin-top:auto; color:#fff; font-weight:700; }

.cma-contact-tile { height:100%; min-height:220px; padding:26px; border-radius:25px; display:flex; flex-direction:column; color:var(--cma-gray-900); }
.cma-contact-tile:hover { color:var(--cma-red); }
.cma-contact-tile i { color:var(--cma-red); font-size:29px; }
.cma-contact-tile span { margin-top:auto; color:var(--cma-muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.cma-contact-tile strong { margin-top:6px; font-size:18px; line-height:1.35; }
.cma-schedule-list { display:grid; gap:12px; }
.cma-schedule-list > div { display:flex; justify-content:space-between; gap:20px; padding:18px 20px; border-radius:17px; background:#fff; border:1px solid var(--cma-gray-200); }
.cma-schedule-list span { color:var(--cma-gray-700); }
.cma-schedule-list strong { color:var(--cma-red); text-align:right; }
.cma-location-card { padding:28px; border-radius:26px; display:flex; gap:17px; align-items:flex-start; }
.cma-location-card > i { display:grid; place-items:center; width:52px; height:52px; flex:0 0 52px; border-radius:17px; color:var(--cma-red); background:rgba(181,31,46,.08); font-size:22px; }
.cma-location-card div { display:flex; flex-direction:column; }
.cma-location-card strong { font-size:18px; }
.cma-location-card span { margin-top:5px; color:var(--cma-muted); }

.cma-footer-contact-grid p { color:rgba(255,255,255,.72); }

@media (max-width: 1199px) {
    .cma-quick-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .cma-quick-item:nth-child(2) { border-right: 0; }
    .cma-quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--cma-gray-200); }
    .cma-values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cma-icon-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 991px) {
    .cma-page-hero { min-height: 520px; padding: 145px 0 70px; }
    .cma-page-hero-panel { padding: 34px; }
    .cma-experience-grid, .cma-experience-grid-wide { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cma-infra-photo, .cma-infra-photo img { min-height: 430px; }
    .cma-schedule-grid { grid-template-columns: 1fr; }
    .cma-age-admission-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cma-icon-grid-dark { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .cma-quick-grid { grid-template-columns: 1fr; }
    .cma-quick-item, .cma-quick-item:first-child { border-left: 0; border-right: 0; border-bottom: 1px solid var(--cma-gray-200); }
    .cma-quick-item:last-child { border-bottom:0; }
    .cma-page-hero { min-height: auto; padding: 118px 0 58px; }
    .cma-page-hero-panel { padding: 28px 22px; border-radius: 27px; }
    .cma-page-hero h1 { font-size: clamp(2.75rem, 12vw, 4.1rem); }
    .cma-page-hero p { font-size: 16px; }
    .cma-values-grid, .cma-icon-grid, .cma-icon-grid-dark, .cma-support-list, .cma-sport-grid, .cma-age-admission-grid, .cma-experience-grid, .cma-experience-grid-wide { grid-template-columns: 1fr; }
    .cma-infra-grid { grid-template-columns: 1fr 1fr; }
    .cma-infra-item { min-height: 125px; }
    .cma-route-card, .cma-route-card-red { min-height: 510px; }
    .cma-schedule-list > div { flex-direction:column; gap:4px; }
    .cma-schedule-list strong { text-align:left; }
    .cma-location-card { flex-direction:column; }
}

@media (max-width: 480px) {
    .cma-infra-grid { grid-template-columns: 1fr; }
    .cma-values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CMA REVIEW BUILD - PUBLIC SITE WITHOUT DATABASE
   ============================================================ */

.cma-header {
    position: sticky;
    top: 0;
    inset: auto;
}

.cma-review-bar {
    position: relative;
    z-index: 1100;
    padding: 9px 0;
    color: #fff;
    background: linear-gradient(90deg, #7a111c, var(--cma-red), #7a111c);
    font-size: 12px;
    letter-spacing: .01em;
}

.cma-scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 2500;
    height: 3px;
    pointer-events: none;
}
.cma-scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--cma-yellow);
    transition: width .08s linear;
}

.cma-nav-container { max-width: 1540px; padding-inline: 28px; }
.cma-brand-horizontal { max-width: 255px; margin-right: 24px; }
.cma-brand-horizontal-img { display: block; width: 100%; max-height: 56px; object-fit: contain; object-position: left center; }
.cma-header .navbar { min-height: 78px; }
.cma-header .nav-link { font-size: 13px; }
.cma-dropdown .dropdown-item i { width: 20px; text-align: center; color: var(--cma-red); }

.cma-review-intro-section { padding-bottom: 28px; }
.cma-review-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid #e7c869;
    border-radius: 18px;
    background: #fff8dc;
    color: #665114;
    box-shadow: 0 9px 24px rgba(92, 70, 8, .07);
}
.cma-review-note-info { border-color: #b7cde6; background: #eef6ff; color: #37536f; }
.cma-review-note-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .72);
}
.cma-review-note strong { display: block; margin-bottom: 4px; color: inherit; font-size: 14px; }
.cma-review-note-text { font-size: 13px; line-height: 1.6; }

.cma-js .cma-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.cma-js .cma-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Home hero carousel */
.cma-home-hero { position: relative; overflow: hidden; background: #2c050b; }
.cma-home-hero .carousel-item { position: relative; min-height: 770px; }
.cma-home-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cma-home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(35,3,8,.91) 0%, rgba(75,8,18,.69) 43%, rgba(83,10,18,.24) 78%, rgba(26,3,7,.18) 100%),
        linear-gradient(180deg, rgba(15,0,3,.18), rgba(38,4,10,.48));
}
.cma-home-hero-content { position: relative; z-index: 3; min-height: 770px; display: flex; align-items: center; padding-top: 46px; padding-bottom: 72px; }
.cma-home-hero-panel { max-width: 820px; padding: 45px 47px; border-radius: 34px; color: #fff; }
.cma-home-hero-panel h1 { margin: 0; max-width: 760px; font-size: clamp(3.1rem, 6vw, 6.3rem); line-height: .96; letter-spacing: -.065em; }
.cma-home-hero-panel p { max-width: 690px; margin: 24px 0 0; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.7; }
.cma-home-hero .carousel-indicators { bottom: 24px; z-index: 5; }
.cma-home-hero .carousel-indicators button { width: 34px; height: 4px; border: 0; border-radius: 999px; }
.cma-home-hero .carousel-control-prev, .cma-home-hero .carousel-control-next { width: 7%; z-index: 5; }

.cma-quick-access {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--cma-gray-200);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--cma-shadow-sm);
}
.cma-quick-access-item {
    position: relative;
    min-height: 150px;
    padding: 25px 20px;
    border-right: 1px solid var(--cma-gray-200);
    display: flex;
    flex-direction: column;
    color: var(--cma-gray-900);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.cma-quick-access-item:last-child { border-right: 0; }
.cma-quick-access-item > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: auto; border-radius: 14px; color: var(--cma-red); background: rgba(181,31,46,.08); }
.cma-quick-access-item > i { position: absolute; right: 18px; bottom: 20px; color: var(--cma-gray-300); }
.cma-quick-access-item strong { margin-top: 28px; font-size: 14px; }
.cma-quick-access-item:hover { background: var(--cma-red); color: #fff; transform: translateY(-3px); }
.cma-quick-access-item:hover > span { background: rgba(255,255,255,.16); color: #fff; }
.cma-quick-access-item:hover > i { color: #fff; }

.cma-photo-feature { position: relative; overflow: hidden; min-height: 520px; border-radius: 32px; box-shadow: var(--cma-shadow); background: #ddd; }
.cma-photo-feature > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
.cma-photo-feature::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 48%,rgba(20,3,7,.7)); pointer-events:none; }
.cma-photo-feature-caption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; color: #fff; }
.cma-photo-feature-caption span { display:block; color:rgba(255,255,255,.65); font-size:11px; text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
.cma-photo-feature-caption strong { display:block; margin-top:5px; font-size:22px; }
.cma-photo-feature-dark { min-height: 460px; }
.cma-photo-feature-dark > img { min-height: 460px; }

.cma-level-photo-card { position: relative; min-height: 570px; overflow: hidden; border-radius: 30px; background: var(--cma-gray-900); box-shadow: var(--cma-shadow); }
.cma-level-photo-card > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.cma-level-photo-overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(20,3,6,.08) 20%,rgba(37,4,10,.9) 86%); }
.cma-level-photo-body { position:absolute; inset:auto 28px 30px; z-index:2; color:#fff; }
.cma-level-photo-icon { display:grid; place-items:center; width:52px; height:52px; margin-bottom:22px; border-radius:17px; background:rgba(255,255,255,.15); backdrop-filter:blur(10px); }
.cma-level-photo-body h3 { font-size:28px; }
.cma-level-photo-body p { color:rgba(255,255,255,.7); line-height:1.65; }
.cma-level-photo-body a { color:#fff; font-weight:800; }
.cma-level-photo-card:hover > img { transform: scale(1.045); }

.cma-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.cma-service-card { min-height: 170px; padding: 24px; border:1px solid var(--cma-gray-200); border-radius:24px; background:#fff; box-shadow:var(--cma-shadow-sm); display:flex; flex-direction:column; justify-content:space-between; transition:transform .25s ease, box-shadow .25s ease; }
.cma-service-card i { width:50px; height:50px; display:grid; place-items:center; border-radius:16px; color:var(--cma-red); background:rgba(181,31,46,.08); font-size:21px; }
.cma-service-card strong { margin-top:34px; font-size:16px; }
.cma-service-card:hover { transform: translateY(-5px); box-shadow: var(--cma-shadow); }

.cma-dark-carousel { overflow:hidden; border-radius:30px; box-shadow:0 30px 70px rgba(0,0,0,.3); }
.cma-dark-carousel .carousel-item { height: 500px; }
.cma-dark-carousel img { width:100%; height:100%; object-fit:cover; }
.cma-dark-carousel .carousel-caption { left:24px; right:auto; bottom:22px; padding:12px 18px; border-radius:14px; background:rgba(0,0,0,.42); backdrop-filter:blur(12px); }

.cma-home-mosaic { display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:260px 260px; gap:14px; }
.cma-mosaic-item { position:relative; border:0; padding:0; overflow:hidden; border-radius:24px; background:#ddd; cursor:pointer; }
.cma-mosaic-item:first-child { grid-row:span 2; }
.cma-mosaic-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.cma-mosaic-item::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.72)); }
.cma-mosaic-item span { position:absolute; z-index:2; left:18px; right:18px; bottom:16px; color:#fff; text-align:left; font-weight:800; }
.cma-mosaic-item:hover img { transform:scale(1.05); }

.cma-flyer-card { width:100%; border:0; padding:0; border-radius:28px; overflow:hidden; background:#fff; box-shadow:var(--cma-shadow-sm); text-align:left; cursor:pointer; transition:transform .25s ease, box-shadow .25s ease; }
.cma-flyer-card img { width:100%; height:470px; object-fit:cover; display:block; }
.cma-flyer-card span { display:flex; align-items:center; gap:9px; padding:17px 19px; color:var(--cma-red); font-weight:800; }
.cma-flyer-card:hover { transform:translateY(-5px); box-shadow:var(--cma-shadow); }

.cma-download-home { padding:34px; border-radius:28px; color:#fff; background:linear-gradient(145deg,var(--cma-gray-900),#111); box-shadow:var(--cma-shadow); }
.cma-download-home > i { font-size:36px; color:#fff; margin-bottom:28px; }
.cma-download-home h3 { font-size:26px; }
.cma-download-home p { color:rgba(255,255,255,.65); line-height:1.65; }
.cma-download-home a { color:#fff; font-weight:800; }

.cma-review-project-card { min-height:160px; padding:26px; border:1px solid #ead483; border-radius:24px; background:#fffaf0; display:flex; gap:20px; }
.cma-review-project-card > i { display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border-radius:15px; color:#8a6610; background:#fff0bd; }
.cma-review-project-card h3 { margin:2px 0 8px; font-size:20px; }
.cma-review-project-card p { margin:0; color:#6b5d36; line-height:1.6; }

/* Academic route cards */
.cma-academic-route-card { overflow:hidden; height:100%; border-radius:30px; background:#fff; box-shadow:var(--cma-shadow); }
.cma-academic-route-card > img { width:100%; height:310px; object-fit:cover; display:block; }
.cma-academic-route-content { position:relative; min-height:340px; padding:30px; }
.cma-academic-route-content > i { display:grid; place-items:center; width:54px; height:54px; margin-bottom:24px; border-radius:17px; color:var(--cma-red); background:rgba(181,31,46,.08); font-size:21px; }
.cma-academic-route-content h2 { font-size:25px; }
.cma-academic-route-content p { color:var(--cma-muted); line-height:1.65; }
.cma-academic-route-content a { color:var(--cma-red); font-weight:800; }

.cma-age-admission-grid > div small { margin-top:8px; color:var(--cma-muted); line-height:1.4; }

.cma-photo-carousel { overflow:hidden; border-radius:30px; box-shadow:var(--cma-shadow); background:#222; }
.cma-photo-carousel .carousel-item { height:520px; }
.cma-photo-carousel img { width:100%; height:100%; object-fit:cover; display:block; }
.cma-photo-carousel .carousel-caption { padding:10px 15px; border-radius:12px; background:rgba(0,0,0,.42); backdrop-filter:blur(10px); }
.cma-gallery-cta { padding:34px 38px; border-radius:28px; border:1px solid var(--cma-gray-200); background:#fff; display:flex; align-items:center; justify-content:space-between; gap:30px; box-shadow:var(--cma-shadow-sm); }

.cma-service-detail-card { height:100%; min-height:285px; padding:27px; border:1px solid var(--cma-gray-200); border-radius:25px; background:#fff; box-shadow:var(--cma-shadow-sm); }
.cma-service-detail-card i { display:grid; place-items:center; width:52px; height:52px; margin-bottom:30px; border-radius:17px; color:var(--cma-red); background:rgba(181,31,46,.08); font-size:21px; }
.cma-service-detail-card h3 { font-size:19px; }
.cma-service-detail-card p { color:var(--cma-muted); line-height:1.65; font-size:14px; }

.cma-sport-card { color:#fff; }
.cma-sport-card strong { display:block; color:#fff; }
.cma-sport-card small { display:block; margin-top:4px; color:rgba(255,255,255,.55); }

/* Admissions form */
.cma-pre-form { padding:34px; border:1px solid rgba(255,255,255,.15); border-radius:28px; background:rgba(255,255,255,.08); backdrop-filter:blur(20px); }
.cma-pre-form .form-label { color:rgba(255,255,255,.78); font-size:13px; font-weight:700; }
.cma-pre-form .form-control, .cma-pre-form .form-select { min-height:50px; border-color:rgba(255,255,255,.2); border-radius:14px; color:#fff; background:rgba(255,255,255,.08); }
.cma-pre-form .form-select { color-scheme:dark; }
.cma-pre-form textarea.form-control { min-height:110px; }
.cma-pre-form .form-control:focus, .cma-pre-form .form-select:focus { border-color:rgba(255,255,255,.55); box-shadow:0 0 0 .2rem rgba(255,255,255,.08); background:rgba(255,255,255,.11); }
.cma-pre-form .form-check-label { color:rgba(255,255,255,.7); font-size:13px; line-height:1.5; }
.cma-pre-result { margin-top:24px; padding:28px; border-radius:26px; background:#fff; color:var(--cma-text); }
.cma-pre-result h3 { font-size:24px; }
.cma-pre-result p { color:var(--cma-muted); }
.cma-wa-option { display:flex; align-items:center; gap:14px; padding:16px; border:1px solid var(--cma-gray-200); border-radius:17px; color:var(--cma-gray-900); background:#fff; }
.cma-wa-option > span { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border-radius:13px; color:#fff; background:#1fa855; font-size:20px; }
.cma-wa-option div { display:flex; flex:1; flex-direction:column; }
.cma-wa-option small { color:var(--cma-muted); font-size:11px; line-height:1.35; }
.cma-wa-option > i { color:var(--cma-gray-400); }
.cma-wa-option:hover { border-color:#1fa855; color:#168342; }

/* Protocols */
.cma-protocol-card { height:100%; min-height:470px; padding:32px; border:1px solid var(--cma-gray-200); border-radius:28px; background:#fff; box-shadow:var(--cma-shadow-sm); }
.cma-protocol-card > i { display:grid; place-items:center; width:58px; height:58px; margin-bottom:34px; border-radius:18px; color:var(--cma-red); background:rgba(181,31,46,.08); font-size:24px; }
.cma-protocol-card h2 { margin-top:9px; font-size:26px; }
.cma-protocol-card p { color:var(--cma-muted); line-height:1.75; }
.cma-protocol-card-dark { color:#fff; background:linear-gradient(145deg,#272727,#121212); border-color:#333; }
.cma-protocol-card-dark > i { color:#fff; background:rgba(255,255,255,.1); }
.cma-protocol-card-dark p { color:rgba(255,255,255,.65); }
.cma-private-pill { display:inline-flex; align-items:center; gap:8px; margin-top:20px; padding:9px 12px; border-radius:999px; background:rgba(255,255,255,.1); color:rgba(255,255,255,.78); font-size:12px; font-weight:700; }
.cma-private-security { height:100%; min-height:350px; padding:38px; border:1px solid rgba(255,255,255,.13); border-radius:28px; background:rgba(255,255,255,.07); }
.cma-private-security > i { font-size:34px; color:#fff; }
.cma-private-security h3 { margin-top:38px; color:#fff; font-size:28px; }
.cma-private-security p { color:rgba(255,255,255,.64); line-height:1.75; }

/* Downloads */
.cma-download-card { height:100%; min-height:530px; padding:32px; border:1px solid var(--cma-gray-200); border-radius:28px; background:#fff; box-shadow:var(--cma-shadow-sm); }
.cma-download-icon { display:grid; place-items:center; width:62px; height:62px; margin-bottom:30px; border-radius:19px; color:#fff; background:linear-gradient(135deg,var(--cma-red),var(--cma-red-700)); font-size:25px; }
.cma-download-card h2 { font-size:24px; }
.cma-download-card > p { color:var(--cma-muted); line-height:1.65; }

/* Contact */
.cma-social-link-card { display:flex; align-items:center; gap:17px; padding:20px; border:1px solid var(--cma-gray-200); border-radius:20px; color:var(--cma-gray-900); background:#fff; box-shadow:var(--cma-shadow-sm); }
.cma-social-link-card > i:first-child { display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border-radius:15px; color:#fff; background:var(--cma-red); font-size:20px; }
.cma-social-link-card div { display:flex; flex:1; flex-direction:column; }
.cma-social-link-card span { color:var(--cma-muted); font-size:13px; }
.cma-social-link-card > i:last-child { color:var(--cma-gray-400); }
.cma-social-link-card:hover { color:var(--cma-red); transform:translateY(-2px); }

/* Gallery */
.cma-gallery-filters { display:flex; flex-wrap:wrap; gap:10px; }
.cma-gallery-filters button { padding:10px 16px; border:1px solid var(--cma-gray-300); border-radius:999px; color:var(--cma-gray-700); background:#fff; font-weight:800; font-size:13px; }
.cma-gallery-filters button.active, .cma-gallery-filters button:hover { color:#fff; border-color:var(--cma-red); background:var(--cma-red); }
.cma-gallery-category { padding-top:68px; transition:opacity .3s ease; }
.cma-gallery-category.is-filtered-out { display:none; }
.cma-gallery-category-head { display:flex; justify-content:space-between; gap:28px; align-items:end; margin-bottom:24px; }
.cma-gallery-category-head h2 { margin:5px 0 6px; font-size:32px; }
.cma-gallery-category-head p { margin:0; color:var(--cma-muted); }
.cma-gallery-count { padding:8px 12px; border-radius:999px; background:var(--cma-gray-100); color:var(--cma-gray-600); font-size:12px; font-weight:800; white-space:nowrap; }
.cma-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.cma-gallery-item { position:relative; height:230px; overflow:hidden; border:0; padding:0; border-radius:20px; background:var(--cma-gray-100); cursor:pointer; }
.cma-gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease, filter .35s ease; }
.cma-gallery-item span { position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-size:24px; opacity:0; background:rgba(83,10,21,.48); transition:opacity .3s ease; }
.cma-gallery-item:hover img { transform:scale(1.055); }
.cma-gallery-item:hover span { opacity:1; }

.cma-lightbox-content { position:relative; overflow:hidden; border:0; border-radius:26px; background:#070707; box-shadow:0 30px 100px rgba(0,0,0,.55); }
.cma-lightbox-content img { display:block; width:100%; max-height:82vh; object-fit:contain; background:#070707; }
.cma-lightbox-close { position:absolute; z-index:5; top:16px; right:16px; padding:10px; border-radius:50%; background-color:rgba(0,0,0,.55); }
.cma-lightbox-caption { padding:15px 20px; color:rgba(255,255,255,.78); background:#070707; text-align:center; }

/* Footer + floating controls */
.cma-footer-brand-img { max-width:260px; width:100%; filter:brightness(0) invert(1); opacity:.94; }
.cma-socials-footer { justify-content:flex-start; margin-top:22px; }
.cma-socials button { width:42px; height:42px; border:1px solid rgba(255,255,255,.15); border-radius:13px; color:#fff; background:rgba(255,255,255,.07); }
.cma-socials button:hover { background:var(--cma-red); }
.cma-footer-review-note { display:block; margin-top:14px; color:rgba(255,255,255,.45); line-height:1.5; }
.cma-footer-bottom { gap:18px; flex-wrap:wrap; }
.cma-back-to-top, .cma-whatsapp-float { position:fixed; z-index:1050; right:22px; width:48px; height:48px; border:0; border-radius:16px; display:grid; place-items:center; color:#fff; box-shadow:0 14px 34px rgba(0,0,0,.18); transition:opacity .25s ease, transform .25s ease; }
.cma-whatsapp-float { bottom:22px; background:#1fa855; font-size:23px; }
.cma-back-to-top { bottom:80px; background:var(--cma-gray-900); opacity:0; pointer-events:none; transform:translateY(10px); }
.cma-back-to-top.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); }
.cma-modal-content { border:0; border-radius:26px; box-shadow:0 30px 100px rgba(0,0,0,.25); }

@media (max-width: 1399px) {
    .cma-brand-horizontal { max-width:220px; }
    .cma-header .nav-link { margin-inline:2px; padding-inline:7px!important; }
}

@media (max-width: 1199px) {
    .cma-nav-container { padding-inline:18px; }
    .cma-header .navbar-collapse { padding:18px 0 24px; }
    .cma-brand-horizontal { max-width:230px; }
    .cma-quick-access { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .cma-quick-access-item:nth-child(3n) { border-right:0; }
    .cma-quick-access-item:nth-child(-n+3) { border-bottom:1px solid var(--cma-gray-200); }
    .cma-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .cma-gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 991px) {
    .cma-home-hero .carousel-item, .cma-home-hero-content { min-height:680px; }
    .cma-home-hero-panel { padding:34px; }
    .cma-home-hero-panel h1 { font-size:clamp(3rem,9vw,5rem); }
    .cma-home-mosaic { grid-template-columns:1fr 1fr; grid-template-rows:330px 230px 230px; }
    .cma-mosaic-item:first-child { grid-column:span 2; grid-row:auto; }
    .cma-photo-carousel .carousel-item, .cma-dark-carousel .carousel-item { height:440px; }
    .cma-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .cma-flyer-card img { height:auto; max-height:580px; object-fit:contain; background:#f2f2f2; }
}

@media (max-width: 767px) {
    .cma-review-bar { font-size:11px; }
    .cma-brand-horizontal { max-width:190px; }
    .cma-home-hero .carousel-item, .cma-home-hero-content { min-height:620px; }
    .cma-home-hero-content { padding-top:30px; padding-bottom:60px; }
    .cma-home-hero-panel { padding:26px 22px; border-radius:26px; }
    .cma-home-hero-panel h1 { font-size:clamp(2.6rem,12vw,4.3rem); }
    .cma-home-hero-panel p { font-size:16px; }
    .cma-home-hero .carousel-control-prev, .cma-home-hero .carousel-control-next { display:none; }
    .cma-quick-access { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .cma-quick-access-item { border-bottom:1px solid var(--cma-gray-200); }
    .cma-quick-access-item:nth-child(odd) { border-right:1px solid var(--cma-gray-200); }
    .cma-quick-access-item:nth-child(even) { border-right:0; }
    .cma-service-grid { grid-template-columns:1fr 1fr; }
    .cma-home-mosaic { display:grid; grid-template-columns:1fr; grid-template-rows:none; }
    .cma-mosaic-item, .cma-mosaic-item:first-child { grid-column:auto; height:270px; }
    .cma-gallery-cta, .cma-gallery-category-head { align-items:flex-start; flex-direction:column; }
    .cma-gallery-grid { grid-template-columns:1fr 1fr; }
    .cma-gallery-item { height:180px; }
    .cma-photo-feature, .cma-photo-feature > img { min-height:400px; }
    .cma-photo-carousel .carousel-item, .cma-dark-carousel .carousel-item { height:390px; }
    .cma-back-to-top, .cma-whatsapp-float { right:14px; }
}

@media (max-width: 480px) {
    .cma-service-grid, .cma-gallery-grid { grid-template-columns:1fr; }
    .cma-gallery-item { height:260px; }
    .cma-quick-access { grid-template-columns:1fr; }
    .cma-quick-access-item, .cma-quick-access-item:nth-child(odd) { border-right:0; }
    .cma-brand-horizontal { max-width:165px; }
}

/* ============================================================
   NIVEL INICIAL - ACTUALIZACION DOCUMENTAL 2026-11
   ============================================================ */
.cma-section-compact { padding-top: 28px; padding-bottom: 28px; }
.cma-initial-nav-wrap { border-bottom: 1px solid var(--cma-gray-200); background: rgba(255,255,255,.82); }
.cma-section-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.cma-section-nav a {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
    border: 1px solid var(--cma-gray-200); background: #fff; color: var(--cma-gray-800); font-weight: 700;
    transition: .2s ease;
}
.cma-section-nav a:hover { color: var(--cma-red); border-color: rgba(157,19,42,.35); transform: translateY(-1px); }
.cma-value-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cma-value-pills span {
    padding: 9px 13px; border-radius: 999px; background: rgba(157,19,42,.07); border: 1px solid rgba(157,19,42,.12);
    color: var(--cma-red); font-size: 13px; font-weight: 800;
}
.cma-photo-frame { min-height: 330px; border-radius: 28px; overflow: hidden; box-shadow: var(--cma-shadow); background: var(--cma-gray-100); }
.cma-photo-frame-tall { min-height: 500px; }
.cma-photo-frame img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; }
.cma-method-card {
    padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--cma-gray-200); box-shadow: 0 16px 46px rgba(30,32,38,.06);
}
.cma-method-icon {
    width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 18px;
    background: rgba(157,19,42,.08); color: var(--cma-red); font-size: 20px;
}
.cma-method-card h3 { font-size: 19px; margin-bottom: 10px; }
.cma-method-card p { margin: 0; color: var(--cma-gray-600); }
.cma-learning-corners { padding: 34px; border-radius: 28px; background: #fff; border: 1px solid var(--cma-gray-200); }
.cma-learning-corners h3 { font-size: 27px; }
.cma-corner-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.cma-corner-grid > div { display: flex; gap: 12px; padding: 15px; border-radius: 18px; background: var(--cma-gray-50); border: 1px solid var(--cma-gray-200); }
.cma-corner-grid i { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: rgba(157,19,42,.08); color: var(--cma-red); }
.cma-corner-grid span { display: flex; flex-direction: column; gap: 3px; }
.cma-corner-grid small { color: var(--cma-gray-600); line-height: 1.35; }
.cma-timeline-list { display: grid; gap: 12px; }
.cma-timeline-list > div { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--cma-gray-200); }
.cma-timeline-list > div > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: rgba(157,19,42,.08); color: var(--cma-red); }
.cma-private-info-card {
    padding: 34px; border-radius: 28px; background: linear-gradient(145deg,#2e3036,#17181c); color: #fff; box-shadow: var(--cma-shadow);
}
.cma-private-info-card > i { font-size: 34px; color: #f4bf3b; margin-bottom: 18px; }
.cma-private-info-card h3 { font-size: 25px; }
.cma-private-info-card p { color: rgba(255,255,255,.75); }
.cma-private-info-card span { display: inline-flex; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.10); font-size: 12px; font-weight: 800; }
.cma-project-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.cma-project-fields span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 14px; background: var(--cma-gray-50); border: 1px solid var(--cma-gray-200); font-weight: 700; }
.cma-project-fields i { color: var(--cma-red); }
.cma-empty-state { padding: 30px; border-radius: 24px; border: 1px dashed var(--cma-gray-300); background: #fff; text-align: center; }
.cma-empty-state i { display: block; font-size: 38px; color: var(--cma-red); margin-bottom: 14px; }
.cma-empty-state strong { display: block; font-size: 18px; margin-bottom: 8px; }
.cma-empty-state p { margin: 0; color: var(--cma-gray-600); }
.cma-family-link-card {
    display: flex; flex-direction: column; min-height: 100%; padding: 26px; border-radius: 24px; border: 1px solid var(--cma-gray-200);
    background: #fff; color: var(--cma-gray-800); box-shadow: 0 14px 40px rgba(30,32,38,.05); transition: .22s ease;
}
.cma-family-link-card:hover { color: var(--cma-gray-800); transform: translateY(-4px); border-color: rgba(157,19,42,.24); box-shadow: 0 22px 50px rgba(30,32,38,.10); }
.cma-family-link-card > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(157,19,42,.08); color: var(--cma-red); font-size: 20px; margin-bottom: 18px; }
.cma-family-link-card strong { font-size: 18px; margin-bottom: 8px; }
.cma-family-link-card span { color: var(--cma-gray-600); flex: 1; }
.cma-family-link-card small { margin-top: 20px; color: var(--cma-red); font-weight: 800; }
.cma-admission-cta { padding: 32px; border-radius: 28px; background: var(--cma-gray-50); border: 1px solid var(--cma-gray-200); }
.cma-admission-cta > i { font-size: 34px; color: var(--cma-red); margin-bottom: 16px; }
.cma-admission-cta h3 { font-size: 25px; }

@media (max-width: 767.98px) {
    .cma-corner-grid { grid-template-columns: 1fr; }
    .cma-photo-frame-tall { min-height: 390px; }
    .cma-section-nav { gap: 8px; }
    .cma-section-nav a { font-size: 13px; padding: 9px 11px; }
}

/* ============================================================
   NIVEL INICIAL - AJUSTE VISUAL 2026-11-16
   Correcciones de composicion, glassmorphism y tarjetas
   ============================================================ */
.cma-initial-nav-wrap {
    padding-top: 22px;
    padding-bottom: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(181,31,46,.08), transparent 34%),
        linear-gradient(180deg,#fff,#fafafa);
}
.cma-initial-nav-shell {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.84);
    border-radius: 24px;
    background: linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.64));
    box-shadow: 0 16px 42px rgba(23,23,23,.08), inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.cma-initial-nav-shell::after {
    content:"";
    position:absolute;
    left:24px;
    right:24px;
    bottom:-1px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,transparent,var(--cma-yellow),transparent);
    opacity:.75;
}
.cma-section-nav {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
}
.cma-section-nav a {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:48px;
    padding:8px 12px;
    border:1px solid transparent;
    border-radius:16px;
    color:var(--cma-gray-700) !important;
    background:transparent;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
    transition:transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.cma-section-nav a > span {
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    flex:0 0 30px;
    border-radius:10px;
    color:var(--cma-red);
    background:rgba(181,31,46,.08);
}
.cma-section-nav a:hover {
    color:var(--cma-red) !important;
    border-color:rgba(181,31,46,.12);
    background:rgba(255,255,255,.78);
    transform:translateY(-2px);
}

.cma-initial-feature-section {
    padding-top:82px;
    padding-bottom:82px;
    background:
        radial-gradient(circle at 12% 35%, rgba(181,31,46,.07), transparent 26%),
        linear-gradient(180deg,#fff,#fbfbfb);
}
.cma-initial-glass-feature,
.cma-jornada-glass {
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.88);
    border-radius:34px;
    background:
        linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,255,255,.70));
    box-shadow:0 26px 70px rgba(28,28,28,.10), inset 0 1px 0 rgba(255,255,255,.92);
    backdrop-filter:blur(24px) saturate(135%);
    -webkit-backdrop-filter:blur(24px) saturate(135%);
}
.cma-initial-glass-feature::before,
.cma-jornada-glass::before {
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    left:-120px;
    top:-120px;
    border-radius:50%;
    background:rgba(181,31,46,.08);
    filter:blur(25px);
    pointer-events:none;
}
.cma-initial-feature-copy {
    position:relative;
    z-index:2;
    padding:52px 54px;
}
.cma-initial-feature-copy h2 {
    max-width:720px;
    margin-bottom:20px;
    color:var(--cma-gray-900);
    font-size:clamp(2.15rem,3.4vw,3.65rem);
    line-height:1.07;
}
.cma-initial-feature-copy h3 {
    margin-bottom:10px;
    color:var(--cma-gray-900);
    font-size:clamp(1.8rem,2.4vw,2.6rem);
}
.cma-initial-feature-copy > p:last-of-type { margin-bottom:0; }
.cma-initial-feature-copy-compact { padding:42px 44px; }
.cma-initial-feature-media {
    height:100%;
    min-height:430px;
    padding:14px;
}
.cma-initial-feature-media img {
    width:100%;
    height:100%;
    min-height:402px;
    display:block;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 18px 42px rgba(23,23,23,.11);
}
.cma-initial-feature-media-corners { min-height:405px; }
.cma-initial-feature-media-corners img { min-height:377px; }

.cma-corner-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.cma-corner-grid > .cma-corner-card {
    min-height:105px;
    align-items:flex-start;
    gap:13px;
    padding:16px;
    border:1px solid rgba(181,31,46,.08);
    border-radius:18px;
    background:rgba(255,255,255,.72);
    box-shadow:0 10px 26px rgba(23,23,23,.04);
}
.cma-corner-grid > .cma-corner-card i {
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:13px;
    font-size:17px;
}
.cma-corner-grid > .cma-corner-card strong {
    display:block;
    margin-bottom:4px;
    color:var(--cma-gray-900);
    font-size:15px;
}
.cma-corner-grid > .cma-corner-card small {
    display:block;
    color:var(--cma-gray-600);
    font-size:13px;
    line-height:1.45;
}

.cma-jornada-glass {
    padding:48px;
    background:
        radial-gradient(circle at 100% 0%,rgba(245,189,0,.10),transparent 28%),
        linear-gradient(135deg,rgba(255,255,255,.94),rgba(249,249,249,.74));
}
.cma-jornada-glass h2 {
    margin-bottom:18px;
    font-size:clamp(2.15rem,3.2vw,3.45rem);
    line-height:1.08;
}
.cma-timeline-list.cma-timeline-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.cma-timeline-list.cma-timeline-grid > .cma-jornada-item {
    display:flex;
    align-items:center;
    gap:13px;
    min-height:82px;
    padding:13px 15px;
    border:1px solid rgba(181,31,46,.08);
    border-radius:18px;
    background:rgba(255,255,255,.78);
    box-shadow:0 9px 24px rgba(23,23,23,.045);
}
.cma-timeline-list.cma-timeline-grid > .cma-jornada-item > span {
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border-radius:14px;
    color:var(--cma-red);
    background:linear-gradient(145deg,rgba(181,31,46,.12),rgba(181,31,46,.06));
    font-size:17px;
}
.cma-timeline-list.cma-timeline-grid > .cma-jornada-item strong {
    color:var(--cma-gray-800);
    font-size:14px;
    line-height:1.35;
}

.cma-family-card-grid .cma-family-link-card {
    position:relative;
    overflow:hidden;
    min-height:285px;
    padding:28px;
    border:1px solid var(--cma-gray-200) !important;
    border-radius:26px;
    color:var(--cma-gray-900) !important;
    background:linear-gradient(180deg,#fff,#fbfbfb);
    box-shadow:0 16px 42px rgba(23,23,23,.07);
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cma-family-card-grid .cma-family-link-card::before {
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    right:-55px;
    top:-50px;
    border-radius:50%;
    background:rgba(181,31,46,.07);
}
.cma-family-card-grid .cma-family-link-card:hover {
    color:var(--cma-gray-900) !important;
    border-color:rgba(181,31,46,.25) !important;
    box-shadow:0 24px 60px rgba(23,23,23,.11);
    transform:translateY(-6px);
}
.cma-family-card-icon {
    position:relative;
    z-index:1;
    width:68px;
    height:68px;
    display:grid;
    place-items:center;
    margin-bottom:28px;
    border-radius:21px;
    color:#fff;
    background:linear-gradient(145deg,var(--cma-red),var(--cma-red-700));
    box-shadow:0 12px 28px rgba(181,31,46,.20);
    font-size:27px;
}
.cma-family-card-grid .card-body { position:relative; z-index:1; }
.cma-family-card-grid h3 {
    margin-bottom:11px;
    color:var(--cma-gray-900);
    font-size:20px;
}
.cma-family-card-grid p {
    margin:0;
    color:var(--cma-gray-600);
    font-size:14px;
    line-height:1.6;
}
.cma-family-card-action {
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:24px;
    color:var(--cma-red);
    font-size:13px;
    font-weight:800;
}

/* Footer: logo oficial transparente directamente sobre el fondo oscuro. */
.cma-footer-brand-img {
    display:block;
    width:min(100%, 300px);
    height:auto;
    margin:0;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    filter:drop-shadow(0 8px 18px rgba(0,0,0,.20)) !important;
    opacity:1 !important;
}

@media (max-width:1199.98px) {
    .cma-section-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .cma-initial-feature-copy { padding:42px; }
    .cma-jornada-glass { padding:38px; }
}
@media (max-width:991.98px) {
    .cma-initial-feature-media { min-height:360px; padding:0 14px 14px; }
    .cma-initial-feature-media img { min-height:360px; }
    .cma-initial-feature-copy { padding:40px 32px 32px; }
    .cma-initial-glass-feature-reverse .cma-initial-feature-media { padding:14px 14px 0; }
    .cma-jornada-glass { padding:32px; }
}
@media (max-width:767.98px) {
    .cma-section-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .cma-section-nav a { justify-content:flex-start; min-height:44px; padding:7px 9px; font-size:12px; }
    .cma-section-nav a > span { width:28px; height:28px; flex-basis:28px; }
    .cma-initial-feature-copy { padding:32px 24px 26px; }
    .cma-initial-feature-media,
    .cma-initial-feature-media-corners { min-height:300px; }
    .cma-initial-feature-media img,
    .cma-initial-feature-media-corners img { min-height:300px; }
    .cma-corner-grid { grid-template-columns:1fr; }
    .cma-jornada-glass { padding:26px 20px; }
    .cma-timeline-list.cma-timeline-grid { grid-template-columns:1fr; }
    .cma-family-card-grid .cma-family-link-card { min-height:250px; }
}

/* ============================================================
   TERCER CICLO Y NIVEL MEDIO - ACTUALIZACION 2026-11-16
   ============================================================ */
.cma-level-nav-wrap {
    padding:22px 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(181,31,46,.08), transparent 34%),
        linear-gradient(180deg,#fff,#fafafa);
}
.cma-level-nav-shell {
    position:relative;
    padding:10px;
    border:1px solid rgba(255,255,255,.84);
    border-radius:24px;
    background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.64));
    box-shadow:0 16px 42px rgba(23,23,23,.08), inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter:blur(22px) saturate(140%);
    -webkit-backdrop-filter:blur(22px) saturate(140%);
}
.cma-level-nav-shell::after {
    content:"";
    position:absolute;
    left:24px;
    right:24px;
    bottom:-1px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,transparent,var(--cma-yellow),transparent);
    opacity:.75;
}
.cma-section-nav-5 { grid-template-columns:repeat(5,minmax(0,1fr)); }

.cma-level-glass-feature {
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.9);
    border-radius:34px;
    background:
        radial-gradient(circle at 0% 0%,rgba(181,31,46,.08),transparent 30%),
        linear-gradient(135deg,rgba(255,255,255,.95),rgba(250,250,250,.78));
    box-shadow:0 24px 70px rgba(23,23,23,.09);
    backdrop-filter:blur(20px) saturate(135%);
    -webkit-backdrop-filter:blur(20px) saturate(135%);
}
.cma-level-feature-copy { padding:52px; }
.cma-level-feature-copy h2 {
    margin-bottom:20px;
    font-size:clamp(2.1rem,3.5vw,3.55rem);
    line-height:1.06;
}
.cma-level-feature-copy p { color:var(--cma-gray-600); }
.cma-level-feature-media { min-height:460px; padding:14px; }
.cma-level-feature-media img {
    width:100%;
    height:100%;
    min-height:432px;
    object-fit:cover;
    border-radius:26px;
}
.cma-level-pill-grid { display:flex; flex-wrap:wrap; gap:10px; }
.cma-level-pill-grid span {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 13px;
    border:1px solid rgba(181,31,46,.08);
    border-radius:999px;
    color:var(--cma-gray-700);
    background:rgba(255,255,255,.76);
    font-size:13px;
    font-weight:700;
}
.cma-level-pill-grid i { color:var(--cma-red); }

.cma-program-card-updated { min-height:330px; }
.cma-program-years {
    display:inline-flex;
    margin:-8px 0 14px;
    padding:6px 10px;
    border-radius:999px;
    color:var(--cma-red);
    background:rgba(181,31,46,.08);
    font-size:12px;
    font-weight:800;
    letter-spacing:.02em;
}
.cma-legacy-program {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:22px;
    padding:24px 26px;
    border:1px solid #f1d27b;
    border-radius:24px;
    background:linear-gradient(135deg,#fff9df,#fffdf6);
    box-shadow:0 14px 34px rgba(118,86,8,.07);
}
.cma-legacy-program-icon {
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border-radius:18px;
    color:#805f00;
    background:#fff1b8;
    font-size:23px;
}
.cma-legacy-program h3 { margin:2px 0 6px; font-size:21px; }
.cma-legacy-program p { margin:0; color:#6f6040; line-height:1.6; }
.cma-legacy-program-status {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 12px;
    border-radius:999px;
    color:#755700;
    background:#ffefae;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.cma-profile-panel {
    padding:38px;
    border:1px solid var(--cma-gray-200);
    border-radius:30px;
    background:linear-gradient(145deg,#fff,#fbfbfb);
    box-shadow:0 20px 55px rgba(23,23,23,.07);
}
.cma-profile-panel-health {
    background:
        radial-gradient(circle at 100% 0%,rgba(181,31,46,.07),transparent 28%),
        linear-gradient(145deg,#fff,#fbfbfb);
}
.cma-profile-panel-head { display:flex; align-items:center; gap:18px; }
.cma-profile-panel-head h3 { margin:3px 0 0; font-size:clamp(1.65rem,2.7vw,2.45rem); }
.cma-profile-icon {
    display:grid;
    place-items:center;
    width:62px;
    height:62px;
    flex:0 0 62px;
    border-radius:20px;
    color:#fff;
    background:linear-gradient(145deg,var(--cma-red),var(--cma-red-800));
    box-shadow:0 14px 30px rgba(181,31,46,.22);
    font-size:25px;
}
.cma-profile-grid { display:grid; gap:11px; }
.cma-profile-grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.cma-profile-item {
    display:flex;
    align-items:flex-start;
    gap:11px;
    padding:13px 14px;
    border-radius:16px;
    background:var(--cma-gray-50);
}
.cma-profile-item i { margin-top:3px; color:var(--cma-red); }
.cma-profile-item span { color:var(--cma-gray-700); font-size:14px; line-height:1.55; }
.cma-profile-meta { display:flex; flex-wrap:wrap; gap:9px; }
.cma-profile-meta span {
    padding:8px 11px;
    border-radius:999px;
    color:var(--cma-gray-700);
    background:#f2f2f2;
    font-size:12px;
    font-weight:700;
}
.cma-practice-card {
    height:100%;
    padding:28px;
    border-radius:26px;
    color:#fff;
    background:linear-gradient(145deg,var(--cma-red-800),#4b0712);
    box-shadow:var(--cma-shadow-red);
}
.cma-practice-card .cma-eyebrow { color:rgba(255,255,255,.62); }
.cma-practice-card h4 { margin:6px 0 22px; font-size:26px; }
.cma-practice-list { display:grid; gap:13px; }
.cma-practice-list > div { display:flex; gap:12px; align-items:flex-start; }
.cma-practice-list > div > i {
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    flex:0 0 40px;
    border-radius:13px;
    color:#fff;
    background:rgba(255,255,255,.12);
}
.cma-practice-list p { margin:0; }
.cma-practice-list strong { display:block; color:#fff; font-size:14px; }
.cma-practice-list span { display:block; margin-top:2px; color:rgba(255,255,255,.68); font-size:12px; line-height:1.5; }
.cma-competency-card {
    padding:25px;
    border:1px solid var(--cma-gray-200);
    border-radius:22px;
    background:#fff;
}
.cma-competency-card > i {
    display:grid;
    place-items:center;
    width:50px;
    height:50px;
    margin-bottom:20px;
    border-radius:16px;
    color:var(--cma-red);
    background:rgba(181,31,46,.08);
    font-size:20px;
}
.cma-competency-card h4 { font-size:18px; }
.cma-competency-card p { margin:0; color:var(--cma-gray-600); font-size:14px; line-height:1.62; }

.cma-activity-grid-dark { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cma-activity-dark-card {
    display:flex;
    align-items:flex-start;
    gap:13px;
    min-height:116px;
    padding:16px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:18px;
    background:rgba(255,255,255,.06);
}
.cma-activity-dark-card > i {
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    flex:0 0 44px;
    border-radius:14px;
    color:#fff;
    background:rgba(255,255,255,.12);
}
.cma-activity-dark-card p { margin:0; }
.cma-activity-dark-card strong { display:block; color:#fff; font-size:14px; }
.cma-activity-dark-card span { display:block; margin-top:3px; color:rgba(255,255,255,.64); font-size:12px; line-height:1.45; }

.cma-accompaniment-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.cma-accompaniment-card {
    display:flex;
    gap:15px;
    align-items:flex-start;
    min-height:150px;
    padding:22px;
    border:1px solid var(--cma-gray-200);
    border-radius:22px;
    background:#fff;
    box-shadow:0 12px 30px rgba(23,23,23,.045);
}
.cma-accompaniment-card > i {
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:15px;
    color:var(--cma-red);
    background:rgba(181,31,46,.08);
    font-size:19px;
}
.cma-accompaniment-card h3 { margin:2px 0 7px; font-size:17px; }
.cma-accompaniment-card p { margin:0; color:var(--cma-gray-600); font-size:13px; line-height:1.55; }

.cma-third-cycle-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cma-third-cycle-card {
    display:flex;
    align-items:flex-start;
    gap:12px;
    min-height:116px;
    padding:15px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:18px;
    background:rgba(255,255,255,.06);
}
.cma-third-cycle-card > i {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:14px;
    color:#fff;
    background:rgba(255,255,255,.12);
}
.cma-third-cycle-card h3 { margin:1px 0 4px; color:#fff; font-size:14px; }
.cma-third-cycle-card p { margin:0; color:rgba(255,255,255,.65); font-size:12px; line-height:1.45; }

@media (max-width:1199.98px) {
    .cma-section-nav-5 { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .cma-level-feature-copy { padding:42px; }
}
@media (max-width:991.98px) {
    .cma-level-glass-feature { grid-template-columns:1fr; }
    .cma-level-feature-media { min-height:360px; padding:0 14px 14px; }
    .cma-level-feature-media img { min-height:360px; }
    .cma-profile-grid-2 { grid-template-columns:1fr; }
    .cma-legacy-program { grid-template-columns:auto 1fr; }
    .cma-legacy-program-status { grid-column:2; justify-self:start; }
}
@media (max-width:767.98px) {
    .cma-section-nav-5 { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .cma-level-feature-copy { padding:32px 24px 26px; }
    .cma-level-feature-media { min-height:300px; }
    .cma-level-feature-media img { min-height:300px; }
    .cma-profile-panel { padding:26px 20px; }
    .cma-profile-panel-head { align-items:flex-start; }
    .cma-activity-grid-dark,
    .cma-accompaniment-grid,
    .cma-third-cycle-grid { grid-template-columns:1fr; }
    .cma-legacy-program { grid-template-columns:1fr; }
    .cma-legacy-program-status { grid-column:auto; }
}

/* ===== EEB: ajuste de título largo / enfoque pedagógico ===== */
.cma-eeb-pedagogy {
    overflow-x: clip;
}

.cma-eeb-pedagogy-title {
    max-width: 640px;
    font-size: clamp(2.35rem, 3.35vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

@media (max-width: 1199.98px) {
    .cma-eeb-pedagogy-title {
        font-size: clamp(2.2rem, 4.2vw, 3.1rem);
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .cma-eeb-pedagogy .cma-prose {
        margin-top: 6px;
    }

    .cma-eeb-pedagogy-title {
        font-size: clamp(2.15rem, 7vw, 3rem);
        overflow-wrap: normal;
        word-break: normal;
    }
}

@media (max-width: 575.98px) {
    .cma-eeb-pedagogy-title {
        font-size: clamp(2rem, 10.5vw, 2.65rem);
        letter-spacing: -0.04em;
    }
}
