:root {
  color-scheme: light;
  --bg: #fff7f8;
  --surface: #ffffff;
  --ink: #243258;
  --muted: #5f6682;
  --line: #ead9e1;
  --accent: #d83d6f;
  --accent-dark: #243258;
  --accent-soft: #fde4ed;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(28, 37, 32, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 247, 248, 0.92), rgba(255, 247, 248, 0.92)),
    url("assets/sofruity-menu.jpeg") center top / min(92vw, 720px) auto fixed;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 8px clamp(14px, 4vw, 40px);
  background: rgba(255, 247, 248, 0.94);
  border-bottom: 1px solid rgba(234, 217, 225, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--ink);
  justify-self: start;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
  gap: clamp(10px, 1.8vw, 18px);
  color: #243258;
  font-size: 0.88rem;
  font-weight: 800;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.hero {
  min-height: calc(100vh - 48px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 9vw, 116px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 247, 248, 0.98) 0%, rgba(255, 247, 248, 0.9) 45%, rgba(255, 247, 248, 0.42) 100%),
    url("assets/sofruity-menu.jpeg") right center / min(54vw, 560px) auto no-repeat,
    linear-gradient(135deg, #fff7f8 0%, #eef4ff 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 9vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.lede {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(216, 61, 111, 0.22);
}

.button:hover {
  background: var(--accent-dark);
}

.section,
.contact-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

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

.menu-flow {
  max-width: 760px;
}

.menu-step {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 37, 32, 0.06);
}

.menu-step-feature {
  background: linear-gradient(135deg, #ffffff 0%, #fff0f6 100%);
}

.menu-step h3 {
  margin-bottom: 6px;
}

.menu-step p {
  margin-bottom: 0;
}

.menu-step-label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-step-image {
  width: 92px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-image: url("assets/sofruity-menu.jpeg");
  background-repeat: no-repeat;
  background-size: 360px auto;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.72);
}

.menu-image-ice-cream {
  background-position: 17% 26%;
}

.menu-image-fruit {
  background-position: 32% 48%;
}

.menu-image-style {
  background-position: 77% 25%;
}

.menu-image-topping {
  background-position: 51% 71%;
}

.flow-arrow {
  margin: 10px 0;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.menu-step p,
.body-copy,
.contact-copy p,
.success-panel p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--surface);
}

.body-copy {
  max-width: 660px;
  font-size: 1.05rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  max-width: 600px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d9c8d0;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.success-panel {
  width: min(100%, 620px);
  padding: clamp(32px, 6vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.success-panel h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

@media (max-width: 820px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-bottom: min(92vw, 520px);
    background:
      linear-gradient(180deg, rgba(255, 247, 248, 0.99) 0%, rgba(255, 247, 248, 0.94) 48%, rgba(255, 247, 248, 0.35) 100%),
      url("assets/sofruity-menu.jpeg") center bottom / min(88vw, 460px) auto no-repeat,
      linear-gradient(135deg, #fff7f8 0%, #eef4ff 100%);
  }

  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section {
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .brand {
    justify-self: center;
  }

  .nav {
    grid-column: 1;
    justify-content: center;
    gap: 10px;
    font-size: 0.82rem;
  }

  .menu-step {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .menu-step-image {
    width: 64px;
    background-size: 260px auto;
  }

  .contact-form {
    padding: 22px;
  }
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.form-status.is-success {
  background: #eef8f1;
  color: #24633a;
}

.form-status.is-error {
  background: #fff0f1;
  color: #9f1d36;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}
