/* Trusted Review Pro — homepage */
:root {
  --bg-page: #f4f1eb;
  --bg-card: #fffcf7;
  --ink: #1c1917;
  --ink-muted: #57534e;
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --border: rgba(28, 25, 23, 0.12);
  --hero-deep: #134e4a;
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.08);
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --space: clamp(1rem, 4vw, 2rem);
  --container: min(1120px, 100% - 2 * var(--space));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-page);
}

img {
  max-width: 100%;
  height: auto;
}

.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.5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 42rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: var(--space);
    right: var(--space);
    top: 100%;
    margin-top: 0.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 12vw, 7rem) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(45, 212, 191, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(20, 184, 166, 0.12), transparent 45%),
    linear-gradient(165deg, var(--hero-deep) 0%, #0d3d38 45%, #0a2c28 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
  background: #fff;
  color: var(--hero-deep);
  border-color: #fff;
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  max-width: 28ch;
}

.prose {
  margin: 0;
  color: var(--ink-muted);
}

.section-story h2 {
  max-width: none;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (max-width: 860px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.card-num {
  position: relative;
  padding-top: 2.75rem;
}

.card-index {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent) 35%, transparent);
  line-height: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value {
  padding: 1.5rem 0 0;
  border-top: 3px solid var(--accent);
}

.value h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.value p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

/* Process */
.section-process {
  background: linear-gradient(180deg, #ebe6dc 0%, var(--bg-page) 100%);
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 769px) {
  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.process-step {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.process-list h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.process-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Testimonials */
.section-testimonials {
  background: var(--bg-card);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.quote {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-page);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.quote p {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--ink);
}

.quote footer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-style: normal;
}

/* Legal */
.section-legal {
  padding-top: 0;
  border-top: 1px solid var(--border);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

@media (max-width: 640px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

.legal-block {
  scroll-margin-top: 5rem;
}

.legal-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.legal-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.legal-block a {
  color: var(--accent);
  font-weight: 600;
}

.legal-block a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  background: #e8e4db;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 22ch;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-bottom p {
  margin: 0;
}

.to-top {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.to-top:hover {
  text-decoration: underline;
}
