/* ===== Material You Design Tokens ===== */
:root {
  --md-background: #FFFBFE;
  --md-on-background: #1C1B1F;
  --md-primary: #6750A4;
  --md-on-primary: #FFFFFF;
  --md-secondary-container: #E8DEF8;
  --md-on-secondary-container: #1D192B;
  --md-tertiary: #7D5260;
  --md-surface-container: #F3EDF7;
  --md-surface-container-low: #E7E0EC;
  --md-outline: #79747E;
  --md-on-surface-variant: #49454F;
  --md-easing: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--md-background);
  color: var(--md-on-background);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 251, 254, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(121, 116, 126, 0.15);
  transition: all 300ms var(--md-easing);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--md-on-background);
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--md-primary);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--md-on-surface-variant);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--md-on-surface-variant);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  transition: all 200ms var(--md-easing);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  background: rgba(103, 80, 164, 0.1);
  color: var(--md-primary);
}

.nav-cta {
  background: var(--md-primary) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
}

.nav-cta:hover {
  background: rgba(103, 80, 164, 0.9) !important;
  box-shadow: 0 2px 8px rgba(103, 80, 164, 0.35) !important;
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 200ms var(--md-easing);
  border: none;
  background: transparent;
}

.hamburger:hover {
  background: rgba(103, 80, 164, 0.1);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--md-on-background);
  border-radius: 9999px;
  transition: all 300ms var(--md-easing);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--md-background);
  border-top: 1px solid rgba(121, 116, 126, 0.15);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--md-on-surface-variant);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: all 200ms var(--md-easing);
}

.mobile-nav a:hover {
  background: rgba(103, 80, 164, 0.1);
  color: var(--md-primary);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 300ms var(--md-easing);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.95);
}

.btn-filled {
  background: var(--md-primary);
  color: var(--md-on-primary);
}

.btn-filled:hover {
  background: rgba(103, 80, 164, 0.9);
  box-shadow: 0 4px 16px rgba(103, 80, 164, 0.4);
}

.btn-tonal {
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
}

.btn-tonal:hover {
  background: rgba(232, 222, 248, 0.85);
  box-shadow: 0 2px 8px rgba(103, 80, 164, 0.2);
}

.btn-outlined {
  background: transparent;
  color: var(--md-primary);
  border: 1px solid var(--md-outline);
}

.btn-outlined:hover {
  background: rgba(103, 80, 164, 0.05);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.9);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

/* ===== Section Layout ===== */
.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: var(--md-secondary-container);
  color: var(--md-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--md-on-background);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--md-on-surface-variant);
  max-width: 600px;
  line-height: 1.6;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
  background: var(--md-background);
}

.hero-blur-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(103, 80, 164, 0.18);
  border-radius: 9999px;
  filter: blur(80px);
  top: -100px;
  right: -150px;
  pointer-events: none;
  z-index: 0;
}

.hero-blur-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(125, 82, 96, 0.14);
  border-radius: 9999px;
  filter: blur(80px);
  bottom: 50px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}

.hero-blur-3 {
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(232, 222, 248, 0.5);
  border-radius: 9999px;
  filter: blur(60px);
  top: 60%;
  left: 30%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--md-secondary-container);
  color: var(--md-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--md-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--md-on-background);
}

.hero-title .highlight {
  color: var(--md-primary);
}

.hero-subtitle {
  color: var(--md-tertiary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  margin: -0.25rem 0 1rem;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--md-on-surface-variant);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--md-surface-container);
  border-radius: 20px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 300ms var(--md-easing);
}

.stat-card:hover {
  box-shadow: 0 4px 16px rgba(103, 80, 164, 0.15);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--md-primary);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--md-on-surface-variant);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Hero Image */
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-bg {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at center, rgba(103, 80, 164, 0.15) 0%, transparent 70%);
  border-radius: 9999px;
}

.hero-image-container {
  position: relative;
  width: 380px;
  height: 460px;
  border-radius: 48px;
  overflow: hidden;
  background: var(--md-surface-container);
  box-shadow: 0 8px 40px rgba(103, 80, 164, 0.2), 0 2px 8px rgba(0,0,0,0.08);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-ca-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: var(--md-primary);
  color: #fff;
  border-radius: 24px;
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 16px rgba(103, 80, 164, 0.4);
}

.hero-ca-badge img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem;
  filter: brightness(0) invert(1);
}

/* ===== About Section ===== */
.about-section {
  background: var(--md-surface-container);
  position: relative;
  overflow: hidden;
}

.about-blur {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(103, 80, 164, 0.12);
  border-radius: 9999px;
  filter: blur(80px);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  max-width: 360px;
  height: 420px;
  border-radius: 40px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 8px 32px rgba(103, 80, 164, 0.18);
  display: block;
  margin: 0 auto;
}

.about-accent {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--md-primary);
  color: #fff;
  border-radius: 20px;
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(103, 80, 164, 0.4);
}

.about-qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.qual-chip {
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
}

.mission-card {
  background: var(--md-background);
  border-radius: 24px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--md-primary);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mission-card h3 {
  color: var(--md-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.mission-card p {
  color: var(--md-on-surface-variant);
  line-height: 1.65;
  font-size: 0.84rem;
}

.vision-card { border-left-color: var(--md-tertiary); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--md-surface-container);
  border-radius: 24px;
  padding: 2rem;
  transition: all 300ms var(--md-easing);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--md-primary), var(--md-tertiary));
  opacity: 0;
  transition: opacity 300ms var(--md-easing);
  border-radius: 24px 24px 0 0;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 32px rgba(103, 80, 164, 0.18);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--md-secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 300ms var(--md-easing);
}

.service-card:hover .service-icon {
  background: var(--md-primary);
  transform: scale(1.1);
}

.service-card:hover .service-icon span {
  filter: brightness(0) invert(1);
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--md-on-background);
}

.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service-items li {
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-items li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--md-primary);
  flex-shrink: 0;
}

/* ===== Insights & Official Portals ===== */
.section-intro {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.section-intro .section-subtitle { margin: 0 auto; }

.insights-section { background: var(--md-surface-container); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.insights-month-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(121, 116, 126, 0.18);
}

.insights-month-heading div { display: flex; align-items: center; gap: 0.65rem; }
.insights-month-heading strong { color: var(--md-on-background); font-size: 0.95rem; }
.insights-month-heading > span { color: var(--md-on-surface-variant); font-size: 0.75rem; }
.insights-month-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--md-primary); box-shadow: 0 0 0 5px rgba(103, 80, 164, 0.1); }

.insight-card {
  min-width: 0;
  min-height: 100%;
  padding: 0;
  border: 1px solid rgba(121, 116, 126, 0.12);
  border-radius: 24px;
  overflow: hidden;
  color: var(--md-on-background);
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 22px rgba(67, 49, 105, 0.06);
  transition: transform 220ms var(--md-easing), box-shadow 220ms var(--md-easing), border-color 220ms var(--md-easing);
}

.insight-card:hover { transform: translateY(-5px); border-color: rgba(103, 80, 164, 0.3); box-shadow: 0 14px 34px rgba(67, 49, 105, 0.13); }
.insight-card:focus-visible { outline: 3px solid rgba(103, 80, 164, 0.38); outline-offset: 3px; }

.insight-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--md-secondary-container);
}

.insight-media::after { content: ''; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(20, 30, 55, 0.2)); pointer-events: none; }
.insight-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 400ms var(--md-easing); }
.insight-card:hover .insight-media img { transform: scale(1.025); }

.insight-type-badge {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  color: var(--md-primary);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 12px rgba(20, 30, 55, 0.12);
  font-size: 0.66rem;
  font-weight: 700;
}

.insight-card-body { display: flex; min-height: 215px; flex-direction: column; padding: 1.25rem; }
.insight-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; color: var(--md-on-surface-variant); font-size: 0.66rem; font-weight: 600; }
.insight-meta > span { color: var(--md-primary); text-transform: uppercase; letter-spacing: 0.05em; }
.insight-title { display: block; margin-top: 0.85rem; color: var(--md-on-background); font-size: 1rem; line-height: 1.4; }
.insight-excerpt {
  display: block;
  margin-top: 0.55rem;
  color: var(--md-on-surface-variant);
  font-size: 0.78rem;
  line-height: 1.55;
}

.insight-cta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 1rem; color: var(--md-primary); font-size: 0.75rem; font-weight: 700; }
.insights-note { margin-top: 1.25rem; color: var(--md-on-surface-variant); text-align: center; font-size: 0.75rem; }

.insight-dialog {
  width: min(1120px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  color: var(--md-on-background);
  background: #fff;
  box-shadow: 0 24px 80px rgba(24, 18, 38, 0.28);
}

.insight-dialog::backdrop { background: rgba(29, 25, 35, 0.72); backdrop-filter: blur(5px); }
.insight-dialog-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); min-height: min(760px, calc(100dvh - 2rem)); }
.insight-dialog-close { position: absolute; z-index: 3; top: 0.85rem; right: 0.85rem; width: 42px; height: 42px; border: 1px solid rgba(121, 116, 126, 0.2); border-radius: 50%; color: var(--md-on-background); background: rgba(255, 255, 255, 0.94); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 3px 12px rgba(20, 30, 55, 0.12); }
.insight-dialog-close:focus-visible { outline: 3px solid rgba(103, 80, 164, 0.35); outline-offset: 2px; }
.insight-dialog-viewer { display: grid; place-items: center; min-height: 560px; overflow: auto; background: #E9E7EC; }
.insight-dialog-viewer img { display: block; width: 100%; height: 100%; max-height: calc(100dvh - 2rem); object-fit: contain; }
.insight-dialog-viewer iframe { width: 100%; height: 100%; min-height: 720px; border: 0; background: #fff; }
.insight-dialog-viewer [hidden] { display: none; }
.insight-dialog-content { display: flex; flex-direction: column; align-self: stretch; padding: clamp(2rem, 4vw, 3rem); overflow-y: auto; }
.insight-dialog-meta { padding-right: 2.5rem; color: var(--md-primary); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.insight-dialog-content h2 { margin-top: 0.8rem; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.25; }
.insight-dialog-description { margin-top: 1.25rem; color: var(--md-on-surface-variant); font-size: 0.84rem; line-height: 1.7; }
.insight-dialog-description p + p, .insight-dialog-description ul + p { margin-top: 0.9rem; }
.insight-dialog-description ul { display: grid; gap: 0.45rem; margin: 0.85rem 0 0 1.1rem; }
.insight-dialog-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; padding-top: 1.5rem; }
.insight-dialog-actions .btn { min-height: 44px; padding: 0.7rem 1rem; font-size: 0.76rem; }
body.insight-modal-open { overflow: hidden; }

.portals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.portal-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid rgba(121, 116, 126, 0.17);
  border-radius: 20px;
  color: var(--md-on-background);
  background: #fff;
  text-decoration: none;
  transition: transform 200ms var(--md-easing), box-shadow 200ms var(--md-easing), border-color 200ms var(--md-easing);
}

.portal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 80, 164, 0.35);
  box-shadow: 0 8px 24px rgba(67, 49, 105, 0.1);
}

.portal-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--md-primary);
  background: var(--md-secondary-container);
  font-size: 0.72rem;
  font-weight: 800;
}

.portal-card strong, .portal-card small { display: block; }
.portal-card strong { font-size: 0.84rem; line-height: 1.3; }
.portal-card small { color: var(--md-on-surface-variant); font-size: 0.68rem; margin-top: 0.2rem; }
.external-arrow { color: var(--md-primary); font-size: 1rem; }

/* ===== Interactive Free Utilities ===== */
.tools-section {
  background: linear-gradient(145deg, #F8F3FC 0%, var(--md-background) 60%, #F2ECFA 100%);
  position: relative;
  overflow: hidden;
}

.tools-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(103, 80, 164, 0.12);
  filter: blur(90px);
  top: -220px;
  right: -120px;
  pointer-events: none;
}

.tools-container { position: relative; z-index: 1; }

.tools-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.tools-update-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(103, 80, 164, 0.2);
  border-radius: 999px;
  color: var(--md-primary);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
}

.tools-update-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E7D32;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}

.tool-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2.5rem 0 1.25rem;
  padding: 0.4rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 18px;
  background: var(--md-surface-container-low);
}

.tool-tab {
  border: 0;
  background: transparent;
  color: var(--md-on-surface-variant);
  font: 600 0.875rem 'Roboto', sans-serif;
  padding: 0.75rem 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 200ms var(--md-easing);
  white-space: nowrap;
}

.tool-tab:hover { color: var(--md-primary); }
.tool-tab.active {
  background: #fff;
  color: var(--md-primary);
  box-shadow: 0 2px 10px rgba(55, 43, 82, 0.1);
}

.tool-panel[hidden] { display: none; }

.calculator-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  background: #fff;
  border: 1px solid rgba(121, 116, 126, 0.14);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 12px 42px rgba(67, 49, 105, 0.1);
}

.calculator-form, .lookup-card { padding: clamp(1.4rem, 4vw, 2.25rem); }

.tool-card-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.tool-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--md-secondary-container);
  color: var(--md-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.tool-icon svg { width: 23px; height: 23px; }

.tool-card-heading h3 { font-size: 1.15rem; font-weight: 700; }
.tool-card-heading p { color: var(--md-on-surface-variant); font-size: 0.82rem; margin-top: 0.15rem; }

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.3rem;
  border: 1px solid rgba(121, 116, 126, 0.25);
  border-radius: 15px;
  margin-bottom: 1.4rem;
  min-width: 0;
}

.segmented-control label { position: relative; cursor: pointer; }
.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control span {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 11px;
  text-align: center;
  color: var(--md-on-surface-variant);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 180ms var(--md-easing);
}
.segmented-control input:checked + span { background: var(--md-secondary-container); color: var(--md-primary); }
.segmented-control input:focus-visible + span { outline: 2px solid var(--md-primary); outline-offset: 2px; }

.tool-fields { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.tool-fields.two-column { grid-template-columns: 1fr 1fr; }
.tool-field label { display: block; font-size: 0.78rem; color: var(--md-on-surface-variant); font-weight: 600; margin-bottom: 0.45rem; }
.tool-field input, .tool-field select, .search-box input {
  width: 100%;
  border: 1px solid rgba(121, 116, 126, 0.28);
  border-radius: 13px;
  background: #fff;
  color: var(--md-on-background);
  font: 500 0.92rem 'Roboto', sans-serif;
  outline: none;
}
.tool-field input, .tool-field select { min-height: 50px; padding: 0.75rem 0.9rem; }
.tool-field input:focus, .tool-field select:focus, .search-box:focus-within { border-color: var(--md-primary); box-shadow: 0 0 0 3px rgba(103, 80, 164, 0.1); }

.input-with-prefix { position: relative; }
.input-with-prefix span { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--md-primary); font-weight: 700; }
.input-with-prefix input { padding-left: 2rem; }
.transaction-control { margin-bottom: 0; }

.calculator-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  color: #fff;
  background: linear-gradient(145deg, #6750A4, #523D8B);
}
.result-kicker { text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.7); font-size: 0.68rem; font-weight: 700; }
.result-total { margin: 0.6rem 0 1.5rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.18); }
.result-total span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.72); }
.result-total strong { display: block; font-size: clamp(1.7rem, 4vw, 2.25rem); margin-top: 0.15rem; letter-spacing: -0.02em; }
.result-breakdown { display: grid; gap: 0.75rem; }
.result-breakdown div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.86rem; }
.result-breakdown dt { color: rgba(255,255,255,0.72); }
.result-breakdown dt span { font-size: 0.7rem; }
.result-breakdown dd { font-weight: 600; }
.result-breakdown .tax-total { margin-top: 0.25rem; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.18); }
.copy-result { margin-top: 1.5rem; padding: 0.7rem 1rem; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; color: #fff; background: rgba(255,255,255,0.12); font: 600 0.8rem 'Roboto', sans-serif; cursor: pointer; }
.copy-result:hover { background: rgba(255,255,255,0.2); }

.lookup-card { background: #fff; border: 1px solid rgba(121, 116, 126, 0.14); border-radius: 30px; box-shadow: 0 12px 42px rgba(67, 49, 105, 0.1); }
.search-box { min-height: 54px; display: flex; align-items: center; gap: 0.7rem; padding: 0 1rem; border: 1px solid rgba(121, 116, 126, 0.28); border-radius: 15px; transition: all 180ms var(--md-easing); }
.search-box svg { width: 20px; color: var(--md-outline); flex: 0 0 auto; }
.search-box input { min-width: 0; border: 0; padding: 0.85rem 0; box-shadow: none !important; }
.lookup-meta { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0.2rem; color: var(--md-on-surface-variant); font-size: 0.72rem; }
.lookup-meta a { color: var(--md-primary); font-weight: 600; text-decoration: none; }
.lookup-meta a:hover { text-decoration: underline; }
.lookup-results { display: grid; gap: 0.65rem; max-height: 390px; overflow-y: auto; padding-right: 0.25rem; }
.lookup-row { display: grid; grid-template-columns: 95px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; background: var(--md-surface-container); border-radius: 15px; }
.lookup-code { font-weight: 700; color: var(--md-primary); }
.lookup-description strong { display: block; font-size: 0.88rem; }
.lookup-description span { display: block; margin-top: 0.18rem; color: var(--md-on-surface-variant); font-size: 0.72rem; }
.rate-badge { min-width: 48px; text-align: center; border-radius: 999px; padding: 0.35rem 0.65rem; color: var(--md-primary); background: var(--md-secondary-container); font-size: 0.75rem; font-weight: 700; }
.empty-result { text-align: center; padding: 2rem 1rem; color: var(--md-on-surface-variant); }
.mapper-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.mapper-swap { flex: 0 0 auto; border: 1px solid rgba(103,80,164,0.24); border-radius: 999px; color: var(--md-primary); background: var(--md-secondary-container); padding: 0.65rem 0.9rem; font: 700 0.75rem 'Roboto', sans-serif; cursor: pointer; }
.mapper-results { margin-top: 1rem; }
.mapper-results .lookup-row { grid-template-columns: 110px minmax(0, 1fr) 110px; }
.mapper-code { display: flex; flex-direction: column; font-weight: 700; color: var(--md-primary); line-height: 1.2; }
.mapper-code small { color: var(--md-on-surface-variant); font-size: 0.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.mapper-code:last-child { text-align: right; }
.mapper-code:last-child { align-items: flex-end; }

.mapper-direction {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 580px;
  margin: 1.5rem 0;
  padding: 0.35rem;
  border-radius: 16px;
  background: var(--md-surface-container);
}

.mapper-direction button {
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--md-on-surface-variant);
  font: 600 0.82rem 'Roboto', sans-serif;
  cursor: pointer;
  transition: all 180ms var(--md-easing);
}

.mapper-direction button:hover { color: var(--md-primary); }
.mapper-direction button.active {
  background: #fff;
  color: var(--md-primary);
  box-shadow: 0 3px 12px rgba(67, 49, 105, 0.1);
}

.mapper-direction button:focus-visible,
.mapper-examples button:focus-visible,
.mapper-search-wrap button:focus-visible { outline: 2px solid var(--md-primary); outline-offset: 2px; }

.mapper-search-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--md-on-background);
  font-size: 0.8rem;
  font-weight: 600;
}

.mapper-search-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 56px;
  padding: 0 0.85rem 0 1rem;
  border: 1px solid rgba(121, 116, 126, 0.28);
  border-radius: 15px;
  background: #fff;
  transition: all 180ms var(--md-easing);
}

.mapper-search-wrap:focus-within { border-color: var(--md-primary); box-shadow: 0 0 0 3px rgba(103, 80, 164, 0.1); }
.mapper-search-wrap svg { width: 20px; margin-right: 0.7rem; color: var(--md-outline); }
.mapper-search-wrap input { min-width: 0; padding: 0.9rem 0; border: 0; outline: 0; color: var(--md-on-background); background: transparent; font: 500 0.92rem 'Roboto', sans-serif; }
.mapper-search-wrap button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--md-primary); background: var(--md-secondary-container); font-size: 1.25rem; cursor: pointer; }
.mapper-search-wrap button[hidden] { display: none; }

.mapper-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.8rem 0 1.25rem; }
.mapper-examples span { color: var(--md-on-surface-variant); font-size: 0.72rem; }
.mapper-examples button { padding: 0.35rem 0.65rem; border: 1px solid rgba(103, 80, 164, 0.18); border-radius: 999px; color: var(--md-primary); background: #fff; font: 600 0.72rem 'Roboto', sans-serif; cursor: pointer; }
.mapper-examples button:hover { background: var(--md-secondary-container); }

.mapper-status { margin-bottom: 0.75rem; color: var(--md-on-surface-variant); font-size: 0.75rem; }
.mapper-status strong { color: var(--md-primary); }
.mapper-table-wrap { max-height: 430px; overflow: auto; border: 1px solid rgba(121, 116, 126, 0.16); border-radius: 16px; }
.mapper-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.8rem; }
.mapper-table th,
.mapper-table td { padding: 0.9rem 1rem; border-bottom: 1px solid rgba(121, 116, 126, 0.12); text-align: left; vertical-align: top; }
.mapper-table th { position: sticky; top: 0; z-index: 1; color: var(--md-primary); background: var(--md-secondary-container); font-weight: 700; }
.mapper-table th:first-child,
.mapper-table th:last-child,
.mapper-table td:first-child,
.mapper-table td:last-child { width: 18%; font-weight: 700; color: var(--md-primary); }
.mapper-table tbody tr:last-child td { border-bottom: 0; }
.mapper-table tbody tr:hover:not(:only-child) { background: rgba(103, 80, 164, 0.035); }
.mapper-heading { color: var(--md-on-background); font-weight: 600; line-height: 1.45; }
.mapper-heading small { display: block; margin-top: 0.25rem; color: var(--md-on-surface-variant); font-weight: 400; }
.mapper-empty { padding: 2.5rem 1rem !important; text-align: center !important; color: var(--md-on-surface-variant) !important; font-weight: 400 !important; }
.mapper-empty strong,
.mapper-empty span { display: block; }
.mapper-empty strong { margin-bottom: 0.35rem; color: var(--md-on-background); font-size: 0.92rem; }
.mapper-empty span { font-size: 0.76rem; }
.mapper-actions { display: flex; align-items: center; gap: 0.65rem; margin-top: 1rem; }
.mapper-actions[hidden] { display: none; }
.mapper-actions .btn { min-height: 42px; padding: 0.65rem 1rem; font-size: 0.76rem; }
.mapper-actions a { margin-left: auto; color: var(--md-primary); font-size: 0.75rem; font-weight: 600; text-decoration: none; }
.mapper-actions a:hover { text-decoration: underline; }
.tools-disclaimer { max-width: 920px; margin: 1.2rem auto 0; color: var(--md-on-surface-variant); text-align: center; font-size: 0.72rem; line-height: 1.55; }
.tools-disclaimer a { color: var(--md-primary); font-weight: 600; }
.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; }

.schedule-fields {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.schedule-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.schedule-summary span {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: var(--md-on-surface-variant);
  background: var(--md-surface-container);
  font-size: 0.72rem;
}

.schedule-summary strong {
  display: block;
  color: var(--md-primary);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.schedule-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: -0.25rem 0 1rem;
}

.schedule-download {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
}

.official-tool-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  border: 1px solid rgba(103, 80, 164, 0.16);
  border-radius: 18px;
  background: var(--md-surface-container);
}

.official-tool-access strong { display: block; color: var(--md-primary); margin-bottom: 0.35rem; }
.official-tool-access p { color: var(--md-on-surface-variant); font-size: 0.82rem; line-height: 1.55; }
.official-tool-access .btn { flex: 0 0 auto; text-align: center; }

.hsn-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin-bottom: 1.5rem;
  padding: 0.35rem;
  border-radius: 16px;
  background: var(--md-surface-container);
}

.hsn-filters button {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 12px;
  color: var(--md-on-surface-variant);
  background: transparent;
  font: 600 0.8rem 'Roboto', sans-serif;
  cursor: pointer;
  transition: all 180ms var(--md-easing);
}

.hsn-filters button:hover { color: var(--md-primary); }
.hsn-filters button.active { color: var(--md-primary); background: #fff; box-shadow: 0 3px 12px rgba(67, 49, 105, 0.1); }
.hsn-filters button:focus-visible { outline: 2px solid var(--md-primary); outline-offset: 2px; }

.hsn-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.hsn-search-row .btn { min-width: 112px; min-height: 56px; }
.hsn-results { display: grid; gap: 0.65rem; max-height: 440px; overflow-y: auto; padding-right: 0.25rem; }

.hsn-result-row {
  display: grid;
  grid-template-columns: 108px minmax(240px, 1fr) 82px 112px auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--md-surface-container);
  transition: border-color 180ms var(--md-easing), background 180ms var(--md-easing);
}

.hsn-result-row:hover { border-color: rgba(103, 80, 164, 0.16); background: #fff; }
.hsn-code-block { display: flex; flex-direction: column; gap: 0.15rem; }
.hsn-code-block span { color: var(--md-on-surface-variant); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; }
.hsn-code-block strong { color: var(--md-primary); font-size: 0.9rem; overflow-wrap: anywhere; }
.hsn-result-row p { color: var(--md-on-background); font-size: 0.8rem; font-weight: 500; line-height: 1.45; }
.hsn-result-row > a { color: var(--md-primary); font-size: 0.72rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hsn-result-row > a:hover { text-decoration: underline; }
.hsn-tax-detail { display: flex; flex-direction: column; gap: 0.18rem; }
.hsn-tax-detail span { color: var(--md-on-surface-variant); font-size: 0.62rem; font-weight: 600; }
.hsn-tax-detail strong { color: var(--md-on-background); font-size: 0.8rem; white-space: nowrap; }
.hsn-rate-warning { color: #8A4F00; font-weight: 600; }

.hsn-empty { padding: 2.5rem 1rem; border: 1px dashed rgba(121, 116, 126, 0.24); border-radius: 16px; text-align: center; }
.hsn-empty strong, .hsn-empty span { display: block; }
.hsn-empty strong { color: var(--md-on-background); font-size: 0.92rem; }
.hsn-empty span { margin-top: 0.35rem; color: var(--md-on-surface-variant); font-size: 0.76rem; }

.hsn-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.hsn-actions[hidden] { display: none; }
.hsn-actions .btn { min-height: 42px; padding: 0.65rem 1rem; font-size: 0.76rem; }
.hsn-actions a { color: var(--md-primary); font-size: 0.75rem; font-weight: 600; text-decoration: none; }
.hsn-actions a:first-of-type { margin-left: auto; }
.hsn-actions a:hover { text-decoration: underline; }

.hsn-rate-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--md-primary);
  border-radius: 5px 14px 14px 5px;
  background: var(--md-secondary-container);
}

.hsn-rate-note strong { color: var(--md-primary); font-size: 0.78rem; white-space: nowrap; }
.hsn-rate-note p { color: var(--md-on-surface-variant); font-size: 0.74rem; line-height: 1.55; }

.schedule-table-wrap {
  max-height: 420px;
  overflow: auto;
  border: 1px solid rgba(121, 116, 126, 0.16);
  border-radius: 16px;
}

.schedule-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(121, 116, 126, 0.12);
  text-align: right;
  white-space: nowrap;
}

.schedule-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--md-primary);
  background: var(--md-secondary-container);
  font-weight: 700;
}

.schedule-table th:nth-child(-n+2),
.schedule-table td:nth-child(-n+2) { text-align: left; }
.schedule-table tbody tr:last-child td { border-bottom: 0; }
.schedule-table tbody tr:hover { background: rgba(103, 80, 164, 0.04); }

/* ===== Why Choose Us ===== */
.why-section {
  background: var(--md-surface-container);
  position: relative;
  overflow: hidden;
}

.why-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(125, 82, 96, 0.1);
  border-radius: 9999px;
  filter: blur(80px);
  bottom: -150px;
  left: -150px;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--md-background);
  border-radius: 24px;
  padding: 2rem;
  transition: all 300ms var(--md-easing);
}

.why-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(103, 80, 164, 0.15);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.why-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--md-on-background);
}

.why-desc {
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  line-height: 1.6;
}

/* ===== Industries ===== */
.industries-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.industry-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid rgba(103, 80, 164, 0.1);
  border-radius: 20px;
  background: #fff;
  color: var(--md-on-surface-variant);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 6px 24px rgba(67, 49, 105, 0.06);
  transition: transform 200ms var(--md-easing), border-color 200ms var(--md-easing), box-shadow 200ms var(--md-easing);
  cursor: default;
}

.industry-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--md-secondary-container);
  color: var(--md-primary);
  transition: color 200ms var(--md-easing), background 200ms var(--md-easing);
}

.industry-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-card:hover {
  border-color: rgba(103, 80, 164, 0.25);
  color: var(--md-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(67, 49, 105, 0.12);
}

.industry-card:hover .industry-icon { background: var(--md-primary); color: #fff; }

/* ===== Testimonials ===== */
.testimonials-section {
  background: var(--md-surface-container);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--md-background);
  border-radius: 24px;
  padding: 2rem;
  transition: all 300ms var(--md-easing);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(103, 80, 164, 0.15);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--md-secondary-container);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--md-on-surface-variant);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--md-secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--md-primary);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--md-on-background);
}

.author-biz {
  font-size: 0.8125rem;
  color: var(--md-on-surface-variant);
}

.stars {
  color: #F59E0B;
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--md-surface-container);
  border-radius: 24px;
  overflow: hidden;
  transition: all 300ms var(--md-easing);
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(103, 80, 164, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--md-on-background);
  text-align: left;
  transition: color 200ms var(--md-easing);
}

.faq-question:hover {
  color: var(--md-primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--md-secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--md-easing), background 300ms var(--md-easing);
  font-size: 0.75rem;
  color: var(--md-primary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--md-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--md-easing), padding 300ms var(--md-easing);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--md-on-surface-variant);
  line-height: 1.65;
}

/* ===== Contact Section ===== */
.contact-section {
  background: var(--md-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-blur-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 9999px;
  filter: blur(60px);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.contact-blur-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 9999px;
  filter: blur(60px);
  bottom: -80px;
  left: -80px;
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-info p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.contact-item-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.12);
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px 12px 0 0;
  padding: 0.875rem 1rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  color: #fff;
  outline: none;
  transition: border-color 200ms var(--md-easing), background 200ms var(--md-easing);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: #fff;
  background: rgba(255,255,255,0.18);
}

.form-select option {
  color: var(--md-on-background);
  background: var(--md-background);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: #fff;
  color: var(--md-primary);
  font-weight: 700;
  font-size: 1rem;
}

.form-submit:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ===== Footer ===== */
.footer {
  background: #1C1B1F;
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 36px;
  width: 44px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}

.footer-brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: all 200ms var(--md-easing);
}

.social-btn:hover {
  background: var(--md-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 200ms var(--md-easing);
}

.footer-links a:hover {
  color: var(--md-secondary-container);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.625rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 200;
  transition: all 300ms var(--md-easing);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--md-easing), transform 600ms var(--md-easing);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 600ms var(--md-easing);
}

.fade-in.visible {
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .industries-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 900px) {
  .industries-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 3rem 1.5rem;
  }
  .hero-desc {
    margin: 0 auto 2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-image-wrap {
    order: -1;
  }
  .hero-image-container {
    width: 280px;
    height: 340px;
    border-radius: 36px;
  }
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .about-accent {
    right: 50%;
    transform: translateX(50%);
    bottom: -20px;
  }
  .about-qualifications {
    justify-content: center;
  }
  .purpose-grid { text-align: left; }
  .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-dialog-shell { grid-template-columns: 1fr; }
  .insight-dialog-viewer { min-height: 52dvh; height: 52dvh; }
  .insight-dialog-viewer iframe { min-height: 52dvh; }
  .insight-dialog-content { min-height: 360px; }
  .portals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .calculator-card { grid-template-columns: 1fr; }
  .tools-heading { align-items: flex-start; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 1.25rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-image-container {
    width: 240px;
    height: 290px;
    border-radius: 28px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .industries-wrap { grid-template-columns: 1fr; }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .tools-heading { flex-direction: column; gap: 1rem; }
  .tool-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 15px; }
  .tool-tab { min-width: 0; padding: 0.7rem 0.45rem; font-size: 0.75rem; white-space: normal; line-height: 1.25; }
  .tool-fields.two-column { grid-template-columns: 1fr; }
  .segmented-control.transaction-control { grid-template-columns: 1fr; }
  .lookup-meta { flex-direction: column; gap: 0.25rem; }
  .lookup-row { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 0.65rem; padding: 0.85rem; }
  .mapper-topline { flex-direction: column; }
  .mapper-results .lookup-row { grid-template-columns: 1fr 1fr; }
  .mapper-results .lookup-description { grid-column: 1 / -1; grid-row: 2; }
  .mapper-results .mapper-code:first-child { grid-column: 1; grid-row: 1; }
  .mapper-results .mapper-code:last-child { grid-column: 2; grid-row: 1; }
  .purpose-grid,
  .insights-grid,
  .portals-grid,
  .schedule-fields,
  .schedule-summary { grid-template-columns: 1fr; }
  .insight-card { min-height: 0; }
  .insights-month-heading { margin-top: 2rem; }
  .insight-card-body { min-height: 200px; }
  .insight-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 20px; overflow-y: auto; }
  .insight-dialog-shell { display: block; min-height: 0; }
  .insight-dialog-viewer { min-height: 48dvh; height: 48dvh; }
  .insight-dialog-viewer iframe { min-height: 48dvh; }
  .insight-dialog-content { min-height: 0; padding: 1.4rem; }
  .insight-dialog-content h2 { padding-right: 2rem; }
  .insight-dialog-actions { margin-top: 1.25rem; padding-top: 0; }
  .insight-dialog-actions .btn { width: 100%; }
  .portal-card { min-height: 82px; }
  .whatsapp-float { display: none; }
  .schedule-actions { flex-direction: column; }
  .schedule-actions .btn { width: 100%; }
  .official-tool-access { flex-direction: column; align-items: stretch; gap: 1rem; }
  .official-tool-access .btn { width: 100%; }
  .hsn-result-row { grid-template-columns: 1fr 1fr auto; align-items: start; }
  .hsn-result-row .hsn-code-block { grid-column: 1; grid-row: 1; }
  .hsn-result-row > p { grid-column: 1 / -1; grid-row: 2; }
  .hsn-result-row .hsn-tax-rate { grid-column: 1; grid-row: 3; }
  .hsn-result-row .hsn-effective-date { grid-column: 2; grid-row: 3; }
  .hsn-result-row > a { grid-column: 3; grid-row: 1; }
  .hsn-actions { align-items: stretch; flex-direction: column; }
  .hsn-actions .btn { width: 100%; }
  .hsn-actions a, .hsn-actions a:first-of-type { margin: 0; text-align: center; }
  .mapper-direction { grid-template-columns: 1fr; }
  .mapper-actions { align-items: stretch; flex-direction: column; }
  .mapper-actions .btn { width: 100%; }
  .mapper-actions a { margin: 0.35rem 0 0; text-align: center; }
}

@media (max-width: 420px) {
  .header-inner { padding: 0 1rem; }
  .logo { gap: 0.55rem; min-width: 0; }
  .logo img { width: 34px; height: 34px; flex: 0 0 34px; }
  .logo-text { font-size: 0.82rem; }
  .logo-sub { font-size: 0.6rem; }
  .hamburger { flex: 0 0 auto; }
  .hero-inner { padding-left: 1rem; padding-right: 1rem; }
  .hero-actions .btn { width: 100%; }
  .calculator-form, .lookup-card, .calculator-result { padding: 1.2rem; }
  .segmented-control span { padding-left: 0.45rem; padding-right: 0.45rem; font-size: 0.74rem; }
  .hsn-filters { grid-template-columns: 1fr; }
  .hsn-search-row { grid-template-columns: 1fr; }
  .hsn-search-row .btn { width: 100%; }
  .hsn-result-row { grid-template-columns: 1fr 1fr auto; gap: 0.75rem 0.65rem; }
  .hsn-result-row p { grid-column: 1 / -1; grid-row: 2; }
  .hsn-result-row > a { grid-column: 3; grid-row: 1; }
  .hsn-rate-note { grid-template-columns: 1fr; }
  .lookup-row { grid-template-columns: 1fr auto; }
  .lookup-row .lookup-description { grid-column: 1 / -1; grid-row: 2; }
  .lookup-row .lookup-code { grid-column: 1; grid-row: 1; }
  .lookup-row .rate-badge { grid-column: 2; grid-row: 1; }
  .mapper-results .lookup-row { grid-template-columns: 1fr 1fr; }
  .mapper-results .lookup-description { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up,
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

@media print {
  body.print-schedule > *:not(.schedule-print-view) { display: none !important; }
  .schedule-print-view { display: block !important; color: #1f1f1f; background: #fff; font-family: Arial, sans-serif; }
  .schedule-print-header { margin-bottom: 6mm; text-align: center; }
  .schedule-print-header p { margin: 0 0 1.5mm; color: #6750a4; font-size: 10pt; font-weight: 700; }
  .schedule-print-header h1 { margin: 0; font-size: 18pt; }
  .schedule-print-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; margin: 0 0 6mm; }
  .schedule-print-summary div { padding: 3mm; border: 1px solid #d9d5e2; border-radius: 2mm; }
  .schedule-print-summary dt { color: #666; font-size: 8pt; }
  .schedule-print-summary dd { margin: 1mm 0 0; color: #2d2150; font-size: 10pt; font-weight: 700; }
  .schedule-print-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 8.5pt; }
  .schedule-print-table thead { display: table-header-group; }
  .schedule-print-table tr { break-inside: avoid; page-break-inside: avoid; }
  .schedule-print-table th,
  .schedule-print-table td { padding: 2.1mm 2.5mm; border: 1px solid #d9d5e2; text-align: right; white-space: nowrap; }
  .schedule-print-table th { color: #2d2150; background: #eee9f7 !important; font-weight: 700; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .schedule-print-table th:nth-child(-n+2),
  .schedule-print-table td:nth-child(-n+2) { text-align: left; }
  .schedule-print-table th:first-child,
  .schedule-print-table td:first-child { width: 7%; }
  .schedule-print-table th:nth-child(2),
  .schedule-print-table td:nth-child(2) { width: 14%; }

  body.print-mapper * { visibility: hidden !important; }
  body.print-mapper #act-mapper,
  body.print-mapper #act-mapper * { visibility: visible !important; }
  body.print-mapper #act-mapper { display: block !important; position: absolute; inset: 0; width: 100%; background: #fff; }
  body.print-mapper #act-mapper .lookup-card { padding: 0; border: 0; box-shadow: none; }
  body.print-mapper .mapper-direction,
  body.print-mapper .mapper-search-label,
  body.print-mapper .mapper-search-wrap,
  body.print-mapper .mapper-examples,
  body.print-mapper .mapper-actions { display: none !important; }
  body.print-mapper .mapper-table-wrap { max-height: none; overflow: visible; border: 0; }
  body.print-mapper .mapper-table { min-width: 0; font-size: 9pt; }
  body.print-mapper .mapper-table th { position: static; }
  @page { size: A4 landscape; margin: 12mm; }
}

.schedule-print-view { display: none; }
