:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #eef2f4;
  --text: #111827;
  --muted: #5b6678;
  --line: #d9e0e7;
  --accent: #c61f28;
  --accent-dark: #93171e;
  --accent-soft: #fbe7ea;
  --support: #17594a;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  --radius: 8px;
  --container: 1180px;
  --font-body: "Work Sans", "Noto Sans Devanagari", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

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

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--support);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2,
.section h3,
.section h4,
.hero h1,
.page-hero h1,
.post-hero h1 {
  margin: 0 0 16px;
  line-height: 1.08;
}

.section p,
.hero p,
.page-hero p,
.post-hero p {
  margin: 0;
  color: var(--muted);
}

.section-lead {
  max-width: 72ch;
  margin-bottom: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 246, 248, 0.92);
  border-bottom: 1px solid rgba(217, 224, 231, 0.8);
}

.site-header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-link img {
  width: 58px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.language-switcher label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher select {
  min-width: 88px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid,
.page-hero-grid,
.contact-grid,
.split-grid,
.blog-layout {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(38px, 7vw, 64px);
}

.hero-copy p {
  max-width: 62ch;
  font-size: 18px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stat-grid,
.service-grid,
.value-grid,
.team-grid,
.contact-card-grid,
.blog-grid,
.process-grid,
.teaser-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.stat-card,
.service-card,
.value-card,
.team-card,
.contact-card,
.blog-card,
.process-card,
.teaser-card,
.faq-card,
.story-card,
.support-panel,
.post-body,
.post-sidebar,
.contact-form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card,
.value-card,
.process-card,
.contact-card,
.teaser-card {
  padding: 22px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 800;
}

.hero-media,
.page-hero-media,
.story-media,
.service-card-media,
.blog-card-media,
.post-cover,
.team-card-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce5ea;
}

.hero-media img,
.page-hero-media img,
.story-media img,
.service-card-media img,
.blog-card-media img,
.post-cover img,
.team-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  min-height: 520px;
}

.hero-media img {
  min-height: 520px;
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: start;
}

.story-card {
  padding: 28px;
}

.story-card p + p {
  margin-top: 16px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
}

.service-card-media {
  aspect-ratio: 16 / 11;
}

.service-card-body {
  padding: 22px;
}

.service-card-body ul,
.post-body ul {
  margin: 16px 0 0 18px;
  padding: 0;
  color: var(--muted);
}

.process-grid,
.value-grid,
.contact-card-grid,
.teaser-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card-media {
  aspect-ratio: 1 / 1;
}

.team-card-body {
  padding: 18px;
}

.team-role {
  color: var(--support);
  font-weight: 700;
}

.page-hero,
.post-hero {
  padding: 42px 0 24px;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  align-items: center;
}

.page-hero-copy h1,
.post-hero-copy h1 {
  font-size: clamp(34px, 6vw, 52px);
}

.page-hero-copy p,
.post-hero-copy p {
  max-width: 64ch;
  font-size: 18px;
}

.page-hero-media,
.post-cover {
  aspect-ratio: 5 / 4;
}

.support-panel {
  padding: 28px;
}

.support-panel p + .action-row,
.story-card p + .action-row {
  margin-top: 22px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: start;
}

.contact-form-shell {
  padding: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note,
.micro-copy,
.blog-meta,
.post-meta {
  color: var(--muted);
  font-size: 14px;
}

.blog-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  align-items: start;
}

.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card {
  overflow: hidden;
}

.blog-card-media {
  aspect-ratio: 16 / 10;
}

.blog-card-body {
  padding: 20px;
}

.blog-list-header {
  margin: 34px 0 18px;
}

.keyword-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.keyword-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.faq-card {
  padding: 24px;
}

.faq-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.action-row > * {
  flex: 0 0 auto;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
}

.post-body,
.post-sidebar {
  padding: 28px;
}

.post-body p + p {
  margin-top: 16px;
}

.post-sidebar ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.post-sidebar li + li {
  margin-top: 12px;
}

.footer {
  padding: 56px 0 28px;
  background: #10151d;
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 240px));
  gap: 24px;
}

.footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.surface-note {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--muted);
}

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

[dir="rtl"] body {
  text-align: right;
}

[dir="rtl"] .brand-link,
[dir="rtl"] .site-header-row,
[dir="rtl"] .header-actions,
[dir="rtl"] .action-row,
[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-list,
[dir="rtl"] .site-nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .service-card-body ul,
[dir="rtl"] .post-body ul {
  margin: 16px 18px 0 0;
}

[dir="rtl"] .footer-grid,
[dir="rtl"] .hero-grid,
[dir="rtl"] .page-hero-grid,
[dir="rtl"] .contact-grid,
[dir="rtl"] .split-grid,
[dir="rtl"] .blog-layout,
[dir="rtl"] .post-layout {
  direction: rtl;
}

[dir="rtl"] .field input,
[dir="rtl"] .field textarea,
[dir="rtl"] .field select {
  text-align: right;
}

@media (max-width: 1099.98px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 18px;
    flex-direction: column;
    max-height: calc(100vh - 110px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .language-switcher,
  .header-actions .btn {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .site-header-row {
    min-height: 78px;
    gap: 16px;
  }

  .brand-link {
    max-width: calc(100% - 64px);
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-subtitle {
    white-space: normal;
    line-height: 1.3;
  }

  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .contact-grid,
  .blog-layout,
  .post-layout,
  .footer-grid,
  .service-grid,
  .team-grid,
  .blog-grid,
  .value-grid,
  .process-grid,
  .contact-card-grid,
  .teaser-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .support-panel,
  .story-card,
  .post-body,
  .post-sidebar,
  .contact-form-shell {
    padding: 24px;
  }
}

@media (max-width: 767.98px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 56px 0;
  }

  .site-header-row {
    min-height: 74px;
  }

  .brand-link img {
    width: 46px;
  }

  .brand-name {
    font-size: 16px;
    line-height: 1.15;
  }

  .brand-subtitle {
    font-size: 10px;
    line-height: 1.35;
  }

  .hero-copy h1,
  .page-hero-copy h1,
  .post-hero-copy h1 {
    font-size: clamp(28px, 8.8vw, 40px);
  }

  .hero-copy p,
  .page-hero-copy p,
  .post-hero-copy p {
    font-size: 16px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .contact-grid,
  .blog-layout,
  .post-layout {
    gap: 20px;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  .form-grid-two {
    grid-template-columns: 1fr;
  }

  .action-row > * {
    flex: 1 1 100%;
  }

  .keyword-pill {
    width: 100%;
    justify-content: center;
    min-height: auto;
    padding: 10px 14px;
    text-align: center;
  }

  .faq-card h3 {
    font-size: 18px;
  }

  .service-card-body,
  .support-panel,
  .story-card,
  .post-body,
  .post-sidebar,
  .contact-form-shell {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
