/* Next Horizon Hub — structured contemporary theme */
:root {
  --ink: #1e2a24;
  --ink-soft: #3d4f45;
  --muted: #5f7268;
  --paper: #f3f6f4;
  --surface: #ffffff;
  --surface-alt: #e7eee9;
  --line: #c8d4cc;
  --accent: #2f6b58;
  --accent-deep: #1f4a3c;
  --accent-soft: #a8c4b4;
  --gold: #b0893a;
  --danger: #9b3a32;
  --ok: #2a6b4a;
  --shadow: 0 18px 40px rgba(30, 42, 36, 0.08);
  --radius: 4px;
  --radius-lg: 18px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --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(168, 196, 180, 0.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(176, 137, 58, 0.12), transparent 45%),
    linear-gradient(180deg, #eef3f0 0%, var(--paper) 28%, #f7f9f8 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 650;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: 0 0 0.55em; }
h3 { font-size: 1.25rem; margin: 0 0 0.45em; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 244, 0.86);
  border-bottom: 1px solid rgba(200, 212, 204, 0.7);
}

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

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

.brand-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background:
    linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 70%),
    radial-gradient(circle at 70% 30%, var(--gold), transparent 45%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 28% 22% 28%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-top: 0;
  border-radius: 0 0 60% 60%;
}

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

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(47, 107, 88, 0.25);
}

.nav-cta:hover {
  background: var(--accent-deep);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.nav-toggle-bar {
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: calc(var(--header-h) + 0.4rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .nav-cta { text-align: center; }
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.hero-copy {
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-visual {
  position: relative;
  animation: rise 1s var(--ease) 0.12s both;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 2.5rem 0.5rem;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border-radius: 40% 60% 50% 50%;
  z-index: -1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 88, 0.28);
}

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

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

.section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

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

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

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

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-body {
  padding: 1.25rem 1.3rem 1.45rem;
}

.offer-body h3 {
  margin-bottom: 0.4rem;
}

.offer-body a {
  font-weight: 650;
  text-decoration: none;
}

.quote-band {
  background: linear-gradient(120deg, var(--accent-deep), #2f5648 55%, #3d6b5a);
  color: #f4f8f6;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.quote-band::after {
  content: "";
  position: absolute;
  right: -5%;
  top: -30%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(196, 163, 90, 0.18);
}

.quote-band p,
.quote-band cite {
  position: relative;
  z-index: 1;
  color: rgba(244, 248, 246, 0.92);
}

.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.quote-band cite {
  font-style: normal;
  font-size: 0.95rem;
  opacity: 0.9;
}

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

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.price-table th {
  background: var(--surface-alt);
  font-family: var(--font-display);
  font-weight: 650;
}

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

.price-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

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

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.45rem;
}

.review.wide { grid-column: 1 / -1; }

.review .meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.blog-card .body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.blog-card a.title-link {
  text-decoration: none;
  color: var(--ink);
}

.prose {
  max-width: 42rem;
}

.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }

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

.page-hero .lead {
  font-size: 1.1rem;
  max-width: 40rem;
}

.media-hero {
  margin: 1.5rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

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

.form-row {
  margin-bottom: 1rem;
}

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

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

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

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.3rem;
  display: none;
}

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

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

.form-status.is-success {
  display: block;
  background: #e5f3ea;
  color: var(--ok);
  border: 1px solid #b9dcc7;
}

.form-status.is-error {
  display: block;
  background: #f8e8e6;
  color: var(--danger);
  border: 1px solid #e3c0bc;
}

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

.contact-aside h2 { font-size: 1.35rem; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th { background: var(--surface-alt); }

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: #d7e2db;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 1.75rem;
}

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

.footer-tag,
.footer-contact p,
.site-footer li {
  color: #b9c8bf;
}

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

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

.site-footer li { margin-bottom: 0.35rem; }

.site-footer a {
  color: #d7e2db;
  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.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #9eb0a6;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-banner.is-visible { display: block; animation: rise 0.45s var(--ease); }

.cookie-banner p {
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

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

.inline-error {
  background: #f8e8e6;
  color: var(--danger);
  border: 1px solid #e3c0bc;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.flagship-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.flagship-meta div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}

.flagship-meta strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.cta-panel {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-alt), #f8faf8);
  border: 1px solid var(--line);
}

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

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent-soft);
  line-height: 1;
  margin: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .offer-list,
  .steps,
  .review-grid,
  .blog-grid,
  .contact-layout,
  .footer-grid,
  .flagship-meta {
    grid-template-columns: 1fr;
  }
  .hero-visual img { aspect-ratio: 16 / 11; }
  .media-hero img { aspect-ratio: 16 / 9; }
}
