/* ═══════════════════════════════════════════════════════
   Sree Hariharaputhra Chits - traditional maroon & gold,
   modern layout. Mobile-first responsive.
   ═══════════════════════════════════════════════════════ */
:root {
  --maroon: #7c1d1d;
  --maroon-dark: #5a1212;
  --maroon-deep: #3f0c0c;
  --gold: #d99a2b;
  --gold-light: #f0c060;
  --gold-pale: #fbe9c5;
  --cream: #fdf8ef;
  --cream-2: #faf1de;
  --ink: #2d1a10;
  --ink-soft: #6b5544;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 35px rgba(90, 30, 10, 0.12);
  --font-display: "Playfair Display", "Noto Sans Tamil", serif;
  --font-body: "Inter", "Noto Sans Tamil", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.65; font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { width: min(820px, 92%); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.18; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--maroon-deep); }
.gold-text { color: var(--gold); }

/* ── Icons ── */
.icon { width: 22px; height: 22px; display: inline-block; vertical-align: -5px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; vertical-align: -3px; }
.icon-lg { width: 30px; height: 30px; }
.icon-xl { width: 38px; height: 38px; }
.gold-icon { color: var(--gold); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.8rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; transition: transform .25s ease, box-shadow .25s ease, background .25s; cursor: pointer; border: none; line-height: 1.3; }
.btn .icon { vertical-align: middle; }
.btn:hover { transform: translateY(-3px); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--maroon-deep); box-shadow: 0 6px 20px rgba(217, 154, 43, .4); }
.btn-gold:hover { box-shadow: 0 10px 28px rgba(217, 154, 43, .55); }
.btn-maroon { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); color: var(--gold-pale); box-shadow: 0 6px 20px rgba(124, 29, 29, .35); }
.btn-outline { background: transparent; color: var(--gold-pale); border: 2px solid rgba(240, 192, 96, .65); }
.btn-outline:hover { background: rgba(240, 192, 96, .12); }

/* ── Topbar ── */
.topbar { position: relative; overflow: hidden; background: var(--maroon-deep); color: var(--gold-pale); font-size: 0.82rem; padding: 0.45rem 0; }
.topbar-inner { position: relative; z-index: 1; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar-phone { font-weight: 700; color: var(--gold-light); display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.topbar-tagline { display: inline-flex; align-items: center; gap: 0.45rem; }

/* ── Navbar ── */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(253, 248, 239, .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(124, 29, 29, .12); transition: box-shadow .3s; }
.navbar.scrolled { box-shadow: 0 4px 24px rgba(90, 30, 10, .12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 55%, #a86f15); color: var(--maroon-deep); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(217,154,43,.45), inset 0 -2px 6px rgba(90,40,0,.3); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--maroon-deep); }
.brand-name.light-text { color: var(--gold-pale); }
.brand-sub { font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-weight: 500; font-size: 0.93rem; }
.nav-links a:not(.btn) { position: relative; padding: 0.3rem 0; color: var(--ink); }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-cta { padding: 0.55rem 1.3rem; font-size: 0.88rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 3px; background: var(--maroon); border-radius: 2px; transition: .3s; }

/* ── Hero ── */
.hero { position: relative; background: linear-gradient(160deg, var(--maroon-deep) 0%, var(--maroon) 55%, #93312a 100%); color: var(--cream); overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 2px 2px, var(--gold-light) 2px, transparent 0); background-size: 34px 34px; }
.kolam { position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 2px dashed rgba(240,192,96,.25); animation: spin 60s linear infinite; }
.kolam::before { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 1.5px dotted rgba(240,192,96,.3); }
.kolam::after { content: ""; position: absolute; inset: 54px; border-radius: 50%; border: 1px solid rgba(240,192,96,.18); }
.kolam-left { top: -120px; left: -120px; }
.kolam-right { bottom: -100px; right: -110px; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; padding: 3.5rem 0 4.5rem; }
.hero-content { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-block; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(240,192,96,.4); padding: 0.4rem 1.1rem; border-radius: 999px; margin-bottom: 1.4rem; background: rgba(0,0,0,.18); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--gold-pale); }
.hero-tagline { margin: 1.3rem auto 2rem; font-size: 1.06rem; color: #f3e3c8; max-width: 56ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 2.6rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num, .stat-plus { font-family: var(--font-body); font-size: 1.9rem; font-weight: 800; color: var(--gold-light); display: inline; letter-spacing: -0.02em; }
.stat .stat-num { display: inline; }
.stat-label { font-size: 0.8rem; color: #ecd9b8; letter-spacing: .04em; }
.stat-divider { width: 1px; height: 44px; background: rgba(240,192,96,.3); }

.hero-wave { display: block; width: 100%; height: 70px; margin-top: -1px; }
.office-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.2rem; }

/* ── Trust strip ── */
.trust-strip { padding: 1rem 0 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: -3.4rem; position: relative; z-index: 5; }
.trust-item { background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; gap: 0.9rem; align-items: center; box-shadow: var(--shadow); border-top: 3px solid var(--gold); transition: transform .3s; }
.trust-item:hover { transform: translateY(-6px); }
.trust-icon { color: var(--gold); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-pale); flex-shrink: 0; }
.trust-item h4 { font-size: 1rem; color: var(--maroon-deep); }
.trust-item p { font-size: 0.82rem; color: var(--ink-soft); }

/* ── Award ribbon (home) ── */
.award-ribbon { padding: 1.6rem 0 0; }
.award-ribbon-inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: linear-gradient(120deg, var(--maroon-deep), var(--maroon) 65%); border-radius: var(--radius); padding: 1.2rem 1.6rem; box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.4); position: relative; overflow: hidden; }
.award-ribbon-inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(240,192,96,.22), transparent 55%); pointer-events: none; }
.award-ribbon-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--gold); color: var(--maroon-deep); flex-shrink: 0; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.award-ribbon-text { flex: 1; min-width: 220px; }
.award-ribbon-text strong { display: block; color: var(--gold-pale); font-family: var(--font-head, Georgia, serif); font-size: 1.15rem; }
.award-ribbon-text span { color: #ecd9b8; font-size: 0.9rem; }
.award-ribbon-text em { color: var(--gold-light); font-style: normal; font-weight: 700; }

/* ── Awards & Recognition (about) ── */
.awards-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) 1.15fr; gap: 2.4rem; align-items: center; }
.award-cert { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.2); cursor: zoom-in; border: 1px solid rgba(217,154,43,.25); background: var(--white); }
.award-cert img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.award-cert:hover img { transform: scale(1.04); }
.award-year { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gold-pale); color: var(--maroon-deep); font-weight: 700; padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.9rem; margin-bottom: 0.9rem; }
.award-year .icon { width: 18px; height: 18px; color: var(--gold); }
.award-detail h3 { font-size: 1.5rem; color: var(--maroon-deep); margin-bottom: 0.7rem; }
.award-detail p { color: var(--ink-soft); line-height: 1.7; }
.award-video { margin-top: 1.4rem; }
.award-video video { width: 100%; max-width: 460px; border-radius: 14px; box-shadow: var(--shadow); background: #000; display: block; border: 1px solid rgba(217,154,43,.3); }
.award-video-cap { display: block; margin-top: 0.5rem; font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

/* ── Sections ── */
.section { padding: 5.5rem 0; }
.section-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); background: var(--gold-pale); padding: 0.35rem 1rem; border-radius: 999px; margin-bottom: 1rem; }
.section-tag.tag-light { background: rgba(240,192,96,.18); color: var(--gold-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { margin-top: 0.8rem; color: var(--ink-soft); }
.section-head.light h2 { color: var(--cream); }
.section-head.light p { color: #ecd9b8; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.about-card-stack { position: relative; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); }
.about-float-card { position: absolute; bottom: -22px; right: -10px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 1.2rem; border-left: 4px solid var(--gold); animation: bob 6s ease-in-out infinite; }
.afc-icon { color: var(--gold); display: grid; place-items: center; }
.about-float-card strong { display: block; color: var(--maroon-deep); font-size: 1rem; }
.about-float-card span { font-size: 0.75rem; color: var(--ink-soft); }
.about-content p { margin: 0.9rem 0; color: var(--ink-soft); }
.about-points { list-style: none; margin: 1.2rem 0 1.8rem; }
.about-points li { padding: 0.4rem 0; font-weight: 500; color: var(--ink); display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; }
.about-points .icon { width: 16px; height: 16px; margin-top: 5px; }

/* ── Plans ── */
.plans { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.6rem; }
.plans-grid.banded { display: block; }
.plan-band { margin-bottom: 2.6rem; }
.plan-band:last-child { margin-bottom: 0; }
.plan-band-title { font-family: var(--font-body); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; color: var(--maroon-deep); margin-bottom: 1.1rem; padding-bottom: 0.5rem; border-bottom: 1.5px solid rgba(217,154,43,.45); }
.plan-band-title span { color: var(--gold); }
.plan-band-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.6rem; }
.plan-card { position: relative; background: var(--white); border-radius: var(--radius); padding: 1.9rem 1.6rem 1.6rem; box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.18); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 18px 45px rgba(90,30,10,.18); }
.plan-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--maroon), var(--gold)); }
.plan-popular { position: absolute; top: 14px; right: -34px; background: var(--maroon); color: var(--gold-pale); font-size: 0.68rem; font-weight: 700; letter-spacing: .08em; padding: 0.3rem 2.6rem; transform: rotate(40deg); }
.plan-name { font-size: 0.8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.plan-amount { font-family: var(--font-body); font-size: 1.9rem; font-weight: 800; color: var(--maroon-deep); margin: 0.35rem 0 0.1rem; letter-spacing: -0.02em; line-height: 1.25; }
.plan-amount small { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.plan-details { list-style: none; margin: 1.1rem 0 1.4rem; border-top: 1px dashed rgba(124,29,29,.2); padding-top: 1rem; }
.plan-details li { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 0.32rem 0; color: var(--ink-soft); }
.plan-details li strong { color: var(--ink); }
.plan-enroll { width: 100%; text-align: center; }
.plans-note { margin-top: 2rem; font-size: 0.78rem; color: var(--ink-soft); text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }


/* ── How it works ── */
.steps { display: flex; align-items: stretch; gap: 0.8rem; }
.step { flex: 1; position: relative; background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.4rem 1.6rem; text-align: center; box-shadow: var(--shadow); transition: transform .3s; }
.step:hover { transform: translateY(-6px); }
.step-num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--maroon-deep); font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(217,154,43,.5); }
.step-icon { color: var(--maroon); margin-bottom: 0.6rem; display: grid; place-items: center; }
.step h4 { color: var(--maroon-deep); margin-bottom: 0.4rem; font-size: 1rem; }
.step p { font-size: 0.84rem; color: var(--ink-soft); }
.step-arrow { align-self: center; color: var(--gold); font-size: 2rem; font-weight: 700; flex-shrink: 0; line-height: 1; }

/* ── Band (testimonial + CTA) ── */
.band { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); color: var(--cream); padding: 4rem 0; position: relative; overflow: hidden; }
.band::after { content: "ஶ்ரீ"; position: absolute; right: -1rem; bottom: -3.5rem; font-family: var(--font-display); font-size: 14rem; color: rgba(240,192,96,.07); line-height: 1; }
.band-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.band-mark { font-size: 3rem; color: var(--gold-light); line-height: 1; display: block; }
.band-quote p { font-family: var(--font-body); font-size: 1.15rem; font-weight: 500; font-style: italic; color: #f7ecd6; margin: 0.5rem 0 1rem; min-height: 4.2em; transition: opacity .4s; }
.band-author { font-size: 0.85rem; color: var(--gold-light); letter-spacing: .04em; }
.band-dots { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.band-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(240,192,96,.35); cursor: pointer; transition: .3s; }
.band-dots button.active { background: var(--gold-light); transform: scale(1.25); }
.band-cta h3 { font-size: 1.5rem; color: var(--gold-pale); }
.band-cta p { margin: 0.5rem 0 1.3rem; color: #ecd9b8; font-size: 0.95rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.15); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 600; color: var(--maroon-deep); position: relative; padding-right: 3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); transition: transform .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); font-size: 0.92rem; }

/* ── Branches / Contact ── */
.contact { background: var(--cream-2); }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.branch-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.18); transition: transform .3s; overflow: hidden; }
.branch-card:hover { transform: translateY(-5px); }
.branch-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.branch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.branch-card:hover .branch-photo img { transform: scale(1.05); }
.branch-body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.branch-card h4 { color: var(--maroon-deep); font-size: 1rem; margin-bottom: 0.8rem; display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; align-items: center; }
.branch-card h4 .icon { color: var(--gold); width: 18px; height: 18px; }
.branch-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0.55rem 0; display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; }
.branch-card p .icon { color: var(--maroon); width: 16px; height: 16px; margin-top: 3px; }
.branch-phones span.phone-list { display: flex; flex-wrap: wrap; column-gap: 1rem; row-gap: 0.2rem; }
.branch-card a { color: var(--maroon); font-weight: 600; white-space: nowrap; }
.branch-email a { white-space: normal; word-break: break-all; }
.branch-card a:hover { color: var(--gold); }
.branch-manager { display: flex; align-items: center; gap: 0.7rem; margin: 0.9rem 0 0.2rem; padding: 0.6rem 0.7rem; background: var(--cream); border-radius: 12px; }
.branch-manager img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center; border: 2px solid var(--gold); flex-shrink: 0; }
.branch-manager span { font-size: 0.82rem; font-weight: 700; color: var(--maroon-deep); }
.branch-locate { margin-top: auto; padding-top: 1rem; display: flex; gap: 0.9rem; align-items: stretch; }
.branch-map { position: relative; width: 118px; height: 118px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(217,154,43,.4); display: block; box-shadow: var(--shadow); }
.branch-map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; filter: saturate(1.05); }
.branch-map-hint { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 0.3rem; padding: 0.28rem; font-size: 0.68rem; font-weight: 700; color: var(--gold-pale); background: linear-gradient(180deg, transparent, rgba(45,12,12,.85)); }
.branch-map-hint .icon { width: 13px; height: 13px; }
.branch-map::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s; }
.branch-map:hover::after { box-shadow: inset 0 0 0 2px var(--gold); }
.branch-card a.branch-directions { align-self: center; flex: 1; justify-content: center; color: var(--gold-pale); white-space: nowrap; }
.branch-card a.branch-directions:hover { color: var(--white); }
.branch-directions .icon { width: 16px; height: 16px; color: var(--gold-light); }
.branch-corporate { border-top: 4px solid var(--gold); background: linear-gradient(160deg, #fffdf7, #fff4dd); }
.branch-tag { position: absolute; top: 0; right: 0; z-index: 2; background: var(--maroon); color: var(--gold-pale); font-size: 0.62rem; font-weight: 700; letter-spacing: .1em; padding: 0.3rem 0.9rem; border-bottom-left-radius: 10px; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); min-height: 380px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ── Branches strip (sits directly above footer border) ── */
.branches-strip { background: linear-gradient(180deg, var(--maroon-deep) 0%, #2a0808 100%); position: relative; overflow: hidden; }
.branches-strip::before, .branches-strip::after { content: ""; position: absolute; top: -1px; width: 90px; height: 100%; pointer-events: none; }
.branches-strip::before { left: 0; background: linear-gradient(90deg, rgba(217,154,43,.25), transparent); clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%); }
.branches-strip::after { right: 0; background: linear-gradient(270deg, rgba(217,154,43,.25), transparent); clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%); }
.branches-strip-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem 0.8rem; padding: 1.05rem 1rem; position: relative; z-index: 1; }
.branch-chip { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--gold-pale); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 0.35rem 0.55rem; border-radius: 8px; transition: color .25s, background .25s, transform .25s; }
.branch-chip .icon { color: var(--gold); width: 20px; height: 20px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.branch-chip:hover { color: #fff; background: rgba(217,154,43,.12); }
.branch-chip:hover .icon { color: var(--gold-light); transform: translateY(-2px) scale(1.08); }
.branch-sep { color: var(--gold); opacity: .55; font-weight: 600; user-select: none; }
@media (max-width: 640px) {
  .branches-strip-inner { gap: 0.2rem 0.4rem; padding: 0.85rem 0.6rem; }
  .branch-chip { font-size: 0.82rem; padding: 0.3rem 0.4rem; gap: 0.4rem; }
  .branch-chip .icon { width: 16px; height: 16px; }
  .branch-sep { font-size: 0.85rem; }
}

/* ── Cursor-follow icon background (used in topbar & footer) ────────
   Two absolutely-positioned SVG icon layers behind the content:
   • .glow-base — always visible at very low opacity
   • .glow-spot — brighter, but revealed only inside a soft radial
     mask that follows the cursor via --mx / --my (updated in JS).
   Falls back to a static centred spot when JS hasn't run.        */
.cursor-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; --mx: 50%; --my: 50%; }
.cursor-glow .glow-base, .cursor-glow .glow-spot {
  position: absolute; inset: -20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><g fill='none' stroke='%23d99a2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 34l12-10 12 10v14a2 2 0 0 1-2 2H20a2 2 0 0 1-2-2z'/><path d='M26 50v-9h8v9'/><circle cx='96' cy='30' r='10'/><path d='M92 30h8M96 26v8'/><path d='M12 96h22l4-9H16z'/><circle cx='19' cy='98' r='2.6'/><circle cx='32' cy='98' r='2.6'/><path d='M82 110l10-9 10 9v10a2 2 0 0 1-2 2H84a2 2 0 0 1-2-2z'/><path d='M90 122v-7h6v7'/><circle cx='60' cy='68' r='7'/><path d='M57 68h6M60 65v6'/></g></svg>");
  background-repeat: repeat;
  background-size: 140px 140px;
}
.cursor-glow .glow-base { opacity: .08; }
.cursor-glow .glow-spot {
  opacity: .35;
  -webkit-mask-image: radial-gradient(220px 220px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
          mask-image: radial-gradient(220px 220px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
  transition: opacity .25s;
}
.cursor-glow .glow-spot::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(200px 200px at var(--mx) var(--my), rgba(217,154,43,.18), transparent 70%);
}
@media (hover: none), (max-width: 640px) {
  .cursor-glow .glow-spot { opacity: 0; }
  .cursor-glow .glow-base { opacity: .10; }
}

/* ── Footer ── */
.footer { position: relative; overflow: hidden; background: var(--maroon-deep); color: #e8d4b0; }
.footer > *:not(.cursor-glow) { position: relative; z-index: 1; }
.footer-border { height: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 18px, var(--maroon) 18px 36px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 1rem; color: #cdb188; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.88rem; }
.footer-col h5 { color: var(--gold-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(240,192,96,.18); padding: 1.1rem 0; font-size: 0.75rem; color: #b89b6f; text-align: center; }

/* ── Sticky call (mobile) ── */
.sticky-call { position: fixed; right: 18px; bottom: 86px; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--maroon-deep); display: none; place-items: center; box-shadow: 0 8px 24px rgba(217,154,43,.55); z-index: 90; animation: pulse 2.4s infinite; }
.sticky-call .icon { width: 26px; height: 26px; }

/* ── Floating "upcoming branches" button ── */
.branch-fab { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.15rem 0.75rem 0.95rem; border: none; border-radius: 999px; background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color: var(--gold-pale); font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; cursor: pointer; box-shadow: 0 10px 26px rgba(124,29,29,.5); transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease; }
.branch-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124,29,29,.6); }
.branch-fab .icon { width: 22px; height: 22px; color: var(--gold-light); }
.branch-fab-label { white-space: nowrap; }
.branch-fab.fab-active { opacity: 0; transform: scale(.4); pointer-events: none; }
@media (max-width: 480px) { .branch-fab-label { display: none; } .branch-fab { padding: 0.85rem; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,154,43,.55); } 70% { box-shadow: 0 0 0 18px rgba(217,154,43,0); } 100% { box-shadow: 0 0 0 0 rgba(217,154,43,0); } }

/* ── Scroll reveal ── */
.reveal, .reveal-delay { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal-delay { transition-delay: .2s; }
.reveal.visible, .reveal-delay.visible { opacity: 1; transform: none; }

/* ═══════ Responsive ═══════ */
@media (max-width: 980px) {
  .hero-inner { padding: 3rem 0 4rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .band-inner { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .award-cert { max-width: 420px; }
  .steps { flex-direction: column; gap: 2rem; }
  .step-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 64px 0 auto 0; background: var(--cream); flex-direction: column; padding: 1.5rem; gap: 1.1rem; box-shadow: 0 18px 30px rgba(0,0,0,.15); transform: translateY(calc(-100% - 80px)); visibility: hidden; transition: transform .35s ease, visibility .35s; z-index: 99; }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .hamburger { display: flex; }
  .topbar-inner { justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .sticky-call { display: grid; }
}

/* ═══════ Multi-page additions ═══════ */

/* ── Page hero banner (subpages) ── */
.page-hero { position: relative; background: linear-gradient(160deg, var(--maroon-deep) 0%, var(--maroon) 70%, #93312a 100%); color: var(--cream); padding: 4rem 0 4.5rem; overflow: hidden; }
.page-hero .hero-pattern { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 2px 2px, var(--gold-light) 2px, transparent 0); background-size: 34px 34px; }
.page-hero-inner { position: relative; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
.page-hero h1 .gold-text { color: var(--gold-light); }
.page-hero p { margin-top: 0.7rem; color: #f3e3c8; max-width: 60ch; margin-left: auto; margin-right: auto; font-size: 1rem; }
.breadcrumb { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.breadcrumb a { color: #ecd9b8; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span.sep { color: rgba(240,192,96,.5); }

/* ── Nav active state ── */
.nav-links a.active:not(.btn) { color: var(--maroon); font-weight: 700; }
.nav-links a.active:not(.btn)::after { width: 100%; }

/* ── Tariff table ── */
.tariff-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.18); }
.tariff-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.9rem; }
.tariff-table thead th { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); color: var(--gold-pale); font-weight: 600; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; padding: 0.95rem 1rem; text-align: right; white-space: nowrap; }
.tariff-table thead th:first-child { text-align: left; border-top-left-radius: var(--radius); }
.tariff-table thead th:last-child { border-top-right-radius: var(--radius); text-align: center; }
.tariff-table tbody td { padding: 0.8rem 1rem; border-bottom: 1px solid rgba(124,29,29,.08); text-align: right; color: var(--ink); white-space: nowrap; }
.tariff-table tbody td:first-child { text-align: left; font-weight: 700; color: var(--maroon); }
.tariff-table tbody td:last-child { text-align: center; }
.tariff-table tbody tr:nth-child(even) { background: var(--cream); }
.tariff-table tbody tr:hover { background: var(--gold-pale); }
.tariff-table .sala { font-weight: 700; }
.tariff-table .btn { padding: 0.45rem 1.1rem; font-size: 0.8rem; }

/* ── Feature cards (Why Us) ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.15); transition: transform .3s; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-card:hover { transform: translateY(-6px); }
.feature-card .f-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--gold-pale); color: var(--maroon); display: grid; place-items: center; }
.feature-card h4 { color: var(--maroon-deep); font-size: 1rem; }
.feature-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* ── Values strip ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.value-card { text-align: center; padding: 2rem 1.4rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-bottom: 3px solid var(--gold); }
.value-card .f-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-pale); color: var(--maroon); display: grid; place-items: center; margin: 0 auto 0.9rem; }
.value-card h4 { color: var(--maroon-deep); font-size: 1.05rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.86rem; color: var(--ink-soft); }

/* ── Special features (plans) ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.feature-item { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.18); transition: transform .3s; }
.feature-item:hover { transform: translateY(-4px); }
.feature-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-pale); color: var(--maroon); display: grid; place-items: center; }
.feature-item h4 { color: var(--maroon-deep); font-size: 1rem; margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }

/* ── Timeline ── */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--maroon)); }
.tl-item { position: relative; padding: 0 0 2.2rem 1.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -2.2rem; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--gold); }
.tl-item h4 { color: var(--maroon-deep); font-size: 1.05rem; }
.tl-item .tl-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.tl-item p { font-size: 0.92rem; color: var(--ink-soft); }

/* ── Comparison table ── */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 0.9rem 1.1rem; border-bottom: 1px solid rgba(124,29,29,.08); text-align: center; }
.compare-table th { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); color: var(--gold-pale); font-size: 0.82rem; letter-spacing: .06em; text-transform: uppercase; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare-table .col-us { background: #fff7e2; font-weight: 700; color: var(--maroon-deep); }
.compare-table th.col-us { background: var(--gold); color: var(--maroon-deep); }
.compare-table .icon { width: 18px; height: 18px; }
.compare-table .yes { color: #2e7d32; } .compare-table .no { color: #b3261e; }

/* ── Legal block ── */
.legal-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--gold); padding: 1.8rem 2rem; max-width: 760px; margin: 0 auto; }
.legal-card ul { list-style: none; }
.legal-card li { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.92rem; color: var(--ink-soft); }
.legal-card li .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--gold); }
.legal-card li strong { color: var(--ink); }

/* ── CTA panel (page bottom) ── */
.cta-panel { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); border-radius: 22px; padding: clamp(1.8rem, 4vw, 3rem); text-align: center; color: var(--cream); position: relative; overflow: hidden; }
.cta-panel::after { content: "ஶ்ரீ"; position: absolute; right: -0.5rem; bottom: -2.8rem; font-family: var(--font-display); font-size: 10rem; color: rgba(240,192,96,.08); line-height: 1; }
.cta-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--gold-pale); margin-bottom: 0.5rem; }
.cta-panel p { color: #ecd9b8; margin-bottom: 1.5rem; font-size: 0.95rem; }
.cta-panel .btn { position: relative; z-index: 2; }
.cta-note { font-size: 0.82rem; margin: 1rem 0 0 !important; }
.cta-note a { color: var(--gold-light); font-weight: 700; }

/* ── Mini hero for home page sections spacing tweak ── */
.section-tight { padding: 4rem 0; }

@media (max-width: 760px) {
  .page-hero { padding: 2.8rem 0 3.2rem; }
  .timeline { padding-left: 1.8rem; }
}

/* ── Announcement popup (once per session) ── */
.popup-overlay { position: fixed; inset: 0; background: rgba(45, 12, 12, .65); backdrop-filter: blur(4px); z-index: 200; display: grid; place-items: center; padding: 1.2rem; opacity: 0; transition: opacity .35s ease; }
.popup-overlay.show { opacity: 1; }
.popup-card { position: relative; background: var(--cream); border-radius: 22px; max-width: 470px; width: 100%; padding: 2.6rem 2.2rem 2.2rem; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 1px solid rgba(217,154,43,.35); overflow: hidden; transform: translateY(24px) scale(.96); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.popup-overlay.show .popup-card { transform: translateY(0) scale(1); }
.popup-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon)); }
.popup-card::after { content: "ஶ்ரீ"; position: absolute; right: -1.2rem; bottom: -2.6rem; font-family: var(--font-display); font-size: 8rem; color: rgba(217,154,43,.08); line-height: 1; pointer-events: none; }
.popup-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--gold-pale); color: var(--maroon); cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .25s; z-index: 2; }
.popup-close:hover { background: var(--gold-light); transform: rotate(90deg); }
.popup-close .icon { width: 16px; height: 16px; }
.popup-icon { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, #a86f15); color: var(--maroon-deep); display: grid; place-items: center; margin: 0 auto 1.1rem; box-shadow: 0 8px 22px rgba(217,154,43,.45); }
.popup-icon .icon { width: 32px; height: 32px; }
.popup-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); background: var(--gold-pale); padding: 0.32rem 1rem; border-radius: 999px; margin-bottom: 0.8rem; }
.popup-card h3 { font-family: var(--font-display); font-size: 1.55rem; color: var(--maroon-deep); line-height: 1.25; margin-bottom: 0.7rem; }
.popup-card h3 .gold-text { color: var(--gold); }
.popup-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.popup-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.popup-actions .btn-ghost { background: transparent; color: var(--maroon); border: 2px solid rgba(124,29,29,.3); }
.popup-actions .btn-ghost:hover { border-color: var(--maroon); }
@media (max-width: 480px) { .popup-card { padding: 2.2rem 1.4rem 1.8rem; } }

/* Villivakkam popup opened from the floating button: emerge from / return to it */
.popup-from-fab .popup-card { transform-origin: bottom right; transform: translate(40vw, 44vh) scale(.05); opacity: 0; }
.popup-from-fab.show .popup-card { transform: translate(0, 0) scale(1); opacity: 1; }

/* ── New office section (home) ── */
.office-collage { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, 215px); gap: 1rem; }
.office-collage a { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: block; cursor: zoom-in; }
.office-collage a:first-child { grid-row: span 2; }
.office-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.office-collage a:hover img { transform: scale(1.06); }
.collage-badge { position: absolute; top: 12px; left: 12px; background: rgba(63,12,12,.82); color: var(--gold-light); font-size: 0.68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 0.32rem 0.85rem; border-radius: 999px; backdrop-filter: blur(4px); }

/* ── Gallery (about page) ── */
.team-grid { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; }
.team-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(217,154,43,.18); padding: 1.6rem 1.8rem 1.4rem; text-align: center; width: 250px; transition: transform .3s; }
.team-card:hover { transform: translateY(-5px); }
.team-photo { width: 130px; height: 130px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(217,154,43,.3); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.team-card h4 { color: var(--maroon-deep); font-size: 1.05rem; margin-bottom: 0.15rem; }
.team-card span { color: var(--gold); font-weight: 600; font-size: 0.85rem; }

/* Team section: split into Executive Leadership and Branch Managers */
.team-subhead { text-align: center; margin: 2.4rem 0 1.2rem; }
.team-subhead:first-of-type { margin-top: 0.4rem; }
.team-subtag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); background: var(--gold-pale); padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 0.5rem; }
.team-subhead h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon-deep); }

/* Executive cards: richer, distinguishable from branch-manager cards */
.team-grid-exec { margin-bottom: 0.6rem; }
.team-card.team-exec { position: relative; background: linear-gradient(180deg, #fffaf0 0%, var(--white) 55%); border: 1px solid rgba(217,154,43,.45); box-shadow: 0 14px 34px rgba(124,29,29,.14); width: 270px; padding-top: 1.9rem; }
.team-card.team-exec::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon)); border-radius: var(--radius) var(--radius) 0 0; }
.team-card.team-exec .team-photo { width: 150px; height: 150px; border-width: 4px; box-shadow: 0 10px 26px rgba(217,154,43,.38); }
.team-card.team-exec h4 { font-family: var(--font-display); font-size: 1.15rem; }
.team-card.team-exec span:last-child { color: var(--maroon); }
.team-card .team-role-chip { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon-deep); background: var(--gold); padding: 0.22rem 0.7rem; border-radius: 999px; margin-bottom: 0.55rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; aspect-ratio: 4 / 3; border: 1px solid rgba(217,154,43,.18); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1rem 0.8rem; background: linear-gradient(180deg, transparent, rgba(45,12,12,.82)); color: var(--gold-pale); font-size: 0.8rem; font-weight: 600; letter-spacing: .02em; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; background: rgba(30, 8, 8, .9); backdrop-filter: blur(6px); z-index: 300; display: grid; place-items: center; padding: 1.5rem; opacity: 0; transition: opacity .3s ease; }
.lightbox.show { opacity: 1; }
.lightbox figure { max-width: min(1080px, 94vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); border: 3px solid rgba(240,192,96,.35); object-fit: contain; }
.lightbox figcaption { color: var(--gold-pale); font-size: 0.9rem; margin-top: 0.9rem; font-weight: 500; }
.lightbox-close { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--gold-pale); color: var(--maroon); cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .25s; }
.lightbox-close:hover { background: var(--gold-light); transform: rotate(90deg); }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .office-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: auto; aspect-ratio: 4 / 3; }
}

/* ── Lightbox prev/next ── */
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(251,233,197,.92); color: var(--maroon); cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .25s; z-index: 2; }
.lightbox-nav:hover { background: var(--gold-light); transform: translateY(-50%) scale(1.08); }
.lightbox-nav .icon { width: 22px; height: 22px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-count { display: block; margin-top: 0.4rem; font-size: 0.75rem; color: rgba(251,233,197,.7); letter-spacing: .08em; }
@media (max-width: 600px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ═══════ Feedback round: logo, tiers, form, marquee ═══════ */

/* ── Brand logo ── */
.brand-logo { height: 54px; width: auto; display: block; }
.footer-logo { background: var(--cream); border-radius: 14px; padding: 0.7rem 1.1rem; display: inline-block; }
.footer-logo img { height: 58px; width: auto; }
@media (max-width: 760px) { .brand-logo { height: 42px; } }

/* ── Hero stat alignment ── */
.stat-value { display: flex; align-items: baseline; gap: 1px; }

/* ── Plan card: head row + key stats ── */
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.tier-chip { font-size: 0.62rem; font-weight: 800; letter-spacing: .14em; padding: 0.22rem 0.7rem; border-radius: 999px; background: var(--gold-pale); color: var(--maroon); border: 1px solid rgba(217,154,43,.45); }
.plan-amount small { display: block; }
.plan-keystats { display: flex; align-items: center; justify-content: center; gap: 1.3rem; margin-top: 0.9rem; padding: 0.7rem 0.6rem; background: var(--cream-2); border-radius: 12px; border: 1px solid rgba(217,154,43,.2); }
.plan-keystats .ks { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.plan-keystats .ks strong { font-size: 1.45rem; font-weight: 800; color: var(--maroon-deep); letter-spacing: -0.02em; }
.plan-keystats .ks span { font-size: 0.7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.plan-keystats .ks-div { width: 1px; height: 34px; background: rgba(124,29,29,.18); }

/* ── Plan tiers: richer look as value rises ── */
@keyframes shimmer { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes royalGlow {
  0%, 100% { box-shadow: 0 14px 40px rgba(217,154,43,.28), 0 0 0 1.5px var(--gold); }
  50% { box-shadow: 0 14px 52px rgba(217,154,43,.5), 0 0 0 1.5px var(--gold-light); }
}
.plan-card.tier-royal { background: linear-gradient(165deg, #4a0f0f 0%, var(--maroon-deep) 55%, #2c0707 100%); border: none; animation: royalGlow 3.2s ease-in-out infinite; }
.plan-card.tier-royal::before { height: 6px; background: linear-gradient(90deg, var(--gold), #fff3cf, var(--gold)); background-size: 200% auto; animation: shimmer 3s linear infinite; }
.plan-card.tier-royal .plan-name { color: var(--gold-light); }
.plan-card.tier-royal .tier-chip { background: linear-gradient(90deg, var(--gold-light), var(--gold)); color: var(--maroon-deep); border-color: var(--gold-light); }
.plan-card.tier-royal .plan-amount { background: linear-gradient(90deg, var(--gold-light), #fff3cf 40%, var(--gold-light) 60%, var(--gold)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
.plan-card.tier-royal .plan-amount small { color: #e8d4b0; -webkit-text-fill-color: #e8d4b0; }
.plan-card.tier-royal .plan-keystats { background: rgba(240,192,96,.1); border-color: rgba(240,192,96,.35); }
.plan-card.tier-royal .plan-keystats .ks strong { color: var(--gold-light); }
.plan-card.tier-royal .plan-keystats .ks span { color: #e8d4b0; }
.plan-card.tier-royal .plan-keystats .ks-div { background: rgba(240,192,96,.35); }
.plan-card.tier-royal .plan-details { border-top-color: rgba(240,192,96,.3); }
.plan-card.tier-royal .plan-details li { color: #d9c09a; }
.plan-card.tier-royal .plan-details li strong { color: var(--gold-pale); }

.plan-card.tier-premium { background: linear-gradient(165deg, #fffdf7, #fdf0d2); border: 1.5px solid var(--gold); box-shadow: 0 12px 38px rgba(217,154,43,.25); }
.plan-card.tier-premium::before { height: 5px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); background-size: 200% auto; animation: shimmer 4.5s linear infinite; }
.plan-card.tier-premium .plan-amount { color: var(--maroon); }
.plan-card.tier-premium .plan-keystats { background: rgba(240,192,96,.16); border-color: rgba(217,154,43,.35); }

.plan-card.tier-classic { border-top: 5px solid var(--gold); }
.plan-card.tier-classic::before { display: none; }
.plan-card.tier-classic .tier-chip { background: var(--cream-2); }

/* ── Enroll form popup ── */
.popup-card.popup-form { max-width: 520px; text-align: left; }
.popup-form h3 { margin-bottom: 0.3rem; }
.form-intro { font-size: 0.88rem; }
.enroll-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; position: relative; z-index: 2; }
.enroll-form[hidden] { display: none; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field.form-wide { grid-column: span 2; }
.form-field label { font-size: 0.78rem; font-weight: 700; color: var(--maroon-deep); letter-spacing: .04em; }
.form-field input, .form-field select, .form-field textarea { font-family: var(--font-body); font-size: 0.92rem; color: var(--ink); background: var(--white); border: 1.5px solid rgba(124,29,29,.22); border-radius: 10px; padding: 0.6rem 0.8rem; outline: none; transition: border-color .25s, box-shadow .25s; width: 100%; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,154,43,.18); }
.form-field textarea { resize: vertical; }
.form-field select { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 1.8rem; }
.form-field select option { background: var(--cream); color: var(--maroon-deep); font-family: var(--font-body); padding: 0.4rem 0.6rem; }
.form-field select option:checked { background: var(--gold-pale); color: var(--maroon); font-weight: 700; }
.form-submit { grid-column: span 2; width: 100%; margin-top: 0.2rem; }
.form-note { grid-column: span 2; font-size: 0.78rem; color: var(--ink-soft); text-align: center; margin: 0; }
.form-note a { color: var(--maroon); font-weight: 700; }
.form-error { grid-column: span 2; font-size: 0.82rem; color: #b3261e; font-weight: 600; margin: 0; }
.enroll-success { text-align: center; position: relative; z-index: 2; }
@media (max-width: 540px) {
  .enroll-form { grid-template-columns: 1fr; }
  .form-field.form-wide, .form-submit, .form-note, .form-error { grid-column: span 1; }
}

/* ── Gallery popup marquee ── */
.popup-card.popup-wide { max-width: 560px; }
.popup-marquee { overflow: hidden; margin: 0 -0.6rem 1.5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 0.6rem; width: max-content; animation: marqueeScroll 22s linear infinite; }
.popup-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 76px; width: 110px; object-fit: cover; border-radius: 10px; border: 2px solid rgba(217,154,43,.4); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.popup-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin: 0.3rem 0 1.3rem; }
.ph-card { display: block; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(217,154,43,.4); aspect-ratio: 3 / 4; box-shadow: 0 6px 16px rgba(0,0,0,.12); transition: transform .25s ease, box-shadow .25s ease; }
.ph-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.ph-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ph-cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem 0.6rem 0.55rem; background: linear-gradient(180deg, transparent, rgba(45,12,12,.9)); text-align: left; }
.ph-cap strong { display: block; color: var(--gold-pale); font-size: 0.76rem; line-height: 1.2; }
.ph-cap span { display: block; color: #e9dabd; font-size: 0.62rem; margin-top: 1px; }
@media (max-width: 500px) { .ph-cap span { display: none; } .ph-cap strong { font-size: 0.68rem; } }
