/*!
 * Gobind Computers Pvt. Ltd. — stylesheet
 * Design: "card + muggu". The visiting card's white and blue, Kalamkari indigo, turmeric accents,
 * and the dot grid of a chukkala muggu.
 *
 * Contents
 *   1. Fonts             6. Hero               11. FAQ
 *   2. Tokens (themes)   7. Services           12. Contact + visiting card
 *   3. Base              8. TDS desk           13. Footer
 *   4. Layout            9. How we work        14. Action bar, toast
 *   5. Components        10. About             15. 404, reduced motion, print
 */

/* ---------- 1. Fonts (self-hosted; Telugu and ₹ load only when used) ---------- */
@font-face {
  font-family: "Eczar";
  src: url("../assets/fonts/eczar-latin-wght.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Eczar";
  src: url("../assets/fonts/eczar-rupee.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Hind Guntur";
  src: url("../assets/fonts/hind-guntur-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hind Guntur";
  src: url("../assets/fonts/hind-guntur-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hind Guntur";
  src: url("../assets/fonts/hind-guntur-rupee-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Hind Guntur";
  src: url("../assets/fonts/hind-guntur-rupee-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Hind Guntur";
  src: url("../assets/fonts/hind-guntur-telugu-greeting.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0C00-0C7F, U+200C-200D, U+25CC;
}

/* ---------- 2. Tokens ---------- */
:root {
  color-scheme: light;
  --paper: #F5F3EE;
  --card: #FFFFFF;
  --sand: #EEEAE1;
  --ink: #16203A;
  --ink-2: #4A5266;
  --line: #DED8CB;
  --line-strong: #C3BBA9;
  --brand: #0B87C9;            /* measured from the printed card */
  --brand-ink: #0A6A9E;        /* text-safe shade of the brand blue */
  --brand-soft: #E2F0F8;
  --indigo: #1A2342;           /* Kalamkari indigo */
  --on-indigo: #F3EEE2;
  --on-indigo-2: #B9BED0;
  --turmeric: #E9A21B;
  --turmeric-ink: #8A5A00;
  --turmeric-soft: #FBEFD3;
  --kumkum: #B8322A;
  --kumkum-soft: #F7E1DE;
  --leaf: #23704A;
  --wa: #0E7A43;
  --wa-hover: #0B6537;
  --field-bg: #FFFFFF;
  --field-border: #8B8FA0;
  --tab-on: #FFFFFF;
  --btn-primary-bg: #16203A;
  --btn-primary-fg: #F5F3EE;
  --btn-primary-hover: #273259;
  --header-bg: rgba(245, 243, 238, 0.88);
  --dot: rgba(22, 32, 58, 0.13);
  --focus: #0A6A9E;
  --toast-bg: #16203A;
  --toast-fg: #F5F3EE;
  --footer-bg: #141B33;
  --shadow-1: 0 1px 2px rgba(22, 32, 58, 0.06), 0 4px 14px -6px rgba(22, 32, 58, 0.12);
  --shadow-2: 0 2px 4px rgba(22, 32, 58, 0.06), 0 24px 48px -22px rgba(22, 32, 58, 0.45);

  --font-display: "Eczar", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Hind Guntur", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 64px;
  --action-space: 0px;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --radius-xl: 28px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0F1528;
  --card: #161E36;
  --sand: #131A31;
  --ink: #ECE6D8;
  --ink-2: #B4BAC9;
  --line: #263052;
  --line-strong: #3B4772;
  --brand: #3FB0E8;
  --brand-ink: #6CC4F0;
  --brand-soft: #14304A;
  --indigo: #1C2548;
  --turmeric: #F0B43C;
  --turmeric-ink: #F0B43C;
  --turmeric-soft: #372B10;
  --kumkum: #F0857A;
  --kumkum-soft: #3A1D1B;
  --leaf: #67C995;
  --field-bg: #10172C;
  --field-border: #7A84AC;
  --tab-on: #2A3560;
  --btn-primary-bg: #ECE6D8;
  --btn-primary-fg: #16203A;
  --btn-primary-hover: #FFFFFF;
  --header-bg: rgba(15, 21, 40, 0.88);
  --dot: rgba(236, 230, 216, 0.1);
  --focus: #F0B43C;
  --toast-bg: #ECE6D8;
  --toast-fg: #16203A;
  --footer-bg: #0A0F1F;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 24px 48px -22px rgba(0, 0, 0, 0.75);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0F1528;
    --card: #161E36;
    --sand: #131A31;
    --ink: #ECE6D8;
    --ink-2: #B4BAC9;
    --line: #263052;
    --line-strong: #3B4772;
    --brand: #3FB0E8;
    --brand-ink: #6CC4F0;
    --brand-soft: #14304A;
    --indigo: #1C2548;
    --turmeric: #F0B43C;
    --turmeric-ink: #F0B43C;
    --turmeric-soft: #372B10;
    --kumkum: #F0857A;
    --kumkum-soft: #3A1D1B;
    --leaf: #67C995;
    --field-bg: #10172C;
    --field-border: #7A84AC;
    --tab-on: #2A3560;
    --btn-primary-bg: #ECE6D8;
    --btn-primary-fg: #16203A;
    --btn-primary-hover: #FFFFFF;
    --header-bg: rgba(15, 21, 40, 0.88);
    --dot: rgba(236, 230, 216, 0.1);
    --focus: #F0B43C;
    --toast-bg: #ECE6D8;
    --toast-fg: #16203A;
    --footer-bg: #0A0F1F;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-2: 0 24px 48px -22px rgba(0, 0, 0, 0.75);
  }
}

@media (max-width: 899.98px) {
  :root { --action-space: calc(62px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1120px) {
  :root { --header-h: 72px; }
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
strong { font-weight: 600; }
hr { border: 0; }

::selection { background: var(--turmeric-soft); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only,
.js .panel-heading {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

.logo-plate { fill: #FFFFFF; }
.logo-mark { fill: #0B87C9; }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
}
/* sand and paper alternate: services, TDS desk, about and contact sit on sand */
.services,
.desk-section,
.about,
.contact { background: var(--sand); }

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head::before {
  /* the blue rule printed on the visiting card */
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--brand);
}
.section-head h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 2.8rem); }
.section-lead {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: clamp(1.03rem, 0.98rem + 0.25vw, 1.15rem);
}

/* ---------- 5. Components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.62em 1.15em;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: none;
  font: 600 1rem/1.15 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn-primary:hover { background: var(--btn-primary-hover); }
.btn-whatsapp { background: var(--wa); color: #FFFFFF; }
.btn-whatsapp:hover { background: var(--wa-hover); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.btn-ghost { color: var(--ink-2); padding-inline: 0.6em; }
.btn-ghost:hover { color: var(--ink); text-decoration: underline; }
.btn-sm { min-height: 40px; padding: 0.45em 0.9em; border-radius: var(--radius-s); font-size: 0.94rem; }
.btn-lg { min-height: 54px; padding: 0.8em 1.4em; border-radius: var(--radius-m); font-size: 1.06rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.icon-btn .icon { width: 22px; height: 22px; }

.icon-sun,
.icon-close { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--brand-ink);
}

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 26px;
}
.ticks li::before {
  /* a muggu dot */
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--turmeric);
  transform: rotate(45deg);
}

.fine { margin-top: 16px; font-size: 0.9rem; color: var(--ink-2); }
.hint { font-size: 0.88rem; color: var(--ink-2); }

/* form fields */
.field { display: grid; gap: 6px; min-width: 0; }
.field > label,
.field > legend { font-weight: 600; font-size: 0.97rem; }
.field-inline { display: flex; align-items: center; gap: 10px; }
.field-inline select { width: auto; }

input[type="text"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6em 0.85em;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-s);
  background-color: var(--field-bg);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 18px;
}
textarea { min-height: 116px; resize: vertical; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--kumkum) !important; }
.field-error {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kumkum);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: transform 0.28s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(22, 32, 58, 0.35); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; background: var(--paper); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 42px; height: auto; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name {
  font: 650 1.12rem/1.05 var(--font-display);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.brand-suffix { font-size: 0.76rem; color: var(--ink-2); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-wa,
.header-call { display: none; }
@media (min-width: 900px) {
  .header-call { display: inline-flex; }
}
@media (min-width: 1240px) {
  .header-wa { display: inline-flex; }
}

/* menu: overlay below 1120px */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.menu-open .site-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.menu-open { overflow: hidden; }
.menu-open .icon-menu { display: none; }
.menu-open .icon-close { display: block; }

.nav-list { list-style: none; }
.nav-list a {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 600 1.45rem/1.2 var(--font-display);
  text-decoration: none;
}
.nav-list a[aria-current="true"] { color: var(--brand-ink); }
.nav-extras { display: grid; gap: 12px; }
.nav-extras .btn { justify-content: flex-start; }
.nav-address { font-size: 0.95rem; color: var(--ink-2); }

@media (min-width: 1120px) {
  .site-nav {
    position: static;
    z-index: auto;
    flex-direction: row;
    padding: 0;
    overflow: visible;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-list { display: flex; gap: 2px; }
  .nav-list a {
    position: relative;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    font: 600 0.98rem/1.2 var(--font-body);
  }
  .nav-list a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
  .nav-list a[aria-current="true"]::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
  }
  .nav-extras,
  .nav-toggle { display: none; }
  .header-inner { gap: 20px; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(28px, 5vw, 76px) clamp(56px, 7vw, 108px);
}
.hero::before {
  /* chukkalu: the dot grid a muggu is drawn on */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, var(--dot) 1.3px, transparent 1.8px);
  background-size: 26px 26px;
  background-position: 13px 13px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 75% 35%, #000 10%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}
@media (max-width: 959.98px) {
  .hero-panel { width: 100%; max-width: 560px; }
}

.greeting {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 18px;
}
.greeting-te {
  font-family: var(--font-body);
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--turmeric-ink);
}
.greeting-en { color: var(--ink-2); font-size: 1rem; }

.hero h1 {
  font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.25rem);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.lead {
  margin-top: 22px;
  max-width: 54ch;
  color: var(--ink-2);
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-note { margin-top: 18px; font-size: 0.95rem; color: var(--ink-2); }
@media (max-width: 479.98px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* muggu calendar panel */
.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3.2vw, 30px);
  border-radius: var(--radius-xl);
  background-color: var(--indigo);
  background-image: radial-gradient(circle, rgba(243, 238, 226, 0.07) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
  color: var(--on-indigo);
  box-shadow: var(--shadow-2);
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.panel-title { font-weight: 600; }
.panel-legend { display: inline-flex; align-items: center; gap: 8px; color: var(--on-indigo-2); }
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #F0B43C;
  box-shadow: 0 0 0 4px rgba(240, 180, 60, 0.28);
}

.muggu-quarters,
.muggu-dues {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: 8.62%;   /* the SVG's side margin (25 of 290 units) */
  text-align: center;
}
.muggu-quarters li { display: grid; line-height: 1.2; }
.mq-name { font: 650 1.08rem/1.1 var(--font-display); }
.mq-months { font-size: 0.8rem; color: var(--on-indigo-2); }
.muggu-quarters .is-next .mq-name,
.muggu-dues .is-next { color: #F0B43C; }
.muggu-dues { font-size: 0.86rem; color: var(--on-indigo-2); }
.muggu-dues .is-next { font-weight: 600; }

.muggu-art svg { width: 100%; height: auto; overflow: visible; }
.hero-panel .muggu-line {
  fill: none;
  stroke: var(--on-indigo);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-panel .muggu-line.is-drawing { transition: stroke-dashoffset 2.4s cubic-bezier(0.65, 0, 0.35, 1); }
@media (prefers-reduced-motion: no-preference) {
  /* hidden only until main.js starts drawing it; shown anyway after 3s if the script never runs */
  .js .hero-panel .muggu-line:not(.is-drawn-in) {
    opacity: 0;
    animation: muggu-failsafe 0s linear 3s forwards;
  }
}
@keyframes muggu-failsafe { to { opacity: 1; } }
.muggu-bands rect { fill: transparent; transition: fill 0.4s ease; }
.muggu-bands .is-next { fill: rgba(240, 180, 60, 0.13); }
.muggu-dots circle { fill: var(--on-indigo); transition: opacity 0.5s ease; }
.muggu-dots .is-past { opacity: 0.42; }
.muggu-dots .is-current {
  fill: #F0B43C;
  stroke: rgba(240, 180, 60, 0.35);
  stroke-width: 9;
}
.js #hero-muggu.is-animating .muggu-dots circle { opacity: 0; }
.js #hero-muggu.is-animating.is-ready .muggu-dots circle { opacity: 1; }
.js #hero-muggu.is-animating.is-ready .muggu-dots .is-past { opacity: 0.42; }

.next-due {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(243, 238, 226, 0.28);
}
.nd-label { font-size: 0.85rem; color: var(--on-indigo-2); }
.nd-title { font: 600 clamp(1.15rem, 1rem + 0.6vw, 1.4rem)/1.25 var(--font-display); }
.nd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.nd-date { color: var(--on-indigo); }
.nd-date:empty,
.nd-count:empty { display: none; }
.nd-count {
  padding: 2px 10px;
  border-radius: 999px;
  background: #F0B43C;
  color: #1A2342;
  font-size: 0.9rem;
  font-weight: 600;
}
.nd-link {
  justify-self: start;
  margin-top: 8px;
  color: var(--on-indigo);
  font-weight: 600;
}

/* ---------- 7. Services ---------- */
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  gap: 18px 56px;
  padding-block: clamp(26px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.service-icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.service h3 {
  margin: 16px 0 8px;
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem);
}
.service-intro p { color: var(--ink-2); max-width: 46ch; }
@media (min-width: 860px) {
  .service-detail { padding-top: 62px; }
}

/* quick links to each service */
.services .section-head { margin-bottom: 22px; }
.svc-index { margin-bottom: clamp(26px, 3.4vw, 40px); }
.svc-index ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: 600 0.97rem/1.1 var(--font-body);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.svc-index a:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.svc-index .icon { width: 20px; height: 20px; color: var(--brand-ink); }
@media (max-width: 419.98px) {
  /* tighter chips keep the five links to three rows on 360 px phones */
  .svc-index ul { gap: 8px; }
  .svc-index a { gap: 6px; padding: 0 12px 0 10px; font-size: 0.94rem; }
  .svc-index .icon { width: 18px; height: 18px; }
}

/* "more" expanders inside a service */
.more { margin-top: 14px; }
.more summary {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 44px;
  padding: 8px 0;
  list-style: none;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: "+";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  margin-top: calc((1.5em - 20px) / 2);
  font: 600 1rem/20px var(--font-body);
  text-align: center;
}
.more[open] summary::before { content: "−"; }
.more summary:hover { color: var(--brand-ink); }
.more-body { padding: 6px 0 4px; }
.more-body p { margin-top: 14px; max-width: 60ch; color: var(--ink-2); font-size: 0.97rem; }
@media (min-width: 560px) {
  .ticks-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

/* ---------- 7b. Track record ---------- */
.record-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) {
  .record-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
}
.ledger-card,
.clients-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.card-title { font-size: 1.3rem; }

/* the ledger: blue rules and a red double margin line, like an account book */
.ledger-card { padding: clamp(20px, 3vw, 30px); }
.ledger-card .card-title {
  padding-bottom: 12px;
  border-bottom: 3px double var(--line-strong);
  border-bottom: 3px double color-mix(in srgb, var(--brand) 55%, transparent);
}
.ledger {
  position: relative;
  font: 650 clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem)/1.1 var(--font-display);
}
.ledger::before {
  /* the margin line, unbroken from the first row to the last */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(4.3em - 3px);
  border-left: 3px double var(--kumkum);
}
.ledger-row {
  display: grid;
  grid-template-columns: 4.3em minmax(0, 1fr);
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.ledger dt {
  padding: 16px 14px 16px 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.01em;
  text-align: right;
}
.ledger dd {
  padding: 16px 0 16px 16px;
  color: var(--ink-2);
  font: 400 0.98rem/1.45 var(--font-body);
}
.ledger-card .fine { margin-top: 14px; }

/* clients: tabs reuse the TDS desk styles */
.clients-card { overflow: hidden; }
.clients-card .card-title { padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 30px) 0; }
.js .clients-card .tabs { margin: 14px clamp(8px, 2vw, 18px) 0; }
.client-list { list-style: none; display: grid; column-gap: 28px; }
@media (min-width: 600px) {
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.client-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px dotted var(--line-strong);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
.client-list li::before {
  /* a muggu dot */
  content: "";
  position: absolute;
  left: 3px;
  top: calc(10px + 0.42em);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.client-list small {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 400;
}
.clients-note { margin: 0; padding: 0 clamp(18px, 3vw, 32px) clamp(18px, 3vw, 28px); }

/* ---------- 8. TDS desk ---------- */
.desk {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.tabs { display: none; }
.js .tabs {
  display: flex;
  gap: 4px;
  margin: 12px 12px 0;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: var(--radius-m);
  background: var(--sand);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--ink-2);
  font: 600 0.98rem/1 var(--font-body);
  cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] {
  background: var(--tab-on);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(22, 32, 58, 0.14), 0 0 0 1px var(--line);
}
.tab .icon { width: 19px; height: 19px; }
@media (max-width: 479.98px) {
  .js .tabs { margin: 8px 8px 0; }
  .tab { flex: 1 1 auto; gap: 6px; padding: 0 8px; font-size: 0.93rem; }
  .tab .icon { display: none; }
}
.tab-panel { padding: clamp(18px, 3vw, 32px); }
.tab-panel:focus-visible { outline-offset: -4px; }
.tab-panel + .tab-panel { border-top: 1px solid var(--line); }
.js .tab-panel + .tab-panel { border-top: 0; }
.tab-panel[hidden] { display: none; }
.panel-heading { margin-bottom: 14px; font-size: 1.35rem; }
.panel-intro { margin-bottom: 18px; color: var(--ink-2); }

.panel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.panel-bar select { min-height: 42px; }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.schedule { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.schedule th,
.schedule td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.schedule thead th {
  background: var(--sand);
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 600;
}
.schedule tbody th { font: 650 1.1rem/1 var(--font-display); }
.schedule tbody tr:last-child > * { border-bottom: 0; }
.schedule tr.is-next { background: var(--turmeric-soft); }

.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-passed { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); }
.status-next { background: var(--turmeric); color: #1A2342; }
.status-upcoming { background: var(--brand-soft); color: var(--brand-ink); }

@media (max-width: 639.98px) {
  .schedule thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .schedule tr {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .schedule tbody tr:last-child { border-bottom: 0; }
  .schedule th,
  .schedule td { padding: 0; border: 0; }
  .schedule td[data-label="Period"] { align-self: center; color: var(--ink-2); }
  .schedule td[data-label="Return due"],
  .schedule td[data-label="Form 131 by"] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .schedule td[data-label="Return due"]::before,
  .schedule td[data-label="Form 131 by"]::before {
    content: attr(data-label);
    color: var(--ink-2);
  }
  .schedule td[data-label="Return due"] { font-weight: 600; }
  .schedule td[data-label="Status"] { grid-column: 1 / -1; }
  .schedule td[data-label="Status"]:empty { display: none; }
}

.desk-notes {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .desk-notes { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.note-block h4 { margin-bottom: 10px; font: 600 1.05rem/1.3 var(--font-body); }
.forms > div {
  display: grid;
  grid-template-columns: 6.2em 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.forms dt { font-weight: 600; color: var(--brand-ink); }
.forms dd { color: var(--ink-2); }
.plain { list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.plain strong { color: var(--ink); }

/* checklist */
.checklist { display: grid; gap: 18px; }
@media (min-width: 860px) {
  .checklist { grid-template-columns: 1fr 1fr; gap: 18px 36px; align-items: start; }
}
.check-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.check-group legend { margin-bottom: 4px; padding: 0; font-weight: 600; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 10px;
  border-radius: var(--radius-s);
  cursor: pointer;
}
.check:hover { background: var(--sand); }
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--brand-ink);
  cursor: pointer;
}
.check input:checked + span { color: var(--ink-2); }

.checklist-bar {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.progress { font-weight: 600; }
.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--sand);
}
.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.3s ease;
}
.checklist-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* late fee */
.fee-grid { display: grid; gap: 24px; }
@media (min-width: 860px) {
  .fee-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
}
.fee-form { display: grid; gap: 18px; }
.fee-form .btn { justify-self: start; }
.fee-result {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 170px;
  padding: 22px;
  border-radius: var(--radius-m);
  background: var(--sand);
}
.fee-placeholder { color: var(--ink-2); }
.fee-label { font-size: 0.9rem; color: var(--ink-2); }
.fee-amount { font: 700 clamp(2.3rem, 1.8rem + 2vw, 3.1rem)/1 var(--font-display); letter-spacing: -0.01em; }
.fee-zero { color: var(--leaf); }
.fee-breakdown { color: var(--ink-2); }
.fee-result .btn { justify-self: start; margin-top: 6px; }

/* ---------- 9. How we work ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 34px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 66px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--on-indigo);
  font: 650 1.3rem/1 var(--font-display);
}
.step::after {
  /* chukkalu connecting the steps */
  content: "";
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: -30px;
  border-left: 3px dotted var(--line-strong);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 8px; font-size: 1.25rem; }
.step p { color: var(--ink-2); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .step { padding: 70px 8px 0 0; }
  .step::after {
    left: 58px;
    right: -16px;
    top: 21px;
    bottom: auto;
    border-left: 0;
    border-top: 3px dotted var(--line-strong);
  }
}

/* ---------- 10. About ---------- */
.about-grid { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
}
.about-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 1.35rem + 2vw, 2.8rem);
}
.about-copy h2::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--brand);
}
.about-copy p { max-width: 58ch; color: var(--ink-2); }
.about-copy p + p { margin-top: 1em; }
.about-quote {
  margin: 28px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--kumkum);
}
.about-quote p {
  color: var(--ink);
  font: 500 clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem)/1.35 var(--font-display);
}
.about-art {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}
.vijayawada { width: 100%; height: auto; color: var(--ink); }
.vijayawada path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vijayawada .art-sun { fill: var(--turmeric); }
.vijayawada .art-bird { stroke-width: 1.6; opacity: 0.8; }
.vijayawada .art-hill-path { stroke-dasharray: 2 6; opacity: 0.6; }
.vijayawada .art-flag { fill: var(--kumkum); stroke: var(--kumkum); }
.vijayawada .art-river { stroke: var(--brand); }
.vijayawada .art-river-soft { opacity: 0.5; }
.about-art figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--ink-2); }

/* founders, group companies, offices */
.about-facts {
  display: grid;
  margin-top: clamp(36px, 5vw, 64px);
  padding: 0 clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--card);
}
.fact { padding: 22px 0; }
.fact + .fact { border-top: 3px dotted var(--line-strong); }
@media (min-width: 560px) and (max-width: 859.98px) {
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .fact { padding: 24px clamp(20px, 3vw, 28px); }
  .fact:nth-child(2) { border-top: 0; border-left: 3px dotted var(--line-strong); }
  .fact:nth-child(3) { grid-column: 1 / -1; }
}
@media (min-width: 860px) {
  .about-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
  .fact { padding: 28px clamp(22px, 2.6vw, 34px); }
  .fact + .fact { border-top: 0; border-left: 3px dotted var(--line-strong); }
}
.fact h3 { margin-bottom: 12px; font-size: 1.2rem; }
.fact ul { list-style: none; display: grid; gap: 6px; color: var(--ink-2); }
.fact-note { margin-top: 14px; color: var(--ink-2); font-size: 0.92rem; }

/* ---------- 11. FAQ ---------- */
.faq-grid { display: grid; gap: 8px 64px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 4px;
  list-style: none;
  font: 600 1.08rem/1.45 var(--font-body);
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font: 500 1.3rem/28px var(--font-body);
  text-align: center;
}
.qa[open] summary::after { content: "−"; }
.qa summary:hover { color: var(--brand-ink); }
.qa-body { padding: 0 4px 20px; color: var(--ink-2); max-width: 64ch; }
.qa-body p + p { margin-top: 0.8em; }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
}

/* the visiting card, at true proportions */
.biz-card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1.68;
  padding: 4.4% 5% 3.6%;
  padding: 4.4cqi 5cqi 3.6cqi;
  border-radius: 10px;
  background: #FFFFFF;
  color: #1E2026;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 26px 50px -24px rgba(22, 32, 58, 0.5);
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease;
}
.biz-card:hover { transform: none; }
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bc-person strong { display: block; font-size: 15px; font-size: 4.6cqi; font-weight: 700; line-height: 1.1; }
.bc-person span { display: block; padding-left: 3em; padding-left: 16cqi; font-size: 11px; font-size: 3.3cqi; }
.bc-phones { display: grid; font-size: 11px; font-size: 3.2cqi; line-height: 1.35; }
.bc-logo { width: 19%; width: 19cqi; height: auto; margin: -7.5% auto 0; margin: -7.5cqi auto 0; }
.bc-wordmark { width: 76%; width: 76cqi; height: auto; margin: 1.6% auto 0; margin: 1.6cqi auto 0; fill: #1E2026; }
.bc-spec { margin-top: 1.6%; margin-top: 1.6cqi; text-align: center; font-size: 11px; font-size: 3.4cqi; }
.bc-services { margin-top: 1%; margin-top: 1cqi; text-align: center; font-size: 10px; font-size: 3.15cqi; font-weight: 700; }
.bc-rule { height: 2px; height: 0.5cqi; min-height: 1px; margin: 2.4% 0 1.6%; margin: 2.4cqi 0 1.6cqi; background: #0B87C9; }
.bc-addr,
.bc-mail { text-align: center; font-size: 9px; font-size: 2.65cqi; line-height: 1.4; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.contact-list { list-style: none; margin-top: 30px; }
.contact-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item > .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--brand-ink); }
.ci-label { font-size: 0.86rem; color: var(--ink-2); }
.ci-value { font-size: 1.06rem; font-weight: 600; overflow-wrap: anywhere; }
.ci-value a { color: var(--ink); text-decoration: none; }
.ci-value a:hover { color: var(--brand-ink); text-decoration: underline; }
.ci-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 2px 0 6px; }
.ci-actions a,
.copy-btn {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--brand-ink);
  font: 600 0.94rem/1.2 var(--font-body);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.enquiry {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3.2vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.form-title { font-size: 1.5rem; }
.form-intro { margin-top: -8px; font-size: 0.95rem; color: var(--ink-2); }
.channel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.channel legend { width: 100%; margin-bottom: 4px; padding: 0; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--field-border);
  border-radius: 999px;
  cursor: pointer;
}
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-ink); }
.radio:has(input:checked) { border-color: var(--brand-ink); background: var(--brand-soft); }
.radio:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.map-card {
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background-color: var(--card);
  background-image: radial-gradient(circle, var(--dot) 1.3px, transparent 1.8px);
  background-size: 22px 22px;
}
.map-cover { display: grid; justify-items: start; gap: 12px; padding: 26px; }
.map-pin { width: 34px; height: 34px; color: var(--kumkum); }
.map-address { font-size: 1.02rem; }
.map-address strong { display: block; font: 650 1.2rem/1.2 var(--font-display); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-note { font-size: 0.86rem; color: var(--ink-2); }
.map-card iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }
.map-card.has-map .map-cover { padding: 18px 22px; }
.map-card.has-map [data-load-map],
.map-card.has-map .map-note,
.map-card.has-map .map-pin { display: none; }

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  padding-bottom: var(--action-space);
  background: var(--footer-bg);
  color: #E9E3D6;
  font-size: 0.98rem;
}
.site-footer::before {
  /* temple border, as woven on a Mangalagiri saree */
  content: "";
  display: block;
  height: 9px;
  background:
    linear-gradient(135deg, transparent 50%, var(--footer-bg) 50%) 0 0 / 14px 9px repeat-x,
    linear-gradient(225deg, transparent 50%, var(--footer-bg) 50%) 0 0 / 14px 9px repeat-x,
    #E9A21B;
}
.barrage {
  width: 100%;
  height: 58px;
  margin-top: 18px;
  color: rgba(233, 227, 214, 0.2);
}
.barrage path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.barrage-waves path { stroke: rgba(91, 176, 232, 0.5); }
.footer-grid { display: grid; gap: 34px; padding-block: 36px 28px; }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 48px; }
}
.footer-mark { width: 62px; height: auto; }
.footer-wordmark { width: min(330px, 100%); height: auto; margin-top: 14px; fill: #F3EEE2; }
.footer-brand p { margin-top: 12px; color: #B9BED0; max-width: 34ch; }
.footer-heading { margin-bottom: 12px; font: 600 0.92rem/1.2 var(--font-body); color: #B9BED0; letter-spacing: 0.01em; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #F3EEE2; }
.footer-contact p + p { margin-top: 10px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 22px;
  border-top: 1px solid rgba(233, 227, 214, 0.14);
  color: #B9BED0;
  font-size: 0.9rem;
}
.to-top { font-weight: 600; }

/* ---------- 14. Action bar (phones and tablets) and toast ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 -10px 26px -18px rgba(22, 32, 58, 0.45);
  transition: transform 0.22s ease, visibility 0s linear 0s;
}
.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 62px;
  color: var(--ink);
  font: 600 0.78rem/1 var(--font-body);
  text-decoration: none;
}
.action-bar .icon { width: 23px; height: 23px; color: var(--brand-ink); }
.action-bar a:nth-child(2) .icon { color: var(--wa); }
:root[data-theme="dark"] .action-bar a:nth-child(2) .icon { color: var(--leaf); }
.menu-open .action-bar,
.is-typing .action-bar {
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.22s ease, visibility 0s linear 0.22s;
}
@media (min-width: 900px) {
  .action-bar { display: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--action-space) + 18px);
  z-index: 60;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--toast-bg);
  color: var(--toast-fg);
  font-weight: 600;
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 15. 404 page ---------- */
.page-404 { padding-bottom: 0; }
.nf {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 20px;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px var(--gutter);
}
.nf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font: 650 1.2rem/1.1 var(--font-display);
  text-decoration: none;
}
.nf-brand small { display: block; font: 400 0.8rem/1.2 var(--font-body); color: var(--ink-2); }
.nf-muggu { width: min(300px, 78vw); height: auto; margin-top: 12px; }
.nf-muggu .muggu-line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.nf-muggu .muggu-dots circle { fill: var(--turmeric); }
.nf-muggu .nf-missing { fill: none; stroke: var(--kumkum); stroke-width: 2; stroke-dasharray: 3 3; }
.nf h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.1rem); }
.nf p { color: var(--ink-2); max-width: 52ch; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .biz-card { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  :root { --action-space: 0px; }
  body { background: #FFFFFF; color: #000000; }
  .site-header { position: static; box-shadow: none; }
  .header-actions,
  .site-nav,
  .action-bar,
  .toast,
  .hero-actions,
  .tabs,
  .card-actions,
  .enquiry,
  .map-card,
  .barrage,
  .svc-index,
  .checklist-actions { display: none !important; }
  .tab-panel[hidden] { display: block !important; }
  .hero-panel,
  .desk,
  .ledger-card,
  .clients-card,
  .about-facts,
  .biz-card { box-shadow: none; break-inside: avoid; }
  .section { padding-block: 24px; }
}
