/* =====================================================================
   Y.K. Consultancy — Light Modern Stylesheet
   Palette: deep navy + sage green + burnished gold on warm cream
   ===================================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:root {
  --cream: #fafaf7;
  --cream-2: #f3f1ea;
  --ink: #1a1f2e;
  --ink-2: #2a3142;
  --ink-soft: rgba(26, 31, 46, 0.7);
  --ink-mute: rgba(26, 31, 46, 0.55);
  --ink-faint: rgba(26, 31, 46, 0.08);
  --sage: #3a8679;
  --sage-deep: #2a6055;
  --gold: #c19a5b;
  --gold-soft: #d9b676;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(26, 31, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 31, 46, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 31, 46, 0.10);
  --shadow-cta: 0 8px 28px rgba(26, 31, 46, 0.22);
  --container: 1240px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.eyebrow {
  font-family: var(--mono); font-size: 11px;
  color: var(--sage); letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--sage); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  width: 0%; z-index: 100;
  box-shadow: 0 0 12px rgba(58, 134, 121, 0.4);
  pointer-events: none;
}

/* ---------- Animated background mesh ---------- */
.mesh-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.mesh-bg::before, .mesh-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
}
.mesh-bg::before {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(58, 134, 121, 0.10), transparent 60%);
  top: -300px; left: -200px;
  animation: meshA 18s ease-in-out infinite;
}
.mesh-bg::after {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(193, 154, 91, 0.12), transparent 60%);
  bottom: -300px; right: -200px;
  animation: meshB 22s ease-in-out infinite;
}
@keyframes meshA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(120px, 80px); } }
@keyframes meshB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-100px, -60px); } }

/* ---------- Top announcement ticker ---------- */
.announce-bar {
  background: var(--ink); color: var(--cream);
  padding: 9px 0; overflow: hidden; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  position: relative; z-index: 5;
}
.announce-track { display: flex; gap: 40px; animation: marquee 32s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.announce-item { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.announce-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.announce-item.t { color: #78dbe2; }
.announce-item.t .dot { background: #78dbe2; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-faint);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { background: rgba(250, 250, 247, 0.95); box-shadow: var(--shadow-sm); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--ink), var(--sage));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(58, 134, 121, 0.25);
  transition: transform 0.3s ease;
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-text { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; line-height: 1.1; }
.logo-sub { font-size: 9px; color: var(--ink-mute); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; gap: 28px; align-items: center; font-size: 13px; color: var(--ink-soft); font-weight: 500; list-style: none; margin: 0; padding: 0; }
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--cream);
  padding: 10px 20px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta); }

.menu-toggle {
  display: none; background: none; border: none; padding: 8px;
  width: 40px; height: 40px; border-radius: 10px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 60px 0 80px; z-index: 2;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(58, 134, 121, 0.2);
  padding: 7px 16px 7px 8px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.15em; color: var(--sage-deep); text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.hero-pill-badge {
  background: var(--sage); color: var(--cream);
  padding: 3px 10px; border-radius: var(--r-pill); font-size: 9px;
  letter-spacing: 0.1em; font-weight: 600;
}

.hero-h1 {
  font-size: clamp(40px, 5.5vw, 72px); line-height: 1.0;
  letter-spacing: -0.03em; margin: 0 0 24px;
}
.hero-h1 .accent { font-style: italic; color: var(--gold); display: inline-block; }
.word-rotator {
  display: inline-block; position: relative;
  height: 1em; vertical-align: bottom; min-width: 4ch;
}
.word-rotator > span {
  position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden;
  font-style: italic; color: var(--gold); white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
  transform: translateY(20px);
}
.word-rotator > span.is-active {
  opacity: 1; transform: translateY(0); visibility: visible;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0s;
}

.hero-sub {
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  max-width: 500px; margin: 0 0 32px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: flex; gap: 12px; align-items: center; margin-bottom: 36px; flex-wrap: wrap; }
.btn-primary {
  background: var(--ink); color: var(--cream);
  padding: 15px 26px; border-radius: var(--r-pill); border: none;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-cta);
  position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { left: -100%; } 50% { left: 100%; } }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-size: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ink-faint);
  color: var(--ink); padding: 15px 22px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.95); border-color: rgba(26, 31, 46, 0.16); }
.btn-secondary svg { width: 16px; height: 16px; }

.hero-trust { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ink-faint); }
.avatars { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2.5px solid var(--cream); margin-left: -10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--cream);
  background: linear-gradient(135deg, var(--sage), var(--gold));
}
.avatar:first-child { margin-left: 0; }
.avatar-2 { background: linear-gradient(135deg, var(--gold), var(--ink)); }
.avatar-3 { background: linear-gradient(135deg, var(--ink), var(--sage)); }
.avatar-4 { background: linear-gradient(135deg, var(--sage-deep), var(--gold)); }
.trust-text { font-size: 13px; color: var(--ink-soft); }
.trust-text strong { color: var(--ink); font-weight: 600; }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; margin-bottom: 2px; }

/* ---------- Live demo card (hero right) ---------- */
.demo {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-xl); padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), 0 8px 24px rgba(26, 31, 46, 0.04);
}
.demo::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(135deg, rgba(58, 134, 121, 0.3), rgba(193, 154, 91, 0.3), rgba(58, 134, 121, 0.3));
  border-radius: var(--r-xl); z-index: -1;
  animation: borderShimmer 4s ease-in-out infinite;
}
@keyframes borderShimmer { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }

.demo-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.demo-title {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.demo-title::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 10px var(--sage); animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } }
.demo-tag {
  font-size: 10px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(58, 134, 121, 0.1); color: var(--sage-deep);
  font-family: var(--mono); letter-spacing: 0.1em;
}
.demo-question {
  font-family: var(--serif); font-size: 22px;
  margin: 12px 0 24px; line-height: 1.3; letter-spacing: -0.01em;
}
.demo-question em { font-style: italic; color: var(--gold); }

.business-tabs {
  display: flex; gap: 4px; padding: 4px;
  background: rgba(26, 31, 46, 0.04); border-radius: var(--r-pill);
  margin-bottom: 24px; border: 1px solid rgba(26, 31, 46, 0.05);
}
.bt {
  flex: 1; padding: 10px 12px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 500; cursor: pointer; text-align: center;
  color: var(--ink-mute); transition: all 0.3s ease; border: none; background: transparent;
}
.bt.is-active {
  background: #ffffff; color: var(--ink);
  box-shadow: 0 2px 8px rgba(26, 31, 46, 0.08); font-weight: 600;
}
.bt:hover:not(.is-active) { color: var(--ink); }

.input-row { margin-bottom: 22px; }
.input-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; color: var(--ink-mute); margin-bottom: 10px; font-weight: 500;
}
.input-value {
  font-family: var(--serif); font-size: 26px;
  color: var(--ink); font-style: italic; letter-spacing: -0.01em;
}
.slider-wrap { position: relative; height: 24px; }
.slider-wrap input[type='range'] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 3; margin: 0;
}
.slider-track {
  position: absolute; top: 50%; left: 0; right: 0; height: 6px;
  background: rgba(26, 31, 46, 0.08); border-radius: var(--r-pill); transform: translateY(-50%);
}
.slider-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--ink), var(--sage), var(--gold));
  border-radius: var(--r-pill);
  box-shadow: 0 0 14px rgba(58, 134, 121, 0.4);
}
.slider-thumb {
  position: absolute; top: 50%; width: 22px; height: 22px;
  border-radius: 50%; background: #ffffff; border: 2px solid var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(26, 31, 46, 0.2), 0 0 0 4px rgba(58, 134, 121, 0.15);
  pointer-events: none;
}
.slider-marks {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-family: var(--mono); font-size: 10px; color: rgba(26, 31, 46, 0.4);
}

.result-panel {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: var(--cream);
  border-radius: var(--r-lg); padding: 24px;
  margin-top: 6px; position: relative; overflow: hidden;
}
.result-panel::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(193, 154, 91, 0.18), transparent 60%);
  pointer-events: none;
}
.result-row { position: relative; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.result-row:last-child { margin-bottom: 0; }
.result-label {
  font-size: 11px; color: rgba(250, 250, 247, 0.55);
  letter-spacing: 0.15em; text-transform: uppercase;
  font-family: var(--mono); font-weight: 500;
}
.result-value { font-family: var(--serif); font-size: 18px; }
.result-divider { height: 1px; background: rgba(250, 250, 247, 0.1); margin: 16px 0; position: relative; }
.saving-row { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; }
.saving-label {
  font-size: 11px; letter-spacing: 0.15em; color: var(--gold);
  text-transform: uppercase; font-family: var(--mono); font-weight: 600;
}
.saving-value {
  font-family: var(--serif); font-size: 38px;
  color: var(--gold); font-style: italic; letter-spacing: -0.02em; line-height: 1;
}

.demo-cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding: 14px 18px;
  background: rgba(193, 154, 91, 0.1);
  border: 1px solid rgba(193, 154, 91, 0.25);
  border-radius: var(--r-md); cursor: pointer; text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}
.demo-cta:hover { transform: translateX(4px); background: rgba(193, 154, 91, 0.18); }
.demo-cta-text { font-size: 12px; color: var(--ink); font-weight: 500; }
.demo-cta-text strong { color: var(--gold); font-weight: 700; }
.demo-cta-arrow {
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 12px;
}

.floating-badge {
  position: absolute; right: 8px; top: -16px;
  background: #ffffff; border: 1px solid var(--ink-faint);
  border-radius: var(--r-pill); padding: 8px 14px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md);
  font-size: 11px; font-weight: 500;
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 4;
}
@keyframes floatBadge { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-6px) rotate(-1deg); } }
.floating-badge .check {
  width: 18px; height: 18px; border-radius: 50%; background: var(--sage);
  color: var(--cream); display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.floating-badge2 {
  position: absolute; left: -20px; bottom: 80px;
  background: var(--ink); color: var(--cream);
  border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(26, 31, 46, 0.20);
  font-size: 11px; font-weight: 500;
  animation: floatBadge2 5s ease-in-out infinite;
  z-index: 4;
}
@keyframes floatBadge2 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
.floating-badge2 .num {
  font-family: var(--serif); font-size: 18px; color: var(--gold);
  font-style: italic; display: block; margin-bottom: 2px;
}
.floating-badge2 .lbl { font-size: 9px; color: rgba(250, 250, 247, 0.6); letter-spacing: 0.15em; }

/* ---------- Section base ---------- */
.section { padding: 100px 0; position: relative; z-index: 2; }
.section.alt { background: rgba(255, 255, 255, 0.5); border-top: 1px solid var(--ink-faint); border-bottom: 1px solid var(--ink-faint); }
.section-head { margin-bottom: 56px; max-width: 700px; }
.section-h2 {
  font-size: clamp(32px, 4vw, 48px); margin: 14px 0 14px; line-height: 1.05;
}
.section-h2 em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 540px; margin: 0;
}

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal='left'] { transform: translateX(-30px); }
[data-reveal='left'].is-visible { transform: translateX(0); }
[data-reveal='right'] { transform: translateX(40px); }
[data-reveal='right'].is-visible { transform: translateX(0); }
[data-reveal='scale'] { transform: scale(0.95); }
[data-reveal='scale'].is-visible { transform: scale(1); }
[data-stagger] > * { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.0s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ---------- Stats grid ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg); padding: 28px;
  backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-num { font-family: var(--serif); font-size: 48px; line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-num em { font-style: italic; color: var(--gold); font-size: 32px; }
.stat-num .prefix { color: var(--sage); font-size: 32px; font-style: italic; }
.stat-label {
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-mute); letter-spacing: 0.15em; text-transform: uppercase;
}
.stat-spark { position: absolute; bottom: 0; right: 0; opacity: 0.2; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.service-card {
  background: #ffffff;
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg); padding: 28px;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
}
.service-card .service-link { margin-top: auto; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(58, 134, 121, 0.25); }
.service-card.featured {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: var(--cream); border: none;
  box-shadow: 0 16px 40px rgba(26, 31, 46, 0.18);
}
.service-card.featured .service-title { color: var(--cream); }
.service-card.featured .service-desc { color: rgba(250, 250, 247, 0.7); }
.service-card.featured .service-link { color: var(--gold); }
.service-card.featured .service-icon {
  background: linear-gradient(135deg, rgba(193, 154, 91, 0.2), rgba(193, 154, 91, 0.05));
  border-color: rgba(193, 154, 91, 0.3);
}

.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(58, 134, 121, 0.1), rgba(193, 154, 91, 0.1));
  border: 1px solid rgba(58, 134, 121, 0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-title { font-size: 19px; font-weight: 600; margin: 0 0 8px; color: var(--ink); letter-spacing: -0.01em; font-family: 'Inter', sans-serif; }
.service-desc { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.service-link {
  font-family: var(--mono); font-size: 11px;
  color: var(--sage); letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; display: inline-flex; align-items: center; gap: 4px;
}

/* ---------- Calculator section ---------- */
.calc-section {
  padding: 100px 0; position: relative; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(58, 134, 121, 0.04));
}
.calc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.calc-left .section-h2 { font-size: clamp(28px, 3.5vw, 40px); }

.regime-tabs {
  display: flex; gap: 6px; padding: 4px; margin: 28px 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--r-pill); border: 1px solid var(--ink-faint);
  width: fit-content; backdrop-filter: blur(10px);
}
.regime-tab {
  padding: 10px 22px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
  color: var(--ink-mute); border: none; background: transparent;
  transition: all 0.3s ease;
}
.regime-tab.is-active { background: var(--ink); color: var(--cream); box-shadow: 0 4px 12px rgba(26, 31, 46, 0.15); }

.calc-input-l { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; }
.calc-amount {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 60px);
  line-height: 1; color: var(--ink); margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.calc-amount em { font-style: italic; color: var(--gold); font-size: 0.7em; }

.calc-deduction { margin-top: 24px; }
.calc-deduction-l { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
.calc-deduction-input {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--ink-faint); border-radius: var(--r-md);
  background: #ffffff; font-family: var(--mono); font-size: 14px; color: var(--ink);
  transition: border-color 0.2s ease;
}
.calc-deduction-input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(58, 134, 121, 0.1); }
.calc-deduction-help { font-size: 11px; color: var(--ink-mute); margin-top: 6px; }

.calc-result {
  background: #ffffff;
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-xl); padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.calc-result::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(193, 154, 91, 0.08), transparent 60%);
  pointer-events: none;
}
.calc-tax-l { font-size: 10px; color: var(--ink-mute); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; position: relative; }
.calc-tax-amt {
  font-family: var(--serif); font-size: clamp(48px, 5vw, 64px);
  line-height: 1; color: var(--ink); margin-bottom: 14px;
  letter-spacing: -0.02em; position: relative;
}
.calc-tax-amt em { font-style: italic; color: var(--gold); font-size: 0.7em; }
.calc-tax-rate {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(58, 134, 121, 0.1);
  border: 1px solid rgba(58, 134, 121, 0.2);
  font-size: 11px; color: var(--sage-deep); font-family: var(--mono); font-weight: 500;
}
.calc-tax-rate .pdot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 8px var(--sage); animation: pulse 1.5s infinite;
}

.slabs { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ink-faint); position: relative; }
.slabs-l { font-size: 10px; color: var(--ink-mute); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--mono); font-weight: 500; }

/* "See all calculators" CTA on the homepage */
.calc-more { margin-top: 40px; text-align: center; }
.calc-more-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ink-faint);
  backdrop-filter: blur(10px);
  font-size: 14px; color: var(--ink-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.calc-more-link:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 134, 121, 0.3);
  background: rgba(255, 255, 255, 0.95);
}
.calc-more-link strong { color: var(--gold); font-weight: 700; margin-left: 4px; }
@media (max-width: 560px) { .calc-more-link { font-size: 12px; padding: 12px 18px; } }

.slab {
  position: relative; padding: 12px 0;
  border-bottom: 1px dashed rgba(26, 31, 46, 0.06);
}
.slab:last-child { border-bottom: none; }
.slab-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.slab-label { font-family: var(--mono); color: var(--ink-soft); font-size: 11px; }
.slab-value { font-weight: 600; font-size: 14px; font-family: var(--serif); color: var(--ink); }
.slab.cess .slab-label, .slab.cess .slab-value { color: var(--gold); }
.slab-bar { height: 4px; background: rgba(26, 31, 46, 0.05); border-radius: var(--r-pill); overflow: hidden; }
.slab-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--sage), var(--gold)); border-radius: var(--r-pill); transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.slab.is-zero .slab-fill { background: rgba(26, 31, 46, 0.15); }
.slab.is-revealed .slab-fill { transition-delay: 0.2s; }

/* ---------- Process timeline ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 38px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-faint) 10%, var(--ink-faint) 90%, transparent);
  z-index: 0;
}
.step-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg); padding: 28px;
  position: relative; z-index: 1;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.step-title { font-size: 16px; font-weight: 600; margin: 0 0 8px; font-family: 'Inter', sans-serif; }
.step-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ---------- Testimonial ---------- */
.testimonial { padding: 100px 0; text-align: center; position: relative; z-index: 2; }
.quote-mark { font-family: var(--serif); font-size: 100px; line-height: 0.4; color: var(--gold); opacity: 0.5; margin-bottom: 24px; }
.quote-text { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 36px); line-height: 1.35; max-width: 720px; margin: 0 auto 28px; color: var(--ink); letter-spacing: -0.01em; }
.quote-text em { font-style: italic; color: var(--sage); }
.quote-author { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase; }
.quote-author .qav { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--gold)); display: flex; align-items: center; justify-content: center; color: var(--cream); font-weight: 600; font-size: 12px; }

/* ---------- Contact ---------- */
.contact-section { padding: 100px 0; position: relative; z-index: 2; background: linear-gradient(180deg, transparent, rgba(26, 31, 46, 0.03)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info-card { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: var(--cream); border-radius: var(--r-xl); padding: 40px; position: relative; overflow: hidden; }
.contact-info-card::before { content: ''; position: absolute; top: -50%; right: -30%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(193, 154, 91, 0.15), transparent 60%); pointer-events: none; }
.contact-info-card .section-h2 { color: var(--cream); font-size: 36px; }
.contact-info-card .section-h2 em { color: var(--gold); }
.contact-detail { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(250, 250, 247, 0.1); position: relative; }
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(193, 154, 91, 0.15); border: 1px solid rgba(193, 154, 91, 0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--gold); }
.contact-detail-text .l { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250, 250, 247, 0.5); font-family: var(--mono); }
.contact-detail-text .v { font-size: 14px; font-weight: 500; color: var(--cream); margin-top: 2px; }

.contact-form { background: #ffffff; border: 1px solid var(--ink-faint); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-lg); }
.form-row { margin-bottom: 18px; }
.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; font-weight: 500; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--ink-faint); border-radius: var(--r-md);
  background: var(--cream-2); font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--ink); transition: border-color 0.2s ease, background 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--sage); background: #ffffff; box-shadow: 0 0 0 3px rgba(58, 134, 121, 0.1); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; background: var(--ink); color: var(--cream); padding: 16px; border-radius: var(--r-pill); border: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--shadow-cta); transition: transform 0.2s ease; margin-top: 8px; }
.form-submit:hover { transform: translateY(-2px); }
.honeypot { position: absolute; left: -9999px; }

.form-alert { padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 18px; font-size: 13px; }
.form-alert.ok { background: rgba(58, 134, 121, 0.1); color: var(--sage-deep); border: 1px solid rgba(58, 134, 121, 0.2); }
.form-alert.err { background: rgba(193, 50, 50, 0.08); color: #993535; border: 1px solid rgba(193, 50, 50, 0.18); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 60px 0 30px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--mono); margin: 0 0 16px; color: var(--gold); font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 6px 0; font-size: 13px; color: rgba(250, 250, 247, 0.7); }
.footer-col a:hover { color: var(--gold); }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(250, 250, 247, 0.7); margin: 16px 0 0; max-width: 320px; line-height: 1.5; }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(250, 250, 247, 0.1); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(250, 250, 247, 0.5); }
.footer-live { display: inline-flex; align-items: center; gap: 6px; }
.footer-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse 1.5s infinite; }

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #ffffff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); transition: transform 0.3s ease; cursor: pointer; }
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 28px; height: 28px; }
.fab-whatsapp::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 40px 0 60px; }
  .calc-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--ink-faint); box-shadow: var(--shadow-md); }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: block; }
  .floating-badge, .floating-badge2 { display: none; }
  .demo { padding: 22px; }
  .section { padding: 70px 0; }
  .calc-section, .testimonial, .contact-section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px; }
  .stat-num { font-size: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row.row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .business-tabs { flex-wrap: wrap; }
  .bt { flex: 1 1 45%; padding: 8px 6px; font-size: 10px; }
  .hero-h1 { font-size: 38px; }
  .word-rotator { min-width: 5ch; }
  .saving-value { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .mesh-bg { display: none; }
}

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