/* கொற்றவை மந்திராலயம் — shared styles for every page */
:root {
  --red: #b3121b;
  --red-dark: #7a0a10;
  --maroon: #3a0608;
  --gold: #d4a23a;
  --gold-soft: #f3dfae;
  --cream: #fbf6ee;
  --paper: #ffffff;
  --ink: #2a1a14;
  --muted: #6b5a50;
  --line: #eadfce;
  --green-wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(58, 6, 8, .10);
  --wrap: 1180px;
  --font-body: "Noto Sans Tamil", "Poppins", system-ui, sans-serif;
  --font-head: "Noto Serif Tamil", "Noto Sans Tamil", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .5em; color: var(--maroon); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--white { background: var(--paper); }
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--red);
  margin-bottom: .6rem;
}
.eyebrow::before { content: "✦ "; color: var(--gold); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); }
.lead { font-size: 1.08rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(179, 18, 27, .3); }
.btn--red:hover { background: var(--red-dark); }
.btn--wa { background: var(--green-wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1ebe5a; }
.btn--ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--maroon); color: var(--gold-soft); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { width: 190px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .5em .75em; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); background: #fbeeee; }
.header-cta { display: flex; gap: 8px; }
.header-cta .btn { padding: .6em 1.1em; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--maroon); margin: 5px 0; transition: .2s; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .header-cta .btn--wa { display: none; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em .6em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .logo img { width: 150px; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
  .topbar .tb-hide { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(212, 162, 58, .28), transparent 55%),
    linear-gradient(135deg, #2a0406 0%, #5c0a0f 55%, #8d1016 100%);
  overflow: hidden;
}
.hero::after {
  /* subtle kolam-like dot pattern */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding: clamp(48px, 7vw, 88px) 0;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin-bottom: .3em; }
.hero h1 small { display: block; font-size: .42em; color: var(--gold-soft); font-family: var(--font-body); font-weight: 500; margin-bottom: .6em; letter-spacing: .02em; }
.hero p { font-size: 1.12rem; color: #f6e9e0; max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  font-size: .85rem; padding: .35em .9em; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(243, 223, 174, .35); color: var(--gold-soft);
}
.hero-img { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-img img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 200px 200px 18px 18px;
  border: 6px solid rgba(212, 162, 58, .75);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 14px rgba(212, 162, 58, .12);
}
.hero-img figcaption {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  background: var(--gold); color: var(--maroon); font-weight: 700; font-size: .92rem;
  padding: .45em 1.2em; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-btns, .hero-chips { justify-content: center; }
  .hero-img { width: min(300px, 80%); grid-row: 1; }
}

/* ---------- Info strip ---------- */
.info-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.info-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-item { display: flex; gap: 14px; align-items: center; padding: 22px 18px; }
.info-item + .info-item { border-left: 1px solid var(--line); }
.info-item .ic {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fbeeee; color: var(--red);
}
.info-item .ic svg { width: 22px; height: 22px; }
.info-item strong { display: block; color: var(--maroon); font-size: .98rem; }
.info-item span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.info-item a { color: inherit; text-decoration: none; }
@media (max-width: 760px) {
  .info-strip .wrap { grid-template-columns: 1fr; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Two-column feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
}

.mandala {
  aspect-ratio: 1; border-radius: 50%; position: relative;
  display: grid; place-items: center;
  width: min(440px, 100%); margin-inline: auto;
  background: radial-gradient(circle, #8d1016 0%, #4a070b 62%, #2a0406 100%);
  color: var(--gold);
  box-shadow: var(--shadow), 0 0 0 10px #fbeeee, 0 0 0 11px var(--gold-soft);
}
.mandala svg { position: absolute; inset: 6%; width: 88%; height: 88%; opacity: .85; }
.mandala span {
  position: relative; text-align: center; font-family: var(--font-head); font-weight: 700;
  color: var(--gold-soft); font-size: clamp(.8rem, 2vw, 1rem); line-height: 1.5;
  background: #4a070b; padding: 10px 14px; border-radius: 12px;
}

/* Varahi facts list */
.facts { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem;
}
.facts b { color: var(--maroon); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--maroon); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img--art {
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #8d1016, #3a0608 70%);
  color: var(--gold);
}
.card-img--art svg { width: 46%; height: auto; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: .95rem; margin-bottom: 1em; flex: 1; }
.card-link { color: var(--red); font-weight: 600; font-size: .92rem; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Special days ---------- */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.day {
  background: var(--paper); border-radius: var(--radius); padding: 28px 24px;
  border-top: 4px solid var(--red); box-shadow: var(--shadow);
}
.day .moon { width: 48px; height: 48px; margin-bottom: 14px; color: var(--gold); }
.day p { color: var(--muted); font-size: .95rem; margin: 0; }
.days-note { text-align: center; margin-top: 28px; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .days { grid-template-columns: 1fr; } }

/* ---------- Kuladeivam band ---------- */
.band {
  position: relative; border-radius: 22px; overflow: hidden; color: #fff;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px);
  background-size: cover; background-position: center 30%;
}
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 4, 6, .92) 0%, rgba(42, 4, 6, .78) 55%, rgba(42, 4, 6, .35) 100%); }
.band > * { position: relative; max-width: 620px; }
.band h2 { color: #fff; }
.band p { color: #f3e6dc; }
.band .eyebrow { color: var(--gold-soft); }

/* ---------- Yanthiram product ---------- */
.product {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  background: var(--paper); border-radius: 22px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line);
}
.product img { border-radius: var(--radius); box-shadow: var(--shadow); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.product-meta span { font-size: .85rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .3em .9em; color: var(--muted); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* ---------- Booking form ---------- */
.booking { background: linear-gradient(135deg, #3a0608, #7a0a10); color: #fff; }
.booking .split { align-items: start; }
.booking h2 { color: #fff; }
.booking .lead { color: #f0dcd2; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: center; color: #f6e9e0; }
.steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--maroon); font-size: .85rem; }
.form {
  background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
  display: grid; gap: 16px;
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--maroon); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 10px; background: #fffdf9; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(179, 18, 27, .12); }
.field textarea { min-height: 90px; resize: vertical; }
.field .err { color: var(--red); font-size: .82rem; display: none; margin-top: 4px; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
.form .btn { width: 100%; padding: 1em; font-size: 1.05rem; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }
@media (max-width: 520px) { .form .row2 { grid-template-columns: 1fr; } }

/* ---------- Branches ---------- */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.branch { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.branch iframe { width: 100%; height: 240px; border: 0; display: block; background: #eee; }
.branch-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.branch-body p { color: var(--muted); font-size: .95rem; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.branch-actions .btn { padding: .6em 1.1em; font-size: .92rem; }
@media (max-width: 860px) { .branches { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #1f0304; color: #d9c7bd; padding: 64px 0 0; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer a { color: #d9c7bd; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.flinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--red); }
.social svg { width: 20px; height: 20px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 20px 0; text-align: center; font-size: .85rem; color: #a8958a; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-wa); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 8px 24px rgba(0, 0, 0, .25); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 24px rgba(0, 0, 0, .25); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(0, 0, 0, .25); }
}
@media (prefers-reduced-motion: reduce) {
  *, .wa-float { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* phone tweaks */
@media (max-width: 480px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .hero-img { width: min(220px, 62%); }
  .hero .wrap { gap: 28px; padding-top: 36px; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 162, 58, .25), transparent 55%),
    linear-gradient(135deg, #2a0406 0%, #5c0a0f 60%, #8d1016 100%);
  padding: clamp(44px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .25em; }
.page-hero p { color: #f3e6dc; max-width: 40em; margin: 0 auto; font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: var(--gold-soft); margin-bottom: 14px; }
.crumbs a { color: var(--gold-soft); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .6; margin: 0 .4em; }

/* in-page jump links */
.toc { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 40; }
.toc .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.toc .wrap::-webkit-scrollbar { display: none; }
.toc a {
  flex: none; font-size: .9rem; text-decoration: none; color: var(--muted);
  padding: .4em 1em; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap;
}
.toc a:hover { color: var(--red); border-color: var(--red); }
[id] { scroll-margin-top: 140px; }

/* prose block */
.prose p { color: var(--ink); }
.prose .lead { color: var(--muted); }
.pull {
  border-left: 4px solid var(--gold); background: #fff8ea; padding: 16px 20px; border-radius: 0 12px 12px 0;
  font-family: var(--font-head); color: var(--maroon); font-size: 1.05rem; margin: 24px 0;
}

/* feature grid (iconography) */
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
}
.feat-item .fi {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; background: radial-gradient(circle, #8d1016, #4a070b); color: var(--gold);
}
.feat-item .fi svg { width: 32px; height: 32px; }
.feat-item p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 1100px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feat { grid-template-columns: 1fr; } }

/* seven mothers row */
.matrikas { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 28px 0 10px; }
.matrika {
  text-align: center; padding: 16px 6px; border-radius: 12px; background: var(--cream);
  border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--maroon);
}
.matrika small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.matrika.is-varahi { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 8px 20px rgba(179, 18, 27, .3); transform: translateY(-4px); }
.matrika.is-varahi small { color: var(--gold-soft); }
@media (max-width: 860px) { .matrikas { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .matrikas { grid-template-columns: repeat(2, 1fr); } }
.caption { text-align: center; font-size: .88rem; color: var(--muted); }

/* names grid */
.names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.name {
  display: flex; gap: 14px; align-items: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.name b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--maroon); font-size: .85rem; }
.name strong { display: block; color: var(--maroon); }
.name span { font-size: .86rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .names { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .names { grid-template-columns: 1fr; } }

/* numbered how-to */
.howto { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.howto li {
  counter-increment: s; position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px 18px 72px;
}
.howto li::before {
  content: counter(s); position: absolute; left: 20px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.howto strong { display: block; color: var(--maroon); margin-bottom: 2px; }
.howto span { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-weight: 600; color: var(--maroon);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* CTA band */
.cta {
  border-radius: 22px; padding: clamp(32px, 6vw, 56px); text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 162, 58, .3), transparent 60%), linear-gradient(135deg, #3a0608, #8d1016);
}
.cta h2 { color: #fff; }
.cta p { color: #f3e6dc; max-width: 36em; margin: 0 auto 24px; }
.cta .hero-btns { justify-content: center; margin-top: 0; }

.disclaimer { font-size: .85rem; color: var(--muted); text-align: center; max-width: 46em; margin: 28px auto 0; }
@media (max-width: 420px) { .matrika:last-child { grid-column: span 2; } }
@media (max-width: 860px) { .split-media img { max-height: 440px; object-position: center 20%; } }

/* ---------- Services / Yanthiram / About / Contact ---------- */
.art-panel {
  aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--gold);
  background: radial-gradient(circle at 50% 45%, #8d1016, #3a0608 72%);
}
.art-panel svg { width: 34%; height: auto; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc-points { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px; }
.svc-points li { padding-left: 28px; position: relative; }
.svc-points li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

.spec { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 34%; color: var(--maroon); background: #fff8ea; font-weight: 600; }
.spec td { color: var(--muted); }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ccard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ccard .fi { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #fbeeee; color: var(--red); }
.ccard .fi svg { width: 26px; height: 26px; }
.ccard strong { display: block; color: var(--maroon); font-size: 1.05rem; }
.ccard span { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

.siddhar {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 40px);
}
.siddhar-photo {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle, #8d1016, #3a0608); color: var(--gold-soft);
  border: 5px solid var(--gold); font-size: .85rem; padding: 20px;
}
@media (max-width: 700px) { .siddhar { grid-template-columns: 1fr; text-align: center; } .siddhar-photo { width: 180px; margin: 0 auto; } }

/* logo: Amman figure + name as text */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img, .logo img[src*="logo-mark"] { width: auto; height: 58px; }
.logo-text {
  font-family: var(--font-head); font-weight: 700; color: var(--red);
  font-size: 1.12rem; line-height: 1.2;
}
@media (max-width: 1100px) { .logo img, .logo img[src*="logo-mark"] { width: auto; height: 50px; } .logo-text { font-size: 1rem; } }
