:root {
  --bg: #f5f1e8;
  --surface: #ffffff;
  --surface-2: #ebe7dc;
  --ink: #181818;
  --ink-2: #252525;
  --muted: #65645f;
  --line: #ddd7ca;
  --gold: #d7b46a;
  --gold-2: #b38b3e;
  --teal: #204e47;
  --blue: #2f5f92;
  --white: #ffffff;
  --danger: #7f2e2e;
  --shadow: 0 16px 45px rgba(24, 24, 24, .09);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: min(1180px, calc(100% - 48px));
  --section-y: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  width: var(--container);
  margin: 16px auto 0;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(24, 24, 24, .08);
  border-radius: var(--radius-lg);
  padding: 10px 12px 10px 18px;
  box-shadow: 0 10px 30px rgba(24, 24, 24, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 172px;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #3f3e3b;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

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

.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

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

.btn-dark:hover {
  background: #2b2b2b;
}

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

.btn-gold:hover {
  background: #e3c37c;
}

.btn-outline {
  color: var(--ink);
  border-color: #cec5b3;
  background: rgba(255, 255, 255, .35);
}

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

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

.btn-light:hover {
  background: #f4efe4;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.page-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 42px;
  max-width: none;
}

.section-heading.split p {
  margin: 0;
}

.hero {
  position: relative;
  min-height: 585px;
  margin-top: -80px;
  padding: 132px 0 58px;
  color: var(--white);
  overflow: hidden;
  background: #111;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .68) 0%, rgba(10, 10, 10, .44) 44%, rgba(10, 10, 10, .08) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .34) 0%, rgba(10, 10, 10, 0) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--gold);
}

.hero .lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.feature-band {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-item {
  min-height: 112px;
  padding: 22px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.feature-item:first-child {
  border-left: 0;
}

.feature-item svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.feature-item h3 {
  margin: 13px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: var(--section-y) 0;
}

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

.section-dark .section-heading p,
.section-dark .card p,
.section-dark .muted,
.section-dark .list-clean li {
  color: rgba(255, 255, 255, .72);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.section-dark .card {
  border-color: rgba(255, 255, 255, .14);
  background: #202020;
}

.card-body {
  padding: 24px;
}

.card-media {
  margin: 14px 14px 0;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius-sm);
}

.icon-badge svg {
  width: 23px;
  height: 23px;
}

.service-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.service-card .card-media {
  margin: 0;
  aspect-ratio: 1 / .9;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(24, 24, 24, .08);
}

.service-card .card-body {
  padding: 0;
}

.service-card .icon-badge {
  width: 56px;
  height: 56px;
  margin: -28px 0 18px 18px;
  color: var(--white);
  background: var(--ink);
  border: 4px solid var(--bg);
  border-radius: 999px;
  position: relative;
}

.service-card .icon-badge svg {
  width: 24px;
  height: 24px;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.list-clean li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.list-clean svg {
  width: 20px;
  height: 20px;
  color: var(--gold-2);
  margin-top: 1px;
}

.program-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .12);
}

.module-mini {
  min-height: 190px;
  padding: 24px;
  background: #202020;
}

.module-mini span,
.module-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.module-mini h3,
.module-card h3 {
  margin: 10px 0 12px;
  font-size: 19px;
  line-height: 1.28;
}

.module-mini p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  line-height: 1.6;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.price {
  display: flex;
  align-items: end;
  gap: 6px;
  margin: 18px 0 0;
}

.price strong {
  font-size: 42px;
  line-height: .9;
}

.price span {
  color: var(--muted);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--gold);
}

.quote {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.stars {
  color: var(--gold-2);
  font-size: 20px;
}

.quote blockquote {
  margin: 16px 0 0;
  color: #343330;
  font-size: 18px;
  line-height: 1.55;
}

.quote cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 0 22px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #f0eadf;
  flex: 0 0 auto;
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

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

.faq-item.open .faq-question span:last-child {
  background: var(--ink);
  color: var(--white);
}

.page-hero {
  margin-top: -80px;
  padding: 168px 0 82px;
  color: var(--white);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}

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

.page-heading {
  max-width: 760px;
}

.page-heading p {
  color: rgba(255, 255, 255, .78);
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.breadcrumbs a {
  text-decoration: none;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.module-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.module-number {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius);
  font-size: 28px;
  font-weight: 900;
}

.module-card ul {
  margin: 0;
}

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

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

.compare th {
  color: var(--ink);
  background: #efe6d5;
}

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

.service-row {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.service-row h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.service-row p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--gold-2);
}

.contact-item strong {
  display: block;
  margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  text-decoration: none;
}

.form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #343330;
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cbc2b2;
  border-radius: var(--radius-sm);
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 180, 106, .32);
  border-color: var(--gold-2);
}

.map-panel {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(24, 24, 24, .78), rgba(24, 24, 24, .78)),
    url("https://images.unsplash.com/photo-1519178614-68673b201f36?q=80&w=1500&auto=format&fit=crop") center/cover;
}

.map-panel div {
  max-width: 420px;
}

.map-panel h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.map-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.cta-band {
  padding: 70px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 24, 24, .94), rgba(32, 78, 71, .92)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?q=80&w=1600&auto=format&fit=crop") center/cover;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.cta-inner h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.cta-inner p {
  margin: 14px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.site-footer {
  color: rgba(255, 255, 255, .7);
  background: #121212;
  padding: 58px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .brand img {
  filter: none;
}

.site-footer p {
  max-width: 340px;
  line-height: 1.7;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  margin: 0 0 16px;
  font-size: 15px;
}

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

.site-footer li {
  margin-bottom: 11px;
}

.site-footer a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  font-size: 13px;
}

@media (max-width: 1040px) {
  :root {
    --section-y: 74px;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    inset: 82px 24px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(24, 24, 24, .1);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a[aria-current="page"],
  .nav-links a:hover {
    background: #f2eadb;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-actions .btn {
    display: none;
  }

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

  .feature-item:nth-child(3),
  .feature-item:nth-child(5) {
    border-left: 0;
  }

  .feature-item:last-child {
    grid-column: 1 / -1;
  }

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

  .grid-3 > .card:last-child {
    grid-column: 1 / -1;
  }

  .pricing-card:last-child {
    grid-column: auto;
  }

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

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
    --section-y: 56px;
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
  }

  .navbar {
    padding: 8px 8px 8px 12px;
    border-radius: 16px;
  }

  .brand {
    min-width: 132px;
  }

  .brand img {
    height: 36px;
  }

  .hero {
    min-height: 0;
    margin-top: -66px;
    padding-top: 112px;
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: 43px;
    line-height: 1.05;
  }

  .hero .lead {
    font-size: 15px;
    line-height: 1.58;
  }

  .feature-band {
    margin-top: 20px;
  }

  .feature-grid,
  .grid-4,
  .grid-3,
  .program-strip,
  .module-grid,
  .field-grid,
  .contact-grid,
  .section-heading.split,
  .service-row,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 88px;
    padding: 18px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .feature-item:last-child {
    grid-column: auto;
  }

  .feature-item svg {
    width: 23px;
    height: 23px;
  }

  .feature-item h3 {
    margin-top: 10px;
    font-size: 15px;
  }

  .feature-item:first-child {
    border-top: 0;
  }

  .section,
  .service-row {
    padding: var(--section-y) 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2,
  .page-heading h1,
  .cta-inner h2 {
    font-size: 31px;
    line-height: 1.12;
  }

  .section-heading p,
  .page-heading p {
    font-size: 16px;
  }

  .page-hero {
    margin-top: -66px;
    padding: 118px 0 52px;
  }

  .card-media {
    margin: 12px 12px 0;
    aspect-ratio: 1.8 / 1;
    border-radius: 16px;
  }

  .service-card .card-media {
    margin: 0;
    aspect-ratio: 1 / .88;
    border-radius: 20px;
  }

  .service-card .icon-badge {
    width: 52px;
    height: 52px;
    margin: -26px 0 16px 16px;
  }

  .card h3 {
    font-size: 20px;
  }

  .card p,
  .list-clean li,
  .service-row p {
    font-size: 15px;
  }

  .module-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .module-number {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }

  .service-row {
    gap: 24px;
  }

  .service-row h2 {
    font-size: 29px;
  }

  .cta-band {
    padding: 56px 0;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  .hero-actions .btn,
  .cta-inner .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .lead {
    font-size: 14px;
  }

  .card-body,
  .quote,
  .module-card,
  .form {
    padding: 18px;
  }

  .footer-grid {
    gap: 26px;
  }
}
