/* ====================================================
   HERO SECTION
   ==================================================== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero { min-height: 620px; }
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2, 24, 81, 0.75) 0%,
        rgba(2, 24, 81, 0.3) 50%,
        rgba(2, 24, 81, 0.1) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: var(--sp-lg) 1.25rem var(--sp-xl);
}

.hero__tag {
    display: inline-block;
    background: var(--c-green);
    color: var(--c-white);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.9rem;
    border-radius: var(--r-full);
    margin-bottom: 1rem;
}

.hero__title {
    font-size: var(--fs-h1);
    font-weight: var(--fw-bold);
    color: var(--c-white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    max-width: 680px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ====================================================
   TILES SECTION
   ==================================================== */
.tiles-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .tiles-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tiles-section {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tile {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .tile { min-height: 400px; }
}

@media (min-width: 1024px) {
    .tile { min-height: 480px; }
}

.tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tile:hover .tile__img {
    transform: scale(1.07);
}

.tile__overlay {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    transition: opacity var(--t-normal);
}

.tile:hover .tile__overlay {
    opacity: 0.4;
}

.tile--green  .tile__overlay { background: var(--c-green); }
.tile--blue   .tile__overlay { background: var(--c-blue-dark); }
.tile--yellow .tile__overlay { background: var(--c-yellow-dark); }
.tile--purple .tile__overlay { background: var(--c-purple-dark); }

.tile__label {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: var(--fw-bold);
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: padding var(--t-normal);
}

.tile:hover .tile__label {
    padding-bottom: 1.5rem;
}

/* ====================================================
   WHY-US SECTION
   ==================================================== */
.why-us {
    background: var(--c-white);
    padding-block: var(--sp-xl);
}

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: var(--sp-md);
    justify-items: center;
}

@media (min-width: 600px) {
    .why-us__grid {
        grid-template-columns: 1fr 1fr;
        justify-items: stretch;
    }
}

@media (min-width: 1024px) {
    .why-us__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

.why-us__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 420px;
}

@media (min-width: 600px) {
    .why-us__item {
        align-items: flex-start;
        text-align: left;
        max-width: none;
    }
}

.why-us__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    object-fit: contain;
}

.why-us__title {
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--c-navy);
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.why-us__text {
    font-size: var(--fs-sm);
    line-height: 1.65;
    color: var(--c-text-muted);
}

/* ====================================================
   CHILDREN'S HOUSE SECTION
   ==================================================== */
.childrens-house {
    padding-block: var(--sp-xl);
}

.childrens-house__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .childrens-house__wrapper {
        grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
        gap: var(--sp-xl);
        align-items: stretch;
    }
}

.childrens-house__image {
    width: 100%;
    max-width: 560px;
    position: relative;
}

.childrens-house__image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .childrens-house__image img {
        min-height: 100%;
    }
}

.childrens-house__content {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(2, 24, 81, 0.08);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: clamp(1.5rem, 2vw, 2.5rem);
}

.childrens-house__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: var(--r-full);
    background: var(--c-green-pale);
    color: var(--c-green-dark);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
}

.childrens-house__title {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 0.4rem;
    line-height: 1.15;
}

.childrens-house__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.childrens-house__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.childrens-house__item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1rem 1rem 0.95rem;
    border-radius: var(--r-lg);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--c-text);
    box-shadow: var(--shadow-xs);
}

.childrens-house__item strong {
    color: var(--c-navy);
}

.childrens-house__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.childrens-house__item--purple {
    background: linear-gradient(135deg, #fbf4ff 0%, #f4e7ff 100%);
}

.childrens-house__item--purple .childrens-house__icon {
    background: var(--c-purple);
    color: var(--c-white);
}

.childrens-house__item--green {
    background: linear-gradient(135deg, #f1fbf4 0%, #e4f6ea 100%);
}

.childrens-house__item--green .childrens-house__icon {
    background: var(--c-green);
    color: var(--c-white);
}

.childrens-house__item--blue {
    background: linear-gradient(135deg, #f3f8ff 0%, #e4f0ff 100%);
}

.childrens-house__item--blue .childrens-house__icon {
    background: var(--c-blue);
    color: var(--c-white);
}

.childrens-house__item--yellow {
    background: linear-gradient(135deg, #fff9e8 0%, #fff2be 100%);
}

.childrens-house__item--yellow .childrens-house__icon {
    background: var(--c-yellow);
    color: var(--c-navy);
}

.childrens-house__closing {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-navy);
    line-height: 1.5;
}

.childrens-house__closing span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border-radius: var(--r-full);
    background: var(--c-blue-pale);
    border: 1px solid rgba(97, 164, 255, 0.22);
}

@media (max-width: 767px) {
    .childrens-house__content {
        padding: 1.35rem;
    }

    .childrens-house__item {
        padding: 0.9rem;
    }
}

/* ====================================================
   GOOGLE REVIEWS SECTION
   ==================================================== */
.reviews {
    padding-block: var(--sp-xl);
}

.reviews__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .reviews__wrapper {
        grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
        gap: var(--sp-xl);
        align-items: stretch;
    }
}

/* --- Zdjęcie --- */
.reviews__media {
    width: 100%;
    max-width: 560px;
    position: relative;
}

.reviews__media img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: 90% center;
    display: block;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .reviews__media img {
        min-height: 100%;
    }
}

/* --- Panel z opiniami --- */
.reviews__content {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(2, 24, 81, 0.08);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: clamp(1.5rem, 2vw, 2.5rem);
}

.reviews__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.reviews__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--r-full);
    background: var(--c-blue-pale);
    border: 1px solid rgba(97, 164, 255, 0.22);
    color: var(--c-navy);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
}

.reviews__g {
    display: block;
    flex-shrink: 0;
}

.reviews__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: var(--fw-semibold);
    color: var(--c-navy);
}

.reviews__stars {
    color: #fbbc05;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
}

.reviews__rating-val {
    font-size: 1rem;
}

.reviews__title {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 0.4rem;
    line-height: 1.15;
}

.reviews__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* --- Karuzela --- */
.reviews__carousel {
    position: relative;
    min-width: 0;
}

.reviews__viewport {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--r-lg);
}

.reviews__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    transition: transform var(--t-slow);
    will-change: transform;
}

/* Bez JS: pokaż opinie jako scrollowalną listę zamiast nakładać się na siebie */
.reviews__carousel:not(.is-ready) .reviews__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.reviews__carousel:not(.is-ready) .reviews__controls {
    display: none;
}

.reviews__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    padding: 0.35rem;
    scroll-snap-align: start;
}

/* --- Karta opinii --- */
.review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 230px;
    background: var(--c-white);
    border: 1px solid rgba(2, 24, 81, 0.08);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.4rem;
}

.review-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.review-card__avatar {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-right: auto;
    min-width: 0;
}

.review-card__author {
    font-weight: var(--fw-semibold);
    color: var(--c-navy);
    line-height: 1.2;
}

.review-card__stars {
    color: #fbbc05;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.review-card__g {
    flex-shrink: 0;
    display: block;
}

.review-card__text {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--c-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Sterowanie karuzelą --- */
.reviews__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.reviews__arrow {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(2, 24, 81, 0.12);
    background: var(--c-white);
    color: var(--c-navy);
    font-size: 1.6rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.reviews__arrow span {
    margin-top: -3px;
}

.reviews__arrow:hover {
    background: var(--c-navy);
    color: var(--c-white);
    box-shadow: var(--shadow-sm);
}

.reviews__arrow:focus-visible {
    outline: 3px solid var(--c-blue);
    outline-offset: 2px;
}

.reviews__dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    max-width: 240px;
}

.reviews__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(2, 24, 81, 0.18);
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast);
}

.reviews__dot:hover {
    background: rgba(2, 24, 81, 0.35);
}

.reviews__dot.is-active {
    background: var(--c-green);
    transform: scale(1.25);
}

.reviews__dot:focus-visible {
    outline: 2px solid var(--c-blue);
    outline-offset: 2px;
}

/* --- CTA --- */
.reviews__cta {
    margin-top: 1.5rem;
}

@media (max-width: 767px) {
    .reviews__content {
        padding: 1.35rem;
    }

    .review-card {
        padding: 1.15rem;
    }
}

/* ====================================================
   TEXT-OVERLAY SECTION
   ==================================================== */
.text-overlay {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding-block: var(--sp-xl);
}

.text-overlay__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.text-overlay__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.text-overlay__panel {
    background: rgba(34, 178, 76, 0.90);
    border-radius: var(--r-xl);
    padding: var(--sp-lg) var(--sp-md);
    max-width: 820px;
}

.text-overlay__panel p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.75;
    color: var(--c-blue-pale);
    margin-bottom: 1.25rem;
}

.text-overlay__panel p:last-of-type {
    margin-bottom: 1.75rem;
}

/* ====================================================
   CONTENT SECTION (tekst + zdjęcie)
   ==================================================== */
.content-split {
    padding-block: var(--sp-xl);
}

.content-split--alt {
    background: var(--c-gray-50);
}

.content-split__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .content-split__inner {
        grid-template-columns: 1fr 1fr;
    }

    .content-split--reverse .content-split__img {
        order: -1;
    }
}

.content-split__img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
}

.content-split__text h2 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--c-navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-split__text p {
    font-size: var(--fs-body);
    line-height: var(--lh);
    color: var(--c-text-muted);
    margin-bottom: 1rem;
}

.content-split__text .btn {
    margin-top: 0.5rem;
}

/* ====================================================
   SECTION ALTERNATING BACKGROUNDS
   ==================================================== */
.section {
    padding-block: var(--sp-xl);
}

.section--white  { background: var(--c-white); }
.section--gray   { background: var(--c-gray-50); }
.section--pale   { background: var(--c-blue-pale); }
.section--navy   { background: var(--c-navy); color: var(--c-white); }
.section--green  { background: var(--c-green-pale); }

/* ====================================================
   GALERIA / GRID ZDJĘĆ
   ==================================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

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

@media (min-width: 1024px) {
    .photo-grid { grid-template-columns: repeat(4, 1fr); }
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--r-md);
    transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.photo-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.photo-grid--wwr {
    grid-template-columns: repeat(3, 1fr);
}

.photo-grid--wwr figure {
    aspect-ratio: auto;
}

.photo-grid--wwr img {
    aspect-ratio: auto;
    object-fit: contain;
}

.photo-grid--events {
    grid-template-columns: repeat(3, 1fr);
}

.photo-grid.photo-grid--events figure {
    margin: 0;
    aspect-ratio: auto;
    border-radius: var(--r-sm);
}

.photo-grid.photo-grid--events figure img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
}

.photo-grid--events figcaption {
    padding-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.3;
}

.photo-grid.photo-grid--natural figure {
    aspect-ratio: auto;
}

.photo-grid.photo-grid--natural figure img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 640px) {
    .photo-grid--events { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .photo-grid--wwr { grid-template-columns: 1fr; }
}

/* ====================================================
   CARDS GRID
   ==================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: var(--sp-md);
}

@media (min-width: 600px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ====================================================
   CTA BANNER
   ==================================================== */
.cta-banner {
    background: var(--c-navy);
    padding-block: var(--sp-lg);
    text-align: center;
}

.cta-banner h2 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--c-white);
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: var(--c-blue-light);
    font-size: 1.05rem;
    max-width: 500px;
    margin-inline: auto;
    margin-bottom: 2rem;
}

/* ====================================================
   PAGE NOT FOUND
   ==================================================== */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-2xl) 1.25rem;
    min-height: 60vh;
}

.error-page__code {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: var(--fw-bold);
    color: var(--c-green);
    line-height: 0.9;
    margin-bottom: 1rem;
    opacity: 0.15;
}

.error-page__title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--c-navy);
    margin-bottom: 1rem;
}

.error-page__text {
    font-size: var(--fs-body);
    color: var(--c-text-muted);
    max-width: 420px;
    margin-bottom: 2rem;
}

/* ====================================================
   PROGRAM EDUKACJI ANGLOJĘZYCZNEJ
   ==================================================== */
.program-english {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.program-english__lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--c-text);
    max-width: 1100px;
}

.program-english__feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1rem, 1.5vw, 1.5rem);
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
    .program-english__feature--image-left,
    .program-english__feature--image-right {
        grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
        gap: 2rem;
    }

    .program-english__feature--image-right .program-english__content {
        order: 1;
    }

    .program-english__feature--image-right .program-english__media {
        order: 2;
    }

    .program-english__feature--jobs {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
        gap: 2rem;
    }
}

.program-english__content {
    min-width: 0;
}

.program-english__heading {
    margin: 0 0 0.85rem;
    padding-left: 0;
    border-left: 0;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    line-height: 1.2;
}

.program-english__heading--sub {
    margin-top: 1.6rem;
}

.program-english__feature p:last-child {
    margin-bottom: 0;
}

.program-english__media,
.program-english__media--half {
    margin: 0;
}

.program-english__media img,
.program-english__media--half img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    margin: 0;
}

.program-english__media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 700px) {
    .program-english__media-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 699px) {
    .program-english__media-grid .program-english__media--half img {
        min-height: 260px;
    }
}

/* ====================================================
   MEDIA COLS (photo/video grids extracted from WP)
   ==================================================== */
.media-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin: 1.75rem 0;
}

.media-cols > div {
    overflow: hidden;
    border-radius: var(--r-md);
}

.media-cols figure {
    margin: 0;
    height: 100%;
    overflow: hidden;
    border-radius: var(--r-md);
}

.media-cols figure img,
.media-cols figure video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--r-md);
    transition: transform var(--t-normal);
}

.media-cols figure:hover img {
    transform: scale(1.05);
}

/* ====================================================
   CONTACT PAGE LAYOUT
   ==================================================== */
.kontakt-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .kontakt-layout {
        grid-template-columns: 1fr 1.25fr;
    }
}

.kontakt-info-box {
    background: var(--c-gray-50);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}

.kontakt-info-box h2 {
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.kontakt-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.kontakt-info-item a {
    color: var(--c-navy);
    font-weight: var(--fw-medium);
}

.kontakt-info-item a:hover {
    color: var(--c-green);
    text-decoration: underline;
}

.kontakt-map-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-top: 1.25rem;
    grid-column: 1 / -1;
}

.kontakt-map-wrap iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: none;
}

.contact-form-box {
    background: var(--c-white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.contact-form-box h2 {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--c-navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}
