:root {
  --bg-1: #f7f3ea;
  --bg-2: #f1e6d6;
  --ink: #1f1a14;
  --muted: #5a5145;
  --brand: #c75a2f;
  --brand-dark: #8a3a1b;
  --card: rgba(255, 252, 247, 0.82);
  --line: rgba(85, 63, 45, 0.2);
  --ok: #1f7a4f;
  --radius: 18px;
  --shadow: 0 14px 35px rgba(87, 58, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(235, 180, 104, 0.32), transparent 37%),
    radial-gradient(circle at 88% 1%, rgba(213, 116, 75, 0.26), transparent 35%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  border-radius: 14px;
  display: block;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(250, 245, 237, 0.75);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: #372d22;
}

nav a:hover,
nav a.active {
  color: var(--brand-dark);
}

.menu-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

main {
  padding: 52px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 44px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #7b3b22;
  background: rgba(199, 90, 47, 0.13);
  border: 1px solid rgba(199, 90, 47, 0.28);
  border-radius: 999px;
  padding: 7px 11px;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.17;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.hero-copy p {
  color: #3f3529;
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.btn-row {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff7f2;
}

.btn-ghost {
  border-color: var(--line);
  background: #fdfaf5;
}

.mini-note {
  margin-top: 13px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-overlay {
  position: absolute;
  inset: auto 15px 16px 15px;
  background: rgba(20, 16, 12, 0.7);
  color: #f6efe5;
  border-radius: 12px;
  padding: 13px;
  font-size: 0.89rem;
}

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

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

.section {
  margin-bottom: 30px;
}

.section .card {
  padding: 24px;
}

.kicker {
  color: #6d5a44;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: #352d22;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sent-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 26, 20, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, background 180ms ease;
}

.sent-overlay.is-visible {
  background: rgba(31, 26, 20, 0.38);
  opacity: 1;
  pointer-events: auto;
}

.sent-overlay-panel {
  width: min(360px, 92vw);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  color: #fffaf3;
  background: linear-gradient(145deg, rgba(47, 92, 66, 0.96), rgba(26, 55, 40, 0.96));
  box-shadow: 0 24px 70px rgba(31, 26, 20, 0.36);
  transform: translateY(12px) scale(0.96);
}

.sent-overlay.is-visible .sent-overlay-panel {
  animation: sent-panel-pop 520ms cubic-bezier(0.18, 0.89, 0.32, 1.2) both;
}

.sent-overlay-panel h2 {
  margin-top: 14px;
}

.sent-overlay-panel p {
  margin: 0;
  color: rgba(255, 250, 243, 0.88);
}

.sent-check {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fffaf3;
  position: relative;
  box-shadow: 0 0 0 0 rgba(255, 250, 243, 0.46);
}

.sent-overlay.is-visible .sent-check {
  animation: sent-check-pulse 900ms ease-out both;
}

.sent-check::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 20px;
  height: 34px;
  border: solid #1f7a4f;
  border-width: 0 7px 7px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
}

.sent-overlay.is-visible .sent-check::after {
  animation: sent-check-draw 320ms ease-out 180ms both;
}

@keyframes sent-panel-pop {
  0% {
    transform: translateY(12px) scale(0.96);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes sent-check-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 250, 243, 0.5);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(255, 250, 243, 0);
  }
}

@keyframes sent-check-draw {
  0% {
    transform: rotate(45deg) scale(0);
  }
  100% {
    transform: rotate(45deg) scale(1);
  }
}

.callout {
  border-left: 4px solid var(--brand);
  padding-left: 14px;
  color: #32281d;
}

.stage {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.stage-num {
  background: #2e261d;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex: 0 0 30px;
}

.stage p {
  margin: 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 14px 15px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2a2218;
}

.faq-a {
  padding: 0 15px 14px;
  color: #44392d;
  display: none;
}

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

.status-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 7px 11px;
  font-weight: 700;
  border: 1px solid rgba(31, 122, 79, 0.35);
  background: rgba(31, 122, 79, 0.09);
  color: var(--ok);
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(22, 16, 10, 0.6);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-panel {
  width: min(560px, 92vw);
  padding: 24px;
}

.modal-panel p {
  margin: 0 0 10px;
  color: #43382c;
}

.modal-panel form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.modal-panel label {
  font-size: 0.92rem;
  font-weight: 700;
}

.modal-panel input,
.modal-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fffaf2;
}

.modal-panel input:focus,
.modal-panel textarea:focus {
  outline: 2px solid rgba(199, 90, 47, 0.4);
  outline-offset: 1px;
}

.form-status {
  margin: 4px 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
}

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

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

.submit-done-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 26, 20, 0.58);
  animation: submit-fade-in 180ms ease-out;
}

.submit-done-overlay-out {
  opacity: 0;
  transition: opacity 400ms ease;
}

.submit-done-card {
  width: min(420px, 92vw);
  text-align: center;
  padding: 30px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #fffaf2;
  box-shadow: 0 24px 70px rgba(31, 26, 20, 0.28);
  animation: submit-pop 260ms cubic-bezier(0.2, 0.85, 0.2, 1.2);
}

.submit-done-card h2 {
  margin: 12px 0 6px;
}

.submit-done-card p {
  margin: 0;
  color: var(--muted);
}

.submit-check {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--ok);
  position: relative;
  box-shadow: 0 0 0 8px rgba(31, 122, 79, 0.14);
  animation: submit-pulse 800ms ease-out 180ms;
}

.submit-check::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 27px;
  width: 23px;
  height: 12px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg) scale(0);
  transform-origin: left bottom;
  animation: submit-check-draw 260ms ease-out 180ms forwards;
}

footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 44px;
  color: var(--muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .hero,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 30px;
  }

  .modal-panel {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  nav {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 66px;
    background: #fff8f0;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
  }

  nav.open {
    display: grid;
    gap: 10px;
  }

  main {
    padding-top: 30px;
  }
}

@keyframes submit-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes submit-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes submit-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 122, 79, 0.3);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(31, 122, 79, 0);
  }
}

@keyframes submit-check-draw {
  to {
    transform: rotate(-45deg) scale(1);
  }
}
