:root {
  --bg: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-alt: #e8eef5;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: #ccfbf1;
  --accent-ring: rgba(13, 148, 136, 0.25);
  --border: #e2e8f0;
  --header-h: 4.5rem;
  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --container: min(1140px, 100% - 2rem);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #14b8a6, #0d9488);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 4px 12px var(--accent-ring);
}

.logo-text {
  display: none;
}

@media (min-width: 520px) {
  .logo-text {
    display: inline;
  }
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.site-nav a.is-active {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--accent);
  margin-left: 0.35rem;
}

.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  position: absolute;
  left: 50%;
  width: 1.125rem;
  height: 2px;
  margin-left: -0.5625rem;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, top 0.2s, opacity 0.2s;
}

.nav-toggle-bar {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }
}

/* ——— Typography helpers ——— */
.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: 999px;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.7;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.4rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-ring);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-ring);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg-elevated);
}

.btn-ghost:hover {
  border-color: #cbd5e1;
  background: #fff;
  color: var(--text);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Hero ——— */
.page-hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(20, 184, 166, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(14, 165, 233, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero.compact {
  padding-bottom: 2.5rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  max-width: 16em;
}

.two-col-hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .two-col-hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual-caption {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.trust-strip {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-pill {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.trust-pill span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

/* ——— Sections ——— */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3vw, 2.125rem);
}

.section-head p:last-child {
  margin: 0;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  padding: 1.5rem 1.6rem 1.65rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.card-icon-wrap {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.card-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.card-link:hover {
  color: var(--accent-hover);
}

/* ——— Approach / steps ——— */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.about-grid > div > h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.about-grid > div > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.steps li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.step-num {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ——— CTA band ——— */
.cta-band {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
  max-width: 32rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-band .btn-primary:hover {
  background: #f0fdfa;
  color: #115e59;
}

/* ——— Contact ——— */
.section-contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-grid h1,
.contact-grid h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
}

.contact-grid p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}

.contact-email:hover {
  background: #99f6e4;
}

.contact-address {
  margin: 0;
  padding: 1.5rem 1.65rem;
  font-style: normal;
  line-height: 1.75;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text-muted);
}

.contact-address strong {
  color: var(--text);
}

.privacy-inline {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ——— Facts / legal content ——— */
.facts {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) 1fr;
  gap: 0.5rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.facts > div:last-child {
  border-bottom: none;
}

.facts dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.facts dd {
  margin: 0;
  font-size: 0.9375rem;
  word-break: break-word;
}

.legal-page {
  padding: 2rem 0 4rem;
}

.legal-prose {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-prose h1 {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  margin: 0 0 0.35rem;
}

.legal-prose .updated {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.75rem;
}

.legal-prose h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--text-muted);
}

.service-detail {
  padding: 1.65rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  margin-bottom: 1.15rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-detail h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.service-detail p,
.service-detail ul {
  color: var(--text-muted);
}

.scope-notice {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.scope-notice strong {
  color: var(--text);
}

/* ——— Footer ——— */
.site-footer {
  padding: 2.5rem 0 2rem;
  background: #0f172a;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand-block strong {
  display: block;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.footer-brand-block p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col-title {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-bottom p {
  margin: 0.35rem 0 0;
}

/* ——— Reveal (only when JS enabled) ——— */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
