/* ==========================================================================
   The Flower City — Sector 21D, Rohtak
   ========================================================================== */

:root {
    --green-900: #23491f;
    --green-800: #2b5a26;
    --green-700: #2f6b30;
    --green-600: #3a7d3c;
    --green-050: #eef7ec;
    --red-600:   #d92b1c;
    --red-700:   #b81f12;
    --blue-600:  #1546d4;
    --blue-700:  #0f37ab;
    --yellow:    #f7c11a;
    --ink:       #1f2a24;
    --muted:     #5d6b62;
    --line:      #dfe6e0;
    --radius:    6px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
    --wrap:      1400px;
}

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

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.wrap {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 12px;
}

.section       { padding: 46px 0; }
.section-tight { padding: 26px 0; }

.section-title {
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--ink);
}

.section-title-underline {
    width: 58px;
    height: 3px;
    background: var(--blue-600);
    border-radius: 3px;
    margin: 0 auto 30px;
}

/* ── Top bar ─────────────────────────────────────────────────────────── */

.topbar {
    background: var(--green-900);
    color: #fff;
    font-size: 13px;
}

.topbar .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    min-height: 40px;
}

.topbar-mail { display: flex; align-items: center; gap: 8px; }
.topbar-name { font-weight: 600; white-space: nowrap; }

.topbar-ticker {
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
}

.topbar-ticker span {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 26s linear infinite;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 60;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
    width: 52px;
    height: 52px;
    flex: none;
    background: #fff;
    border-radius: 8px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand-text {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.15;
    letter-spacing: .3px;
    color: var(--green-800);
    text-transform: uppercase;
}

.brand-text small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .6px;
    color: var(--muted);
    text-transform: none;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.header-actions-row {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

.header-call {
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
}

.header-actions .btn-apply { padding: 14px 38px; font-size: 15px; }

/* Attention blink on the call number + APPLY NOW button */
.header-call a {
    animation: call-blink 1.2s ease-in-out infinite;
}

@keyframes call-blink {
    0%, 100% { color: var(--green-700); opacity: 1; }
    50%      { color: #e11d48; opacity: .55; }
}

.header-actions .btn-apply {
    animation: apply-blink 1.4s ease-in-out infinite;
}

@keyframes apply-blink {
    0%, 100% {
        background: var(--blue-600);
        box-shadow: 0 0 0 0 rgba(21, 70, 212,.55);
        transform: scale(1);
    }
    50% {
        background: var(--blue-700);
        box-shadow: 0 0 0 10px rgba(21, 70, 212,0);
        transform: scale(1.05);
    }
}

.header-actions .btn-apply:hover { animation-play-state: paused; }

/* "Registration is open" pill, left of the call number. The label text itself
   flashes red/blue and a "New" tag blinks beside it — the notice-board look
   used on government job-result sites. */
.btn-reg-open {
    background: var(--green-700);
    color: #fff;
    padding: 12px 26px;
    font-size: 14px;
    letter-spacing: .5px;
    animation: reg-text-blink 1s steps(1, end) infinite;
}

@keyframes reg-text-blink {
    0%, 49%   { color: #fff; }
    50%, 100% { color: var(--yellow); }
}

.reg-new {
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .5px;
    text-transform: uppercase;
    animation: reg-new-blink .7s steps(1, end) infinite;
}

@keyframes reg-new-blink {
    0%, 49%   { color: #ff2d2d; opacity: 1; }
    50%, 100% { color: #ffe14d; opacity: 0; }
}

.btn-reg-open:hover,
.btn-reg-open:hover .reg-new { animation-play-state: paused; }
.btn-reg-open:hover { background: var(--green-800); }

@media (prefers-reduced-motion: reduce) {
    .header-call a,
    .btn-reg-open,
    .reg-new,
    .header-actions .btn-apply { animation: none; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 30px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-apply   { background: var(--blue-600); color: #fff; letter-spacing: .5px; }
.btn-apply:hover { background: var(--blue-700); }

.btn-submit  { background: var(--yellow); color: #21160a; border-radius: var(--radius); padding: 12px 26px; }
.btn-submit:hover { background: #e0ae0c; }

.btn-green   { background: var(--green-700); color: #fff; border-radius: var(--radius); }
.btn-green:hover { background: var(--green-800); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero { padding: 26px 0 10px; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: start;
}

.hero-hindi {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-hindi-mark {
    min-width: 58px;
    height: 58px;
    flex: none;
    background: var(--green-800);
    color: #fff;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    text-align: center;
    line-height: 1.25;
    padding: 4px 9px;
    white-space: nowrap;
}

.hero-hindi-text {
    font-size: clamp(11px, 1.3vw, 19px);
    font-weight: 700;
    color: var(--red-600);
    line-height: 1.3;
    white-space: nowrap;   /* authority name stays on a single line */
}

.hero-hindi-text small {
    display: block;
    margin-top: 3px;
    font-size: clamp(10px, .85vw, 12px);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .2px;
    white-space: normal;
}

.hero-price-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }

.hero-stamp {
    width: clamp(66px, 6.2vw, 92px);
    height: auto;
    flex: none;
    align-self: center;
    transform: rotate(-8deg);
}

.hero-price {
    font-size: clamp(22px, 3vw, 29px);
    font-weight: 700;
    color: var(--green-700);
    line-height: 1.2;
    margin: 0 0 4px;
}

.hero-reserved {
    color: var(--red-600);
    font-weight: 700;
    font-size: clamp(19px, 2.4vw, 26px);
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
}

.hero-bar {
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.hero-bar-green { background: var(--green-800); font-size: 14px; }

.hero-bar-red {
    background: var(--red-600);
    font-size: clamp(18px, 2.6vw, 25px);
    letter-spacing: .5px;
    padding: 12px 14px;
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--green-800);
    color: #fff;
    font-weight: 600;
    padding: 13px 16px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    font-size: clamp(15px, 1.4vw, 19px);
    letter-spacing: .2px;
    line-height: 1.4;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.hero-card {
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    border-radius: var(--radius);
}

.hero-card-green { background: var(--green-800); }
.hero-card-red   { background: var(--red-600); }

.hero-card-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    opacity: .95;
}

.hero-card-value {
    display: block;
    font-size: clamp(17px, 2.2vw, 21px);
    font-weight: 700;
    margin-top: 2px;
}

.hero-helpline {
    text-align: center;
    font-size: clamp(17px, 2.2vw, 21px);
    font-weight: 700;
    color: var(--ink);
}

/* Hero slider */

.hero-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 11;
    background: var(--green-050);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-dots {
    position: absolute;
    left: 0; right: 0; bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
}

.hero-dots button.is-active { background: #fff; width: 22px; border-radius: 999px; }

/* ── Badge pills ─────────────────────────────────────────────────────── */

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.badge-pill {
    border: 1px solid var(--green-600);
    color: var(--green-800);
    background: var(--green-050);
    border-radius: var(--radius);
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* ── Overview ────────────────────────────────────────────────────────── */

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 44px;
    align-items: stretch;  /* certificate column ends level with the copy */
    max-width: 1180px;     /* keeps the reading measure sane on the wide wrap */
    margin-inline: auto;
}

.overview-title {
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
}

.overview-grid p {
    color: var(--muted);
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.85;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;            /* softens the word gaps justification opens up */
}

.overview-grid p:last-child { margin-bottom: 0; }

/* Second copy block stacked under the first, inside the same column. */
.overview-block { margin-top: 18px; }

/* Overview — auto-sliding carousel of the 4 RERA certificate pages. */

.overview-media {
    position: relative;
    border: 2px solid var(--green-700);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    width: 100%;            /* auto margins un-stretch a grid item — keep it definite */
    max-width: 380px;
    justify-self: center;
    background: #fff;
    min-height: 340px;      /* floor only — the stretched row height drives it */
}

.overview-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}

.overview-slide.is-active { opacity: 1; }

.overview-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.overview-dots {
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.overview-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(31, 92, 46, .3);
    cursor: pointer;
}

.overview-dots button.is-active { background: var(--green-700); width: 22px; border-radius: 999px; }

/* ── Payment plan table ──────────────────────────────────────────────── */

.table-scroll { overflow-x: auto; }

.plan-table {
    width: 100%;
    min-width: 980px;      /* 8 columns — scrolls horizontally below this */
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.plan-table th,
.plan-table td {
    border: 1px solid var(--line);
    padding: 12px 10px;
    text-align: center;
}

.plan-table thead th {
    background: var(--green-050);
    color: var(--green-800);
    font-weight: 700;
    font-size: 13px;
}

.plan-table thead th small {
    display: block;
    font-weight: 500;
    color: var(--muted);
    font-size: 12px;
}

/* Row striping is dropped here — it cuts across the rowspanned area cells. */
.plan-table .plan-span {
    font-weight: 600;
    background: #fafbfa;
    vertical-align: middle;
    white-space: nowrap;
}

.plan-table td small {
    display: block;
    font-weight: 500;
    color: var(--muted);
    font-size: 12px;
}

/* ── Nearby ──────────────────────────────────────────────────────────── */

.nearby-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 34px;
    align-items: stretch;   /* slider grows to the copy's height, and vice versa */
    max-width: 1180px;
    margin-inline: auto;
}

.nearby-grid img { border-radius: 6px; box-shadow: var(--shadow-sm); }

/* Copy is centred inside the stretched column so both halves read level. */
.nearby-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nearby-slider {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--green-050);
    height: 100%;        /* matches the copy column exactly — slides are absolute,
                            so the row is sized entirely by the text beside it */
    min-height: 260px;   /* only bites if the copy is unusually short */
}

.nearby-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}

.nearby-slide.is-active { opacity: 1; }

.nearby-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.nearby-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .82);
    color: var(--green-800);
    font-size: 14px;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    transition: background .2s ease;
}

.nearby-nav:hover { background: #fff; }

.nearby-nav-prev { left: 10px; }
.nearby-nav-next { right: 10px; }

.nearby-dots {
    position: absolute;
    left: 0; right: 0; bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.nearby-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
}

.nearby-dots button.is-active { background: #fff; width: 22px; border-radius: 999px; }

.nearby-intro {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.8;
}

.nearby-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }

.nearby-list li {
    break-inside: avoid;
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--green-800);
}

.nearby-list li i { color: var(--green-600); font-size: 11px; }
.nearby-list li span { color: var(--muted); font-weight: 500; }

/* ── Ongoing project overview ────────────────────────────────────────── */

.ongoing-overview-card {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ongoing-overview-card p {
    color: var(--muted);
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.85;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.ongoing-overview-card p:last-child { margin-bottom: 0; }

/* ── Plans (map / layout) ────────────────────────────────────────────── */

.plan-figure {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.plan-figure img { width: 100%; }

/* ── Amenities & gallery ─────────────────────────────────────────────── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.amenity-card { text-align: center; }

.amenity-card .media {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}

.amenity-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.amenity-card:hover .media img { transform: scale(1.06); }

.amenity-card h3 { font-size: 15px; font-weight: 600; margin: 0; }

/* Gallery carousel — always a single row, 4 visible at a time. */

.gallery-slider {
    position: relative;
    --gallery-gap: 16px;
    --gallery-per-view: 4;
}

.gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--gallery-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track figure {
    margin: 0;
    flex: 0 0 calc((100% - (var(--gallery-per-view) - 1) * var(--gallery-gap)) / var(--gallery-per-view));
    scroll-snap-align: start;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
}

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

.gallery-track figure:hover img { transform: scale(1.06); }

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .9);
    color: var(--green-800);
    font-size: 14px;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    transition: background .2s ease;
}

.gallery-nav:hover { background: #fff; }

.gallery-nav-prev { left: -8px; }
.gallery-nav-next { right: -8px; }

@media (max-width: 1100px) { .gallery-slider { --gallery-per-view: 3; } }
@media (max-width: 720px)  { .gallery-slider { --gallery-per-view: 2; } }
@media (max-width: 480px)  { .gallery-slider { --gallery-per-view: 1; } }

/* ── FAQ accordion ───────────────────────────────────────────────────── */

.faq-list {
    max-width: 900px;
    margin-inline: auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item.is-open {
    border-color: var(--green-600);
    box-shadow: var(--shadow-md);
}

.faq-heading { margin: 0; }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.faq-question:hover { background: var(--green-050); }
.faq-item.is-open .faq-question { background: var(--green-050); color: var(--green-800); }

.faq-icon {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--green-700);
    transition: transform .3s ease;
}

.faq-item.is-open .faq-icon { transform: rotate(180deg); }

/* Height is set in JS so the panel can slide open; keep it clipped here. */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    text-align: justify;
    text-justify: inter-word;
}

@media (max-width: 480px) {
    .faq-question { padding: 14px 16px; font-size: 15px; }
    .faq-answer p { padding: 0 16px 16px; text-align: left; }
}

/* ── Contact strip ───────────────────────────────────────────────────── */

.contact-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px 20px;
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-card i { font-size: 30px; color: var(--green-700); }
.contact-card h4 { margin: 12px 0 8px; font-size: 21px; font-weight: 700; }

.contact-card p {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word;
}

/* ── Enquiry band ────────────────────────────────────────────────────── */

.enquiry { background: var(--green-050); }

.enquiry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: center;   /* copy sits level with the middle of the form card */
    max-width: 1180px;
    margin-inline: auto;
}

.enquiry-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.enquiry-grid h2 {
    font-size: clamp(19px, 2.4vw, 25px);
    margin: 0 0 12px;
    font-weight: 700;
    line-height: 1.3;
}

.enquiry-grid .lead {
    font-weight: 600;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

.enquiry-meta { list-style: none; margin: 0; padding: 0; }

.enquiry-meta li {
    display: flex;
    align-items: flex-start;   /* icon stays put when the line wraps */
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--green-800);
}

.enquiry-meta li i {
    flex: none;
    width: 16px;
    margin-top: 4px;
    color: var(--green-600);
    text-align: center;
}

/* ── Forms ───────────────────────────────────────────────────────────── */

.field { margin-bottom: 16px; }

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.field label .req { color: var(--red-600); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #b9c4bb;
    border-radius: var(--radius);
    font: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--ink);
}

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

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b62' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(58, 125, 60, .14);
}

.field .error { display: block; color: var(--red-600); font-size: 13px; margin-top: 5px; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--red-600); }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.field-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--green-700); }
.field-consent a { color: var(--blue-600); text-decoration: underline; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

/* Full-width submit reads as the card's closing action rather than a stray pill. */
.form-card .btn {
    width: 100%;
    margin-top: 4px;
    padding-block: 14px;
}

/* ── Page banner (apply / payment / static pages) ────────────────────── */

.page-banner {
    background: #262626;
    color: #fff;
    padding: 40px 0;
}

.page-banner h1 {
    margin: 0;
    font-size: clamp(22px, 3.6vw, 34px);
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.page-body { background: var(--green-050); padding: 40px 0 56px; }
.page-body .prose { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.page-body .prose h2 { font-size: 19px; margin: 22px 0 8px; }
.page-body .prose h2:first-child { margin-top: 0; }
.page-body .prose p, .page-body .prose li { color: var(--muted); }

.alert {
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error   { background: #fdecea; border: 1px solid #f5c2bd; color: var(--red-700); }
.alert-success { background: var(--green-050); border: 1px solid #b9d9b6; color: var(--green-800); }

/* ── Payment / receipt ───────────────────────────────────────────────── */

.pay-card {
    max-width: 560px;
    margin-inline: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.pay-amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--green-800);
    margin: 6px 0 2px;
}

.pay-note { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

.summary {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 14px;
    text-align: left;
}

.summary th, .summary td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.summary th { color: var(--muted); font-weight: 500; width: 45%; }
.summary td { font-weight: 600; }

.pay-success-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--green-050);
    color: var(--green-700);
    display: grid;
    place-items: center;
    font-size: 30px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
    background: #262626;
    color: #cfd4d0;
    padding: 34px 0 26px;
    text-align: center;
    font-size: 13px;
}

.site-footer .disclaimer { max-width: 900px; margin: 0 auto 18px; line-height: 1.7; }
.site-footer .copyright  { margin: 0 0 16px; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    color: #6aa1ff;
}

.footer-links a:hover { text-decoration: underline; }
.footer-links span { color: #6b7472; }

/* ── Scroll to top ───────────────────────────────────────────────────── */

.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 4px;
    background: #333;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 70;
}

.scroll-top.is-visible { opacity: 1; visibility: visible; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .hero-grid,
    .overview-grid,
    .nearby-grid,
    .enquiry-grid { grid-template-columns: 1fr; }

    .hero-media { aspect-ratio: 16 / 10; }
    .nearby-list { columns: 1; }

    /* Stacked: no copy column to match, so the A4 page ratio comes back. */
    .overview-media { aspect-ratio: 1 / 1.414; }

    /* Stacked: nothing sits beside the slider, so give it its own ratio back. */
    .nearby-slider { height: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
    .topbar .wrap { grid-template-columns: 1fr; text-align: center; gap: 4px; padding-block: 8px; }
    .topbar-mail  { justify-content: center; }
    .topbar-ticker { display: none; }

    .site-header .wrap { flex-wrap: wrap; justify-content: center; text-align: center; padding-block: 12px; }
    .header-actions { width: 100%; align-items: center; }
    .header-actions-row { flex-wrap: wrap; justify-content: center; }

    .hero-hindi-text { white-space: normal; }

    .field-row { grid-template-columns: 1fr; }
    .hero-cards { grid-template-columns: 1fr; }
}
