@font-face {
    font-family: "Lalezar";
    src: url("../fonts/Lalezar-Regular.woff2") format("woff2");
    font-display: swap;
}

:root {
    --ink: #26324d;
    --muted: #68718a;
    --teal: #19a99a;
    --teal-dark: #0c7d75;
    --teal-soft: #e8f8f5;
    --coral: #f45f7f;
    --coral-dark: #d94365;
    --coral-soft: #fff0f4;
    --yellow: #f6c84c;
    --yellow-soft: #fff8df;
    --lilac: #8271d8;
    --lilac-soft: #f0edff;
    --sky: #66bfe6;
    --cream: #fffaf5;
    --paper: #ffffff;
    --line: #e9e8ef;
    --shadow-sm: 0 10px 30px rgba(45, 58, 91, .08);
    --shadow-lg: 0 24px 70px rgba(45, 58, 91, .14);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --shell: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.35;
}

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

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
    position: relative;
}

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

.section--soft {
    background:
        radial-gradient(circle at 12% 18%, rgba(246, 200, 76, .18), transparent 22%),
        radial-gradient(circle at 88% 82%, rgba(25, 169, 154, .12), transparent 24%),
        #f7fbfa;
}

.section--lilac {
    background: linear-gradient(145deg, #f6f4ff 0%, #fff 70%);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 40px;
}

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

.section-heading h2 {
    margin-bottom: 14px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    color: var(--ink);
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
}

.eyebrow::before {
    width: 26px;
    height: 5px;
    border-radius: 999px;
    background: var(--yellow);
    content: "";
}

.eyebrow--coral {
    color: var(--coral-dark);
}

.eyebrow--light {
    color: #fff;
}

.sr-only,
.skip-link:not(:focus) {
    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 {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 9999;
    padding: 10px 18px;
    border-radius: 12px;
    color: #fff;
    background: var(--ink);
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button:focus-visible,
.nav-toggle:focus-visible,
.primary-nav a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(102, 191, 230, .55);
    outline-offset: 3px;
}

.button--teal {
    color: #fff;
    background: var(--teal);
    box-shadow: 0 12px 28px rgba(25, 169, 154, .25);
}

.button--coral {
    color: #fff;
    background: var(--coral);
    box-shadow: 0 12px 28px rgba(244, 95, 127, .23);
}

.button--outline {
    color: var(--ink);
    border-color: rgba(38, 50, 77, .18);
    background: rgba(255, 255, 255, .82);
}

.button--light {
    color: var(--teal-dark);
    background: #fff;
    box-shadow: 0 14px 36px rgba(12, 75, 76, .2);
}

.button--ghost-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
    background: transparent;
}

.button--small {
    min-height: 44px;
    padding: 9px 18px;
    border-radius: 13px;
    font-size: 14px;
}

.top-strip {
    color: #fff;
    background: var(--ink);
    font-size: 13px;
}

.top-strip__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-strip__intro,
.top-strip__links,
.top-strip__links a {
    display: flex;
    align-items: center;
}

.top-strip__intro,
.top-strip__links {
    gap: 18px;
}

.top-strip__links a {
    gap: 7px;
    color: rgba(255, 255, 255, .83);
}

.top-strip__links a:hover {
    color: #fff;
}

.top-strip__panel {
    min-height: 42px;
    padding-inline: 16px;
    background: rgba(255, 255, 255, .1);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 5px rgba(110, 231, 183, .12);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 250, 245, .94);
    border-bottom: 1px solid rgba(38, 50, 77, .07);
    backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(38, 50, 77, .08);
}

.site-header__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, .9);
    border-radius: 19px 19px 25px 19px;
    color: #fff;
    background: linear-gradient(145deg, var(--coral), #ff91a9);
    box-shadow: 0 8px 24px rgba(244, 95, 127, .23);
    transform: rotate(3deg);
}

.brand__flower {
    font-size: 29px;
    transform: rotate(-3deg);
}

.brand__copy {
    display: flex;
    flex-direction: column;
}

.brand__copy strong {
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.brand__copy small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.primary-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 3px;
}

.primary-nav ul a {
    position: relative;
    display: block;
    padding: 11px 10px;
    border-radius: 12px;
    color: #4f5870;
    font-size: 13px;
    font-weight: 700;
}

.primary-nav ul a:hover,
.primary-nav ul a.is-active {
    color: var(--teal-dark);
    background: var(--teal-soft);
}

.nav-toggle {
    width: 48px;
    height: 48px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: var(--teal-soft);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--teal-dark);
    transition: transform .2s ease, opacity .2s ease;
}

.hero {
    min-height: 670px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #f6eee8;
}

.hero::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0) 32%, rgba(255, 250, 245, .62) 55%, rgba(255, 250, 245, .98) 82%),
        var(--hero-image, url("../assets/hero-primary-hijabi.webp")) center / cover no-repeat;
    content: "";
}

.hero::after {
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 310px;
    height: 310px;
    border: 52px solid rgba(246, 200, 76, .28);
    border-radius: 50%;
    content: "";
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    padding-block: 80px;
}

.hero__content {
    grid-column: 1;
    max-width: 610px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(244, 95, 127, .18);
    border-radius: 999px;
    color: var(--coral-dark);
    background: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.hero__badge::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--coral);
    content: "";
}

.hero h1 {
    max-width: 560px;
    margin-bottom: 18px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 400;
    letter-spacing: -.02em;
}

.hero h1 span {
    color: var(--teal-dark);
    position: relative;
    white-space: nowrap;
}

.hero h1 span::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    border-radius: 50%;
    background: rgba(246, 200, 76, .72);
    content: "";
    z-index: -1;
}

.hero__lead {
    max-width: 550px;
    margin-bottom: 28px;
    color: #596176;
    font-size: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.proof-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 12px;
    color: #556078;
    background: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 700;
}

.proof-pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

.hero-float {
    position: absolute;
    z-index: 2;
    left: max(30px, calc((100vw - var(--shell)) / 2));
    bottom: 34px;
    max-width: 250px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.hero-float__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: var(--lilac);
    font-size: 20px;
}

.hero-float strong,
.hero-float small {
    display: block;
}

.hero-float strong {
    font-size: 13px;
}

.hero-float small {
    color: var(--muted);
    font-size: 10px;
}

.quick-links {
    position: relative;
    z-index: 3;
    margin-top: -34px;
}

.quick-links__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 26px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-lg);
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 18px;
    transition: transform .2s ease, background .2s ease;
}

.quick-link:hover {
    transform: translateY(-3px);
    background: var(--cream);
}

.quick-link__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 22px;
}

.quick-link:nth-child(1) .quick-link__icon { background: var(--coral-soft); }
.quick-link:nth-child(2) .quick-link__icon { background: var(--teal-soft); }
.quick-link:nth-child(3) .quick-link__icon { background: var(--yellow-soft); }
.quick-link:nth-child(4) .quick-link__icon { background: var(--lilac-soft); }

.quick-link strong,
.quick-link small {
    display: block;
}

.quick-link strong {
    font-size: 14px;
}

.quick-link small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.stages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.stage-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    align-items: stretch;
    gap: 26px;
}

.stage-overview {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0, rgba(246, 200, 76, .22), transparent 25%),
        #fff;
    box-shadow: var(--shadow-sm);
}

.stage-overview__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    color: var(--coral-dark);
    background: var(--coral-soft);
    font-size: 26px;
}

.stage-overview h3 {
    margin-bottom: 12px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 30px;
    font-weight: 400;
}

.stage-overview > p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
}

.stage-overview ul {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}

.stage-overview li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #4f5870;
    font-size: 12px;
    font-weight: 700;
}

.stage-overview li span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--teal-dark);
    background: var(--teal-soft);
}

.stage-card {
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--ink);
    box-shadow: var(--shadow-lg);
}

.stage-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.stage-card:hover img {
    transform: scale(1.035);
}

.stage-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(24, 31, 52, .93) 0%, rgba(24, 31, 52, .18) 67%);
    content: "";
}

.stage-card__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 30px;
    color: #fff;
}

.stage-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stage-card__grade {
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: 11px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
}

.stage-card h3 {
    margin: 13px 0 8px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 36px;
    font-weight: 400;
}

.stage-card p {
    max-width: 500px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.stage-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stage-card__features span {
    padding: 4px 9px;
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    font-size: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    padding: 26px 23px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.feature-card::after {
    position: absolute;
    left: -18px;
    bottom: -22px;
    width: 72px;
    height: 72px;
    border: 12px solid currentColor;
    border-radius: 50%;
    opacity: .08;
    content: "";
}

.feature-card:nth-child(1) { color: var(--coral); }
.feature-card:nth-child(2) { color: var(--teal); }
.feature-card:nth-child(3) { color: var(--lilac); }
.feature-card:nth-child(4) { color: #d7a11a; }

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 17px;
    color: currentColor;
    background: color-mix(in srgb, currentColor 12%, white);
    font-size: 23px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 18px;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.about-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.about-collage {
    min-height: 520px;
    position: relative;
}

.about-collage__main {
    width: 82%;
    height: 470px;
    object-fit: cover;
    border-radius: 40px 40px 110px 40px;
    box-shadow: var(--shadow-lg);
}

.about-collage__small {
    position: absolute;
    left: 0;
    bottom: -16px;
    width: 48%;
    height: 220px;
    object-fit: cover;
    border: 9px solid #fff;
    border-radius: 28px 28px 28px 70px;
    box-shadow: var(--shadow-lg);
}

.about-stamp {
    position: absolute;
    top: 26px;
    left: -16px;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    padding: 15px;
    border: 8px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    color: var(--ink);
    background: var(--yellow);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transform: rotate(-8deg);
}

.about-stamp strong {
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.about-content h2 {
    margin-bottom: 18px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
}

.about-content__text {
    color: var(--muted);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 28px;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
}

.about-value span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--teal-dark);
    background: var(--teal-soft);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.content-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-card__image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--teal-soft), var(--lilac-soft));
}

.content-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.content-card:hover .content-card__image img {
    transform: scale(1.04);
}

.content-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--teal-dark);
    font-size: 50px;
}

.content-card__date,
.content-card__type {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 10px;
    border-radius: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, .9);
    font-size: 10px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.content-card__type {
    right: auto;
    left: 14px;
}

.content-card__body {
    padding: 22px;
}

.content-card__body h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.content-card__body p {
    min-height: 50px;
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
}

.text-link:hover {
    color: var(--coral-dark);
}

.section-footer {
    margin-top: 34px;
    text-align: center;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 150px;
    gap: 14px;
}

.gallery-tile {
    grid-column: span 4;
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--teal-soft);
    box-shadow: var(--shadow-sm);
}

.gallery-tile:first-child {
    grid-column: span 6;
    grid-row: span 3;
}

.gallery-tile:nth-child(2) {
    grid-column: span 6;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-tile:hover img {
    transform: scale(1.045);
}

.gallery-tile::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, rgba(23, 31, 50, .78), transparent);
    content: "";
}

.gallery-tile__caption {
    position: absolute;
    z-index: 1;
    right: 18px;
    left: 18px;
    bottom: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.team-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.team-card__photo,
.team-card__avatar {
    width: 100%;
    height: 270px;
}

.team-card__photo {
    object-fit: cover;
    object-position: center top;
}

.team-card__avatar {
    display: grid;
    place-items: center;
    color: var(--teal-dark);
    background:
        radial-gradient(circle at 20% 20%, rgba(246, 200, 76, .28), transparent 30%),
        linear-gradient(145deg, var(--teal-soft), var(--lilac-soft));
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 58px;
}

.team-card__body {
    padding: 18px;
}

.team-card__body h3 {
    margin-bottom: 5px;
    font-size: 17px;
}

.team-card__body p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

.achievements {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: 42px;
}

.achievements__intro {
    position: sticky;
    top: 130px;
}

.achievements__intro h2 {
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 46px;
    font-weight: 400;
}

.achievements__list {
    display: grid;
    gap: 12px;
}

.achievement-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.achievement-item__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--yellow-soft);
    font-size: 26px;
}

.achievement-item h3 {
    margin-bottom: 4px;
    font-size: 15px;
}

.achievement-item p,
.achievement-item time {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.page-hero {
    padding: 72px 0 54px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0, rgba(244, 95, 127, .14), transparent 22%),
        radial-gradient(circle at 85% 100%, rgba(25, 169, 154, .15), transparent 28%),
        #fff;
}

.page-hero::after {
    position: absolute;
    left: 8%;
    top: 26%;
    width: 74px;
    height: 74px;
    border: 12px solid rgba(130, 113, 216, .12);
    border-radius: 50%;
    content: "";
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-hero h1 {
    margin-bottom: 12px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 400;
}

.page-hero p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 800;
}

.page-main {
    padding: 70px 0 100px;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
}

.search-box {
    width: min(100%, 430px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.search-box input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 9px 13px;
    color: var(--ink);
    background: transparent;
    outline: 0;
}

.search-box button {
    min-width: 48px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--teal);
    cursor: pointer;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 48px 24px;
    border: 2px dashed #dcdde5;
    border-radius: 24px;
    color: var(--muted);
    background: rgba(255, 255, 255, .6);
    text-align: center;
}

.empty-state__icon {
    display: block;
    margin-bottom: 12px;
    font-size: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
}

.pagination a,
.pagination span {
    min-width: 46px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.pagination a:hover {
    color: #fff;
    border-color: var(--teal);
    background: var(--teal);
}

.article-detail {
    max-width: 860px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.article-detail__cover {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-detail__body {
    padding: clamp(24px, 5vw, 52px);
}

.article-detail__body h1 {
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 38px;
    font-weight: 400;
}

.article-detail__body p {
    color: #535c73;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.album-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.album-card__trigger {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: right;
}

.album-card__image {
    height: 270px;
    position: relative;
    overflow: hidden;
}

.album-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.album-card:hover .album-card__image img {
    transform: scale(1.04);
}

.album-card__play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 5px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    color: #fff;
    background: rgba(244, 95, 127, .9);
    transform: translate(-50%, -50%);
}

.album-card__body {
    padding: 19px;
}

.album-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 10px;
}

.album-card__body h2 {
    margin: 9px 0 4px;
    font-size: 18px;
}

.album-card__body p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    background: rgba(17, 23, 39, .94);
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal__dialog {
    width: min(100%, 1100px);
    max-height: 92vh;
    position: relative;
}

.gallery-modal__media {
    max-width: 100%;
    max-height: 78vh;
    display: block;
    margin: auto;
    border-radius: 20px;
    background: #0d1220;
}

.gallery-modal__caption {
    margin-top: 12px;
    text-align: center;
}

.gallery-modal__control {
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #fff;
    background: rgba(15, 22, 39, .72);
    cursor: pointer;
    font-size: 24px;
}

.gallery-modal__close { top: 10px; left: 10px; }
.gallery-modal__prev { top: 50%; left: 10px; transform: translateY(-50%); }
.gallery-modal__next { top: 50%; right: 10px; transform: translateY(-50%); }

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
}

.contact-panel,
.form-panel {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-panel {
    background:
        radial-gradient(circle at 0 100%, rgba(246, 200, 76, .16), transparent 30%),
        #fff;
}

.contact-panel h2,
.form-panel h2 {
    margin-bottom: 12px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 34px;
    font-weight: 400;
}

.contact-list {
    display: grid;
    gap: 13px;
    margin: 28px 0;
}

.contact-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    align-items: center;
}

.contact-item__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--teal-soft);
    font-size: 19px;
}

.contact-item span,
.contact-item a,
.contact-item strong {
    display: block;
}

.contact-item span {
    color: var(--muted);
    font-size: 10px;
}

.contact-item a,
.contact-item strong {
    font-size: 13px;
}

.map-card {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--teal-soft);
}

.map-card iframe {
    width: 100%;
    height: 330px;
    display: block;
    border: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: grid;
    gap: 7px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label,
.field legend {
    color: #444e67;
    font-size: 12px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 11px 14px;
    border: 1px solid #dfe1e8;
    border-radius: 14px;
    color: var(--ink);
    background: #fbfbfd;
    transition: border .2s ease, box-shadow .2s ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(25, 169, 154, .1);
    outline: 0;
    background: #fff;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.alert {
    margin-bottom: 20px;
    padding: 15px 18px;
    border-radius: 15px;
    font-size: 13px;
}

.alert--error {
    color: #96334a;
    border: 1px solid #ffc7d4;
    background: var(--coral-soft);
}

.alert--success {
    color: #11695f;
    border: 1px solid #b9e8df;
    background: var(--teal-soft);
}

.registration-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: start;
    gap: 26px;
}

.registration-aside {
    position: sticky;
    top: 120px;
    padding: 24px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(246, 200, 76, .28), transparent 28%),
        linear-gradient(145deg, var(--teal), var(--teal-dark));
    box-shadow: var(--shadow-lg);
}

.registration-aside h2 {
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 29px;
    font-weight: 400;
}

.registration-aside p {
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
}

.registration-steps {
    display: grid;
    gap: 9px;
    margin-top: 24px;
}

.registration-step-label {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
}

.registration-step-label span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    font-weight: 800;
}

.registration-step-label.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.registration-form {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.form-step {
    display: none;
}

.form-step.is-active {
    display: block;
    animation: step-in .3s ease;
}

@keyframes step-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step__heading {
    margin-bottom: 26px;
}

.form-step__heading span {
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 800;
}

.form-step__heading h2 {
    margin: 5px 0 8px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: 34px;
    font-weight: 400;
}

.form-step__heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

.rules-list {
    display: grid;
    gap: 12px;
    max-height: 620px;
    padding-left: 5px;
    overflow-y: auto;
}

.rule-card {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfbfd;
}

.rule-card p {
    margin-bottom: 12px;
    color: #515a70;
    font-size: 12px;
}

.rule-options {
    display: flex;
    gap: 18px;
}

.rule-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.rule-options input {
    accent-color: var(--teal);
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
}

.footer-cta {
    color: #fff;
    background:
        radial-gradient(circle at 10% 20%, rgba(246, 200, 76, .28), transparent 24%),
        linear-gradient(120deg, var(--teal-dark), var(--teal));
}

.footer-cta__inner {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.footer-cta__inner > div:first-child {
    max-width: 650px;
}

.footer-cta h2 {
    margin-bottom: 8px;
    font-family: "Lalezar", Tahoma, sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
}

.footer-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .78);
}

.footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer {
    color: rgba(255, 255, 255, .75);
    background: #202a42;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr 1.1fr;
    gap: 46px;
    padding-block: 70px;
}

.brand--footer {
    min-width: 0;
    color: #fff;
}

.brand--footer .brand__copy small {
    color: rgba(255, 255, 255, .58);
}

.footer-brand > p {
    max-width: 350px;
    margin: 18px 0;
    font-size: 12px;
}

.site-footer h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 14px;
}

.stage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.stage-tags span {
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    font-size: 9px;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 9px;
}

.footer-links a,
.footer-contact a {
    font-size: 12px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-contact li span {
    display: block;
    color: rgba(255, 255, 255, .4);
    font-size: 9px;
}

.footer-address,
.footer-hours {
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom .shell {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 10px;
}

.footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 1080px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 128px;
        right: 20px;
        left: 20px;
        max-height: calc(100vh - 150px);
        display: none;
        align-items: stretch;
        padding: 22px;
        overflow-y: auto;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: #fff;
        box-shadow: var(--shadow-lg);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        display: grid;
        gap: 4px;
    }

    .primary-nav ul a {
        padding: 12px;
        font-size: 14px;
    }

    .nav-register {
        width: 100%;
        margin-top: 14px;
    }

    .feature-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .footer-grid > div:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: 720px;
        align-items: end;
    }

    .hero::before {
        background:
            linear-gradient(0deg, rgba(255, 250, 245, 1) 0%, rgba(255, 250, 245, .88) 46%, rgba(255, 250, 245, .08) 80%),
            var(--hero-image, url("../assets/hero-primary-hijabi.webp")) 35% top / auto 58% no-repeat,
            #f6eee8;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        align-items: end;
        padding: 360px 0 68px;
    }

    .hero__content {
        grid-column: 1;
        max-width: none;
    }

    .hero h1 {
        max-width: 700px;
    }

    .hero-float {
        display: none;
    }

    .quick-links__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stages-grid,
    .stage-showcase,
    .about-layout,
    .achievements,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-layout {
        gap: 42px;
    }

    .about-collage {
        max-width: 650px;
        margin-inline: auto;
    }

    .achievements__intro {
        position: static;
    }

    .gallery-preview {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-tile,
    .gallery-tile:first-child,
    .gallery-tile:nth-child(2) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-grid,
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .registration-layout {
        grid-template-columns: 1fr;
    }

    .registration-aside {
        position: static;
    }

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

    .footer-cta__inner {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding-block: 60px;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .top-strip__inner {
        justify-content: center;
    }

    .top-strip__intro,
    .top-strip__links a:not(.top-strip__panel) {
        display: none;
    }

    .top-strip__panel {
        background: transparent;
    }

    .site-header__inner {
        min-height: 74px;
    }

    .brand {
        min-width: 0;
    }

    .brand__mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 16px 16px 20px 16px;
    }

    .brand__copy strong {
        max-width: 185px;
        overflow: hidden;
        font-size: 17px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand__copy small {
        display: none;
    }

    .primary-nav {
        top: 126px;
        right: 14px;
        left: 14px;
    }

    .hero {
        min-height: 740px;
    }

    .hero::before {
        background:
            linear-gradient(0deg, rgba(255, 250, 245, 1) 0%, rgba(255, 250, 245, .93) 50%, rgba(255, 250, 245, .06) 80%),
            var(--hero-image, url("../assets/hero-primary-hijabi.webp")) 30% top / auto 48% no-repeat,
            #f6eee8;
    }

    .hero__inner {
        padding: 330px 0 54px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero__lead {
        font-size: 15px;
    }

    .hero__actions .button {
        width: 100%;
    }

    .quick-links {
        margin-top: -18px;
    }

    .quick-links__grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .stage-card {
        min-height: 430px;
    }

    .feature-grid,
    .team-grid,
    .gallery-grid,
    .cards-grid,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .about-collage {
        min-height: 410px;
    }

    .about-collage__main {
        width: 92%;
        height: 370px;
    }

    .about-collage__small {
        width: 50%;
        height: 160px;
    }

    .about-stamp {
        width: 95px;
        height: 95px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .gallery-preview {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .team-card__photo,
    .team-card__avatar {
        height: 330px;
    }

    .achievement-item {
        grid-template-columns: 48px 1fr;
    }

    .achievement-item__icon {
        width: 48px;
        height: 48px;
    }

    .achievement-item time {
        grid-column: 2;
    }

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

    .search-box {
        width: 100%;
    }

    .registration-steps {
        grid-template-columns: 1fr;
    }

    .registration-step-label {
        display: none;
    }

    .registration-step-label.is-active {
        display: grid;
    }

    .rules-list {
        max-height: none;
        overflow: visible;
    }

    .footer-cta__actions,
    .footer-cta__actions .button {
        width: 100%;
    }

    .footer-bottom .shell {
        justify-content: center;
        flex-direction: column;
        padding-block: 18px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
