@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg:         #F5F1EA;
  --bg-card:    #FAF8F3;
  --bg-section: #EDE7DF;
  --primary:    #A04030;
  --primary-fg: #F5F1EA;
  --fg:         #22252A;
  --muted:      #6D7074;
  --border:     #DDD6CF;
  --serif:      'Instrument Serif', Georgia, serif;
  --sans:       'Plus Jakarta Sans', system-ui, sans-serif;
  scroll-behavior: smooth;
}

html { font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }


/* ─── LAYOUT ─────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}


/* ─── HEADER ─────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.site-header__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--fg); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding-inline: 1.125rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav:hover { background: #8A3628; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu a {
  display: block;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}

.mobile-menu a:hover { color: var(--primary); }

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


/* ─── BUTTONS ─────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding-inline: 2rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn--primary:hover { background: #8A3628; }

.btn--outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn--outline:hover { background: var(--bg-section); }

.btn--full { width: 100%; }

.btn--large {
  height: 60px;
  font-size: 1.0625rem;
}


/* ─── HERO ─────────────────────────────────────── */

.hero {
  padding: 5rem 0 6rem;
  background: var(--bg-section);
  overflow: hidden;
}

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

.hero__text { max-width: 560px; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.hero__title em {
  color: var(--primary);
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image-wrap {
  position: relative;
}

.hero__image-frame {
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  background: rgba(160, 64, 48, 0.1);
  border: 1px solid rgba(160, 64, 48, 0.2);
  z-index: 0;
}

.hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}


/* ─── FOR WHOM ─────────────────────────────────────── */

.for-whom {
  padding: 5rem 0 6rem;
  background: var(--bg);
  text-align: center;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 3.5rem;
  line-height: 1.2;
}

.section-title--primary { color: var(--primary); }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s;
}

.card:hover { border-color: rgba(160, 64, 48, 0.35); }

.card__heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.card__text { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }


/* ─── HOW IT WORKS ─────────────────────────────────────── */

.how {
  padding: 5rem 0 6rem;
  background: rgba(237, 231, 223, 0.55);
}

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

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

.how__images img:first-child { margin-top: 2rem; }

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

.how__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.steps { display: flex; flex-direction: column; gap: 1.75rem; }

.step { display: flex; gap: 1.25rem; }

.step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(160, 64, 48, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.step__heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step__text { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }


/* ─── PROGRAM ─────────────────────────────────────── */

.program {
  padding: 5rem 0 6rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.program__header {
  text-align: center;
  margin-bottom: 3rem;
}

.program__sub {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

details:last-child { border-bottom: none; }

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.375rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  gap: 1rem;
  transition: color 0.2s;
  user-select: none;
}

summary::-webkit-details-marker { display: none; }

summary:hover { color: var(--primary); }

summary::after {
  content: '+';
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.accordion__body {
  padding: 0 1.75rem 1.375rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}


/* ─── RESULTS ─────────────────────────────────────── */

.results {
  padding: 5rem 0 6rem;
  background: rgba(237, 231, 223, 0.35);
}

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

.results__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.results__list { display: flex; flex-direction: column; gap: 1rem; }

.results__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
}

.results__item::before {
  content: '✦';
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.results__image-wrap { position: relative; }

.results__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.results__caption {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  max-width: 230px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.results__caption-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.results__caption-text { font-size: 0.8125rem; color: var(--muted); }


/* ─── FAQ ─────────────────────────────────────── */

.faq {
  padding: 5rem 0 6rem;
  background: var(--bg);
}

.faq__title {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 3rem;
}

.faq .accordion { background: transparent; border: none; }

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.faq details:last-child { margin-bottom: 0; }


/* ─── LEAD FORM ─────────────────────────────────────── */

.cta-section {
  padding: 5rem 0 6rem;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/support-detail.png') center/cover no-repeat;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.cta-inner {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 3.5rem 4rem;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.cta-inner__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cta-inner__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 0.625rem;
}

.cta-inner__sub { color: var(--muted); font-size: 1rem; }

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  height: 52px;
  padding-inline: 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder { color: #B0AAA5; }

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(160, 64, 48, 0.12);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
}

.form-note a { text-decoration: underline; }
.form-note a:hover { color: var(--primary); }


/* ─── FOOTER ─────────────────────────────────────── */

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 0.875rem;
}

.footer__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 240px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }

.footer__links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--primary); }

.footer__legal {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.9;
}

.footer__copy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}


/* ─── COOKIE BANNER ─────────────────────────────────────── */

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
}

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

#cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-text a { text-decoration: underline; transition: color 0.2s; }
.cookie-text a:hover { color: var(--primary); }

.btn-cookie {
  flex-shrink: 0;
  height: 38px;
  padding-inline: 1.25rem;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-cookie:hover { background: var(--primary); color: var(--primary-fg); }


/* ─── LEGAL PAGES ─────────────────────────────────────── */

.legal-page {
  padding: 5rem 0 6rem;
  background: var(--bg);
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 0.625rem;
}

.legal-page__date {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2.25rem 0 0.875rem;
  color: var(--fg);
}

.legal-page p, .legal-page li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-page li { margin-bottom: 0.5rem; }

.legal-page strong { color: var(--fg); font-weight: 600; }


/* ─── SUCCESS PAGE ─────────────────────────────────────── */

.success-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  background: var(--bg);
}

.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3.5rem 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(160, 64, 48, 0.1);
  color: var(--primary);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}

.success-title {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-text {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}


/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 900px) {
  .hero__grid,
  .how__grid,
  .results__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__image-wrap { max-width: 420px; margin-inline: auto; }

  .hero { padding: 3.5rem 0 4rem; }

  .hero__cta { flex-direction: column; max-width: 320px; }
  .hero__cta .btn { width: 100%; }

  .results__caption { display: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .cta-inner { padding: 2.5rem 2rem; }
}

@media (max-width: 700px) {
  .cards-3 { grid-template-columns: 1fr; }

  .site-nav { display: none; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }

  .how__images { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cta-inner { padding: 2rem 1.25rem; }

  .how__images { grid-template-columns: 1fr; }
  .how__images img:first-child { margin-top: 0; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 2.25rem; }
}
