/* ============================================================
   Lion Crackers — Design System
   Brand tokens carried over from the existing site (maroon/gold/navy)
   ============================================================ */

:root {
  --color-primary: #7a1f1f;
  --color-primary-dark: #4f1212;
  --color-primary-light: #a23434;
  --color-primary-soft: #f7ece7;
  --color-accent: #d4a64d;
  --color-accent-light: #f0cd84;
  --color-accent-soft: #f3e6bf;
  --color-royal: #1d2d5c;
  --color-royal-light: #2d4280;
  --color-royal-soft: #eef3ff;
  --color-night: #170c10;
  --color-night-2: #241320;
  --color-bg: #f4f1ed;
  --color-card: #ffffff;
  --color-border: #e4d7cd;
  --color-text: #1e1a1a;
  --color-text-light: #ffffff;
  --color-muted: #5d4f48;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 12px rgba(29, 20, 20, 0.08);
  --shadow: 0 12px 28px rgba(29, 20, 20, 0.12);
  --shadow-lg: 0 24px 60px rgba(29, 20, 20, 0.22);
  --shadow-gold: 0 8px 24px rgba(212, 166, 77, 0.35);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--night {
  background: radial-gradient(ellipse at top, var(--color-night-2), var(--color-night) 70%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.eyebrow::before { content: "✦"; color: var(--color-accent); }
.section--night .eyebrow { color: var(--color-accent-light); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--color-muted); font-size: 17px; }
.section--night .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(212,166,77,.45); }
.btn-outline {
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn-maroon {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  box-shadow: 0 10px 24px rgba(122,31,31,.35);
}
.btn-maroon:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(122,31,31,.45); }
.btn-ghost { border-color: var(--color-border); color: var(--color-primary); background: #fff; }
.btn-ghost:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.topbar {
  background: var(--color-night);
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 16px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--color-accent-light); }
.topbar__left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__badge { color: var(--color-accent-light); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s, padding .3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(244, 241, 237, .88);
  backdrop-filter: blur(10px) saturate(140%);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.navwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height .3s;
}
.site-header.is-scrolled .navwrap { height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; }
.logo-mark { height: 52px; width: 52px; border-radius: 12px; transition: height .3s, width .3s; flex-shrink: 0; }
.site-header.is-scrolled .logo-mark { height: 42px; width: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--color-primary-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__links { display: flex; gap: 30px; margin: 0; padding: 0; }
.nav__links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width .25s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--color-primary); }
.nav__links__cta-mobile { display: none; }
.nav__links__close-item { display: none; }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.navtoggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  position: relative;
}
.navtoggle span {
  position: absolute;
  left: 10px; right: 10px; top: 50%;
  height: 2px;
  background: var(--color-primary-dark);
  transform: translateY(-50%);
  transition: transform .3s, opacity .3s, background .3s;
}
.navtoggle span::before, .navtoggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-primary-dark);
  transition: transform .3s, opacity .3s;
}
.navtoggle span::before { top: -8px; }
.navtoggle span::after { top: 8px; }
.navtoggle.is-open { visibility: hidden; pointer-events: none; }

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--color-border); }
  .nav__links__cta-mobile { display: block; margin-top: 18px; }
  .nav__links__cta-mobile a { border-bottom: none; padding: 0; }
  .nav__links__close-item { display: block; position: absolute; top: 14px; right: 14px; z-index: 5; }
  .navclose {
    width: 40px; height: 40px;
    border: none;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    border-radius: 50%;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
  }
  .nav__cta .btn-sm-hide { display: none; }
  .navtoggle { display: block; }
}

@media (max-width: 520px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 16px; }
  .logo-mark { height: 38px; width: 38px; }
  .site-header.is-scrolled .logo-mark { height: 34px; width: 34px; }
  .nav__cta > a.btn { display: none; }
  :root { --header-h: 68px; }
  .topbar .container { gap: 4px 16px; }
  .topbar__badge { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 100% at 50% -10%, #2b1522 0%, var(--color-night) 55%, #0f080a 100%);
  color: #fff;
  padding: 110px 0 100px;
}
.hero__sparkfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,166,77,.25), transparent 70%);
  top: -200px; right: -120px;
  filter: blur(10px);
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero__glow--2 {
  top: auto; bottom: -260px; left: -160px; right: auto;
  background: radial-gradient(circle, rgba(122,31,31,.35), transparent 70%);
  animation-delay: 2s;
}
@keyframes pulseGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.08); }
}

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(212,166,77,.45);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--color-accent-light);
  background: rgba(212,166,77,.08);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--color-accent-light); }
.hero__stat span { font-size: 13px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }
.hero__stats--light .hero__stat span { color: var(--color-muted); }

.hero__art { position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(212,166,77,.3);
  animation: spin 40s linear infinite;
}
.hero__ring--1 { width: 100%; height: 100%; }
.hero__ring--2 { width: 72%; height: 72%; animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__carousel {
  position: relative;
  z-index: 2;
  width: 78%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(212,166,77,.25);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23,12,16,.65));
  pointer-events: none;
}
.hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.hero__dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .3s, width .3s;
}
.hero__dots span.is-active { background: var(--color-accent-light); width: 18px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 320px; margin: 0 auto; }
}

/* marquee ticker */
.ticker {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
}
.ticker__track { display: inline-flex; animation: ticker 28s linear infinite; padding: 10px 0; }
.ticker__track span { padding: 0 28px; display: inline-flex; align-items: center; gap: 10px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Category / feature cards
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } .grid--cats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

.cat-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.cat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-primary-soft), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.cat-card:hover::before { opacity: 1; }
.cat-card__icon {
  font-size: 34px;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform .4s var(--ease);
  position: relative;
}
.cat-card:hover .cat-card__icon { transform: scale(1.18) rotate(-6deg); }
.cat-card__name { font-weight: 700; font-size: 15px; position: relative; }
.cat-card__count { font-size: 12px; color: var(--color-muted); position: relative; }

/* feature / value cards */
.feature-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--color-border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent-light));
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; }
.feature-card p { color: var(--color-muted); font-size: 14.5px; margin: 0; }

/* ============================================================
   Product cards
   ============================================================ */
.product-card {
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__media {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-accent-soft));
  position: relative;
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__media .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.product-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: .03em;
}
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); }
.product-card__name { font-weight: 700; font-size: 15px; }
.product-card__price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.product-card__price strong { font-size: 18px; color: var(--color-primary); }
.product-card__price del { font-size: 13px; color: var(--color-muted); }
.product-card__cta {
  margin-top: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; border-radius: var(--radius-sm);
  background: var(--color-royal-soft); color: var(--color-royal);
  font-weight: 700; font-size: 13px;
  transition: background .25s, color .25s, transform .25s;
}
.product-card__cta:hover { background: var(--color-royal); color: #fff; transform: translateY(-2px); }

/* category filter pills */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filterbar__search {
  flex: 1 1 240px;
  position: relative;
}
.filterbar__search input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
}
.filterbar__search::before {
  content: "⌕";
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--color-muted); font-size: 18px;
}
.pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  font-weight: 600; font-size: 13.5px;
  color: var(--color-text);
  transition: all .25s;
  white-space: nowrap;
}
.pill:hover { border-color: var(--color-accent); }
.pill.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pillrow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }

.catsection__head { display: flex; align-items: baseline; justify-content: space-between; margin: 52px 0 20px; }
.catsection__head h2 { font-size: 24px; margin: 0; }
.catsection__head span { color: var(--color-muted); font-size: 13px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .27s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .33s; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: .36s; }

/* ============================================================
   CTA band / safety strip
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(212,166,77,.35), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { font-size: 26px; margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }

.safety-strip {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: center;
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.safety-strip div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--color-muted); }
.safety-strip span.ic { font-size: 20px; }

/* testimonials */
.testi-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testi-card__stars { color: var(--color-accent); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p { color: var(--color-muted); font-style: italic; }
.testi-card__name { font-weight: 700; font-size: 14px; color: var(--color-text); margin-top: 14px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--color-night); color: rgba(255,255,255,.75); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo-mark { height: 44px; width: 44px; }
.footer-brand strong { font-family: var(--font-display); font-size: 19px; color: #fff; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--color-accent-light); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s;
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-primary-dark); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.55);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.float-whatsapp {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 200;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 28px rgba(37,211,102,.5);
  animation: pulseRing 2.4s ease-in-out infinite;
}
.float-whatsapp:hover { transform: scale(1.08); }
@keyframes pulseRing {
  0% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

.backtotop {
  position: fixed; right: 22px; bottom: 96px;
  z-index: 199;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  font-size: 18px;
}
.backtotop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.pagehead {
  background: radial-gradient(ellipse 120% 160% at 50% -40%, #2b1522, var(--color-night) 60%);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.pagehead h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 10px; }
.pagehead p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--color-accent-light); }

/* ============================================================
   About page
   ============================================================ */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.story-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.timeline { display: grid; gap: 22px; }
.timeline__item { display: grid; grid-template-columns: 70px 1fr; gap: 18px; }
.timeline__year { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); font-size: 18px; }
.timeline__item p { margin: 0; color: var(--color-muted); font-size: 14.5px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

.about-collage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 420px;
}
.about-collage img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-collage img:first-child { grid-row: 1 / 3; }
@media (max-width: 860px) { .about-collage { height: 320px; } }
@media (max-width: 520px) { .about-collage { grid-template-columns: 1fr 1fr; height: 260px; } }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 30px; }
.contact-method { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.contact-method:last-child { border-bottom: none; }
.contact-method__icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--color-primary-soft); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-method strong { display: block; font-size: 14px; }
.contact-method a, .contact-method span { font-size: 14.5px; color: var(--color-muted); }
.contact-method a:hover { color: var(--color-primary); }
.mapframe { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); height: 100%; min-height: 320px; }
.mapframe iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.formfield { margin-bottom: 18px; }
.formfield label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--color-muted); }
.formfield input, .formfield textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.formfield input:focus, .formfield textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(212,166,77,.18);
}

/* ============================================================
   Misc utility
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--color-muted); }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }
.empty-state .ic { font-size: 40px; margin-bottom: 12px; }

noscript .noscript-banner {
  display: block; background: var(--color-primary); color: #fff; text-align: center; padding: 12px; font-size: 14px;
}

/* ============================================================
   Local-SEO pages: price notice, FAQ, safety, mobile action bar
   ============================================================ */
.pagehead .hero__actions { justify-content: center; margin-bottom: 0; }
.container--narrow { max-width: 820px; }
.contact-card__title { font-size: 1.4rem; margin-bottom: 16px; }
.safety-card { margin-bottom: 24px; }
.safety-card:last-child { margin-bottom: 0; }

.notice {
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 15px;
}
.notice a { color: var(--color-primary); font-weight: 700; text-decoration: underline; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--color-border); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--color-primary); font-weight: 800; }
.checklist a, .contact-card p a, .faq p a { color: var(--color-primary); text-decoration: underline; }

.faq-heading { margin: 0 0 18px; }
.faq-heading.ta { margin-top: 40px; }
.faq {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  font-weight: 700;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 22px; color: var(--color-primary); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 20px 18px; color: var(--color-muted); }

.ta, [lang="ta"] { font-family: "Noto Sans Tamil", var(--font-body, sans-serif); line-height: 1.7; }

/* Call / Directions / WhatsApp bar — mobile only, replaces the floating button */
.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 210;
    background: var(--color-primary-dark);
    box-shadow: 0 -6px 20px rgba(0,0,0,.18);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobilebar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 10px 4px; color: #fff; font-size: 18px; min-height: 56px;
  }
  .mobilebar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .mobilebar span { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
  .float-whatsapp { display: none; }
  .backtotop { bottom: 76px; }
  body { padding-bottom: 60px; }
}
