/* eDocs — site stylesheet (edocs.getcomply.in) */

:root {
  --ink: #141414;
  --ink-hover: #333;
  --paper: #ffffff;
  --muted-bg: oklch(98% 0.002 90);
  --hero-bg: oklch(97% 0.002 90);
  --border: oklch(90% 0.003 90);
  --band-border: oklch(91% 0.003 90);
  --border-soft: oklch(88% 0.003 90);
  --border-strong: oklch(80% 0.003 90);
  --field-border: oklch(85% 0.003 90);
  --text-lead: oklch(42% 0.005 90);
  --text-muted: oklch(45% 0.005 90);
  --text-soft: oklch(48% 0.004 90);
  --text-crumb: oklch(52% 0.004 90);
  --text-on-dark: oklch(78% 0.003 90);
  --footer-muted: oklch(72% 0.003 90);
  --footer-label: oklch(65% 0.003 90);
  --footer-copy: oklch(60% 0.003 90);
  --footer-rule: oklch(30% 0.003 90);
  --icon-bg: oklch(94% 0.002 90);
  --stripe-a: oklch(96% 0.002 90);
  --stripe-b: oklch(93% 0.003 90);
  --error: #c0392b;
  --lead-border: oklch(90% 0.003 90);
  --font-display: "Lora", serif;
  --font-ui: "Work Sans", sans-serif;
  --container: 1280px;
  --container-narrow: 900px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius-sm: 3px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 14px;
  --header-h: 72px;
  --shadow-soft: 0 8px 24px -12px oklch(0% 0 0 / 10%);
  --shadow-form: 0 20px 48px -16px oklch(0% 0 0 / 18%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

.edocs-page {
  min-height: 100vh;
  background: var(--paper);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.eyebrow--bold {
  font-weight: 700;
  color: var(--ink);
}

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 43.75rem;
}

.h1--hero {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  max-width: none;
  margin-bottom: 1.5rem;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  color: var(--ink);
  margin: 0;
}

.h2--sm {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
}

.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--ink);
  margin: 0 0 0.625rem;
}

.lede {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-lead);
  max-width: 40rem;
  margin: 0;
}

.lede--lg {
  font-size: 1.0625rem;
}

.text-muted {
  color: var(--text-muted);
}

.text-soft {
  color: var(--text-soft);
}

.rule {
  width: 3.5rem;
  height: 3px;
  background: var(--ink);
  margin: 0.875rem 0 1.375rem;
  border: 0;
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

.rule--sm {
  width: 2.25rem;
  margin-bottom: 1.125rem;
}

.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--text-crumb);
  margin: 0 0 1.125rem;
}

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

.breadcrumb a:hover {
  color: var(--ink);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head .eyebrow {
  margin-bottom: 0.875rem;
}

/* ---------- Layout ---------- */

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section--tight-top {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: 1.5rem;
}

.section--tight-bottom {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.section--band {
  background: var(--muted-bg);
  border-top: 1px solid var(--band-border);
  border-bottom: 1px solid var(--band-border);
}

.section--band-soft {
  background: var(--muted-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--cta-wrap {
  padding: 0 0 clamp(3rem, 8vw, 5rem);
}

.section--cta-wrap.section--spaced {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--hero {
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.grid--service-hero {
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.grid--split {
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.grid--split-center {
  align-items: center;
}

.grid--includes {
  gap: 2.5rem 1.5rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.cluster--gap-lg {
  gap: 1.5rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 0.9375rem 1.75rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

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

.btn--secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--ink);
}

.btn--on-dark {
  background: var(--paper);
  color: var(--ink);
}

.btn--outline-on-dark {
  background: transparent;
  color: var(--paper);
  border-color: oklch(50% 0.003 90);
}

.btn--outline-on-dark:hover {
  border-color: var(--paper);
}

.btn--rounded {
  border-radius: var(--radius);
}

.btn--block {
  width: 100%;
}

.link-underline {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.9375rem 0.25rem;
}

.link-arrow {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.link-arrow--lg {
  font-size: 0.90625rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 0.75rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  min-height: 4.75rem;
  position: relative;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  flex-shrink: 0;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.site-header__logo img {
  height: 2.75rem;
  width: auto;
}

.site-header__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  padding-left: 0.125rem;
  transition: color 0.15s ease;
}

.site-header__credit:hover {
  color: var(--ink);
}

.site-header__credit-name {
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.site-header__credit:hover .site-header__credit-name {
  color: var(--ink);
}

.site-header__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.site-header__toggle-lines {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.site-header__toggle-lines::before,
.site-header__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.site-header__toggle-lines::before { top: -6px; }
.site-header__toggle-lines::after { top: 6px; }

.site-header.is-open .site-header__toggle-lines {
  background: transparent;
}

.site-header.is-open .site-header__toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .site-header__toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.8vw, 2.35rem);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav__link {
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.35rem 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--ink);
}

.site-nav__link.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  justify-self: end;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.site-header__phone:hover {
  opacity: 0.8;
}

.site-header__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}

.site-header__phone-icon svg {
  display: block;
}

.btn--consult,
.site-header__consult {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 5px;
  padding: 0.7rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px -8px oklch(0% 0 0 / 22%);
  animation: consult-pulse 2.4s ease-in-out infinite;
}

.btn--consult:hover,
.site-header__consult:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
  color: var(--paper);
}

.btn--consult::after,
.site-header__consult::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: consult-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes consult-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 16px -8px oklch(0% 0 0 / 20%);
  }
  50% {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 10px 22px -6px oklch(0% 0 0 / 28%);
  }
}

@keyframes consult-shine {
  0%,
  35% {
    left: -120%;
  }
  60%,
  100% {
    left: 140%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--consult,
  .site-header__consult,
  .btn--consult::after,
  .site-header__consult::after {
    animation: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 2rem;
  font-family: var(--font-ui);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: var(--container);
  margin: 0 auto;
}

.site-footer__logo {
  height: 2.375rem;
  width: auto;
  filter: invert(1) brightness(1.6);
  margin-bottom: 1rem;
}

.site-footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--footer-muted);
  max-width: 18.75rem;
  margin: 0;
}

.site-footer__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footer-label);
  margin-bottom: 1.125rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
  font-size: 0.875rem;
}

.site-footer__link {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.site-footer__link:hover {
  opacity: 1;
}

.site-footer__link.is-active {
  opacity: 1;
  font-weight: 600;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
  font-size: 0.875rem;
  color: var(--footer-muted);
}

.site-footer__bottom {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--footer-rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--footer-copy);
}

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--ink);
}

.card--dashed {
  border-style: dashed;
  border-color: var(--border-strong);
  background: var(--muted-bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.card--panel {
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.625rem;
}

.service-card__icon,
.service-row__icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: var(--icon-bg);
  color: var(--ink);
  font-size: 1.05rem;
}

.card__title--sm {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
}

.card__body {
  font-family: var(--font-ui);
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.card__body:last-child {
  margin-bottom: 0;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 2.25rem 0;
  font-family: var(--font-ui);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  color: var(--ink);
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
}

/* ---------- Hero media ---------- */

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 48px -24px oklch(0% 0 0 / 35%);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Media placeholder ---------- */

.media-ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    135deg,
    var(--stripe-a),
    var(--stripe-a) 12px,
    var(--stripe-b) 12px,
    var(--stripe-b) 24px
  );
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-ph span {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--text-crumb);
  text-align: center;
  padding: 1.5rem;
}

.media-ph--fill {
  aspect-ratio: auto;
  min-height: 18rem;
  border: none;
  border-radius: 0;
}

/* ---------- Home / marketing blocks ---------- */

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.page-intro {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.feature-list__item {
  display: flex;
  gap: 1rem;
}

.feature-list__dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 0.5rem;
}

.feature-list__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.feature-list__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.step__num {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--paper);
  background: var(--ink);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.96875rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1rem;
}

.testimonial__by {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-soft);
}

.cta-band {
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band--lg {
  border-radius: var(--radius-xl);
}

.cta-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  color: var(--paper);
  margin: 0 0 0.5rem;
}

.cta-band__text {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--text-on-dark);
  margin: 0;
}

/* ---------- Services list ---------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.service-row:hover {
  border-color: var(--ink);
}

.service-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
}

.service-row__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-row__identity .service-row__icon {
  flex: 0 0 auto;
  margin: 0;
}

.service-row__desc {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.service-row__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem 0 clamp(4rem, 8vw, 6rem);
}

/* ---------- Contact ---------- */

.contact-channel__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.875rem;
}

.contact-channel__value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.5;
}

.contact-channel__value--sm {
  font-size: 1.125rem;
}

.contact-channel__meta {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-split__form {
  min-width: 0;
}

.contact-split__form .lead-form {
  height: 100%;
  border: none !important;
  border-radius: 0 !important;
}

.contact-map {
  position: relative;
  min-height: 22rem;
  background: var(--muted-bg);
}

.contact-map__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
}

.contact-map__link {
  position: absolute;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  box-shadow: 0 4px 14px oklch(0% 0 0 / 10%);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-map__link:hover {
  border-color: var(--ink);
  background: var(--paper);
}

@media (min-width: 861px) {
  .contact-map {
    min-height: 31.25rem;
  }

  .contact-map__iframe {
    min-height: 31.25rem;
  }
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  font-size: 0.90625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.faq-boxed {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.375rem;
  margin-bottom: 0.75rem;
  background: var(--paper);
}

.faq-boxed summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.96875rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-boxed summary::-webkit-details-marker {
  display: none;
}

.faq-boxed .plus {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.faq-boxed[open] .plus {
  transform: rotate(45deg);
}

.faq-boxed p {
  font-size: 0.90625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

/* ---------- Service pages ---------- */

.service-hero {
  position: relative;
  background: var(--hero-bg);
  overflow: hidden;
}

.service-hero__stripe {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    var(--stripe-a),
    var(--stripe-a) 14px,
    var(--stripe-b) 14px,
    var(--stripe-b) 28px
  );
  opacity: 0.9;
  pointer-events: none;
}

.service-hero__inner {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.trust-chips {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.75rem;
  display: flex;
  gap: 2rem;
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-chip__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

.trust-chip__sub {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.icon-circle {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle--lg {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
}

.form-wrap {
  box-shadow: var(--shadow-form);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--paper);
}

.service-trust-chips {
  margin-top: 0.25rem;
  padding: 1rem 1.25rem;
  gap: 1.25rem;
}

.service-trust-chips .icon-circle {
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
}

.service-includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
}

.include-item__icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  color: var(--ink);
  background: var(--icon-bg);
  font-size: 1rem;
}

.service-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-info-grid .card--panel {
  height: 100%;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(var(--process-steps, 4), 1fr);
  gap: 0;
  counter-reset: process-step;
}

.service-process-step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

/* Marker row: circle with a connecting line running through */
.service-process-step__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
}

/* Continuous connector: runs from this circle's edge to the next circle's edge */
.service-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(1.625rem - 1px);
  left: calc(50% + 2.125rem);
  width: calc(100% - 4.25rem);
  border-top: 2px dashed var(--border-strong);
}

.service-process-step__num {
  position: relative;
  z-index: 1;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--paper), 0 10px 24px -12px oklch(0% 0 0 / 35%);
  transition: transform 0.15s ease;
}

.service-process-step:hover .service-process-step__num {
  transform: translateY(-3px) scale(1.05);
}

.service-process-step__label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.375rem;
}

.service-process-step__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  max-width: 14rem;
  margin: 0 auto;
}

.include-item {
  text-align: center;
}

.include-item__label {
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist__item {
  display: flex;
  gap: 0.625rem;
  font-size: 0.90625rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.checklist__mark {
  flex-shrink: 0;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Lead form ---------- */

.lede--hero {
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

.service-answer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin: 0 0 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border-soft);
}

.service-answer-strip--home {
  margin-bottom: 1.75rem;
}

.service-answer-strip__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 8rem;
}

.service-answer-strip__label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.service-answer-strip__item strong {
  font-family: var(--font-display);
  font-size: 0.96875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.service-breadcrumb {
  margin-bottom: 0.75rem;
}

.cluster--hero {
  margin-bottom: 2.25rem;
}

.mb-1 { margin-bottom: 1rem; }
.mb-1-25 { margin-bottom: 1.25rem; }
.mb-1-5 { margin-bottom: 1.5rem; }
.mb-2-25 { margin-bottom: 2.25rem; }
.mt-2-25 { margin-top: 2.25rem; }
.mt-section { margin-top: 3.5rem; }
.text-center { text-align: center; }

.lead-form {
  border: 1px solid var(--lead-border);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  font-family: var(--font-ui);
  background: var(--paper);
  margin: 0;
}

.lead-form--embed {
  border: none;
  border-radius: 0;
  height: 100%;
}

.lead-form__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.4375rem);
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.lead-form__intro {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 1.375rem;
}

.lead-form__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form__label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.lead-form__hint {
  color: oklch(55% 0.004 90);
  font-weight: 400;
}

.lead-form__input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.90625rem;
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
}

.lead-form__input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.lead-form__error {
  font-size: 0.8125rem;
  color: var(--error);
}

.lead-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.9375rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
}

.lead-form__submit:hover {
  background: var(--ink-hover);
}

/* ---------- Floating contact (mobile-friendly) ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  gap: 0.625rem;
  box-shadow: 0 -8px 24px oklch(0% 0 0 / 8%);
}

.mobile-cta .btn {
  flex: 1;
  padding: 0.8125rem 1rem;
  white-space: nowrap;
}

body.has-mobile-cta {
  padding-bottom: 4.5rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid--service-hero,
  .grid--hero {
    grid-template-columns: 1fr;
  }

  .form-wrap {
    max-width: 32rem;
  }

  .service-includes-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Tablet & below: switch to a vertical timeline */
  .service-process-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 26rem;
    margin: 0 auto;
  }

  .service-process-step {
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    column-gap: 1.25rem;
    text-align: left;
    padding: 0 0 2rem;
  }

  .service-process-step__track {
    grid-row: 1 / 3;
    align-items: flex-start;
    margin-bottom: 0;
  }

  .service-process-step:not(:last-child)::after {
    left: calc(1.625rem - 1px);
    top: 3.5rem;
    bottom: 0.25rem;
    width: 0;
    border-top: 0;
    border-left: 2px dashed var(--border-strong);
  }

  .service-process-step:last-child {
    padding-bottom: 0;
  }

  .service-process-step__title {
    margin: 0;
    max-width: none;
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.25rem 0 0.5rem;
    border-top: 1px solid var(--border);
  }

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

  .site-nav__link {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav__link.is-active {
    border-bottom-color: var(--border);
  }
}

@media (max-width: 860px) {
  .site-header__phone {
    display: none;
  }

  .grid--3,
  .grid--2,
  .grid--split,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .service-info-grid {
    grid-template-columns: 1fr;
  }

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


  .service-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-row__cta {
    white-space: normal;
  }

  .mobile-cta {
    display: flex;
  }

  body.has-mobile-cta {
    padding-bottom: 5rem;
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-header__consult {
    padding: 0.6rem 0.95rem;
    font-size: 0.8125rem;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .cluster {
    width: 100%;
  }

  .cta-band .btn {
    flex: 1 1 auto;
  }

  .trust-chips {
    gap: 1.25rem;
  }

  .service-includes-grid {
    gap: 1.75rem 1rem;
  }
}

@media (hover: none) {
  .card:hover,
  .service-row:hover {
    border-color: var(--border);
  }
}
