@charset "UTF-8";

:root {
    --ink: #171717;
    --muted: #63697a;
    --line: rgba(23, 23, 23, 0.09);
    --white: #ffffff;
    --paper: #fffdf8;
    --sky: #d8f4f7;
    --sky-strong: #c7eef2;
    --mint: #e6faf1;
    --peach: #fff2e8;
    --lilac: #f1efff;
    --butter: #fff7d8;
    --rose: #fff0f7;
    --orange: #f28b00;
    --orange-deep: #ec6a14;
    --pink: #f04798;
    --blue: #5962db;
    --aqua: #18b7c4;
    --shadow-soft: 0 22px 55px rgba(17, 17, 17, 0.08);
    --shadow-float: 0 30px 70px rgba(17, 17, 17, 0.1);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --radius-xl: 42px;
    --container: min(1180px, calc(100% - 32px));
    --transition: 220ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Nunito", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(240, 71, 152, 0.08), transparent 22%),
        radial-gradient(circle at top right, rgba(24, 183, 196, 0.08), transparent 18%),
        linear-gradient(180deg, #fcfeff 0%, #fffdf9 23%, #ffffff 100%);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.display {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-weight: 800;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 6rem 0;
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--split {
    max-width: none;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: end;
}

.section-heading h2,
.page-hero h1,
.entry-header h1,
.not-found-card h1 {
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    margin-top: 0.75rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(23, 23, 23, 0.08);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--pink);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
}

.eyebrow::before {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.55rem;
    border-radius: 999px;
    border: 0;
    font-weight: 800;
    line-height: 1;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    box-shadow: 0 18px 35px rgba(242, 139, 0, 0.28);
}

.btn--secondary {
    color: var(--white);
    background: linear-gradient(135deg, #5258cf 0%, #6f78ff 100%);
    box-shadow: 0 18px 35px rgba(89, 98, 219, 0.25);
}

.btn--ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(23, 23, 23, 0.09);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.btn--compact {
    padding: 0.9rem 1.3rem;
}

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

.skip-link:focus {
    clip: auto;
    width: auto;
    height: auto;
    margin: 1rem;
    padding: 0.8rem 1rem;
    background: var(--ink);
    color: var(--white);
    z-index: 999;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
    backdrop-filter: blur(14px);
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem 1rem 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.brand img,
.brand .custom-logo {
    width: auto;
    height: 68px;
}

.brand .custom-logo-link {
    display: inline-flex;
    flex-shrink: 0;
}

.brand__text {
    display: grid;
    gap: 0.15rem;
}

.brand__text strong {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 1.35rem;
    line-height: 1;
}

.brand__text small {
    color: var(--muted);
    font-size: 0.88rem;
}

.primary-nav {
    margin-left: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.menu a {
    position: relative;
    font-weight: 800;
    color: rgba(23, 23, 23, 0.74);
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.menu a:hover,
.menu a:focus-visible,
.current-menu-item > a,
.current_page_item > a {
    color: var(--ink);
}

.menu a:hover::after,
.menu a:focus-visible::after,
.current-menu-item > a::after,
.current_page_item > a::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 3rem;
    height: 3rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 1.35rem;
    height: 2px;
    margin-inline: auto;
    border-radius: 999px;
    background: var(--ink);
}

.hero {
    overflow: hidden;
    padding-top: 2rem;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.65), transparent 30%),
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.8), transparent 18%),
        linear-gradient(180deg, var(--sky) 0%, #dff7fa 58%, #effcfd 100%);
}

.hero__decor {
    position: absolute;
    border-radius: 999px;
    opacity: 0.85;
    pointer-events: none;
}

.hero__decor--left {
    left: -6rem;
    top: 9rem;
    width: 14rem;
    height: 14rem;
    border: 2px dashed rgba(240, 71, 152, 0.45);
}

.hero__decor--right {
    right: -4rem;
    top: 12rem;
    width: 11rem;
    height: 11rem;
    border: 2px solid rgba(242, 139, 0, 0.45);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 2rem;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__content h1 {
    max-width: 14ch;
    margin: 1rem 0 1.2rem;
    font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero__lead {
    max-width: 40rem;
    font-size: 1.1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.metric-card {
    padding: 1.2rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 15px 35px rgba(17, 17, 17, 0.08);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.metric-card strong {
    display: block;
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 1.35rem;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero__media {
    position: relative;
    min-height: 38rem;
    padding-bottom: 2rem;
}

.hero__image-card,
.hero__poster-card {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.hero__image-card {
    right: 0;
    bottom: 0;
    width: min(100%, 33rem);
}

.hero__image-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero__poster-card {
    left: 0;
    top: 1rem;
    width: clamp(210px, 45%, 280px);
    transform: rotate(-4deg);
}

.hero__poster-card img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero__contact-card {
    position: absolute;
    right: 1.25rem;
    top: 1.8rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.hero__contact-card span {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero__contact-card a {
    font-weight: 900;
    color: var(--orange-deep);
}

.section--about {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 253, 248, 0.65) 100%);
}

.about__grid,
.why__grid,
.faq__grid {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    align-items: center;
}

.check-list {
    display: grid;
    gap: 0.9rem;
    margin: 1.8rem 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    font-weight: 700;
    color: var(--ink);
}

.check-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -0.08rem;
    color: var(--aqua);
    font-size: 1.5rem;
    line-height: 1;
}

.about__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.about__badges span {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
    font-weight: 800;
}

.about__visuals {
    position: relative;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    align-items: end;
}

.about__visual {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.about__visual img {
    width: 100%;
    object-fit: cover;
}

.about__visual--primary img {
    aspect-ratio: 0.95 / 1.02;
}

.about__visual--secondary {
    transform: translateY(2rem);
}

.about__visual--secondary img {
    aspect-ratio: 0.75 / 1.08;
}

.section--services {
    background: var(--white);
}

.service-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    position: relative;
    padding: 2rem;
    min-height: 17rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.service-card h3 {
    max-width: 15ch;
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.service-card p {
    max-width: 26ch;
    margin-bottom: 0;
}

.service-card__badge {
    position: absolute;
    left: 1.6rem;
    bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(23, 23, 23, 0.08);
    font-weight: 900;
}

.service-card--mint {
    background: linear-gradient(180deg, #dff7f8 0%, #d6f2f4 100%);
}

.service-card--peach {
    background: linear-gradient(180deg, #fff0e6 0%, #ffe9dc 100%);
}

.service-card--lilac {
    background: linear-gradient(180deg, #f1efff 0%, #ecebff 100%);
}

.service-card--sky {
    background: linear-gradient(180deg, #e7fbff 0%, #dff8fb 100%);
}

.service-card--butter {
    background: linear-gradient(180deg, #fff9df 0%, #fff6cc 100%);
}

.service-card--rose {
    background: linear-gradient(180deg, #fff0f6 0%, #ffe8f2 100%);
}

.section--why {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
}

.why__image {
    overflow: hidden;
    border-radius: 40px;
    background: var(--white);
    box-shadow: var(--shadow-float);
}

.why__image img {
    width: 100%;
    aspect-ratio: 0.95 / 1;
    object-fit: cover;
}

.pillar-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.8rem;
}

.pillar-card {
    padding: 1.2rem 1.2rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 23, 23, 0.06);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
}

.pillar-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 1.35rem;
}

.pillar-card span {
    color: var(--muted);
}

.section--programs {
    background: linear-gradient(180deg, var(--sky) 0%, #d7f3f6 100%);
}

.section--programs::before {
    content: "";
    position: absolute;
    top: -3rem;
    left: 0;
    width: 100%;
    height: 6rem;
    background:
        radial-gradient(circle at 40px 40px, #ffffff 38px, transparent 39px) 0 0 / 80px 80px repeat-x;
}

.program-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-card {
    overflow: hidden;
    border-radius: 34px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.program-card__image img {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
}

.program-card__content {
    position: relative;
    padding: 1.6rem 1.6rem 1.8rem;
}

.program-card__accent {
    position: absolute;
    top: 0;
    left: 1.6rem;
    width: 4.6rem;
    height: 0.38rem;
    border-radius: 999px;
    transform: translateY(-50%);
}

.program-card__accent--orange {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
}

.program-card__accent--blue {
    background: linear-gradient(135deg, var(--aqua) 0%, var(--blue) 100%);
}

.program-card__accent--pink {
    background: linear-gradient(135deg, var(--pink) 0%, #fe7ca8 100%);
}

.program-card h3 {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 2rem;
    margin-bottom: 0.85rem;
}

.program-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.program-card__meta li {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #f7f7fc;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.facility-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.facility-card {
    overflow: hidden;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid rgba(23, 23, 23, 0.06);
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.05);
}

.facility-card__image img {
    width: 100%;
    aspect-ratio: 1 / 0.83;
    object-fit: cover;
}

.facility-card__content {
    padding: 1.2rem;
}

.facility-card__content h3 {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 1.55rem;
    margin-bottom: 0.4rem;
}

.facility-card__content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.section--gallery {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 120px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.06);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card figcaption {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    color: var(--ink);
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.08);
}

.gallery-card--large {
    grid-column: span 2;
    grid-row: span 3;
}

.gallery-card--portrait {
    grid-row: span 3;
}

.gallery-card--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-card--square {
    grid-row: span 2;
}

.section--faq {
    background: #ffffff;
}

.faq__items {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border-radius: 28px;
    border: 1px solid rgba(23, 23, 23, 0.08);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.04);
    overflow: hidden;
}

.faq-item[open] {
    background: var(--sky);
}

.faq-item summary {
    position: relative;
    cursor: pointer;
    padding: 1.45rem 4rem 1.45rem 1.5rem;
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 2rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange-deep);
    font-size: 2rem;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "-";
    color: var(--aqua);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
}

.faq__aside {
    padding: 2rem;
}

.faq-contact-card {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.75rem;
    padding: 1.4rem;
    border-radius: 28px;
    background: linear-gradient(180deg, var(--peach) 0%, #fff6ef 100%);
    border: 1px solid rgba(23, 23, 23, 0.06);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.05);
}

.faq-contact-card strong {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 1.45rem;
}

.faq-contact-card a:not(.btn) {
    color: var(--orange-deep);
    font-weight: 900;
    font-size: 1.15rem;
}

.section--news {
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}

.news-grid,
.entry-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card,
.entry-card {
    overflow: hidden;
    border-radius: 30px;
    background: var(--white);
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.05);
}

.news-card__image img,
.entry-card__media img {
    width: 100%;
    aspect-ratio: 1.14 / 1;
    object-fit: cover;
}

.news-card__content,
.entry-card__content {
    padding: 1.35rem 1.35rem 1.5rem;
}

.news-card__eyebrow,
.entry-card__meta {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f6f7ff;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
}

.news-card h3,
.entry-card h2 {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 2rem;
    margin-bottom: 0.55rem;
}

.text-link {
    color: var(--blue);
    font-weight: 900;
}

.section--cta {
    padding-top: 0;
}

.cta-card {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    padding: 2.5rem;
    border-radius: 38px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 55%, #f24d77 100%);
    color: var(--white);
    box-shadow: var(--shadow-float);
}

.cta-card p,
.cta-card address {
    color: rgba(255, 255, 255, 0.88);
}

.cta-card .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.cta-card .eyebrow::before {
    background: var(--white);
}

.cta-card__actions {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 0.9rem;
}

.cta-card__actions .btn--ghost {
    background: rgba(255, 255, 255, 0.9);
}

.site-footer {
    margin-top: 5rem;
    padding-top: 3rem;
    background:
        radial-gradient(circle at top left, rgba(240, 71, 152, 0.08), transparent 18%),
        linear-gradient(180deg, #d7f3f6 0%, #d0eff3 100%);
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -3rem;
    left: 0;
    width: 100%;
    height: 6rem;
    background:
        radial-gradient(circle at 40px 40px, #ffffff 38px, transparent 39px) 0 0 / 80px 80px repeat-x;
}

.footer__top {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(180px, 1fr));
    padding-bottom: 2.5rem;
}

.footer__brand p {
    max-width: 32rem;
    margin: 1rem 0 1.3rem;
}

.brand--footer img,
.brand--footer .custom-logo {
    height: 74px;
}

.footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer__column h3 {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-menu,
.footer-contact {
    display: grid;
    gap: 0.85rem;
}

.footer-menu a,
.footer-contact a,
.footer-contact span,
.footer-menu li {
    color: rgba(23, 23, 23, 0.74);
    font-weight: 700;
}

.footer-contact strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--ink);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 0 2rem;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.footer__bottom p {
    margin-bottom: 0;
}

.footer__top-link {
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue) 0%, #7581ff 100%);
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(89, 98, 219, 0.2);
}

.page-shell {
    padding: 3rem 0 5rem;
}

.page-hero {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.content-card {
    padding: 2rem;
    border-radius: 34px;
    background: var(--white);
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.05);
}

.content-card--page,
.content-card--post {
    max-width: 58rem;
    margin-inline: auto;
}

.entry-content > * + * {
    margin-top: 1rem;
}

.entry-content img {
    border-radius: 22px;
}

.entry-featured-image {
    margin: 1.5rem 0;
    overflow: hidden;
    border-radius: 28px;
}

.entry-featured-image img {
    width: 100%;
    object-fit: cover;
}

.not-found-card {
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
}

.wp-block-image img,
.entry-content img {
    height: auto;
}

.wp-block-button__link {
    border-radius: 999px;
}

.alignwide,
.alignfull {
    max-width: 100%;
}

@media (max-width: 1080px) {
    .hero__grid,
    .about__grid,
    .why__grid,
    .faq__grid,
    .cta-card,
    .section-heading--split,
    .footer__top {
        grid-template-columns: 1fr;
    }

    .program-grid,
    .news-grid,
    .entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facility-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero__media {
        min-height: 33rem;
    }
}

@media (max-width: 860px) {
    .site-header {
        padding-top: 0.7rem;
    }

    .nav-shell {
        position: relative;
        border-radius: 28px;
        padding: 1rem 1.1rem;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-actions {
        display: none;
    }

    .primary-nav {
        width: 100%;
        margin-left: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height var(--transition), opacity var(--transition);
    }

    .nav-shell.is-open .primary-nav {
        max-height: 24rem;
        opacity: 1;
        margin-top: 0.7rem;
    }

    .menu {
        display: grid;
        gap: 0.85rem;
        padding-top: 0.4rem;
    }

    .menu a {
        display: block;
        padding: 0.35rem 0;
    }

    .hero__metrics,
    .pillar-grid,
    .facility-grid,
    .gallery-grid,
    .service-grid,
    .program-grid,
    .news-grid,
    .entry-grid {
        grid-template-columns: 1fr;
    }

    .hero__content h1 {
        max-width: none;
    }

    .hero__media {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .hero__image-card,
    .hero__poster-card,
    .hero__contact-card {
        position: static;
        width: 100%;
        transform: none;
    }

    .hero__image-card img,
    .hero__poster-card img {
        aspect-ratio: 1 / 1;
    }

    .gallery-grid {
        grid-auto-rows: auto;
    }

    .gallery-card--large,
    .gallery-card--portrait,
    .gallery-card--wide,
    .gallery-card--square {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-card img {
        aspect-ratio: 1 / 1;
    }

    .faq-item summary,
    .service-card h3,
    .program-card h3,
    .news-card h3,
    .entry-card h2,
    .footer__column h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }

    .hero {
        padding-top: 1.2rem;
    }

    .brand img,
    .brand .custom-logo {
        height: 54px;
    }

    .brand__text strong {
        font-size: 1.1rem;
    }

    .hero__actions,
    .footer__actions {
        width: 100%;
    }

    .hero__actions .btn,
    .footer__actions .btn,
    .cta-card__actions .btn {
        width: 100%;
    }

    .cta-card {
        padding: 2rem 1.4rem;
    }

    .content-card,
    .service-card,
    .pillar-card,
    .program-card__content,
    .faq__aside {
        padding-inline: 1.2rem;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
