/* Think Horizon Hub — single theme */
:root {
  --ink: #1a2420;
  --ink-soft: #3d4a44;
  --forest: #1f4a3a;
  --forest-deep: #163528;
  --mist: #e7eeea;
  --paper: #f4f6f4;
  --surface: #ffffff;
  --accent: #b86a3c;
  --accent-soft: #f3e6dc;
  --line: rgba(26, 36, 32, 0.12);
  --shadow: 0 18px 40px rgba(22, 53, 40, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31, 74, 58, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 106, 60, 0.07), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #eef2ef 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.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: 1rem;
  top: -4rem;
  background: var(--forest);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(244, 246, 244, 0.88);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(22, 53, 40, 0.06);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--forest-deep);
}

.brand-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background:
    linear-gradient(145deg, var(--forest) 0%, var(--forest-deep) 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 30% 34% 30%;
  border: 2px solid #e8f0ec;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

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

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

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 520;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--forest);
}

.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

/* Hero variants */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 14ch;
  margin-bottom: 0.7rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}

.hero-visual:hover img {
  transform: scale(1.06);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 53, 40, 0.35));
  pointer-events: none;
}

.hero-band {
  padding: 4rem 0 3rem;
  position: relative;
}

.hero-band .hero-visual {
  min-height: min(72vh, 560px);
  border-radius: 0;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

.hero-band .hero-copy {
  position: relative;
  z-index: 2;
  margin-top: -5.5rem;
  background: rgba(244, 246, 244, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  max-width: 34rem;
  box-shadow: var(--shadow);
  animation: rise-in 0.8s var(--ease) both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fade-up 0.7s var(--ease) both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--forest);
  color: #fff;
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--forest-deep);
}

.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
}

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

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

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section-head p {
  color: var(--ink-soft);
}

.muted {
  color: var(--ink-soft);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
  .split-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-grid,
.card-grid,
.blog-grid,
.price-grid {
  display: grid;
  gap: 1.25rem;
}

.offer-card,
.blog-card,
.price-card,
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.offer-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-card img,
.blog-card img,
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-card .body,
.blog-card .body,
.price-card,
.review-card {
  padding: 1.25rem 1.3rem 1.4rem;
}

.offer-card h3,
.blog-card h3,
.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.4em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--mist);
  font-weight: 650;
}

tr:last-child td {
  border-bottom: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-display);
}

.quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--forest-deep);
}

.quote-meta {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfb;
  color: var(--ink);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(31, 74, 58, 0.35);
  border-color: var(--forest);
}

.field-error {
  color: #8a2f1f;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e5f2ea;
  color: var(--forest-deep);
}

.form-status.is-error {
  display: block;
  background: #f8e8e4;
  color: #8a2f1f;
}

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

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.address-block {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--forest-deep);
  color: #d7e3dd;
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-heading {
  color: #fff;
  font-weight: 650;
  margin-bottom: 0.65rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #d7e3dd;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 540px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: none;
  animation: rise-in 0.45s var(--ease);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.inline-error {
  margin: 0.75rem auto;
  width: min(100% - 2rem, var(--max));
  background: #f8e8e4;
  color: #8a2f1f;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--forest-deep);
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.accent-strip {
  height: 4px;
  width: 3.5rem;
  background: linear-gradient(90deg, var(--accent), var(--forest));
  border-radius: 999px;
  margin-bottom: 1rem;
}

.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.center-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.center-404 h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(244, 246, 244, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta {
    text-align: center;
  }
}
