/* Impetra marketing site — editorial layout & components */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-700);
}

::selection {
  background: rgba(166, 206, 57, 0.28);
}

/* —— Layout —— */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.section {
  padding: 5rem 0;
  position: relative;
}

.section-soft {
  background: var(--bg-soft);
}

.section-banner {
  background: var(--banner);
  color: var(--white);
}

.section-ink {
  background: var(--banner);
  color: var(--white);
}

.section-ink h2,
.section-ink .h2 {
  color: var(--white);
}

.section-ink .prose {
  color: var(--ink-reverse);
}

.section-ink .eyebrow {
  color: var(--brand-green);
}

.section-header {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--brand-green);
  flex-shrink: 0;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.section-banner .eyebrow,
.cta-band .eyebrow,
.section-ink .eyebrow {
  color: var(--brand-green);
}

.section-banner .eyebrow::before,
.cta-band .eyebrow::before,
.section-ink .eyebrow::before {
  background: var(--brand-green);
}

h1,
.h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

h2,
.h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

h3,
.h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.lede,
.section-header p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 36rem;
}

.section-header.center .lede,
.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose p + p {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.prose ul,
.prose ol {
  margin: 1rem 0 1rem 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Brand top bar (pages without utility) —— */
.brand-bar {
  height: 3px;
  background: var(--brand-green);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

/* —— Utility contact bar (Xact-style) —— */
.utility-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: var(--utility-height);
  background: var(--banner);
  color: var(--ink-reverse);
  font-size: 0.8125rem;
  border-bottom: 2px solid var(--brand-green);
}

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

.utility-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.utility-links a:hover {
  color: var(--brand-green);
}

.utility-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.has-utility .site-nav {
  top: var(--utility-height);
}

.has-utility .brand-bar {
  display: none;
}

/* —— Navigation —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}

.site-nav.scrolled {
  border-bottom-color: var(--rule-soft);
  box-shadow: 0 4px 20px rgba(26, 28, 36, 0.05);
}

.nav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
  line-height: 0;
}

.logo img {
  height: 34px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

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

.nav-links a {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--ink);
}

.nav-links .nav-phone {
  color: var(--ink) !important;
  font-weight: 600;
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  background: var(--brand-green);
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 999px;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.nav-links .nav-cta:hover {
  background: var(--brand-green-dark);
  color: var(--ink) !important;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  line-height: 1.2;
}

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

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

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--rule);
}

.btn-secondary:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
  background: var(--surface-50);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 4.5rem) 0 5rem;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(166, 206, 57, 0.14), transparent 60%),
    linear-gradient(180deg, #fbfcf8 0%, var(--white) 55%, var(--surface-50) 100%);
  border-bottom: 1px solid var(--rule-soft);
  overflow: hidden;
}

.has-utility .hero {
  padding-top: calc(var(--header-offset) + 3.5rem);
}

.hero > .container,
.hero > .container-wide {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--ink);
  max-width: 16ch;
}

.hero .lede {
  font-size: 1.125rem;
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin-top: 1.75rem;
}

.trust-chips li {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.trust-chips strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 0.2rem;
}

/* Hero delivery card (agency-style) */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 1.5rem -1rem -1rem 1.5rem;
  background: var(--brand-green);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.hero-visual-card {
  position: relative;
  z-index: 1;
  background: var(--banner);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  box-shadow: var(--shadow-panel);
  color: var(--white);
}

.hero-visual-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 1.15rem;
}

.hero-visual-card ul {
  list-style: none;
}

.hero-visual-card li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.hero-visual-card li:first-child {
  border-top: none;
  padding-top: 0;
}

.hero-visual-card .tick {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.hero-visual-cta {
  display: inline-flex;
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-green);
}

.hero-visual-cta:hover {
  color: var(--brand-200);
}

/* Legacy hero panel support */
.hero-panel {
  background: var(--banner);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  color: var(--white);
}

.hero-panel h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 1.15rem;
}

.hero-panel ul {
  list-style: none;
}

.hero-panel li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-panel .tick {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* —— Stats —— */
.stats {
  background: var(--banner);
  padding: 2.5rem 0;
}

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

.stat-value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
  color: var(--brand-green);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--ink-reverse);
  max-width: 14rem;
  line-height: 1.4;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

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

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

a.card:hover {
  border-color: var(--brand-300);
}

/* Service cards with media tops (Xact-style) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-300);
  color: inherit;
}

.service-media {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.service-media svg {
  width: 2.75rem;
  height: 2.75rem;
}

.service-media--1 {
  background: linear-gradient(145deg, #e8f3cf 0%, var(--brand-green) 100%);
}

.service-media--2 {
  background: linear-gradient(145deg, #2a2627 0%, var(--banner) 100%);
  color: var(--brand-green);
}

.service-media--3 {
  background: linear-gradient(145deg, #f6f7f9 0%, #d1e79f 100%);
}

.service-media--4 {
  background: linear-gradient(145deg, #f4f9e7 0%, #bade6f 100%);
}

.service-body {
  padding: 1.35rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--brand-100);
}

.card-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  flex: 1;
}

.card-link {
  margin-top: 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--link-color);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* —— Split / how we work —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split-list {
  list-style: none;
  margin-top: 1.5rem;
}

.split-list li {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
}

.section-ink .split-list li {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.split-list .num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-green);
  width: 2rem;
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.split-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.section-ink .split-list strong {
  color: var(--white);
}

.split-list span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.section-ink .split-list span {
  color: var(--ink-reverse);
}

/* —— About split + process (Xact-inspired) —— */
.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-stat-panel {
  background: var(--banner);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.about-stat-panel::after {
  content: '';
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(166, 206, 57, 0.18);
  pointer-events: none;
}

.about-stat-value {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--brand-green);
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.about-stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  max-width: 18rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.about-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.about-stat-row strong {
  display: block;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.about-stat-row span {
  font-size: 0.8rem;
  color: var(--ink-reverse);
}

.check-list {
  list-style: none;
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: inset 0 0 0 3px var(--white);
  outline: 1px solid var(--brand-200);
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--rule-soft);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.35rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.process-note {
  text-align: center;
  max-width: 36rem;
  margin: 1.75rem auto 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.process-cta {
  text-align: center;
  margin-top: 1.75rem;
}

.feature-points {
  list-style: none;
}

.feature-points li {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-points li:first-child {
  border-top: none;
  padding-top: 0;
}

.feature-points strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.feature-points span {
  font-size: 0.9rem;
  color: var(--ink-reverse);
  line-height: 1.5;
}

/* —— Testimonials —— */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.quote-grid > :first-child {
  grid-row: 1 / 3;
}

.testimonial-card .quote {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-card::before {
  content: '“';
  display: block;
  font-size: 2.5rem;
  line-height: 0.7;
  color: var(--brand-green);
  font-weight: 700;
  margin-bottom: 0.65rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.testimonial-card--lead {
  padding: 2rem 1.85rem;
  background: var(--white);
  border-left: 4px solid var(--brand-green);
}

.testimonial-card--lead .quote {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 2px;
  background: var(--surface-100);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-soft);
}

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

.author-meta {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* —— FAQ —— */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-soft);
  border-radius: 0;
  overflow: hidden;
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--rule-soft);
  box-shadow: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-muted);
  background: none;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-methods {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-method-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 2px;
  background: var(--surface-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--rule-soft);
}

.contact-method a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

.contact-method a:hover {
  color: var(--link-color);
}

.contact-method span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
}

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  background: var(--white);
}

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

.contact-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.form-message {
  padding: 0.85rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.form-message.success {
  background: var(--brand-50);
  color: var(--brand-800);
  border: 1px solid var(--brand-200);
}

.form-message.error {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  background: var(--banner);
  padding: 4.5rem 0;
  text-align: left;
}

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

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.cta-band p {
  color: var(--ink-reverse);
  max-width: 32rem;
  margin: 0 0 0;
  font-size: 1.0625rem;
}

.cta-band--green {
  background: var(--brand-green);
}

.cta-band--green h2 {
  color: var(--ink);
}

.cta-band--green p {
  color: var(--brand-900);
  opacity: 0.85;
}

.cta-band--split {
  background: var(--banner);
}

.cta-split-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-split-inner .eyebrow {
  color: var(--brand-green);
}

.cta-split-inner .eyebrow::before {
  background: var(--brand-green);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Page header —— */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 3rem) 0 2.75rem;
  background: var(--surface-50);
  border-bottom: 1px solid var(--rule-soft);
}

.has-utility .page-header {
  padding-top: calc(var(--header-offset) + 2.5rem);
}

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

.page-header h1 {
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  list-style: none;
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

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

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.4rem;
  color: var(--rule);
}

/* —— Service detail —— */
.content-section {
  padding: 3.5rem 0 5rem;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
}

.feature-list li:first-child {
  border-top: none;
}

.feature-list svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--brand-600);
  margin-top: 0.15rem;
}

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

/* —— Blog —— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.blog-image {
  aspect-ratio: 16 / 9;
  background: var(--surface-100);
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.5rem;
}

.blog-content h2 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.blog-content h2 a {
  color: var(--ink);
  text-decoration: none;
}

.blog-content h2 a:hover {
  color: var(--link-color);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--link-color);
}

/* —— Article (blog post) —— */
.article-header {
  padding: calc(var(--nav-height) + 3rem) 0 2rem;
  background: var(--surface-50);
  border-bottom: 1px solid var(--rule-soft);
}

.article-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.75rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.article-hero {
  max-width: 900px;
  margin: -1.5rem auto 0;
  padding: 0 1.5rem;
}

.article-hero img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--rule-soft);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
}

.article-body h3 {
  margin: 1.75rem 0 0.5rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1rem 1.25rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body a {
  color: var(--link-color);
}

.cta-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface-50);
  border: 1px solid var(--rule-soft);
  border-left: 4px solid var(--brand-green);
  border-radius: var(--radius);
}

.cta-box h3 {
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--banner);
  color: var(--ink-reverse);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 20rem;
}

.site-footer .logo {
  overflow: visible;
  line-height: 0;
}

.site-footer .logo img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-column h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.55rem;
}

.footer-column a {
  color: var(--ink-reverse);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--brand-green);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.footer-social a {
  font-weight: 600;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: var(--ink-reverse);
}

.footer-bottom a:hover {
  color: var(--brand-green);
}

/* —— Privacy content —— */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content .last-updated {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.legal-content ul {
  margin: 0.75rem 0 1rem 1.25rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

/* —— Animations (subtle) —— */
.fade-in {
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* —— Responsive —— */
@media (max-width: 968px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--rule-soft);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .mobile-menu {
    display: flex;
  }

  .utility-meta {
    display: none;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .quote-grid,
  .about-split,
  .service-grid,
  .process-steps,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before {
    display: none;
  }

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

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

  .quote-grid > :first-child {
    grid-row: auto;
    grid-column: auto;
  }

  .card-grid,
  .card-grid-3,
  .card-grid-4,
  .blog-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

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

@media (max-width: 600px) {
  .card-grid,
  .card-grid-3,
  .card-grid-4,
  .blog-grid,
  .related-grid,
  .footer-grid,
  .service-grid,
  .process-steps,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .has-utility .hero {
    padding-top: calc(var(--header-offset) + 2rem);
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual::before {
    display: none;
  }

  .nav-links .nav-phone {
    display: none;
  }
}
