:root {
  --ink: #24110b;
  --muted: #6f5a4d;
  --paper: #fff9ef;
  --cream: #f8ead0;
  --saffron: #d98216;
  --gold: #f0b840;
  --maroon: #7d1f18;
  --green: #176b53;
  --line: rgba(85, 48, 26, .16);
  --shadow: 0 22px 70px rgba(68, 32, 12, .18);
  --radius: 8px;
  --max: 1180px;
}

/* Official typography scale: calmer, readable, business-site proportions */
:where(html) { font-size: 16px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.16; letter-spacing: -.01em; }
h1 { max-width: 820px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4.8vw, 56px); }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 19px; line-height: 1.25; }
p { margin: 0; }
.lead { max-width: 690px; color: #fff3df; font-size: clamp(16px, 1.45vw, 18px); }
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.section-head p { max-width: 560px; color: var(--muted); }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-120%);
  transition: transform .5s ease;
}
.btn:hover { transform: translateY(-2px); filter: saturate(1.08); }
.btn:hover::after { transform: translateX(120%); }
.btn::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: var(--btn-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--btn-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E")) center / contain no-repeat;
}
.btn[href^="tel:"] { --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.32 1.77.59 2.61a2 2 0 0 1-.45 2.11L8 9.69a16 16 0 0 0 6.31 6.31l1.25-1.25a2 2 0 0 1 2.11-.45c.84.27 1.71.47 2.61.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.btn[href*="whatsapp"] { --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-9 8.4 8.5 8.5 0 0 1-4-.94L3 21l1.7-4.55A8.5 8.5 0 1 1 21 11.5z'/%3E%3Cpath d='M8.8 9.2c.4 2 2 3.6 4 4'/%3E%3C/svg%3E"); }
.btn[href^="mailto:"] { --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.btn[href*="services"] { --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.btn[href*="contact"] { --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.btn-primary { background: linear-gradient(135deg, #ffd36b, var(--gold) 52%, #dc8a18); color: #2b1407; box-shadow: 0 14px 32px rgba(215, 129, 21, .32); }
.btn-dark { background: linear-gradient(135deg, var(--maroon), #4b100c); color: #fff7ed; box-shadow: 0 14px 32px rgba(84, 24, 18, .28); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(50, 18, 9, .94), rgba(125, 31, 24, .9));
  color: #fff7ed;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 38px rgba(45, 17, 7, .16);
}
.site-header::before {
  content: "Call +91 91423 40040  •  Hindi Pandit & Puja Services in Bangalore";
  display: block;
  padding: 7px 18px;
  text-align: center;
  color: #ffe9b6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(26, 8, 3, .38);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; line-height: 1.12; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 241, 194, .92);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 18%, #fff8d4 0 8px, transparent 9px),
    linear-gradient(135deg, var(--gold), #fff0b8 58%, var(--saffron));
  color: var(--maroon);
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: 0;
  box-shadow: 0 12px 26px rgba(0,0,0,.2), inset 0 -10px 18px rgba(125,31,24,.12);
}
.brand-mark::before {
  content: "ॐ";
  font-size: 24px;
  line-height: 1;
}
.brand > span:not(.brand-mark) { font-size: 16px; }
.brand small { display: block; margin-top: 2px; color: #f8c773; font-size: 11px; font-weight: 750; letter-spacing: .03em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff1dc;
  font-size: 14px;
  font-weight: 800;
}
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: #2b1407;
  background: linear-gradient(135deg, #ffe5a6, #f0b840);
  transform: translateY(-1px);
}
.menu-toggle { display: none; }
.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(38, 13, 5, .95), rgba(85, 28, 13, .78) 48%, rgba(36, 13, 6, .42)),
    var(--hero-image) center / cover no-repeat;
}
.page-hero .wrap {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: center;
  gap: 46px;
  padding: 70px 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-panel {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 249, 239, .94);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-panel h2 { font-size: 26px; }
.hero-panel p { color: var(--muted); margin: 10px 0 18px; }
.quick-list { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.quick-list li { display: flex; gap: 10px; align-items: center; font-weight: 750; }
.dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(69, 34, 15, .08);
}
.content-panel p { color: var(--muted); margin-top: 14px; }
.content-panel ul { margin: 20px 0 0; padding-left: 20px; color: var(--muted); }
.content-panel li + li { margin-top: 9px; }
.photo-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-grid, .service-grid, .gallery-grid, .policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature, .service-card, .policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(69, 34, 15, .08);
}
.feature strong, .policy-card strong { display: block; color: var(--maroon); margin-bottom: 8px; }
.feature p, .service-card p, .policy-card p { color: var(--muted); }
.service-card { overflow: hidden; padding: 0; }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card div { padding: 18px; }
.service-card a { display: inline-block; margin-top: 12px; color: var(--maroon); font-weight: 850; }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #32130b;
  color: #fff7ed;
  box-shadow: 0 12px 34px rgba(69, 34, 15, .08);
}
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { padding: 14px 16px; font-weight: 850; }
.cta {
  color: #fff7ed;
  background:
    linear-gradient(100deg, rgba(30, 10, 6, .96), rgba(125, 31, 24, .9)),
    url("navratri.jpg") center / cover no-repeat;
}
.cta-grid { display: grid; grid-template-columns: 1fr 410px; gap: 42px; align-items: start; }
.contact-card {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}
.contact-card a.big { display: block; margin-top: 12px; font-size: 24px; font-weight: 900; color: #ffe2a2; overflow-wrap: anywhere; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.areas span {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 8px 12px;
  color: #f6dfbf;
  background: rgba(255,255,255,.08);
}
footer {
  padding: 28px 0 106px;
  background: #1d0c08;
  color: #e8cba3;
  font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #fff1d8; margin-left: 16px; }
.sticky-actions {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(2, minmax(156px, 1fr));
  gap: 10px;
  width: min(440px, calc(100% - 28px));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,248,235,.42));
  box-shadow: 0 18px 54px rgba(42, 17, 8, .24), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(1.2);
}
.sticky-action {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 10px 26px rgba(46, 18, 8, .2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.sticky-action::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.32), transparent);
  transform: translateX(-130%);
  transition: transform .55s ease;
}
.sticky-action:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 16px 34px rgba(46, 18, 8, .25);
}
.sticky-action:hover::after { transform: translateX(130%); }
.sticky-action span { position: relative; z-index: 1; }
.sticky-action strong,
.sticky-action small {
  display: block;
  line-height: 1.05;
  letter-spacing: 0;
}
.sticky-action small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 750;
  opacity: .88;
}
.sticky-action__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}
.sticky-action__icon::before {
  content: "";
  width: 19px;
  height: 19px;
  background: #fff;
  -webkit-mask: var(--sticky-icon) center / contain no-repeat;
  mask: var(--sticky-icon) center / contain no-repeat;
}
.sticky-action-call {
  background: linear-gradient(135deg, #ffd36b 0%, #e49a25 44%, #8d241a 100%);
}
.sticky-action-whatsapp {
  background: linear-gradient(135deg, #47df8f 0%, #16b96b 44%, #087640 100%);
}
.sticky-action-call .sticky-action__icon {
  --sticky-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.32 1.77.59 2.61a2 2 0 0 1-.45 2.11L8 9.69a16 16 0 0 0 6.31 6.31l1.25-1.25a2 2 0 0 1 2.11-.45c.84.27 1.71.47 2.61.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.sticky-action-whatsapp .sticky-action__icon {
  --sticky-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-9 8.4 8.5 8.5 0 0 1-4-.94L3 21l1.7-4.55A8.5 8.5 0 1 1 21 11.5z'/%3E%3Cpath d='M8.8 9.2c.4 2 2 3.6 4 4'/%3E%3C/svg%3E");
}

@media (max-width: 980px) {
  .site-header::before {
    content: "Hindi Pandit in Bangalore • Call +91 91423 40040";
    padding: 6px 12px;
    font-size: 11px;
  }
  .nav {
    min-height: 64px;
    position: relative;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .brand-mark::before { font-size: 22px; }
  .brand > span:not(.brand-mark) { font-size: 14px; }
  .brand small { font-size: 10px; }
  .nav > .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    color: #2b1407;
    background: linear-gradient(135deg, #ffe5a6, #f0b840);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    cursor: pointer;
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle {
    flex-direction: column;
    gap: 5px;
  }
  body.menu-open .menu-toggle span { opacity: 0; }
  body.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(56, 19, 9, .98), rgba(125, 31, 24, .96));
    box-shadow: 0 22px 60px rgba(36, 12, 5, .32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }
  body.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
  }
  .nav-links a::after {
    content: "›";
    color: #ffd36b;
    font-size: 20px;
    line-height: 1;
  }
  .page-hero .wrap, .grid-2, .cta-grid { grid-template-columns: 1fr; }
  .page-hero .wrap { min-height: auto; }
  .feature-grid, .service-grid, .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  body { font-size: 15px; }
  h1 { font-size: clamp(29px, 9vw, 38px); }
  h2 { font-size: clamp(24px, 7.2vw, 31px); }
  h3 { font-size: 18px; }
  .lead { font-size: 16px; }
  .section { padding: 48px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .page-hero .wrap { padding: 46px 0; }
  .hero-actions { display: grid; }
  .feature-grid, .service-grid, .gallery-grid, .policy-grid { grid-template-columns: 1fr; }
  .contact-card a.big { font-size: 20px; }
  .sticky-actions {
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 24px;
  }
  .sticky-action {
    min-height: 54px;
    gap: 8px;
    padding: 0 10px;
  }
  .sticky-action__icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
  .sticky-action strong { font-size: 14px; }
  .sticky-action small { font-size: 10px; }
  footer { padding-bottom: 104px; }
  footer a { display: inline-block; margin: 8px 12px 0 0; }
}
