/* =====================================================================
   PUBLIC WEBSITE  ·  site.css
   ---------------------------------------------------------------------
   Sirf public website ke liye. Ye file standalone hai -- style.css
   (portal wali) ko include NAHI karna, warna body{display:flex} se
   layout toot jata hai.

   Rang aur fonts wahi hain jo portal mein hain, taake dono ek hi
   idaray ke lagen.
   ===================================================================== */

:root {
    --ink:         #0F2038;
    --navy:        #152A4A;
    --navy-soft:   #2A4570;
    --gold:        #B8892B;
    --gold-bright: #D2A344;
    --gold-soft:   rgba(184, 137, 43, 0.12);
    --cream:       #F6F5F1;
    --sand:        #EFEADF;
    --paper:       #FFFFFF;
    --border:      #E4E1D8;
    --text:        #152A4A;
    --text-muted:  #6E768C;
    --text-light:  #9AA1B4;
    --success:     #2D7D5A;
    --danger:      #C4453C;

    --radius:    10px;
    --radius-lg: 14px;
    --shadow:       0 2px 12px rgba(21, 42, 74, 0.06);
    --shadow-hover: 0 14px 38px rgba(21, 42, 74, 0.12);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --wrap: 1180px;
    --nav-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--paper);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--gold); color: #fff; padding: 12px 20px;
    font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* =====================================================================
   TYPOGRAPHY  ·  Fraunces bolta hai, Inter parhta hai, Mono ginti karta hai
   ===================================================================== */

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--navy); }

/* Mono eyebrow -- "register" motif ka pehla hissa */
.eyebrow {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Section ka sar: eyebrow + heading + sunehri lakeer (school register jaisi) */
.sec-head { margin-bottom: 40px; }
.sec-head .eyebrow { display: block; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.sec-head p { color: var(--text-muted); max-width: 62ch; margin-top: 12px; }
.sec-head .rule {
    height: 1px; background: var(--border);
    margin-top: 22px; position: relative;
}
.sec-head .rule::before {
    content: ''; position: absolute; left: 0; top: 0;
    width: 68px; height: 3px; margin-top: -1px; background: var(--gold);
}
.sec-head.center { text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.sec-head.center .rule::before { left: 50%; transform: translateX(-50%); }

.section    { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.cream { background: var(--cream); }
.section.sand  { background: var(--sand); }
.section.navy  { background: var(--navy); color: rgba(255,255,255,0.86); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .sec-head p { color: rgba(255,255,255,0.68); }
.section.navy .sec-head .rule { background: rgba(255,255,255,0.16); }

.lead { font-size: 17px; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }

/* =====================================================================
   BUTTONS
   ===================================================================== */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border: 1px solid transparent; border-radius: var(--radius);
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.2s var(--ease); white-space: nowrap;
}
.btn-gold  { background: var(--gold); color: #fff; }
.btn-gold:hover  { background: #A2761F; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184,137,43,0.3); }
.btn-navy  { background: var(--navy); color: #fff; }
.btn-navy:hover  { background: var(--navy-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */

.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-header .bar {
    height: var(--nav-h); display: flex; align-items: center; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .crest {
    width: 42px; height: 42px; border-radius: 10px; background: #fff;
    border: 1px solid var(--border); padding: 4px; flex-shrink: 0;
}
.brand .crest img { width: 100%; height: 100%; object-fit: contain; }
.brand .name {
    font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px;
    color: var(--navy); line-height: 1.15; max-width: 230px;
}
.brand .name small {
    display: block; font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); font-weight: 500; margin-top: 3px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > li { list-style: none; position: relative; }
.nav > li > a {
    display: block; padding: 10px 12px; font-size: 14px; font-weight: 500;
    color: var(--text); border-radius: var(--radius); transition: all 0.15s var(--ease);
}
.nav > li > a:hover { color: var(--gold); background: var(--gold-soft); }
.nav > li > a.active { color: var(--gold); }
.nav > li > a.active::after {
    content: ''; display: block; height: 2px; background: var(--gold);
    margin: 6px 12px -10px;
}
.nav .has-sub > a::after { content: ' ▾'; font-size: 9px; opacity: 0.5; }

.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-hover); padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: all 0.18s var(--ease);
}
.nav > li:hover .dropdown,
.nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block; padding: 9px 14px; font-size: 13.5px; color: var(--text);
    border-radius: 6px; list-style: none;
}
.dropdown a:hover { background: var(--cream); color: var(--gold); }
.dropdown li { list-style: none; }

.nav-cta { margin-left: 14px; flex-shrink: 0; }

.nav-toggle {
    display: none; margin-left: auto; background: none; border: 1px solid var(--border);
    border-radius: 8px; width: 42px; height: 42px; cursor: pointer;
    align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* =====================================================================
   HERO  ·  navy, with a faint ruled-register grid
   ===================================================================== */

.hero {
    position: relative; background: var(--ink); color: #fff;
    padding: 100px 0 92px; overflow: hidden;
}
/* School register ki lakeerein -- signature motif */
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(to bottom, rgba(255,255,255,0.045) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(to right,  rgba(184,137,43,0.10) 0 1px, transparent 1px 120px);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,137,43,0.16), transparent 68%);
    pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 720px; }
.hero .crest-lg {
    width: 66px; height: 66px; border-radius: 16px; background: rgba(255,255,255,0.95);
    padding: 8px; margin-bottom: 26px;
}
.hero .crest-lg img { width: 100%; height: 100%; object-fit: contain; }
.hero h1 {
    font-size: clamp(34px, 5.6vw, 58px); color: #fff; letter-spacing: -0.015em;
    margin-bottom: 18px;
}
.hero .tagline {
    font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold-bright); margin-bottom: 20px;
}
.hero p.blurb { font-size: 17.5px; color: rgba(255,255,255,0.74); max-width: 56ch; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero ke neeche stat patti */
.stat-strip {
    background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.stat-strip .stat {
    padding: 30px 20px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .num {
    font-family: 'Fraunces', serif; font-size: 34px; font-weight: 600; color: #fff;
    line-height: 1;
}
.stat-strip .num span { color: var(--gold-bright); }
.stat-strip .lbl {
    font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 10px;
}

/* Andar ke pages ka chhota hero */
.page-hero {
    background: var(--ink); color: #fff; padding: 62px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 40px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumb {
    font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--gold-bright); margin-bottom: 12px;
}
.page-hero h1 { font-size: clamp(28px, 4.4vw, 44px); color: #fff; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 64ch; margin-top: 12px; }

/* =====================================================================
   CARDS & GRIDS
   ===================================================================== */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
    background: var(--paper); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px;
    transition: all 0.25s var(--ease);
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p  { color: var(--text-muted); font-size: 14.5px; }

/* Number chip -- sirf wahan jahan tarteeb ka matlab ho */
.card .idx {
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold);
    letter-spacing: 0.1em; margin-bottom: 12px; display: block;
}

.icon-badge {
    width: 44px; height: 44px; border-radius: 11px; background: var(--gold-soft);
    color: var(--gold); display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 20px;
}

.tag {
    display: inline-block; padding: 4px 11px; border-radius: 100px;
    font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--gold-soft); color: var(--gold);
}
.tag.navy  { background: rgba(21,42,74,0.08);  color: var(--navy); }
.tag.green { background: rgba(45,125,90,0.1);  color: var(--success); }

/* =====================================================================
   TABLES  ·  fee, timetable, results
   ===================================================================== */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 520px; }
table.tbl th {
    text-align: left; padding: 15px 18px; background: var(--cream);
    font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--text-muted); font-weight: 500;
    border-bottom: 1px solid var(--border);
}
table.tbl td { padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover { background: rgba(184,137,43,0.04); }
table.tbl .amount { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--navy); }

/* =====================================================================
   GALLERY
   ===================================================================== */

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.album {
    border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
    background: #fff; transition: all 0.25s var(--ease); display: block;
}
.album:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.album .thumb {
    aspect-ratio: 4/3; background: var(--sand); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-size: 30px;
}
.album .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.album:hover .thumb img { transform: scale(1.05); }
.album .meta { padding: 16px 18px; }
.album .meta h3 { font-size: 16px; margin-bottom: 4px; }
.album .meta .sub { font-size: 12.5px; color: var(--text-muted); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.photo-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 0.3s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.06); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.video-embed {
    aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); background: #000;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 500; background: rgba(15,32,56,0.94);
    display: none; align-items: center; justify-content: center; padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--radius); }
.lightbox .cap {
    position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
    color: rgba(255,255,255,0.8); font-size: 14px; padding: 0 20px;
}
.lightbox .close {
    position: absolute; top: 20px; right: 24px; background: none; border: none;
    color: #fff; font-size: 34px; cursor: pointer; line-height: 1; opacity: 0.75;
}
.lightbox .close:hover { opacity: 1; }
.lightbox .nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12); border: none; color: #fff;
    width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer;
}
.lightbox .nav-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox .prev { left: 22px; }
.lightbox .next { right: 22px; }

/* =====================================================================
   FILTER PILLS
   ===================================================================== */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button {
    padding: 8px 17px; border-radius: 100px; border: 1px solid var(--border);
    background: #fff; font-family: inherit; font-size: 13px; font-weight: 500;
    color: var(--text-muted); cursor: pointer; transition: all 0.18s var(--ease);
}
.filters button:hover { border-color: var(--gold); color: var(--gold); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* =====================================================================
   PEOPLE  ·  staff, council
   ===================================================================== */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.person {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px 18px; text-align: center; transition: all 0.25s var(--ease);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.person .avatar {
    width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 14px;
    background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif; font-size: 26px; overflow: hidden;
}
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h4 { font-family: 'Fraunces', serif; font-size: 15.5px; color: var(--navy); margin-bottom: 3px; }
.person .role { font-size: 12.5px; color: var(--gold); font-weight: 500; }
.person .extra { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* Principal ka paighaam */
.principal {
    display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px;
}
.principal .portrait {
    aspect-ratio: 3/4; border-radius: var(--radius); background: var(--sand);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-family: 'Fraunces', serif; font-size: 46px; overflow: hidden;
}
.principal .portrait img { width: 100%; height: 100%; object-fit: cover; }
.principal blockquote {
    border-left: 3px solid var(--gold); padding-left: 22px; margin: 18px 0;
    font-size: 15.5px; color: var(--text-muted);
}
.principal blockquote p + p { margin-top: 12px; }

/* =====================================================================
   FORMS
   ===================================================================== */

.form-row { margin-bottom: 18px; }
.form-row label {
    display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px;
}
.form-row label .req { color: var(--danger); }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: var(--radius); font-family: inherit; font-size: 14.5px;
    color: var(--text); background: #fff; transition: all 0.18s var(--ease);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: -8px; margin-bottom: 16px; }

.form-done {
    display: none; text-align: center; padding: 34px 20px;
    background: rgba(45,125,90,0.06); border: 1px solid rgba(45,125,90,0.25);
    border-radius: var(--radius-lg);
}
.form-done .mark { font-size: 34px; margin-bottom: 10px; }
.form-done h3 { color: var(--success); margin-bottom: 6px; }

/* =====================================================================
   FEE CALCULATOR
   ===================================================================== */

.calc {
    background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px;
}
.calc h3 { color: #fff; margin-bottom: 6px; }
.calc .hint { color: rgba(255,255,255,0.6); font-size: 13.5px; margin-bottom: 22px; }
.calc label { color: rgba(255,255,255,0.8); }
.calc select, .calc input {
    background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff;
}
.calc select option { color: var(--text); }
.calc .check { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.calc .check input { width: auto; }
.calc-out {
    margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15);
}
.calc-out .line {
    display: flex; justify-content: space-between; font-size: 14px;
    color: rgba(255,255,255,0.72); padding: 6px 0;
}
.calc-out .line.total {
    color: #fff; font-size: 20px; font-family: 'Fraunces', serif; font-weight: 600;
    border-top: 1px solid rgba(255,255,255,0.15); margin-top: 10px; padding-top: 14px;
}
.calc-out .line.total span:last-child { color: var(--gold-bright); }

/* =====================================================================
   ACCORDION  ·  class lists, FAQs
   ===================================================================== */

.acc { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.acc details { border-bottom: 1px solid var(--border); }
.acc details:last-child { border-bottom: none; }
.acc summary {
    padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; color: var(--gold); font-size: 20px; font-weight: 400; }
.acc details[open] summary::after { content: '−'; }
.acc summary:hover { background: var(--cream); }
.acc .body { padding: 4px 20px 20px; }
.acc .count {
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted);
    font-weight: 400; margin-left: 10px;
}

.name-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 18px; }
.name-list li { list-style: none; font-size: 14px; color: var(--text-muted); padding: 4px 0; }

/* =====================================================================
   NEWS / TIMELINE
   ===================================================================== */

.news-item {
    display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }
.news-date {
    flex-shrink: 0; width: 62px; text-align: center; padding-top: 2px;
}
.news-date .d { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; color: var(--navy); line-height: 1; }
.news-date .m {
    font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold); margin-top: 4px;
}
.news-body h3 { font-size: 16.5px; margin-bottom: 5px; }
.news-body p  { font-size: 14px; color: var(--text-muted); }

/* =====================================================================
   DOWNLOAD LIST  ·  syllabus, date sheets
   ===================================================================== */

.dl-list { display: grid; gap: 10px; }
.dl-item {
    display: flex; align-items: center; gap: 14px; padding: 15px 18px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.2s var(--ease);
}
.dl-item:hover { border-color: var(--gold); transform: translateX(3px); }
.dl-item .ico {
    width: 38px; height: 38px; border-radius: 9px; background: var(--gold-soft); color: var(--gold);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.dl-item .txt { flex: 1; min-width: 0; }
.dl-item .txt strong { display: block; font-size: 14.5px; font-weight: 600; }
.dl-item .txt span { font-size: 12.5px; color: var(--text-muted); }
.dl-item .go { color: var(--gold); font-size: 13px; font-weight: 600; flex-shrink: 0; }

/* =====================================================================
   EMPTY STATE  ·  "abhi kuch nahi" -- dawat, maazrat nahi
   ===================================================================== */

.empty {
    text-align: center; padding: 52px 24px; border: 1px dashed var(--border);
    border-radius: var(--radius-lg); background: #fff;
}
.empty .mark { font-size: 30px; margin-bottom: 12px; opacity: 0.5; }
.empty h3 { font-size: 17px; margin-bottom: 6px; }
.empty p  { color: var(--text-muted); font-size: 14px; max-width: 44ch; margin: 0 auto; }

/* =====================================================================
   CONTACT
   ===================================================================== */

.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: start; }
.info-line {
    display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border);
}
.info-line:last-child { border-bottom: none; }
.info-line .ico {
    width: 38px; height: 38px; border-radius: 9px; background: var(--gold-soft); color: var(--gold);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.info-line .lbl {
    font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px;
}
.info-line .val { font-size: 14.5px; font-weight: 500; word-break: break-word; }
.info-line .val a:hover { color: var(--gold); }

.map-embed {
    border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
    aspect-ratio: 16/9; background: var(--sand);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
    border: 1px solid var(--border); border-radius: 100px; font-size: 13px; font-weight: 500;
    transition: all 0.18s var(--ease); background: #fff;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* =====================================================================
   CTA BAND
   ===================================================================== */

.cta-band {
    background: var(--gold); color: #fff; padding: 54px 0; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 26px; max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-light { border-color: rgba(255,255,255,0.5); }

/* =====================================================================
   FOOTER
   ===================================================================== */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.62); padding: 62px 0 0; }
.site-footer h4 {
    font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--gold-bright); font-weight: 500; margin-bottom: 16px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.foot-grid ul li { list-style: none; margin-bottom: 9px; font-size: 13.5px; }
.foot-grid ul li a:hover { color: var(--gold-bright); }
.foot-about { display: flex; gap: 14px; margin-bottom: 18px; }
.foot-about .crest {
    width: 44px; height: 44px; border-radius: 10px; background: #fff; padding: 5px; flex-shrink: 0;
}
.foot-about .crest img { width: 100%; height: 100%; object-fit: contain; }
.foot-about .nm { font-family: 'Fraunces', serif; font-size: 16px; color: #fff; line-height: 1.25; }
.site-footer p.blurb { font-size: 13.5px; line-height: 1.7; }
.foot-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 12.5px;
}
.foot-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--gold-bright); }

/* =====================================================================
   TOASTS  ·  form ke jawab
   ===================================================================== */

.site-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--navy); color: #fff; padding: 14px 24px; border-radius: var(--radius);
    font-size: 14px; box-shadow: var(--shadow-hover); z-index: 600;
    opacity: 0; transition: all 0.3s var(--ease); pointer-events: none; max-width: 90vw;
}
.site-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.site-toast.err { background: var(--danger); }
.site-toast.ok  { background: var(--success); }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; }
    .principal { grid-template-columns: 1fr; gap: 26px; }
    .principal .portrait { max-width: 210px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    .nav {
        position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
        background: #fff; flex-direction: column; align-items: stretch; gap: 0;
        padding: 18px; overflow-y: auto; display: none; border-top: 1px solid var(--border);
    }
    .nav.open { display: flex; }
    .nav > li > a { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
    .nav > li > a.active::after { display: none; }
    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; border-bottom: 1px solid var(--border);
        border-radius: 0; padding: 0 0 10px 16px; background: var(--cream);
    }
    .hero { padding: 68px 0 60px; }
    .section { padding: 60px 0; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .wrap { padding: 0 18px; }
    .brand .name { font-size: 14px; max-width: 170px; }
    .foot-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr 1fr; }
    .stat-strip .stat:nth-child(2n) { border-right: none; }
    .card { padding: 22px; }
    .principal { padding: 24px; }
    .news-item { gap: 14px; }
}

@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
    body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
