/* Shared styles for the service pages (accounts-outsourcing, nri-taxation, setting-up-in-india).
   Same design tokens as the home page. */
:root {
  --bg: #f6f4ee; --bg-2: #efece3; --surface: #ffffff; --ink: #0d1114; --ink-2: #2c333a; --muted: #5f6770;
  --line: rgba(13, 17, 20, .10); --line-strong: rgba(13, 17, 20, .18);
  --accent: #0b6e57; --accent-ink: #ffffff; --accent-soft: #dfeee8; --gold: #b0822a;
  --glass: rgba(255, 255, 255, .68);
  --shadow: 0 1px 2px rgba(13,17,20,.04), 0 12px 32px -14px rgba(13,17,20,.14);
  --shadow-lg: 0 30px 70px -30px rgba(13,17,20,.28);
  --blob-opacity: .5; --wa: #1a8f4c;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --r-lg: 28px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090c10; --bg-2: #0e1217; --surface: #12171d; --ink: #eef1f4; --ink-2: #cbd2da; --muted: #8f99a5;
    --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
    --accent: #49d6ad; --accent-ink: #03140f; --accent-soft: rgba(73,214,173,.12); --gold: #e2b55c;
    --glass: rgba(18,23,29,.66); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -14px rgba(0,0,0,.6);
    --shadow-lg: 0 30px 70px -30px rgba(0,0,0,.8); --blob-opacity: .26; --wa: #3cc779; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090c10; --bg-2: #0e1217; --surface: #12171d; --ink: #eef1f4; --ink-2: #cbd2da; --muted: #8f99a5;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --accent: #49d6ad; --accent-ink: #03140f; --accent-soft: rgba(73,214,173,.12); --gold: #e2b55c;
  --glass: rgba(18,23,29,.66); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 70px -30px rgba(0,0,0,.8); --blob-opacity: .26; --wa: #3cc779; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
svg { display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.label { font: 600 11.5px/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn-ghost { background: var(--glass); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }

/* Nav */
.nav-shell { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 10px 0 22px; border-radius: 999px; border: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s; }
.nav.scrolled { background: var(--glass); border-color: var(--line); box-shadow: var(--shadow); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { text-decoration: none; color: var(--ink); line-height: 1.05; margin-right: auto; }
.brand b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -.01em; }
.brand small { display: block; font: 600 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.links-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.links-nav a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.links-nav a:hover { background: var(--line); color: var(--ink); }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* Page hero */
.phero { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 84px; border-bottom: 1px solid var(--line); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 75% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 80% 80% at 75% 20%, #000 0%, transparent 75%); }
.phero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; top: -220px; right: -120px; border-radius: 50%; background: var(--accent); filter: blur(90px); opacity: var(--blob-opacity); }
.back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color .2s; }
.back:hover { color: var(--accent); }
.back svg { width: 14px; height: 14px; transform: rotate(180deg); }
.phero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7vw, 92px); line-height: 1; letter-spacing: -.03em; margin: 22px 0 24px; max-width: 900px; }
.phero h1 em { font-style: italic; color: var(--accent); }
.phero .lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 720px; }
.phero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Sections */
section { padding: 96px 0; }
section.flush { padding-top: 0; }
section.tint { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eyebrow::after { content: ""; width: 48px; height: 1px; background: var(--line-strong); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 40px; }
h2 em { font-style: italic; color: var(--accent); }

/* Service cards */
.subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sub { padding: 24px 26px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .25s; }
.sub:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.sub .n { font: 600 12px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--accent); margin-bottom: 16px; }
.sub h3 { font-size: 19.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 8px; }
.sub p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Questions */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 36px; gap: 24px; align-items: center; padding: 24px 0; font-size: clamp(18px, 1.6vw, 20.5px); font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); position: relative; transition: transform .35s, background-color .25s, border-color .25s, color .25s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s; }
.faq details[open] summary .pm { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: rotate(180deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { color: var(--muted); padding: 0 60px 28px 0; font-size: 16.5px; line-height: 1.65; }

/* Related services */
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 15.5px; font-weight: 500; transition: border-color .2s, color .2s, transform .25s; }
.related a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.related svg { width: 14px; height: 14px; }

/* Contact */
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--line-strong); }
.contact h2 { font-size: clamp(46px, 7vw, 92px); margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; text-align: left; }
.ctile { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .25s; }
.ctile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.ctile .ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ctile .ico svg { width: 22px; height: 22px; }
.ctile .ico.wa { background: var(--wa); color: #fff; }
.ctile b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; overflow-wrap: anywhere; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 44px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; font-size: 14.5px; color: var(--muted); }
.foot b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); display: block; line-height: 1.1; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--accent); }
.legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); max-width: 760px; }

@media (max-width: 1080px) {
  .subs { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { height: 58px; padding: 0 8px 0 18px; }
  .links-nav { display: none; }
  .phero { padding: 124px 0 60px; }
  .phero::after { width: 320px; height: 320px; top: -160px; right: -150px; }
  section { padding: 68px 0; }
  h2 { margin-bottom: 28px; }
  .subs { grid-template-columns: 1fr; }
  .faq summary { padding: 20px 0; gap: 16px; }
  .faq details p { padding-right: 0; }
  .ctile { padding: 18px; }
  .ctile b { font-size: 17.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
