:root {
  --bg: #fafaf8;
  --bg-soft: #f3f2ef;
  --text: #1a1a18;
  --text-muted: #6b6b66;
  --accent: #4a5d3c;
  --accent-hover: #3d4d32;
  --accent-light: rgba(74, 93, 60, 0.08);
  --border: #e4e3df;
  --white: #ffffff;
  --radius: 8px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: 1080px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

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

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

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

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

.btn-outline:hover {
  border-color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

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

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 100px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

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

.hero-card-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

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

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

.section-header {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
}

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

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  transition: border-color 0.2s;
}

.section-alt .service-card {
  background: var(--bg);
}

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

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

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

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.trust-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.testimonial-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-card cite span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.stars {
  margin-bottom: 1rem;
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.85rem;
}

/* Contact */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
}

.contact-info > p {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

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

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

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

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

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

.contact-form .btn {
  width: 100%;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.form-checkbox input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-checkbox label a {
  color: var(--accent);
  text-decoration: underline;
}

.form-checkbox label a:hover {
  color: var(--accent-hover);
}

.form-error {
  display: none;
  margin: -0.75rem 0 1rem;
  font-size: 0.8rem;
  color: #b33;
}

.form-error.is-visible {
  display: block;
}

/* Legal pages */
.legal-page {
  padding: 4rem 0 5rem;
}

.legal-content {
  max-width: 42rem;
}

.legal-content h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
}

.legal-meta {
  margin: 0 0 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-content p {
  margin: 0 0 1rem;
}

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

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.legal-back:hover {
  color: var(--accent-hover);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

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

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

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

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

@media (max-width: 640px) {
  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .trust-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
