:root {
  --bg: #faf4ef;
  --bg-soft: #f3e6dc;
  --surface: #fffaf7;
  --ink: #3a322c;
  --muted: #6f635a;
  --accent: #d9896e;
  --accent-deep: #c46f54;
  --sage: #6f8f7e;
  --sage-soft: #d7e6dc;
  --peach: #f2c4b0;
  --blush: #f0d5cb;
  --mint: #e4f0ea;
  --shadow: 0 12px 32px rgba(90, 64, 48, 0.08);
  --shadow-soft: 0 6px 18px rgba(90, 64, 48, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #f8d9cc 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #dceee4 0%, transparent 50%),
    var(--bg);
  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: 3px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

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

.inline-error {
  background: #f8d7d0;
  color: #6b2f24;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(250, 244, 239, 0.88);
  border-bottom: 1px solid rgba(217, 137, 110, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--peach), var(--sage));
  box-shadow: var(--shadow-soft);
}

.brand__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-menu a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(58, 50, 44, 0.18);
}

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

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

/* Hero variants */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: softZoom 18s ease-in-out infinite alternate;
}

.hero-home__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 50, 44, 0.15) 0%,
    rgba(58, 50, 44, 0.55) 55%,
    rgba(58, 50, 44, 0.78) 100%
  );
}

.hero-home__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
  color: #fff;
  max-width: 36rem;
  animation: riseIn 0.9s ease both;
}

.hero-home__content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-home__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 30rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.section {
  padding: 4.5rem 0;
}

.section--soft {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 20%, transparent 100%);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 18ch;
}

.section-lead {
  max-width: 42rem;
  font-size: 1.05rem;
}

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

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(217, 137, 110, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(90, 64, 48, 0.12);
}

.card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card__meta {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--sage);
  margin-bottom: 0.4rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.95rem;
}

.card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.pill {
  display: inline-block;
  background: var(--mint);
  color: var(--sage);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.proof-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(111, 143, 126, 0.15);
  animation: riseIn 0.7s ease both;
}

.proof-item:nth-child(2) { animation-delay: 0.08s; }
.proof-item:nth-child(3) { animation-delay: 0.16s; }
.proof-item:nth-child(4) { animation-delay: 0.24s; }

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--accent-deep);
  margin-bottom: 0.2rem;
}

.proof-item span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.benefit {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(217, 137, 110, 0.1);
}

.benefit__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--blush);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.quote {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--peach);
}

.quote p {
  font-size: 1.02rem;
  color: var(--ink);
}

.quote footer {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

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

.page-hero p {
  max-width: 40rem;
  font-size: 1.08rem;
}

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

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

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

.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 137, 110, 0.12);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  background: linear-gradient(165deg, #fff8f4, #e8f3ec);
  border-color: rgba(111, 143, 126, 0.35);
  transform: scale(1.02);
}

.price-card h3 {
  font-size: 1.45rem;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-deep);
  margin: 0.4rem 0 0.8rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.price-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(58, 50, 44, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
}

.price-note {
  font-size: 0.85rem;
  margin-top: 1.5rem;
  text-align: center;
}

.form-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 137, 110, 0.12);
}

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

.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1.5px solid rgba(58, 50, 44, 0.14);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

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

.field-error {
  color: #a33b2b;
  font-size: 0.82rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.75rem;
  font-weight: 700;
}

.form-status--success {
  color: var(--sage);
}

.form-status--error {
  color: #a33b2b;
}

.contact-aside {
  background: linear-gradient(160deg, var(--mint), var(--blush));
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-aside address {
  font-style: normal;
  color: var(--ink);
  margin-bottom: 1rem;
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.legal th,
.legal td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(58, 50, 44, 0.08);
  vertical-align: top;
}

.legal th {
  background: var(--bg-soft);
  font-weight: 800;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(217, 137, 110, 0.1);
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
}

.faq details p {
  margin: 0.75rem 0 0;
}

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

.module-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(58, 50, 44, 0.08);
}

.module-num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--blush);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--accent-deep);
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.instructor img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-article {
  max-width: 42rem;
  margin: 0 auto;
}

.blog-article .cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}

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

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.case-study {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(111, 143, 126, 0.15);
}

.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--peach), var(--sage-soft));
  text-align: center;
  box-shadow: var(--shadow);
  animation: pulseSoft 5s ease-in-out infinite;
}

.cta-band h2 {
  max-width: none;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: var(--ink);
  max-width: 32rem;
  margin-inline: auto;
}

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

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.2rem;
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: #3f3530;
  color: rgba(255, 250, 247, 0.82);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}

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

.footer-brand__tag {
  color: rgba(255, 250, 247, 0.7);
  font-size: 0.92rem;
}

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

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

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

.footer-address {
  font-style: normal;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 250, 247, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(58, 50, 44, 0.18);
  border: 1px solid rgba(217, 137, 110, 0.2);
  padding: 1.15rem 1.25rem;
  animation: riseIn 0.45s ease both;
}

.cookie-banner__text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

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

@keyframes softZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes pulseSoft {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.08); }
}

@media (max-width: 900px) {
  .grid-3,
  .pricing-grid,
  .proof-strip,
  .footer-grid,
  .split,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .price-card--featured {
    transform: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(217, 137, 110, 0.15);
  }

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

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

  .instructor {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .proof-strip {
    margin-top: 1.5rem;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }
}
