/* ============================================================
   NURSERY-ONE — Section Styles
   Dark Blue · Yellow/Gold · White
   All classes prefixed with .nrs- to avoid conflicts
============================================================ */


/* =============================================================
   §1  SHARED SECTION WRAPPER
============================================================= */
.nrs-section {
    padding: var(--mt-section-py) 0;
}

.nrs-section--alt {
    background: var(--mt-off-white);
}

.nrs-section--dark {
    background: var(--mt-primary-dark);
    color: var(--mt-white);
}

.nrs-section--accent {
    background: var(--mt-accent);
    color: var(--mt-text-dark);
}

/* Eyebrow label above heading */
.nrs-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mt-accent-dark);
    margin-bottom: 10px;
}

.nrs-section--dark .nrs-eyebrow {
    color: var(--mt-accent-light);
}

/* Section heading */
.nrs-heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--mt-text-dark);
    line-height: 1.2;
    margin-bottom: 14px;
}

.nrs-section--dark .nrs-heading {
    color: var(--mt-white);
}

.nrs-heading span {
    color: var(--mt-primary);
}

.nrs-section--dark .nrs-heading span,
.nrs-section--accent .nrs-heading span {
    color: var(--mt-accent);
}

.nrs-lead {
    font-size: 1rem;
    color: var(--mt-text-medium);
    line-height: 1.7;
    max-width: 620px;
}

.nrs-section--dark .nrs-lead {
    color: rgba(255,255,255,0.75);
}

/* Subtitle — used below heading (distinct from lead) */
.nrs-subtitle {
    font-size: 0.95rem;
    color: var(--mt-text-medium);
    line-height: 1.7;
    max-width: 660px;
    margin: 0 auto 0;
}

.nrs-section--dark .nrs-subtitle {
    color: rgba(255, 255, 255, 0.70);
}


/* =============================================================
   §2  TRUST BAR
============================================================= */
.nrs-trust-bar {
    background: var(--mt-primary);
    padding: 18px 0;
    position: relative;
    z-index: var(--mt-z-base); /* Stays below fixed header (z-index: 1000) */
}

.nrs-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.nrs-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mt-white);
}

.nrs-trust-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--mt-accent);
    flex-shrink: 0;
}

.nrs-trust-label {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
}

.nrs-trust-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--mt-accent);
    display: block;
}

.nrs-trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}


/* =============================================================
   §3  ABOUT INTRO
============================================================= */
.nrs-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nrs-about-image {
    position: relative;
    border-radius: var(--mt-radius-lg);
    overflow: hidden;
    box-shadow: var(--mt-shadow-lg);
}

.nrs-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--mt-radius-lg);
}

/* Accent block decoration */
.nrs-about-image::after {
    content: "";
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 80px;
    height: 80px;
    background: var(--mt-accent);
    border-radius: var(--mt-radius);
    z-index: -1;
}

.nrs-about-text .nrs-lead {
    max-width: none;
    margin-bottom: 24px;
}

.nrs-about-stat {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.nrs-stat-item {
    text-align: center;
}

.nrs-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mt-primary);
    line-height: 1;
    display: block;
}

.nrs-stat-label {
    font-size: 0.78rem;
    color: var(--mt-text-muted);
    font-weight: 500;
    margin-top: 4px;
}


/* Image placeholder (when no image uploaded) */
.nrs-about-img-placeholder {
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: var(--mt-neutral-100);
    border-radius: var(--mt-radius-lg);
    color: var(--mt-text-muted);
}

.nrs-about-img-placeholder i   { font-size: 3rem; opacity: 0.2; }
.nrs-about-img-placeholder span { font-size: 0.8rem; opacity: 0.5; }

/* Mission / Vision block */
.nrs-mv-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0 24px;
    padding: 20px;
    background: var(--mt-neutral-50);
    border-left: 4px solid var(--mt-accent);
    border-radius: 0 var(--mt-radius-md) var(--mt-radius-md) 0;
}

.nrs-mv-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.nrs-mv-icon {
    width: 34px;
    height: 34px;
    background: rgba(245,166,35,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #d97706;
    flex-shrink: 0;
}

.nrs-mv-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mt-text-heading);
    margin-bottom: 2px;
}

.nrs-mv-text {
    font-size: 0.85rem;
    color: var(--mt-text-body);
    margin: 0;
    line-height: 1.6;
}

/* Features list */
.nrs-about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nrs-about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--mt-text-body);
    font-weight: 500;
}

.nrs-about-feature i {
    color: var(--mt-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* =============================================================
   §4  PROGRAMS (cards)
============================================================= */
.nrs-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.nrs-program-card {
    background: var(--mt-white);
    border: 1px solid var(--mt-border);
    border-radius: var(--mt-radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--mt-duration) var(--mt-ease),
                box-shadow var(--mt-duration) var(--mt-ease);
}

.nrs-program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mt-shadow-lg);
}

.nrs-program-icon {
    width: 64px;
    height: 64px;
    background: var(--mt-accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--mt-primary);
    margin: 0 auto 20px;
    transition: background var(--mt-duration) ease;
}

.nrs-program-card:hover .nrs-program-icon {
    background: var(--mt-accent);
    color: var(--mt-primary-dark);
}

.nrs-program-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mt-text-dark);
    margin-bottom: 10px;
}

.nrs-program-desc {
    font-size: 0.85rem;
    color: var(--mt-text-medium);
    line-height: 1.6;
    margin: 0;
}

.nrs-program-age {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    background: var(--mt-primary-soft);
    color: var(--mt-primary);
    border-radius: var(--mt-radius-pill);
}


/* =============================================================
   §5  SERVICES PREVIEW
============================================================= */
.nrs-services-header {
    margin-bottom: 40px;
}

/* Grid — default 4 cols; modifier classes adjust for fewer items */
.nrs-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nrs-services-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nrs-services-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Service card — extends program-card visuals, adds link */
.nrs-service-card {
    background: var(--mt-white);
    border: 1px solid var(--mt-border);
    border-radius: var(--mt-radius-lg);
    padding: 28px 22px;
    box-shadow: var(--mt-shadow-card);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.2s var(--mt-ease-default),
        box-shadow 0.2s var(--mt-ease-default);
}

.nrs-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mt-shadow-lg);
}

.nrs-service-card .nrs-program-icon {
    margin-left: 0;
    margin-bottom: 18px;
}

.nrs-service-card:hover .nrs-program-icon {
    background: var(--mt-accent);
    color: var(--mt-primary-dark);
}

/* "Learn More" link — sits at bottom of the card */
.nrs-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mt-primary);
    text-decoration: none;
    transition: gap 0.15s ease, color 0.15s ease;
}

.nrs-service-link:hover {
    color: var(--mt-accent-dark);
    gap: 10px;
}

/* Bottom CTA */
.nrs-services-cta {
    text-align: center;
    margin-top: 48px;
}


/* =============================================================
   §6  WHY CHOOSE US
============================================================= */

/* ── Grid mode (≤ 3 items) ── */
.nrs-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* ── Slider mode (> 3 items) ── */
.nrs-why-slider-wrap {
    position: relative;
    margin-top: 48px;
}

.nrs-why-slider {
    display: flex;
    gap: 24px;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.nrs-why-slider .nrs-why-card {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 visible */
    scroll-snap-align: start;
    min-width: 0;
}

/* Nav row: prev / dots / next */
.nrs-why-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.nrs-why-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mt-accent);
    color: var(--mt-primary-dark);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
    font-weight: 700;
}

.nrs-why-nav-btn:hover:not(:disabled) {
    background: var(--mt-accent-hover);
    transform: scale(1.1);
}

.nrs-why-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.nrs-why-dots {
    display: flex;
    gap: 8px;
}

.nrs-why-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.nrs-why-dot.is-active {
    background: var(--mt-accent);
    transform: scale(1.3);
}

/* ── Shared card styles (grid + slider) ── */
.nrs-why-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--mt-radius);
    padding: 24px 20px;
    transition: background var(--mt-duration) ease;
}

.nrs-why-card:hover {
    background: rgba(255,255,255,0.12);
}

.nrs-why-icon {
    width: 48px;
    height: 48px;
    background: var(--mt-accent);
    border-radius: var(--mt-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--mt-primary-dark);
    flex-shrink: 0;
}

.nrs-why-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mt-white);
    margin: 0 0 6px;
}

.nrs-why-body p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}


/* =============================================================
   §6  GALLERY
============================================================= */
.nrs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
    margin-top: 48px;
}

/* First item: spans 2 cols + 2 rows */
.nrs-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.nrs-gallery-item {
    position: relative;
    border-radius: var(--mt-radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--mt-light-bg);
    /* Ensures height is preserved even when image fails */
    min-height: 220px;
}

.nrs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--mt-ease);
    /* Fill the grid cell — critical when position:absolute not used */
    position: absolute;
    inset: 0;
}

/* Placeholder shown when image is missing/broken */
.nrs-gallery-item img[src=""],
.nrs-gallery-item img:not([src]) {
    display: none;
}

.nrs-gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--mt-light-bg) 0%, var(--mt-border) 100%);
    color: var(--mt-text-muted);
}

.nrs-gallery-placeholder i {
    font-size: 2rem;
    opacity: 0.3;
}

.nrs-gallery-placeholder span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.5;
}

.nrs-gallery-item:hover img {
    transform: scale(1.05);
}

.nrs-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 61, 110, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--mt-duration) ease;
}

.nrs-gallery-overlay i {
    font-size: 1.8rem;
    color: var(--mt-white);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--mt-duration) ease, transform var(--mt-duration) var(--mt-ease);
}

.nrs-gallery-item:hover .nrs-gallery-overlay {
    background: rgba(27, 61, 110, 0.5);
}

.nrs-gallery-item:hover .nrs-gallery-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* Video badge */
.nrs-gallery-video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--mt-accent);
    color: var(--mt-primary-dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--mt-radius-pill);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* =============================================================
   §7  TESTIMONIALS
============================================================= */
.nrs-testimonials-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.nrs-testimonial-card {
    background: var(--mt-white);
    border: 1px solid var(--mt-border);
    border-radius: var(--mt-radius-lg);
    padding: 28px 24px;
    position: relative;
}

.nrs-testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--mt-accent);
    font-family: Georgia, serif;
    opacity: 0.5;
}

.nrs-testimonial-stars {
    display: flex;
    gap: 3px;
    color: var(--mt-accent-dark);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.nrs-testimonial-text {
    font-size: 0.9rem;
    color: var(--mt-text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.nrs-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nrs-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mt-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--mt-primary);
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.nrs-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nrs-testimonial-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--mt-text-dark);
    margin: 0;
}

.nrs-testimonial-role {
    font-size: 0.75rem;
    color: var(--mt-text-muted);
}


/* =============================================================
   §8  CTA VISIT SECTION
============================================================= */
.nrs-cta {
    text-align: center;
    padding: var(--mt-section-py) 0;
    background: var(--mt-accent);
    position: relative;
}

.nrs-cta .nrs-heading {
    color: var(--mt-primary-dark);
    margin-bottom: 12px;
}

.nrs-cta .nrs-lead {
    color: var(--mt-primary);
    margin: 0 auto 32px;
    max-width: 560px;
}

/* Background image mode — overrides yellow with image + dark overlay */
.nrs-cta--image {
    background-color: var(--mt-surface-dark);
}

.nrs-cta--image .nrs-eyebrow {
    color: var(--mt-accent) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.nrs-cta--image .nrs-heading {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nrs-cta--image .nrs-lead {
    color: rgba(255, 255, 255, 0.90) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Frosted content band — ensures text is readable over any image */
.nrs-cta--image .container {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: var(--mt-radius-xl);
    padding: 52px 40px;
    max-width: 720px;
}

.nrs-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Outline button fix in image mode — white stroke so it's visible on dark bg */
.nrs-cta--image .nrs-btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.10);
}

.nrs-cta--image .nrs-btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
}

.nrs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--mt-font);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--mt-radius-pill);
    text-decoration: none;
    transition: transform var(--mt-duration) var(--mt-ease),
                box-shadow var(--mt-duration) ease;
    cursor: pointer;
    border: none;
}

.nrs-btn-primary {
    background: var(--mt-primary);
    color: var(--mt-white);
    box-shadow: 0 4px 20px rgba(27, 61, 110, 0.3);
}

.nrs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(27, 61, 110, 0.4);
    color: var(--mt-white);
}

.nrs-btn-outline {
    background: transparent;
    color: var(--mt-primary-dark);
    border: 2px solid var(--mt-primary-dark);
}

.nrs-btn-outline:hover {
    background: var(--mt-primary-dark);
    color: var(--mt-white);
    transform: translateY(-2px);
}

.nrs-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* =============================================================
   §9  RESPONSIVE
============================================================= */
@media (max-width: 992px) {
    .nrs-about {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .nrs-services-grid,
    .nrs-services-grid--3,
    .nrs-services-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .nrs-why-slider .nrs-why-card {
        flex: 0 0 calc((100% - 24px) / 2); /* 2 visible on tablet */
    }

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

    .nrs-gallery-item:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nrs-trust-inner {
        gap: 16px;
    }

    .nrs-trust-item {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    .nrs-testimonials-track {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .nrs-programs-grid {
        grid-template-columns: 1fr;
    }

    .nrs-services-grid,
    .nrs-services-grid--2,
    .nrs-services-grid--3,
    .nrs-services-grid--4 {
        grid-template-columns: 1fr;
    }

    .nrs-why-grid {
        grid-template-columns: 1fr;
    }

    .nrs-why-slider .nrs-why-card {
        flex: 0 0 100%; /* 1 visible on mobile */
    }

    .nrs-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
    }

    .nrs-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .nrs-section {
        padding: var(--mt-section-py-sm) 0;
    }
}


/* ==========================================================
   INNER PAGE HEADER (.page-intro-band)
   Used by about.php and other inner pages
   ========================================================== */
.page-intro-band {
    background: var(--mt-surface-dark-alt);
    border-bottom: 3px solid var(--mt-accent);
    padding: 80px 0 52px;
    text-align: center;
}

.page-intro-band .page-intro-eyebrow {
    display: block;
    color: var(--mt-accent);
    font-size: var(--mt-text-sm);
    font-weight: var(--mt-weight-semibold);
    letter-spacing: var(--mt-tracking-wider);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.page-intro-band .page-intro-title {
    color: var(--mt-neutral-0);
    font-size: var(--mt-text-3xl);
    font-weight: var(--mt-weight-bold);
    line-height: var(--mt-leading-tight);
    margin-bottom: 16px;
}

.page-intro-band .page-intro-lead {
    color: var(--mt-neutral-300);
    font-size: var(--mt-text-md);
    line-height: var(--mt-leading-normal);
    max-width: 620px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .page-intro-band {
        padding: 60px 0 40px;
    }
    .page-intro-band .page-intro-title {
        font-size: var(--mt-text-2xl);
    }
}


/* ==========================================================
   §10  VISIT REQUEST FORM PAGE
   Used by /web/visit-request.php
   ========================================================== */

.nrs-visit-form-section {
    padding: 72px 0 80px;
    background: var(--mt-neutral-50);
}

/* ── Form Card ── */
.nrs-form-card {
    background: var(--mt-neutral-0);
    border-radius: var(--mt-radius-xl);
    box-shadow: var(--mt-shadow-lg);
    overflow: hidden;
}

.nrs-form-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--mt-surface-dark-alt);
    padding: 28px 32px;
    color: var(--mt-neutral-0);
}

.nrs-form-card-header > i {
    font-size: 1.6rem;
    color: var(--mt-accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.nrs-form-card-title {
    font-size: var(--mt-text-xl);
    font-weight: var(--mt-weight-bold);
    color: var(--mt-neutral-0);
    margin: 0 0 4px;
}

.nrs-form-card-subtitle {
    font-size: var(--mt-text-sm);
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ── Form Body ── */
.nrs-form {
    padding: 32px;
}

.nrs-form-section-label {
    font-size: var(--mt-text-xs);
    font-weight: var(--mt-weight-bold);
    letter-spacing: var(--mt-tracking-wider);
    text-transform: uppercase;
    color: var(--mt-text-muted);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mt-border-light);
    margin-bottom: 18px;
}

.nrs-label {
    display: block;
    font-size: var(--mt-text-sm);
    font-weight: var(--mt-weight-semibold);
    color: var(--mt-text-heading);
    margin-bottom: 6px;
}

.nrs-required {
    color: var(--mt-danger);
    margin-left: 2px;
}

.nrs-optional {
    color: var(--mt-text-muted);
    font-weight: var(--mt-weight-normal);
    font-size: var(--mt-text-xs);
}

.nrs-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: var(--mt-text-base);
    font-family: var(--mt-font-sans);
    color: var(--mt-text-body);
    background: var(--mt-neutral-0);
    border: 1.5px solid var(--mt-border-default);
    border-radius: var(--mt-radius-md);
    transition: border-color var(--mt-duration-fast) ease,
                box-shadow var(--mt-duration-fast) ease;
    appearance: none;
    -webkit-appearance: none;
}

.nrs-input:focus {
    outline: none;
    border-color: var(--mt-brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--mt-brand-primary-rgb), 0.12);
}

.nrs-input::placeholder {
    color: var(--mt-text-subtle);
}

.nrs-textarea {
    resize: vertical;
    min-height: 100px;
}

select.nrs-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

/* ── Submit area ── */
.nrs-btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
    justify-content: center;
}

.nrs-form-note {
    font-size: var(--mt-text-xs);
    color: var(--mt-text-muted);
    text-align: center;
    margin: 0;
}

/* ── Alert banners ── */
.nrs-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--mt-radius-md);
    font-size: var(--mt-text-sm);
}

.nrs-alert > i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.nrs-alert-success {
    background: var(--mt-success-soft);
    border-left: 4px solid var(--mt-success);
    color: #14532d;
}

.nrs-alert-success > i { color: var(--mt-success); }

.nrs-alert-error {
    background: var(--mt-danger-soft);
    border-left: 4px solid var(--mt-danger);
    color: #7f1d1d;
}

.nrs-alert-error > i { color: var(--mt-danger); }

/* ── Info strip below form ── */
.nrs-visit-info-strip {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.nrs-visit-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--mt-text-sm);
    color: var(--mt-text-muted);
}

.nrs-visit-info-item > i {
    color: var(--mt-brand-primary);
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .nrs-form {
        padding: 24px 20px;
    }
    .nrs-form-card-header {
        padding: 22px 20px;
    }
    .nrs-visit-info-strip {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
