body.daroul-body {
    --daroul-ink: #0f513c;
    --daroul-text: #1d2b24;
    --daroul-muted: #64756d;
    --daroul-paper: #faf7ef;
    --daroul-line: rgba(15, 81, 60, 0.13);
    --daroul-shadow: 0 26px 78px rgba(15, 81, 60, 0.12);
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--daroul-text);
    background:
        linear-gradient(135deg, rgba(199, 154, 59, 0.13), transparent 30%),
        linear-gradient(180deg, #faf7ef 0%, #f4efe3 100%);
}

.daroul-body a {
    color: inherit;
}

.daroul-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--daroul-line);
    background: rgba(250, 247, 239, 0.91);
    backdrop-filter: blur(18px);
}

.daroul-nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.daroul-logo,
.daroul-menu a,
.daroul-footer a {
    text-decoration: none;
}

.daroul-logo {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--school-primary, var(--daroul-ink));
    font-weight: 900;
}

.daroul-brand-logo,
.daroul-footer-logo {
    display: block;
    object-fit: contain;
}

.daroul-brand-logo {
    width: min(12rem, 38vw);
    max-height: 4.2rem;
}

.daroul-footer-logo {
    width: min(10.5rem, 60vw);
    max-height: 4rem;
    margin-bottom: 1rem;
}

.daroul-logo-text {
    max-width: min(42vw, 22rem);
    overflow-wrap: anywhere;
    line-height: 1.08;
}

.daroul-menu {
    gap: 1.45rem;
    color: color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 88%, #111);
    font-size: 0.96rem;
    font-weight: 900;
}

.daroul-menu a {
    position: relative;
    padding-block: 0.35rem;
}

.daroul-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--school-accent, #c79a3b);
    transition: transform 180ms ease;
}

.daroul-menu a:hover::after {
    transform: scaleX(1);
}

.daroul-cta,
.daroul-secondary {
    min-height: 48px;
    border-radius: 999px;
    padding: 0.92rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 900;
    line-height: 1;
}

.daroul-cta {
    color: #fff;
    background: linear-gradient(135deg, var(--school-primary, var(--daroul-ink)), color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 70%, var(--school-accent, #c79a3b)));
    box-shadow: 0 18px 42px color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 24%, transparent);
}

.daroul-secondary {
    color: var(--school-primary, var(--daroul-ink));
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--daroul-line);
}

.daroul-nav-cta {
    white-space: nowrap;
}

.daroul-hero {
    position: relative;
    overflow: hidden;
    padding: 5.4rem 0 4.8rem;
}

.daroul-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(30deg, rgba(15, 81, 60, 0.18) 12%, transparent 12.5%, transparent 87%, rgba(15, 81, 60, 0.18) 87.5%, rgba(15, 81, 60, 0.18)),
        linear-gradient(150deg, rgba(15, 81, 60, 0.18) 12%, transparent 12.5%, transparent 87%, rgba(15, 81, 60, 0.18) 87.5%, rgba(15, 81, 60, 0.18));
    background-size: 88px 152px;
    mask-image: radial-gradient(circle at 78% 22%, #000 0%, transparent 64%);
}

.daroul-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.daroul-eyebrow,
.daroul-kicker {
    color: var(--school-primary, var(--daroul-ink));
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.daroul-display,
.daroul-section-head h2,
.daroul-intro h2,
.daroul-program-card h3,
.daroul-level-card h3,
.daroul-class-card h3,
.daroul-price-card h3,
.daroul-steps-panel h2,
.daroul-cta-panel h2 {
    font-family: "Marcellus", serif;
    letter-spacing: 0;
    color: var(--school-primary, var(--daroul-ink));
}

.daroul-display {
    max-width: 13ch;
    margin: 0.8rem 0 1.15rem;
    font-size: clamp(3rem, 6.4vw, 6rem);
    line-height: 0.98;
}

.daroul-lead {
    max-width: 43rem;
    color: color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 72%, #fff);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.72;
}

.daroul-hero-actions,
.daroul-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.daroul-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.daroul-pills span,
.daroul-class-meta small {
    border: 1px solid var(--daroul-line);
    border-radius: 999px;
    padding: 0.48rem 0.75rem;
    color: var(--school-primary, var(--daroul-ink));
    background: rgba(255, 255, 255, 0.78);
    font-weight: 900;
    font-size: 0.84rem;
}

.daroul-frame {
    position: relative;
    min-height: 540px;
    border: 1px solid var(--daroul-line);
    border-radius: 38px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--school-secondary, #ddefe7) 48%, #fff)),
        #fff;
    box-shadow: var(--daroul-shadow);
}

.daroul-frame-arch {
    position: absolute;
    inset: 1.7rem 1.7rem auto;
    height: 68%;
    border: 1px solid color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 24%, transparent);
    border-bottom: 0;
    border-radius: 220px 220px 0 0;
}

.daroul-hero-image {
    position: relative;
    z-index: 2;
    width: calc(100% - 3rem);
    height: 340px;
    margin: 1.5rem;
    display: block;
    border-radius: 190px 190px 26px 26px;
    padding: 1rem;
    object-fit: contain;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), color-mix(in srgb, var(--school-secondary, #ddefe7) 34%, #fff));
    box-shadow: 0 20px 56px rgba(15, 81, 60, 0.13);
}

.daroul-visual-placeholder {
    position: relative;
    z-index: 2;
    min-height: 350px;
    display: grid;
    place-items: center;
    margin: 1.5rem;
    border-radius: 190px 190px 26px 26px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 84%, #fff), color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 58%, var(--school-accent, #c79a3b))),
        var(--school-primary, var(--daroul-ink));
    color: #fff;
}

.daroul-visual-calligraphy {
    font-family: "Marcellus", serif;
    color: #fff;
    font-size: clamp(4rem, 10vw, 7rem);
}

.daroul-visual-book {
    position: absolute;
    bottom: 23%;
    width: 38%;
    height: 18px;
    border-radius: 999px;
    background: var(--school-accent, #c79a3b);
}

.daroul-frame-card {
    position: absolute;
    z-index: 4;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 26px;
    padding: 1.45rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.daroul-frame-card span,
.daroul-price-card span,
.daroul-contact-card span {
    display: block;
    color: var(--school-primary, var(--daroul-ink));
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.daroul-frame-card strong {
    display: block;
    margin: 0.35rem 0;
    color: var(--school-primary, var(--daroul-ink));
    font-weight: 900;
}

.daroul-frame-card p {
    margin: 0;
    color: var(--daroul-muted);
    line-height: 1.55;
}

.daroul-section {
    padding-block: clamp(3.5rem, 7vw, 5.75rem);
}

.daroul-intro,
.daroul-steps-panel,
.daroul-cta-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
    border: 1px solid var(--daroul-line);
    border-radius: 34px;
    padding: clamp(1.45rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--daroul-shadow);
}

.daroul-about-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.daroul-about-copy h2 {
    margin: 0.45rem 0 1rem;
    color: var(--school-primary, var(--daroul-ink));
    font-family: "Marcellus", serif;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 1.02;
}

.daroul-about-copy p {
    color: var(--daroul-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.daroul-soft-note {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--daroul-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--daroul-text);
}

.daroul-about-gallery {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.daroul-about-image {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    border: 1px solid var(--daroul-line);
    border-radius: 28px;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 85%, #fff), color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 56%, var(--school-accent, #c79a3b)));
    box-shadow: var(--daroul-shadow);
}

.daroul-about-image-large {
    grid-row: span 2;
    min-height: 430px;
}

.daroul-about-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.daroul-about-image span {
    font-family: "Marcellus", serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.daroul-intro h2,
.daroul-steps-panel h2,
.daroul-cta-panel h2 {
    margin: 0.45rem 0 0;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    line-height: 1.06;
}

.daroul-intro p,
.daroul-section-head p,
.daroul-cta-panel p {
    margin: 0;
    color: var(--daroul-muted);
    line-height: 1.76;
}

.daroul-section-head {
    max-width: 830px;
    margin: 0 auto 2rem;
    text-align: center;
}

.daroul-section-head h2 {
    margin: 0.45rem 0 0.9rem;
    font-size: clamp(2.1rem, 4.4vw, 4rem);
    line-height: 1.05;
}

.daroul-program-grid,
.daroul-level-grid,
.daroul-price-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.daroul-contact-grid,
.daroul-stats {
    display: grid;
    gap: 1rem;
}

.daroul-program-card,
.daroul-price-card {
    flex: 1 1 280px;
    max-width: 420px;
}

.daroul-level-card {
    flex: 1 1 260px;
    max-width: 340px;
}

.daroul-program-card,
.daroul-level-card,
.daroul-language-card,
.daroul-class-card,
.daroul-price-card,
.daroul-stat-card,
.daroul-contact-card,
.daroul-empty-state {
    border: 1px solid var(--daroul-line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 52px rgba(15, 81, 60, 0.08);
}

.daroul-program-card,
.daroul-level-card,
.daroul-language-card,
.daroul-price-card,
.daroul-contact-card,
.daroul-empty-state {
    padding: 1.55rem;
}

.daroul-program-card {
    min-height: 270px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), color-mix(in srgb, var(--school-secondary, #ddefe7) 20%, #fff));
}

.daroul-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.daroul-card-top span {
    color: color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 28%, transparent);
    font-family: "Marcellus", serif;
    font-size: 3.1rem;
    line-height: 1;
}

.daroul-card-top i {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--school-primary, var(--daroul-ink));
    background: color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 10%, #fff);
}

.daroul-program-card h3,
.daroul-level-card h3,
.daroul-class-card h3,
.daroul-price-card h3 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
    line-height: 1.12;
}

.daroul-program-card p,
.daroul-level-card p,
.daroul-language-card p,
.daroul-class-card p {
    margin: 0;
    color: var(--daroul-muted);
    line-height: 1.62;
}

.daroul-language-panel {
    border: 1px solid var(--daroul-line);
    border-radius: 36px;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(250, 247, 239, 0.88)),
        color-mix(in srgb, var(--school-accent, #c79a3b) 8%, transparent);
    box-shadow: var(--daroul-shadow);
}

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

.daroul-language-card {
    min-height: 190px;
}

.daroul-language-card span,
.daroul-level-card span,
.daroul-class-card span {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 15px;
    color: var(--school-primary, var(--daroul-ink));
    background: color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 10%, #fff);
    font-weight: 900;
}

.daroul-language-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--school-primary, var(--daroul-ink));
}

.daroul-level-card {
    min-height: 235px;
}

.daroul-class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 560px));
    justify-content: center;
    gap: 1rem;
}

.daroul-class-card {
    min-height: 230px;
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.45rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 239, 0.9)),
        color-mix(in srgb, var(--school-secondary, #ddefe7) 18%, #fff);
}

.daroul-class-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.daroul-class-card strong {
    flex: 0 0 auto;
    color: var(--school-accent, #c79a3b);
    font-size: 1.18rem;
    font-weight: 900;
    white-space: nowrap;
}

.daroul-empty-state {
    text-align: center;
}

.daroul-empty-state i {
    color: var(--school-accent, #c79a3b);
    font-size: 2rem;
}

.daroul-empty-state strong {
    display: block;
    margin: 0.7rem 0 0.3rem;
    color: var(--school-primary, var(--daroul-ink));
}

.daroul-pricing-band {
    padding-block: clamp(3.5rem, 7vw, 5.75rem);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 9%, transparent), transparent),
        rgba(255, 255, 255, 0.34);
}

.daroul-price-card {
    position: relative;
    overflow: hidden;
}

.daroul-price-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--school-primary, var(--daroul-ink)), var(--school-accent, #c79a3b));
}

.daroul-price-card strong {
    display: block;
    color: var(--school-primary, var(--daroul-ink));
    font-size: clamp(1.5rem, 3vw, 2.05rem);
    font-weight: 900;
}

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

.daroul-steps article {
    min-height: 198px;
    border: 1px solid var(--daroul-line);
    border-radius: 24px;
    padding: 1.2rem;
    background: color-mix(in srgb, var(--school-secondary, #ddefe7) 18%, #fff);
}

.daroul-steps span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    color: #fff;
    background: var(--school-primary, var(--daroul-ink));
    font-weight: 900;
}

.daroul-steps strong {
    display: block;
    color: var(--school-primary, var(--daroul-ink));
}

.daroul-steps p {
    margin: 0.45rem 0 0;
    color: var(--daroul-muted);
}

.daroul-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.daroul-stat-card {
    padding: 1.35rem;
    text-align: center;
}

.daroul-stat-card strong {
    display: block;
    color: var(--school-primary, var(--daroul-ink));
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 900;
}

.daroul-stat-card span {
    color: var(--daroul-muted);
    font-weight: 700;
}

.daroul-cta-panel {
    align-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, var(--school-primary, var(--daroul-ink)), color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 74%, #10211b));
}

.daroul-cta-panel .daroul-kicker,
.daroul-cta-panel h2,
.daroul-cta-panel p {
    color: #fff;
}

.daroul-cta-panel p {
    opacity: 0.86;
}

.daroul-cta-actions {
    margin-top: 0;
}

.daroul-cta-light {
    color: var(--school-primary, var(--daroul-ink)) !important;
    background: #fff;
    box-shadow: none;
    min-width: 170px;
    white-space: normal;
}

.daroul-secondary-dark {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    min-width: 170px;
    white-space: normal;
}

.daroul-contact-section {
    padding-top: 2rem;
}

.daroul-contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.daroul-contact-card strong {
    display: block;
    margin-top: 0.45rem;
    color: var(--school-primary, var(--daroul-ink));
    overflow-wrap: anywhere;
}

.daroul-footer {
    color: rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--school-primary, var(--daroul-ink)) 94%, #061511), #061511);
    padding: 3.2rem 0 1.4rem;
}

.daroul-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.9fr;
    gap: 2rem;
}

.daroul-footer-brand,
.daroul-footer-title {
    color: #fff;
    font-weight: 900;
}

.daroul-footer-brand {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.daroul-footer-main p,
.daroul-footer-list {
    margin: 0;
}

.daroul-footer-list {
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.daroul-footer a {
    color: rgba(255, 255, 255, 0.82);
}

.daroul-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

@media (max-width: 1199.98px) {
    .daroul-menu {
        gap: 1rem;
    }

    .daroul-hero-grid {
        grid-template-columns: 1fr;
    }

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

    .daroul-frame {
        min-height: 500px;
    }

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

@media (max-width: 991.98px) {
    .daroul-nav {
        min-height: 74px;
    }

    .daroul-brand-logo {
        width: min(8.5rem, 32vw);
    }

    .daroul-nav-cta {
        padding-inline: 1rem;
    }

    .daroul-hero {
        padding: 3.2rem 0 3.5rem;
    }

    .daroul-intro,
    .daroul-steps-panel,
    .daroul-cta-panel {
        grid-template-columns: 1fr;
    }

    .daroul-program-grid,
    .daroul-price-grid,
    .daroul-languages-grid,
    .daroul-class-grid,
    .daroul-contact-grid,
    .daroul-stats,
    .daroul-steps,
    .daroul-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .daroul-logo {
        gap: 0.6rem;
    }

    .daroul-logo-text {
        max-width: 46vw;
        font-size: 0.9rem;
    }

    .daroul-nav-cta {
        min-height: 42px;
        padding: 0.78rem 0.9rem;
        font-size: 0.86rem;
    }

    .daroul-display {
        font-size: clamp(2.8rem, 15vw, 4.25rem);
    }

    .daroul-program-grid,
    .daroul-price-grid,
    .daroul-languages-grid,
    .daroul-level-grid,
    .daroul-class-grid,
    .daroul-contact-grid,
    .daroul-stats,
    .daroul-steps,
    .daroul-footer-grid {
        grid-template-columns: 1fr;
    }

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

    .daroul-about-image-large {
        grid-row: auto;
        min-height: 300px;
    }

    .daroul-frame {
        min-height: 460px;
        border-radius: 28px;
    }

    .daroul-hero-image,
    .daroul-visual-placeholder {
        height: 300px;
        min-height: 300px;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .daroul-frame-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.1rem;
    }

    .daroul-class-card {
        flex-direction: column;
    }

    .daroul-class-card strong {
        white-space: normal;
    }

    .daroul-section {
        padding-block: 3rem;
    }
}

.public-register-hero {
    padding: 7rem 0 4rem;
    background:
        radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--school-secondary) 38%, transparent), transparent 32%),
        linear-gradient(135deg, #fbf7ed, rgba(255, 255, 255, 0.98));
}

.public-register-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.public-register-kicker {
    color: var(--school-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.public-register-hero h1,
.public-register-confirm h1 {
    color: var(--school-primary);
    font-family: "Marcellus", serif;
    font-size: clamp(2.7rem, 5.7vw, 5rem);
    font-weight: 400;
    line-height: 0.98;
    margin-bottom: 1rem;
}

.public-register-hero p {
    color: #5f665f;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 720px;
}

.public-register-year {
    color: var(--school-primary) !important;
    font-weight: 800;
}

.public-register-section {
    padding: 4rem 0 5rem;
    background: #f8f4ea;
}

.public-register-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 92, 69, 0.13);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(31, 54, 44, 0.10);
    padding: clamp(1.4rem, 3vw, 2.5rem);
}

.public-register-card-soft span,
.public-register-reference span {
    color: var(--school-accent);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.public-register-card-soft strong,
.public-register-reference strong {
    color: var(--school-primary);
    display: block;
    font-family: "Marcellus", serif;
    font-size: 2rem;
    line-height: 1;
    margin: 0.5rem 0;
}

.public-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
}

.public-form-span {
    grid-column: 1 / -1;
}

.public-register-form label {
    color: var(--school-primary);
    font-weight: 800;
}

.public-register-form .form-control,
.public-register-form .form-select {
    border-color: rgba(15, 92, 69, 0.16);
    border-radius: 16px;
    min-height: 48px;
}

.public-old-student-search {
    background: color-mix(in srgb, var(--school-secondary) 18%, #fff);
    border: 1px solid rgba(15, 92, 69, 0.10);
    border-radius: 18px;
    padding: 1rem;
}

.public-old-student-results {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.public-old-student-item {
    background: #fff;
    border: 1px solid rgba(15, 92, 69, 0.12);
    border-radius: 14px;
    color: var(--school-primary);
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0.9rem;
    text-align: left;
}

.public-old-student-item span {
    color: #687168;
    font-size: 0.9rem;
}

.public-register-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.8rem;
}

.public-register-submit,
.public-register-link {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.4rem;
    text-decoration: none;
}

.public-register-submit {
    background: var(--school-primary);
    border: 0;
    color: #fff;
}

.public-register-link {
    color: var(--school-primary);
}

.public-register-confirm {
    min-height: 70vh;
}

.public-register-confirm-box {
    max-width: 760px;
    text-align: center;
}

.public-register-reference {
    background: #fff;
    border: 1px solid rgba(15, 92, 69, 0.13);
    border-radius: 22px;
    margin: 1.5rem auto 0;
    max-width: 420px;
    padding: 1.4rem;
}

.public-register-reference-light {
    background: color-mix(in srgb, var(--school-secondary) 30%, #fff);
}

.public-register-actions-center {
    justify-content: center;
}

@media (max-width: 767.98px) {
    .public-register-hero-grid,
    .public-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase UX inscription publique */
.public-choice-panel,
.public-form-shell,
.public-old-flow { margin-bottom: 1.35rem; }
.public-choice-panel {
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid rgba(15, 92, 69, .14);
    border-radius: 32px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 20px 60px rgba(15, 92, 69, .08);
}
.public-choice-intro h2,
.public-form-section-heading h2 {
    margin: .25rem 0 .45rem;
    color: var(--school-primary);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
}
.public-choice-intro p,
.public-form-section-heading p { color: #66746f; max-width: 48rem; }
.public-choice-cards {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem;
}
.public-choice-card {
    text-align: left; border: 1px solid rgba(15, 92, 69, .16); border-radius: 24px; padding: 1.35rem;
    background: linear-gradient(135deg, #fff, rgba(221,239,231,.32)); color: var(--school-primary);
    box-shadow: 0 16px 38px rgba(15, 92, 69, .07); cursor: pointer;
}
.public-choice-card span {
    width: 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; background: color-mix(in srgb, var(--school-accent) 26%, #fff); font-weight: 900;
}
.public-choice-card strong { display: block; margin-top: .8rem; font-size: 1.2rem; }
.public-choice-card small { display: block; margin-top: .35rem; color: #66746f; }
.public-choice-card.is-selected { border-color: var(--school-primary); box-shadow: 0 20px 48px rgba(15, 92, 69, .16); }
.public-form-section-heading { margin-bottom: 1.15rem; }
.public-form-section-heading span { color: var(--school-primary); text-transform: uppercase; font-weight: 900; font-size: .78rem; }
.public-form-section-spacing { margin-top: 2rem; }
.public-form-choice-hidden { display: none; }
.public-form-grid-soft { padding: 1rem; border-radius: 24px; background: color-mix(in srgb, var(--school-secondary) 14%, #fff); border: 1px solid rgba(15,92,69,.08); }
.public-old-student-empty,
.public-old-student-selected { padding: .8rem 1rem; border-radius: 16px; background: rgba(255,255,255,.78); color: var(--school-primary); font-weight: 800; }
.public-register-form input[readonly] { opacity: .88; cursor: not-allowed; }
@media (max-width: 860px) { .public-choice-cards { grid-template-columns: 1fr; } }
