/* =========================================================
   SAINIK SCHOOL KANKER
   Cadet Command Campus Design
   ========================================================= */

:root {
    --forest-950: #101a15;
    --forest-900: #17241d;
    --forest-800: #213329;
    --forest-700: #304a39;
    --forest-600: #46664d;

    --sand-50: #fbf9f3;
    --sand-100: #f3eee1;
    --sand-200: #e4d8bd;
    --sand-300: #ceb98d;

    --brass: #b9954f;
    --brass-dark: #84682e;

    --maroon: #722630;
    --maroon-dark: #4c171e;

    --charcoal: #1e211f;
    --text: #303632;
    --muted: #667069;
    --border: #dfe3df;

    --white: #ffffff;

    --font-display: "Barlow Condensed", sans-serif;
    --font-body: "Inter", sans-serif;

    --container: 1180px;
    --radius: 6px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--sand-50);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 105px 0;
}


/* =========================================================
   COMMON TYPOGRAPHY
   ========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--maroon);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.eyebrow.light {
    color: var(--sand-300);
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading.center {
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 58px;
    text-align: center;
}

.section-heading.center .eyebrow::before {
    display: none;
}

.section-heading h2,
.section-copy h2,
.pattern-copy h2,
.residential-content h2,
.local-heading h2,
.enquiry-info h2 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: var(--forest-900);
}

.section-heading h2 {
    font-size: clamp(2.4rem, 4.3vw, 4rem);
    margin-bottom: 18px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 680px;
}

.section-heading.center p {
    margin-inline: auto;
}

.split-heading {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: end;
    gap: 70px;
}

.split-heading > p {
    padding-bottom: 8px;
}

.light-heading h2,
.light-heading p {
    color: var(--white);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--maroon);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255,255,255,0.36);
    background: rgba(255,255,255,0.04);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--forest-900);
}

.btn-sand {
    background: var(--sand-200);
    color: var(--forest-950);
}

.btn-sand:hover {
    background: var(--white);
}

.btn-large {
    min-height: 62px;
    padding-inline: 30px;
}


/* =========================================================
   TOP STRIP
   ========================================================= */

.top-strip {
    background: var(--maroon-dark);
    color: rgba(255,255,255,0.88);
    font-size: 0.76rem;
}

.top-strip-inner {
    height: 37px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-strip p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-strip a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--sand-200);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251,249,243,0.97);
    border-bottom: 1px solid rgba(30,33,31,0.1);
    transition: 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 28px rgba(16,26,21,0.08);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-emblem {
    width: 42px;
    height: 48px;
    clip-path: polygon(50% 0, 94% 16%, 87% 73%, 50% 100%, 13% 73%, 6% 16%);
    background: var(--forest-900);
    color: var(--sand-200);
    display: grid;
    place-items: center;
}

.brand-emblem i {
    font-size: 1rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    color: var(--forest-950);
}

.brand-location {
    font-family: var(--font-display);
    color: var(--maroon);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    margin-top: 5px;
}

.desktop-nav {
    display: flex;
    gap: 29px;
    margin-left: auto;
    margin-right: 30px;
}

.desktop-nav a {
    font-size: 0.83rem;
    font-weight: 700;
    color: #4f5852;
    position: relative;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--maroon);
    transition: width 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--forest-900);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-cta {
    min-height: 43px;
    padding: 0 18px;
    background: var(--forest-900);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.header-cta:hover {
    background: var(--maroon);
}

.menu-btn {
    border: none;
    background: none;
    width: 42px;
    height: 42px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest-900);
    transition: 0.25s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    background:
        linear-gradient(105deg, rgba(16,26,21,0.99) 0%, rgba(23,36,29,0.97) 53%, rgba(28,46,35,0.91) 100%);
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(206,185,141,0.15);
    border-radius: 50%;
    left: -265px;
    top: 20px;
}

.hero::after {
    content: "KANKER";
    position: absolute;
    right: -35px;
    bottom: 95px;
    font-family: var(--font-display);
    font-size: 10rem;
    line-height: 1;
    font-weight: 800;
    color: rgba(255,255,255,0.025);
    letter-spacing: 0.04em;
}

.hero-layout {
    position: relative;
    z-index: 2;
    min-height: 675px;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
    padding-top: 62px;
    padding-bottom: 65px;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--sand-300);
    margin-bottom: 21px;
}

.kicker-line {
    width: 42px;
    height: 2px;
    background: var(--maroon);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(4.4rem, 7.5vw, 7.1rem);
    line-height: 0.82;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    max-width: 700px;
}

.hero h1 span {
    color: var(--sand-300);
    display: block;
}

.hero-description {
    font-size: 1.02rem;
    color: rgba(255,255,255,0.69);
    max-width: 650px;
    margin: 30px 0;
}

.hero-description strong {
    color: rgba(255,255,255,0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
}

.hero-checks div {
    display: flex;
    gap: 7px;
    align-items: center;
}

.hero-checks i {
    color: var(--sand-300);
}

.hero-visual {
    position: relative;
    padding: 25px 10px 45px 30px;
}

.hero-photo-wrap {
    position: relative;
    min-height: 470px;
}

.hero-photo-wrap::before {
    content: "";
    position: absolute;
    inset: -18px 25px 25px -18px;
    border: 1px solid rgba(206,185,141,0.28);
    z-index: -1;
}

.hero-photo {
    height: 470px;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.85) contrast(1.04);
}

.photo-tag {
    position: absolute;
    background: var(--sand-100);
    color: var(--forest-900);
    padding: 12px 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.photo-tag span {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.photo-tag-top {
    top: 30px;
    left: -32px;
    font-size: 0.67rem;
    line-height: 1.5;
}

.photo-tag-top span {
    color: var(--maroon);
}

.photo-tag-bottom {
    right: -24px;
    bottom: 36px;
    min-width: 135px;
    background: var(--maroon);
    color: var(--white);
}

.photo-tag-bottom strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.85rem;
    line-height: 1;
}

.photo-tag-bottom span {
    color: rgba(255,255,255,0.74);
    margin-top: 4px;
}

.hero-coordinate {
    position: absolute;
    right: 12px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    text-align: right;
    font-family: var(--font-display);
}

.hero-coordinate span {
    color: rgba(255,255,255,0.42);
    letter-spacing: 0.1em;
    font-size: 0.67rem;
}

.hero-coordinate strong {
    color: var(--sand-300);
    letter-spacing: 0.09em;
}

.hero-bottom-bar {
    position: relative;
    z-index: 3;
    background: var(--sand-100);
    color: var(--forest-900);
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-right: 1px solid rgba(30,33,31,0.12);
}

.hero-stat:first-child {
    border-left: 1px solid rgba(30,33,31,0.12);
}

.hero-stat strong {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--maroon);
}

.hero-stat span {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.disclaimer-section {
    padding: 34px 0 0;
}

.disclaimer-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    background: #fff7e8;
    border: 1px solid #ead9ba;
    border-left: 5px solid var(--brass);
    padding: 24px 27px;
}

.disclaimer-icon {
    width: 42px;
    height: 42px;
    background: var(--brass);
    color: var(--forest-950);
    display: grid;
    place-items: center;
}

.disclaimer-card h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1;
    color: var(--forest-900);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.disclaimer-card p {
    color: #6c634f;
    font-size: 0.82rem;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--sand-50);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-photo-card {
    position: relative;
    padding: 0 22px 22px 0;
}

.about-photo-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 75%;
    height: 80%;
    background: var(--forest-800);
    z-index: 0;
}

.about-photo-card img {
    height: 495px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-photo-caption {
    position: absolute;
    z-index: 2;
    left: 25px;
    bottom: 50px;
    background: var(--sand-100);
    padding: 17px 21px;
    max-width: 250px;
}

.about-photo-caption span {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--maroon);
    letter-spacing: 0.13em;
}

.about-photo-caption strong {
    color: var(--forest-900);
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.mission-board {
    border-top: 1px solid var(--border);
}

.mission-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 21px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.mission-number {
    font-family: var(--font-display);
    color: var(--brass-dark);
    font-size: 1.2rem;
    font-weight: 800;
}

.mission-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--forest-900);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.mission-item p {
    color: var(--muted);
    font-size: 0.85rem;
}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.quick-section {
    padding-bottom: 95px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--forest-900);
}

.quick-card {
    min-height: 280px;
    padding: 30px;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.12);
    position: relative;
    transition: 0.25s ease;
}

.quick-card:last-child {
    border-right: none;
}

.quick-card:hover {
    background: var(--maroon-dark);
}

.quick-icon {
    font-size: 1.45rem;
    color: var(--sand-300);
    margin-bottom: 45px;
}

.quick-card > span {
    font-family: var(--font-display);
    color: rgba(255,255,255,0.35);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.quick-card h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    text-transform: uppercase;
    margin: 5px 0 7px;
}

.quick-card p {
    color: rgba(255,255,255,0.58);
    font-size: 0.79rem;
    line-height: 1.6;
}

.quick-arrow {
    position: absolute;
    top: 28px;
    right: 28px;
    color: rgba(255,255,255,0.3);
}


/* =========================================================
   AISSEE
   ========================================================= */

.aissee-section {
    background: var(--forest-800);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.aissee-section::before {
    content: "AISSEE";
    position: absolute;
    left: -28px;
    bottom: -25px;
    font-family: var(--font-display);
    font-size: 10rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.025);
}

.aissee-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.8fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.section-copy h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--white);
    margin-bottom: 25px;
}

.section-copy h2 span {
    color: var(--sand-300);
    display: block;
}

.section-copy p {
    color: rgba(255,255,255,0.66);
    margin-bottom: 18px;
}

.section-copy strong {
    color: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-weight: 700;
    font-size: 0.82rem;
}

.light-link {
    color: var(--sand-300);
}

.exam-dossier {
    background: var(--sand-100);
    color: var(--forest-900);
    border-top: 5px solid var(--maroon);
}

.dossier-header {
    display: flex;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(30,33,31,0.12);
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.dossier-header strong {
    color: var(--maroon);
}

.dossier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 67px;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(30,33,31,0.1);
}

.dossier-row span {
    color: var(--muted);
    font-size: 0.82rem;
}

.dossier-row strong {
    font-family: var(--font-display);
    font-size: 1.22rem;
}

.dossier-note {
    padding: 22px 25px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    background: #e9e1ce;
}

.dossier-note i {
    color: var(--maroon);
}

.dossier-note p {
    font-size: 0.72rem;
    line-height: 1.55;
    color: #5c5c52;
}


/* =========================================================
   ELIGIBILITY
   ========================================================= */

.eligibility-section {
    background: #fff;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.08fr;
    gap: 20px;
}

.eligibility-card {
    min-height: 405px;
    border: 1px solid var(--border);
    padding: 30px;
    background: var(--white);
    position: relative;
}

.eligibility-card.featured {
    background: var(--sand-100);
    border-color: var(--sand-200);
}

.class-badge {
    position: absolute;
    top: 30px;
    right: 28px;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.big-class {
    font-family: var(--font-display);
    font-size: 7.5rem;
    line-height: 0.83;
    font-weight: 800;
    color: var(--forest-900);
    display: block;
}

.eligibility-card h3 {
    font-family: var(--font-display);
    color: var(--maroon);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 22px 0 12px;
}

.eligibility-card p {
    color: var(--muted);
    font-size: 0.82rem;
}

.eligibility-points {
    display: grid;
    gap: 9px;
    margin-top: 20px;
}

.eligibility-points span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 600;
}

.eligibility-points i {
    color: var(--forest-600);
}

.clarification-card {
    background: var(--forest-900);
    color: var(--white);
    border: none;
}

.clarification-icon {
    width: 53px;
    height: 53px;
    background: var(--maroon);
    color: var(--white);
    display: grid;
    place-items: center;
    margin-bottom: 35px;
}

.clarification-card h3 {
    color: var(--sand-300);
}

.clarification-card p {
    color: rgba(255,255,255,0.64);
    margin-bottom: 15px;
}

.clarification-card strong {
    color: var(--white);
}


/* =========================================================
   CADET BANNER
   ========================================================= */

.cadet-banner {
    min-height: 470px;
    background:
        url("https://sainikschoolamaravathinagar.edu.in/assets/images/gallery/2025_26/POP/pop_35.jpg")
        center 45% / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.cadet-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16,26,21,0.94), rgba(16,26,21,0.68), rgba(16,26,21,0.38));
}

.cadet-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--white);
}

.cadet-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.cadet-values {
    display: grid;
    gap: 8px;
    min-width: 230px;
}

.cadet-values span {
    border-bottom: 1px solid rgba(255,255,255,0.28);
    padding: 9px 0;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}


/* =========================================================
   SYLLABUS
   ========================================================= */

.syllabus-section {
    background: var(--sand-100);
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.subject-card {
    min-height: 330px;
    background: var(--white);
    padding: 28px;
    position: relative;
    border-bottom: 4px solid var(--forest-900);
    transition: 0.25s ease;
}

.subject-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(16,26,21,0.09);
}

.subject-code {
    font-family: var(--font-display);
    font-size: 0.67rem;
    color: var(--muted);
    letter-spacing: 0.13em;
}

.subject-icon {
    width: 60px;
    height: 60px;
    margin: 42px 0 22px;
    background: var(--forest-900);
    color: var(--sand-300);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.subject-card h3 {
    font-family: var(--font-display);
    color: var(--forest-900);
    text-transform: uppercase;
    font-size: 1.55rem;
    margin-bottom: 8px;
}

.subject-card p {
    font-size: 0.79rem;
    color: var(--muted);
}

.progress-line {
    height: 3px;
    width: 100%;
    background: #e8e8e3;
    margin-top: 25px;
}

.progress-line span {
    display: block;
    height: 100%;
    width: 48%;
    background: var(--maroon);
}

.subject-card:nth-child(2) .progress-line span {
    width: 62%;
}

.subject-card:nth-child(3) .progress-line span {
    width: 73%;
}

.subject-card:nth-child(4) .progress-line span {
    width: 55%;
}

.syllabus-note {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255,255,255,0.65);
    padding: 19px 21px;
    color: var(--muted);
    font-size: 0.78rem;
}

.syllabus-note i {
    color: var(--maroon);
    margin-top: 4px;
}


/* =========================================================
   EXAM PATTERN
   ========================================================= */

.exam-pattern-section {
    background: var(--maroon-dark);
    color: var(--white);
}

.pattern-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.2fr;
    gap: 75px;
    align-items: center;
}

.pattern-copy h2 {
    color: var(--white);
    font-size: clamp(2.8rem, 4.7vw, 4.4rem);
    margin-bottom: 22px;
}

.pattern-copy > p {
    color: rgba(255,255,255,0.62);
    font-size: 0.86rem;
}

.pattern-tip {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 13px;
    align-items: center;
}

.pattern-tip > i {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.23);
    display: grid;
    place-items: center;
    color: var(--sand-300);
}

.pattern-tip strong,
.pattern-tip span {
    display: block;
}

.pattern-tip strong {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
}

.pattern-tip span {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.5);
}

.pattern-table-wrap {
    overflow-x: auto;
}

.pattern-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    background: var(--sand-100);
    color: var(--forest-900);
    min-width: 570px;
}

.pattern-table-wrap th {
    background: var(--forest-900);
    color: var(--white);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left;
    padding: 18px 20px;
    font-size: 0.82rem;
}

.pattern-table-wrap td {
    padding: 17px 20px;
    border-bottom: 1px solid rgba(30,33,31,0.12);
    font-size: 0.8rem;
}

.pattern-table-wrap tr:last-child td {
    border-bottom: none;
}

.table-footnote {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.46);
    margin-top: 12px;
}


/* =========================================================
   PREPARATION
   ========================================================= */

.preparation-section {
    background: var(--white);
}

.prep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.prep-card {
    padding: 35px 31px;
    min-height: 250px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.prep-card:hover {
    background: var(--sand-50);
}

.prep-number {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--maroon);
    letter-spacing: 0.1em;
}

.prep-card h3 {
    font-family: var(--font-display);
    color: var(--forest-900);
    font-size: 1.55rem;
    text-transform: uppercase;
    margin: 42px 0 9px;
}

.prep-card p {
    color: var(--muted);
    font-size: 0.79rem;
}


/* =========================================================
   ADMISSION
   ========================================================= */

.admission-section {
    background: var(--forest-950);
    color: var(--white);
    position: relative;
}

.timeline {
    max-width: 890px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 38px;
    width: 1px;
    background: rgba(255,255,255,0.16);
}

.timeline-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 30px;
    position: relative;
    padding-bottom: 28px;
}

.timeline-marker {
    width: 77px;
    height: 77px;
    background: var(--forest-950);
    border: 1px solid rgba(206,185,141,0.5);
    color: var(--sand-300);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.timeline-content {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 6px 0 28px;
}

.timeline-content span {
    font-family: var(--font-display);
    color: var(--brass);
    font-size: 0.68rem;
    letter-spacing: 0.13em;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    text-transform: uppercase;
    margin: 4px 0 7px;
}

.timeline-content p {
    color: rgba(255,255,255,0.56);
    font-size: 0.8rem;
}


/* =========================================================
   CHECKLIST
   ========================================================= */

.checklist-section {
    background: var(--sand-50);
}

.checklist-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 75px;
    align-items: center;
}

.checklist-photo {
    position: relative;
}

.checklist-photo img {
    height: 510px;
    object-fit: cover;
    filter: saturate(0.8);
}

.checklist-photo-label {
    position: absolute;
    bottom: 22px;
    right: -25px;
    background: var(--maroon);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 15px 21px;
}

.checklist-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    line-height: 0.95;
    color: var(--forest-900);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.checklist-content > p {
    color: var(--muted);
    font-size: 0.87rem;
    margin-bottom: 28px;
}

.checklist {
    border-top: 1px solid var(--border);
}

.check-row {
    min-height: 61px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid var(--border);
    font-size: 0.81rem;
    font-weight: 600;
}

.check-box {
    width: 30px;
    height: 30px;
    border: 1px solid var(--forest-600);
    color: var(--forest-700);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.7rem;
}


/* =========================================================
   COUNSELLING
   ========================================================= */

.counselling-section {
    background: var(--sand-100);
}

.counselling-panel {
    background: var(--forest-800);
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 0.9fr;
}

.counselling-copy {
    padding: 58px;
}

.counselling-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.counselling-copy p {
    color: rgba(255,255,255,0.62);
    font-size: 0.84rem;
    margin-bottom: 15px;
}

.counselling-copy .btn {
    margin-top: 14px;
}

.counselling-steps {
    background: var(--maroon-dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.counselling-steps div {
    min-height: 190px;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.counselling-steps div:nth-child(2n) {
    border-right: none;
}

.counselling-steps span {
    font-family: var(--font-display);
    color: var(--sand-300);
    font-size: 1.4rem;
}

.counselling-steps strong {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1rem;
}


/* =========================================================
   RESIDENTIAL
   ========================================================= */

.residential-section {
    background: var(--white);
}

.residential-layout {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.residential-content h2 {
    font-size: clamp(3rem, 5vw, 4.7rem);
    margin-bottom: 25px;
}

.residential-content h2 span {
    display: block;
    color: var(--maroon);
}

.residential-content p {
    color: var(--muted);
    font-size: 0.87rem;
    margin-bottom: 17px;
}

.residential-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.residential-tags span {
    background: var(--sand-100);
    padding: 8px 12px;
    font-family: var(--font-display);
    font-size: 0.73rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.residential-image-stack {
    position: relative;
    padding: 25px 0 45px 25px;
}

.stack-image-main {
    position: relative;
    z-index: 1;
}

.stack-image-main::before {
    content: "";
    position: absolute;
    left: -25px;
    top: -25px;
    width: 55%;
    height: 60%;
    background: var(--sand-200);
    z-index: -1;
}

.stack-image-main img {
    height: 520px;
    object-fit: cover;
}

.stack-label {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 260px;
    background: var(--forest-900);
    color: var(--white);
    padding: 23px;
    display: flex;
    flex-direction: column;
}

.stack-label span {
    font-family: var(--font-display);
    letter-spacing: 0.13em;
    font-size: 0.67rem;
    color: var(--sand-300);
}

.stack-label strong {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.1;
    margin: 4px 0;
}


/* =========================================================
   FEES
   ========================================================= */

.fees-section {
    padding-top: 25px;
    background: var(--white);
}

.fees-card {
    background: var(--maroon-dark);
    color: var(--white);
    padding: 48px;
    display: grid;
    grid-template-columns: 0.8fr 1fr 0.55fr;
    gap: 45px;
    align-items: center;
}

.fees-title h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 0.96;
    text-transform: uppercase;
}

.fees-copy p {
    color: rgba(255,255,255,0.63);
    font-size: 0.79rem;
    margin-bottom: 12px;
}

.fees-alert {
    background: rgba(255,255,255,0.08);
    padding: 23px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.72);
}

.fees-alert i {
    display: block;
    color: var(--sand-300);
    font-size: 1.45rem;
    margin-bottom: 12px;
}


/* =========================================================
   LOCAL SEO
   ========================================================= */

.local-section {
    background: var(--sand-50);
}

.local-heading {
    max-width: 850px;
    margin-bottom: 50px;
}

.local-heading h2 {
    font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.local-grid article {
    padding: 31px;
    min-height: 220px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.local-grid h3 {
    font-family: var(--font-display);
    color: var(--forest-900);
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 9px;
}

.local-grid p {
    color: var(--muted);
    font-size: 0.8rem;
}

.keyword-cloud {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-cloud span {
    border: 1px solid var(--border);
    background: var(--white);
    padding: 8px 12px;
    font-size: 0.7rem;
    color: var(--muted);
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    background: var(--sand-100);
}

.faq-list {
    max-width: 910px;
    margin-inline: auto;
    border-top: 1px solid #d3cfbf;
}

.faq-item {
    border-bottom: 1px solid #d3cfbf;
}

.faq-question {
    width: 100%;
    min-height: 82px;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    color: var(--forest-900);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.faq-question i {
    width: 34px;
    height: 34px;
    border: 1px solid #bbb6a7;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    transition: 0.25s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 60px 24px 0;
    color: var(--muted);
    font-size: 0.84rem;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    padding: 80px 0;
    background:
        linear-gradient(110deg, rgba(16,26,21,0.97), rgba(16,26,21,0.83)),
        url("https://sainikschoolamaravathinagar.edu.in/assets/images/gallery/2025_26/POP/pop_35.jpg")
        center 40% / cover no-repeat;
}

.final-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    color: var(--white);
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 0.92;
    text-transform: uppercase;
    max-width: 760px;
}

.final-cta h2 span {
    color: var(--sand-300);
    display: block;
}

.final-cta p {
    color: rgba(255,255,255,0.62);
    margin-top: 16px;
}


/* =========================================================
   ENQUIRY
   ========================================================= */

.enquiry-section {
    background: var(--white);
}

.enquiry-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.enquiry-info h2 {
    font-size: clamp(3rem, 5vw, 4.4rem);
    margin-bottom: 23px;
}

.enquiry-info > p {
    color: var(--muted);
    font-size: 0.87rem;
    margin-bottom: 35px;
}

.contact-feature {
    display: grid;
    grid-template-columns: 49px 1fr;
    gap: 14px;
    align-items: center;
    padding: 19px 0;
    border-top: 1px solid var(--border);
}

.contact-feature-icon {
    width: 45px;
    height: 45px;
    background: var(--sand-100);
    color: var(--maroon);
    display: grid;
    place-items: center;
}

.contact-feature span,
.contact-feature strong,
.contact-feature small {
    display: block;
}

.contact-feature span {
    font-size: 0.69rem;
    color: var(--muted);
}

.contact-feature strong {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
}

.contact-feature small {
    color: #939a95;
}

.enquiry-warning {
    margin-top: 25px;
    background: var(--forest-900);
    color: var(--white);
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
}

.enquiry-warning i {
    color: var(--sand-300);
    margin-top: 4px;
}

.enquiry-warning p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.62);
}

.enquiry-form {
    background: var(--sand-100);
    border-top: 5px solid var(--forest-900);
    padding: 38px;
}

.form-heading {
    margin-bottom: 28px;
}

.form-heading span {
    font-family: var(--font-display);
    color: var(--maroon);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.form-heading h3 {
    font-family: var(--font-display);
    color: var(--forest-900);
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 5px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #444b46;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d3cdbc;
    background: rgba(255,255,255,0.68);
    outline: none;
    color: var(--forest-900);
    padding: 12px 13px;
    transition: 0.2s ease;
    border-radius: 0;
}

.form-group input,
.form-group select {
    min-height: 49px;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-700);
    background: var(--white);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #b64040;
}

.error-text {
    min-height: 16px;
    color: #a52f2f;
    font-size: 0.64rem;
    margin-top: 3px;
}

.submit-btn {
    width: 100%;
    min-height: 56px;
    border: none;
    background: var(--maroon);
    color: var(--white);
    font-weight: 700;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--maroon-dark);
}

.form-note {
    text-align: center;
    color: #8a8e87;
    font-size: 0.65rem;
    margin-top: 9px;
}

.form-success {
    display: none;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 15px;
    background: #e5efe5;
    color: #33503a;
}

.form-success.show {
    display: grid;
}

.form-success strong,
.form-success span {
    display: block;
}

.form-success strong {
    font-size: 0.82rem;
}

.form-success span {
    font-size: 0.67rem;
    color: #58705c;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: var(--forest-950);
    color: var(--white);
    padding-top: 75px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
    gap: 55px;
    padding-bottom: 55px;
}

.footer-brand-logo .brand-emblem {
    background: var(--maroon);
}

.footer-brand-logo .brand-main {
    color: var(--white);
}

.footer-brand-logo .brand-location {
    color: var(--sand-300);
}

.footer-brand > p {
    max-width: 330px;
    color: rgba(255,255,255,0.48);
    font-size: 0.76rem;
    margin-top: 22px;
}

.footer-column h3 {
    font-family: var(--font-display);
    color: var(--sand-300);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 17px;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.56);
    font-size: 0.75rem;
    margin-bottom: 9px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-column p {
    color: rgba(255,255,255,0.46);
    font-size: 0.72rem;
}

.footer-disclaimer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    padding-bottom: 24px;
}

.footer-disclaimer i {
    color: var(--sand-300);
    margin-top: 4px;
}

.footer-disclaimer p {
    color: rgba(255,255,255,0.42);
    font-size: 0.68rem;
}

.footer-bottom {
    background: #0a110d;
}

.footer-bottom-inner {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,0.37);
    font-size: 0.68rem;
}


/* =========================================================
   FLOATING ELEMENTS
   ========================================================= */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 25px;
    z-index: 850;
    width: 45px;
    height: 45px;
    border: none;
    background: var(--maroon);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-enquiry-bar {
    display: none;
}


/* =========================================================
   RESPONSIVE - 1050
   ========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 18px;
        margin-right: 20px;
    }

    .desktop-nav a {
        font-size: 0.76rem;
    }

    .hero-layout {
        grid-template-columns: 1fr 0.85fr;
        gap: 40px;
    }

    .about-layout,
    .residential-layout,
    .checklist-layout {
        gap: 45px;
    }

    .quick-card {
        padding: 24px;
    }

    .aissee-layout {
        gap: 55px;
    }

    .fees-card {
        grid-template-columns: 1fr 1.15fr;
    }

    .fees-alert {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   RESPONSIVE - 860
   ========================================================= */

@media (max-width: 860px) {

    .section {
        padding: 78px 0;
    }

    .top-strip-inner {
        justify-content: center;
    }

    .top-strip a {
        display: none;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .mobile-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--sand-50);
        border-bottom: 1px solid var(--border);
        padding: 15px 20px 22px;
        box-shadow: 0 20px 35px rgba(16,26,21,0.12);
    }

    .mobile-menu.open {
        display: grid;
    }

    .mobile-menu a {
        padding: 13px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 0.83rem;
        font-weight: 700;
    }

    .mobile-menu-cta {
        background: var(--forest-900);
        color: var(--white);
        padding: 13px !important;
        text-align: center;
        margin-top: 12px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        padding-top: 75px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero h1 {
        font-size: clamp(4.5rem, 13vw, 7.2rem);
    }

    .hero-visual {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stat:nth-child(2) {
        border-right: none;
    }

    .hero-stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(30,33,31,0.12);
    }

    .about-layout,
    .aissee-layout,
    .pattern-layout,
    .checklist-layout,
    .residential-layout,
    .enquiry-layout {
        grid-template-columns: 1fr;
    }

    .about-photo-card {
        max-width: 650px;
    }

    .quick-grid,
    .subject-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-card:nth-child(2) {
        border-right: none;
    }

    .quick-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .eligibility-grid {
        grid-template-columns: 1fr 1fr;
    }

    .clarification-card {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .split-heading {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cadet-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 45px;
    }

    .cadet-values {
        width: min(100%, 400px);
    }

    .prep-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counselling-panel {
        grid-template-columns: 1fr;
    }

    .checklist-photo {
        max-width: 680px;
    }

    .local-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column:last-child {
        grid-column: auto;
    }
}


/* =========================================================
   RESPONSIVE - 620
   ========================================================= */

@media (max-width: 620px) {

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    html {
        scroll-padding-top: 76px;
    }

    body {
        padding-bottom: 58px;
    }

    .top-strip {
        font-size: 0.64rem;
    }

    .top-strip-inner {
        height: 33px;
    }

    .top-strip p {
        text-align: center;
        line-height: 1.3;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-emblem {
        width: 36px;
        height: 41px;
    }

    .brand-main {
        font-size: 1rem;
    }

    .brand-location {
        font-size: 0.73rem;
    }

    .section {
        padding: 65px 0;
    }

    .hero-layout {
        padding-top: 55px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: clamp(3.9rem, 19vw, 5.8rem);
    }

    .hero-description {
        font-size: 0.89rem;
    }

    .hero-actions {
        display: grid;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-checks {
        display: grid;
        gap: 9px;
    }

    .hero-visual {
        padding-left: 14px;
        padding-right: 5px;
    }

    .hero-photo {
        height: 390px;
    }

    .hero-photo-wrap {
        min-height: 390px;
    }

    .photo-tag-top {
        left: -12px;
    }

    .photo-tag-bottom {
        right: -5px;
    }

    .hero-coordinate {
        display: none;
    }

    .hero-stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-stat {
        min-height: 72px;
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid rgba(30,33,31,0.12);
    }

    .hero-stat:last-child {
        border-bottom: none;
    }

    .disclaimer-card {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 2.7rem;
    }

    .about-photo-card {
        padding-right: 13px;
        padding-bottom: 13px;
    }

    .about-photo-card img {
        height: 375px;
    }

    .mission-item {
        grid-template-columns: 43px 1fr;
    }

    .quick-grid,
    .eligibility-grid,
    .subject-grid,
    .prep-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quick-card {
        min-height: 230px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .quick-card:last-child {
        border-bottom: none;
    }

    .clarification-card {
        grid-column: auto;
    }

    .big-class {
        font-size: 6rem;
    }

    .cadet-banner {
        min-height: 520px;
    }

    .cadet-banner h2 {
        font-size: 3.3rem;
    }

    .subject-card {
        min-height: 295px;
    }

    .pattern-layout {
        gap: 42px;
    }

    .prep-grid {
        border-top: none;
    }

    .prep-card {
        border-left: 1px solid var(--border);
        min-height: 215px;
    }

    .timeline-line {
        left: 26px;
    }

    .timeline-item {
        grid-template-columns: 52px 1fr;
        gap: 20px;
    }

    .timeline-marker {
        width: 53px;
        height: 53px;
        font-size: 0.9rem;
    }

    .checklist-photo img {
        height: 390px;
    }

    .checklist-photo-label {
        right: 10px;
        bottom: 10px;
    }

    .counselling-copy {
        padding: 35px 25px;
    }

    .counselling-steps {
        grid-template-columns: 1fr;
    }

    .counselling-steps div {
        min-height: 130px;
        border-right: none;
    }

    .stack-image-main img {
        height: 420px;
    }

    .fees-card {
        padding: 30px 24px;
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .fees-alert {
        grid-column: auto;
    }

    .local-grid article {
        min-height: 0;
        padding: 24px;
    }

    .faq-question {
        min-height: 75px;
        font-size: 1.05rem;
    }

    .faq-answer p {
        padding-right: 20px;
    }

    .final-cta {
        padding: 65px 0;
    }

    .final-cta h2 {
        font-size: 3.4rem;
    }

    .enquiry-form {
        padding: 27px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-brand,
    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 3px;
        padding: 13px 0;
    }

    .back-to-top {
        bottom: 72px;
        right: 15px;
    }

    .mobile-enquiry-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        min-height: 57px;
        background: var(--maroon);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: 700;
        font-size: 0.84rem;
        box-shadow: 0 -8px 25px rgba(0,0,0,0.14);
    }
}


/* =========================================================
   RESPONSIVE - 390
   ========================================================= */

@media (max-width: 390px) {

    .hero h1 {
        font-size: 3.65rem;
    }

    .hero-photo {
        height: 340px;
    }

    .hero-photo-wrap {
        min-height: 340px;
    }

    .photo-tag-top {
        font-size: 0.58rem;
    }

    .photo-tag-bottom {
        min-width: 115px;
    }

    .photo-tag-bottom strong {
        font-size: 1.5rem;
    }

    .section-heading h2,
    .checklist-content h2,
    .residential-content h2,
    .local-heading h2,
    .enquiry-info h2 {
        font-size: 2.5rem;
    }

    .final-cta h2 {
        font-size: 2.9rem;
    }
}