/* ===== Yashwantrao Chavan Smruti Bhavan ===== */
:root {
    --maroon: #8B1E2D;
    --maroon-dark: #6B1520;
    --brown: #5A2D1E;
    --cream: #FBF1E6;
    --cream-alt: #F8E6E0;
    --text: #2B1B17;
    --muted: #6b5a54;
    --gold: #C9A227;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(91, 30, 30, .12);
    --font-head: 'Tiro Devanagari Marathi', serif;
    --font-body: 'Mukta', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
    background-image: radial-gradient(rgba(139, 30, 45, .045) 1px, transparent 1px);
    background-size: 22px 22px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.3; margin: 0 0 .5em; color: var(--maroon); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--cream-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p:last-child { color: var(--muted); }
.center { text-align: center; margin-top: 36px; }
.eyebrow { font-size: .9rem; font-weight: 600; letter-spacing: .04em; color: var(--brown); margin-bottom: .4em; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.eyebrow-gold { color: var(--gold); }
.gold { color: var(--gold); }

/* Icons */
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 26px; border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
    transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 6px 16px; font-size: .9rem; }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-ghost { color: var(--brown); background: transparent; }
.btn-gold { background: var(--gold); color: var(--maroon-dark); }
.btn-light { background: var(--white); color: var(--maroon); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1EBE5A; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--maroon); }
.brand strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; color: var(--maroon); line-height: 1.2; }
.brand small { color: var(--muted); font-size: .85rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { font-weight: 700; text-decoration: none; padding: 4px 10px; border: 1px solid #e6cfc7; border-radius: 6px; }

.main-nav { background: var(--maroon); }
.main-nav > ul { display: flex; gap: 4px; list-style: none; padding: 0; margin-block: 0; }
.main-nav a, .dropdown-toggle {
    display: block; padding: 12px 16px; color: var(--white); text-decoration: none;
    font: 500 1rem var(--font-body); background: none; border: 0; cursor: pointer;
}
.main-nav li.active > a, .main-nav li.active > button, .main-nav a:hover, .dropdown-toggle:hover { background: var(--maroon-dark); }
.has-dropdown { position: relative; }
.dropdown-toggle::after { content: " ▾"; font-size: .8em; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 280px; list-style: none; padding: 8px 0; margin: 0;
    background: var(--white); border-radius: 0 0 10px 10px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.dropdown a { color: var(--text); padding: 9px 18px; }
.dropdown a:hover { background: var(--cream); color: var(--maroon); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-toggle, .nav-mobile-only { display: none; }

/* Hero */
.hero {
    padding: clamp(40px, 6vw, 80px) 0;
    background: linear-gradient(120deg, #fbe3dc 0%, var(--cream) 55%, #f6e1d3 100%);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .3em; }
.hero h1 span { display: block; color: var(--brown); }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 520px; }

/* 3D statue stage: layers sit at different depths and tilt with the pointer */
.statue-stage { perspective: 1100px; display: grid; place-items: center; padding-block: 10px 30px; }
.stage-3d {
    --rx: 0deg; --ry: 0deg;
    position: relative; width: min(100%, 420px); height: 600px;
    transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .25s ease-out;
}
.halo {
    position: absolute; left: 50%; top: 4%; width: 380px; aspect-ratio: 1; translate: -50% 0;
    border-radius: 50%; transform: translateZ(-80px);
    background: radial-gradient(circle, rgba(201, 162, 39, .55) 0%, rgba(201, 162, 39, .18) 45%, transparent 70%);
}
.halo::before, .halo::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 2px dashed rgba(139, 30, 45, .35); animation: spin 60s linear infinite; }
.halo::after { inset: 20%; border: 1px solid rgba(201, 162, 39, .7); animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.statue-3d {
    position: absolute; left: 50%; bottom: 96px; height: 470px; width: auto; max-width: none; translate: -50% 0;
    transform: translateZ(40px);
    filter: drop-shadow(18px 22px 18px rgba(60, 10, 18, .45)) drop-shadow(-2px -2px 0 rgba(255, 230, 190, .35)) contrast(1.08) saturate(1.1);
    animation: rise 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes rise { from { transform: translateZ(40px) translateY(24px) scale(.97); } }

.measure {
    position: absolute; left: 6%; bottom: 96px; height: 470px; width: 2px; transform: translateZ(10px);
    background: repeating-linear-gradient(to top, var(--maroon) 0 2px, transparent 2px 6.6667%), var(--gold);
    background-size: 14px 100%, 2px 100%; background-repeat: no-repeat; background-position: left 0 bottom 0, 0 0;
}
.measure span { position: absolute; bottom: var(--h); left: 12px; translate: 0 50%; white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--brown); }
.measure span::before { content: ""; position: absolute; left: -14px; top: 50%; width: 10px; height: 2px; background: var(--maroon); }
.measure span:first-child { font-family: var(--font-head); font-size: 1.05rem; color: var(--maroon); }

.pedestal { position: absolute; left: 50%; bottom: 20px; width: 290px; translate: -50% 0; transform: translateZ(30px); }
.pedestal-top { height: 26px; margin-inline: 14px; background: linear-gradient(#a8826e, #6b4637); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.pedestal-front {
    height: 64px; display: grid; place-content: center; text-align: center;
    background: linear-gradient(180deg, #4a1a1f, #2a0d12); color: var(--gold);
    font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), 0 18px 30px rgba(42, 13, 18, .35);
}
.pedestal-front small { font-family: var(--font-body); font-size: .75rem; color: #e8cfa0; letter-spacing: .08em; }
.floor-shadow { position: absolute; left: 50%; bottom: 4px; width: 360px; height: 30px; translate: -50% 0; border-radius: 50%; background: radial-gradient(rgba(60, 10, 18, .35), transparent 70%); transform: translateZ(-20px); }

.statue-badge {
    position: absolute; right: -70px; top: 46%; display: flex; flex-direction: column; transform: translateZ(90px);
    background: var(--maroon); color: var(--white); padding: 12px 20px; border-radius: 12px;
    box-shadow: 0 14px 30px rgba(91, 30, 30, .35); border-left: 5px solid var(--gold);
}
.statue-badge strong { font-family: var(--font-head); font-weight: 400; font-size: 2.2rem; line-height: 1.1; color: var(--gold); }
.statue-badge span { font-size: .95rem; }

/* Facts */
.facts { background: var(--maroon-dark); color: var(--white); padding: 34px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.facts strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); line-height: 1.2; }
.facts span { font-size: .95rem; opacity: .9; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { margin: 0; position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1; }

/* Facility cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
    display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text);
    transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(91, 30, 30, .18); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.06); }
/* Cut-out statue (transparent PNG) sits on a glow instead of being cropped */
.card-img-cutout img { object-fit: contain; padding-top: 10px; background: radial-gradient(circle at 50% 45%, #f3d9a0 0%, var(--maroon) 75%); filter: drop-shadow(0 8px 10px rgba(42, 13, 18, .4)); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-link { color: var(--maroon); font-weight: 600; font-size: .95rem; }

/* Statue band */
.statue-band { background: radial-gradient(circle at 25% 50%, #8B1E2D 0%, #4a0e16 70%); color: #f3e6e0; padding: clamp(56px, 8vw, 96px) 0; }
.statue-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.statue-band h2 { color: var(--white); }
.statue-img { display: grid; place-items: center; padding-block: 20px; background: radial-gradient(circle at 50% 40%, rgba(201, 162, 39, .45) 0%, rgba(201, 162, 39, .12) 40%, transparent 65%); }
.statue-img img { height: 440px; width: auto; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .5)) drop-shadow(0 0 1px rgba(255, 220, 160, .6)); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 74px; left: 12%; right: 12%; height: 3px; background: var(--maroon); }
.timeline li { text-align: center; position: relative; }
.tl-year { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--brown); height: 56px; }
.tl-dot { position: absolute; top: 66px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 4px solid var(--maroon); }
.timeline h3 { margin-top: 40px; }
.timeline p { color: var(--muted); font-size: .95rem; }

/* Halls */
.hall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hall-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.hall-card img { width: 100%; height: 100%; object-fit: cover; }
.hall-card div { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(60, 10, 18, .9)); color: var(--white); }
.hall-card h3 { color: var(--white); margin: 0; }
.hall-card p { margin: 0; font-size: .9rem; color: #f3d9a0; }
.feature-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.feature-list li { background: var(--white); padding: 6px 16px; border-radius: 999px; font-size: .95rem; border: 1px solid #ecd2c8; }
.feature-list li { display: inline-flex; align-items: center; gap: 6px; }
.feature-list li::before {
    content: ""; width: 16px; height: 16px; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B1E2D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Students */
.student-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.student-card { background: var(--white); border-radius: var(--radius); padding: 14px 14px 20px; box-shadow: var(--shadow); border-top: 4px solid var(--maroon); }
.student-card img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 14px; }
.student-card h3, .student-card p { padding-inline: 6px; }
.student-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { padding: 0; border: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: none; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.07); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 5, 8, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 14px; right: 20px; font-size: 2.4rem; color: var(--white); background: none; border: 0; cursor: pointer; }

/* Partners */
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-list li {
    background: var(--white); border: 1px solid #ecd2c8; border-left: 5px solid var(--gold);
    padding: 18px 20px; border-radius: 10px; font-family: var(--font-head); font-size: 1.15rem; color: var(--brown);
}

/* FAQ */
.faq details { background: var(--white); border-radius: 10px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(91, 30, 30, .07); }
.faq summary { padding: 16px 48px 16px 20px; font-weight: 600; cursor: pointer; list-style: none; position: relative; color: var(--maroon); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Visit band */
.visit-band { background: var(--maroon); color: #f8e8e3; padding: 48px 0; }
.visit-band h2 { color: var(--white); }
.visit-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; }
.visit-grid .btn-row { justify-content: flex-end; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
address { font-style: normal; margin-bottom: 16px; }
.contact-list { padding-left: 18px; margin: 0 0 24px; }
.map iframe { width: 100%; height: 280px; border: 0; border-radius: var(--radius); }
.inquiry-form { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--maroon); align-self: start; }
.inquiry-form label { display: block; font-weight: 600; margin-bottom: 14px; font-size: .95rem; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    display: block; width: 100%; margin-top: 6px; padding: 11px 14px; font: 1rem var(--font-body);
    border: 1px solid #dcc3ba; border-radius: 8px; background: #fffaf6;
}
.inquiry-form :focus { outline: 2px solid var(--maroon); outline-offset: 1px; }
.inquiry-form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 10px 14px; border-radius: 8px; }
.form-msg.ok { background: #e6f4e8; color: #1d6b2c; }
.form-msg.err { background: #fbe4e4; color: #9b1c1c; }

/* Footer */
.site-footer { background: #2a0d12; color: #e8d7d2; padding-top: 56px; }
.site-footer a { color: #e8d7d2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-about img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--gold); margin-bottom: 12px; }
.site-footer h3, .site-footer h4 { color: var(--white); font-family: var(--font-head); font-weight: 400; }
.site-footer h4 { font-size: 1.15rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-about p { font-size: .95rem; }
.footer-bottom { background: var(--maroon); padding: 14px 0; font-size: .9rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== Inner pages ===== */
.page-hero {
    --hero-img: none;
    position: relative; color: #f8e8e3; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
    background: linear-gradient(100deg, rgba(74, 14, 22, .95) 0%, rgba(107, 21, 32, .85) 55%, rgba(107, 21, 32, .55) 100%), var(--hero-img) center / cover, var(--maroon-dark);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .2em; }
.page-hero-sub { max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; margin-bottom: 18px; color: #e8cfa0; }
.breadcrumb a { color: #f8e8e3; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-statue { display: grid; place-items: center; padding-block: 24px; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, rgba(201, 162, 39, .45), transparent 65%); }
.split-statue img { height: 420px; width: auto; filter: drop-shadow(0 18px 20px rgba(60, 10, 18, .35)); }
.note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 24px; }
address { font-style: normal; }

.bio-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.bio-portrait { float: left; width: 150px; height: auto; margin: 6px 24px 12px 0; border-radius: var(--radius); border: 4px solid var(--white); box-shadow: var(--shadow); }
.lead { font-size: 1.15rem; color: var(--text); }
.fact-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--gold); padding: 24px 26px; }
.fact-box h2 { font-size: 1.4rem; }
.fact-box dl { margin: 0; }
.fact-box dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0dfd8; }
.fact-box dl > div:last-child { border-bottom: 0; }
.fact-box dt { font-weight: 600; color: var(--brown); }
.fact-box dd { margin: 0; }

.v-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.v-timeline::before { content: ""; position: absolute; left: 76px; top: 8px; bottom: 8px; width: 3px; background: var(--maroon); opacity: .35; }
.v-timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding-bottom: 26px; position: relative; }
.v-timeline li::before { content: ""; position: absolute; left: 66px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--maroon); }
.vt-year { font-family: var(--font-head); color: var(--maroon); font-size: 1.15rem; text-align: right; padding-right: 8px; line-height: 1.6; }
.v-timeline h3 { margin-bottom: .2em; }
.v-timeline p { margin: 0; color: var(--muted); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.work-num { position: absolute; right: 16px; top: 4px; font-family: var(--font-head); font-size: 3.4rem; color: var(--gold); opacity: .3; line-height: 1.2; }
.work-card p { margin: 0; color: var(--muted); }

.quote-band { background: var(--maroon-dark); padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.quote-band blockquote { margin: 0; }
.quote-band p { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.5; color: var(--white); }
.quote-band cite { color: var(--gold); font-style: normal; }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
.person-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow); }
.person-avatar { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--maroon); color: var(--gold); font-family: var(--font-head); font-size: 2.2rem; border: 4px solid var(--cream-alt); }
.person-card a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; }

.tribute-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tribute-card { display: grid; grid-template-columns: 160px 1fr; gap: 20px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tribute-card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.tribute-card > div { padding: 20px 20px 20px 0; }
.tribute-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.facts-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Facility pages */
.facility-figure { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.facility-figure img { width: 100%; height: 100%; object-fit: cover; }
.facility-figure-cutout { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #f3d9a0 0%, var(--maroon) 75%); }
.facility-figure-cutout img { width: auto; height: 92%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(42, 13, 18, .45)); }
.fact-box-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fact-box-cta .btn { flex: 1; justify-content: center; }
.fact-box-cta .fact-box-book { flex-basis: 100%; }
.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; margin-inline: auto; }
.check-grid li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); padding: 14px 18px; border-radius: 10px; border: 1px solid #ecd2c8; }
.check-grid li::before {
    content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; border-radius: 50%;
    background: var(--maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-row .gallery-item { aspect-ratio: 4 / 3; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Gallery page */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.filter-btn { font: 600 .95rem var(--font-body); padding: 8px 18px; border-radius: 999px; border: 2px solid var(--maroon); background: transparent; color: var(--maroon); cursor: pointer; transition: background .2s, color .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--maroon); color: var(--white); }
.filter-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin: 0 0 16px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.masonry-item[hidden] { display: none; }
.masonry-item .gallery-item { aspect-ratio: auto; border-radius: 0; display: block; width: 100%; }
.masonry-item .gallery-item img { height: auto; }
.gallery-item-cutout { background: radial-gradient(circle at 50% 45%, #f3d9a0 0%, var(--maroon) 75%); padding: 20px 0 0; }
.gallery-item-cutout img { max-height: 420px; width: auto; margin-inline: auto; object-fit: contain; }
.masonry-item figcaption { padding: 10px 14px 12px; font-size: .92rem; color: var(--muted); }

/* FAQ / news / legal / 404 */
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.faq-jump a { padding: 6px 16px; border-radius: 999px; background: var(--white); border: 1px solid #ecd2c8; text-decoration: none; font-weight: 600; font-size: .95rem; }
.faq-jump a:hover { background: var(--maroon); color: var(--white); }
.faq-group { margin-bottom: 40px; scroll-margin-top: 140px; }
.faq-group h2 { font-size: 1.5rem; }
.faq details p a { font-weight: 600; white-space: nowrap; }
.event-date { display: inline-block; font-family: var(--font-head); font-size: 1.3rem; color: var(--white); background: var(--maroon); padding: 4px 14px; border-radius: 8px; margin-bottom: 12px; }
.empty-state { text-align: center; background: var(--white); border-radius: var(--radius); padding: 40px 24px; box-shadow: var(--shadow); }
.empty-state p { color: var(--muted); max-width: 520px; margin-inline: auto; }
.news-list { display: grid; gap: 20px; }
.news-item { display: grid; grid-template-columns: 220px 1fr; gap: 20px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-item img { width: 100%; height: 100%; object-fit: cover; }
.news-item > div { padding: 18px 18px 18px 0; }
.news-item time { color: var(--brown); font-size: .9rem; font-weight: 600; }
.legal h2 { font-size: 1.35rem; margin-top: 28px; }
.legal-updated { text-align: left; margin-top: 0; }
.not-found { text-align: center; }
.not-found-code { font-family: var(--font-head); font-size: clamp(5rem, 15vw, 8rem); color: var(--gold); line-height: 1; margin: 0; }
.not-found .btn-row { justify-content: center; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--maroon); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact-card h2 { font-size: 1.35rem; margin: 6px 0 4px; }
.contact-card address, .contact-card p { flex: 1; margin-bottom: 12px; }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cream-alt); color: var(--maroon); }
.contact-icon .icon { width: 24px; height: 24px; }
.contact-card-wa { border-top-color: #25D366; }
.contact-card-wa .contact-icon { color: #25D366; background: #e8f9ee; }
.contact-people { list-style: none; padding: 0; margin: 0; width: 100%; }
.contact-people li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f0dfd8; }
.contact-people li:last-child { border-bottom: 0; }
.contact-people a { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.map-tall iframe { height: 380px; }
.topic-grid { grid-template-columns: repeat(4, 1fr); }
.topic-card { text-decoration: none; color: var(--text); transition: transform .2s; display: flex; flex-direction: column; }
.topic-card:hover { transform: translateY(-4px); }
.topic-card p { flex: 1; margin-bottom: 12px; }


/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, .reveal { transition: none !important; animation: none !important; opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
    .hall-grid { grid-template-columns: repeat(2, 1fr); }
    .facts-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .header-actions { display: none; }
    .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
    .nav-toggle span { width: 26px; height: 3px; background: var(--maroon); border-radius: 2px; transition: .25s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .main-nav { display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; padding: 8px 0; }
    .nav-mobile-only { display: block; }
    .dropdown-toggle { width: 100%; text-align: left; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border-radius: 0; background: var(--maroon-dark); }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.open:hover .dropdown { display: block; }
    .dropdown a { color: #f3e1dc; padding-left: 32px; }
    .dropdown a:hover { background: transparent; color: var(--gold); }

    .hero-grid, .about-grid, .statue-grid, .contact-grid, .visit-grid { grid-template-columns: 1fr; }
    .split, .bio-grid { grid-template-columns: 1fr; gap: 32px; }
    .work-grid, .tribute-grid { grid-template-columns: 1fr 1fr; }
    .card-grid-3 { grid-template-columns: 1fr 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .topic-grid { grid-template-columns: 1fr 1fr; }
    .people-grid { grid-template-columns: 1fr 1fr; }
    .facts-grid-4 { grid-template-columns: 1fr 1fr; }
    .hero-text { text-align: center; }
    .hero-text .btn-row, .visit-grid .btn-row { justify-content: center; }
    .hero-sub { margin-inline: auto; }
    .stage-3d { height: 480px; width: min(100%, 340px); }
    .halo { width: 300px; }
    .statue-3d { height: 370px; bottom: 88px; }
    .measure { height: 370px; bottom: 88px; left: 2%; }
    .pedestal { width: 240px; }
    .floor-shadow { width: 290px; }
    .statue-badge { top: auto; bottom: 150px; right: -6px; padding: 8px 14px; }
    .statue-badge strong { font-size: 1.7rem; }
    .statue-badge span { font-size: .8rem; }
    .visit-grid { text-align: center; }
    .about-img::before { display: none; }

    .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
    .timeline::before { top: 8px; bottom: 8px; left: 8px; right: auto; width: 3px; height: auto; }
    .timeline li { text-align: left; padding-bottom: 28px; }
    .tl-dot { top: 10px; left: -29px; transform: none; }
    .tl-year { height: auto; font-size: 1.5rem; }
    .timeline h3 { margin-top: 0; }

    .student-grid, .partner-list { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .brand strong { font-size: 1.05rem; }
    .brand small { display: none; }
    .brand img { width: 46px; height: 46px; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .facts-grid div:last-child { grid-column: span 2; }
    .facts-grid-4 div:last-child { grid-column: auto; }
    .hall-grid, .student-grid, .partner-list, .footer-grid { grid-template-columns: 1fr; }
    .work-grid, .tribute-grid, .people-grid { grid-template-columns: 1fr; }
    .check-grid { grid-template-columns: 1fr; }
    .topic-grid { grid-template-columns: 1fr; }
    .masonry { columns: 2 140px; column-gap: 10px; }
    .masonry-item figcaption { font-size: .8rem; padding: 6px 8px 8px; }
    .photo-row { grid-template-columns: 1fr 1fr; }
    .photo-row .gallery-item:first-child:nth-last-child(odd) { grid-column: span 2; }
    .tribute-card { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; }
    .news-item > div { padding: 0 18px 18px; }
    .tribute-card img { height: 200px; }
    .tribute-card > div { padding: 0 20px 20px; }
    .bio-portrait { width: 110px; margin-right: 16px; }
    .fact-box dl > div { grid-template-columns: 1fr; gap: 2px; }
    .split-statue img { height: 340px; }
    .card-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .card-body { padding: 12px 12px 14px; }
    .card-body h3 { font-size: 1rem; }
    .card-body p { display: none; }
    .card-link { font-size: .85rem; }
    .inquiry-form { padding: 22px; }
}
