@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --sage: #cddbc8;
  --sage-strong: #9caf9b;
  --beige: #f4f0e6;
  --beige-strong: #e6ddcf;
  --text-dark: #2f3a2f;
  --text-muted: #4f5b4f;
  --accent: #d4b58c;
  --accent-strong: #b48a55;
  --white: #ffffff;
  --shadow-soft: 0 18px 40px rgba(30, 43, 33, 0.12);
  --shadow-light: 0 12px 24px rgba(30, 43, 33, 0.08);
  --radius-card: 18px;
  --transition: all 0.3s ease;
  --disclaimer-bg: #ff7a6a;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--beige);
  color: var(--text-dark);
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  margin: 0 0 0.4em;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

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

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

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

.page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f3eb 0%, #f0eadf 60%, #f7f3eb 100%);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.btn.primary {
  background: linear-gradient(135deg, var(--sage-strong), var(--text-dark));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(30, 43, 33, 0.2);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-dark);
  border: 1px solid rgba(47, 58, 47, 0.14);
}

.btn.ghost:hover {
  background: var(--white);
  transform: translateY(-1px);
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(244, 240, 230, 0.9);
  border-bottom: 1px solid rgba(47, 58, 47, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand .dot {
  width: 12px;
  height: 12px;
  background: var(--sage-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(156, 175, 155, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  transition: var(--transition);
}

.nav-links a:hover {
  background: rgba(156, 175, 155, 0.14);
  color: var(--text-dark);
}

.hero {
  position: relative;
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
  align-items: center;
}

.hero-text {
  grid-column: span 6;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(156, 175, 155, 0.16);
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(212, 181, 140, 0.28);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-light);
}

.hero-media {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 14px;
}

.hero-media .card-large {
  grid-column: span 4;
  grid-row: span 6;
  background: linear-gradient(160deg, rgba(156, 175, 155, 0.18), rgba(244, 240, 230, 0.6));
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  min-height: 340px;
}

.hero-media .card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .card-small {
  grid-column: span 2;
  grid-row: span 3;
  background: var(--white);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-media .card-small .label {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.hero-media .card-small img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.disclaimer {
  margin: 32px 0 26px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: var(--disclaimer-bg);
  color: #1f1f1f;
  box-shadow: var(--shadow-light);
  text-align: center;
}

.disclaimer strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-header p {
  max-width: 520px;
}

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

.card {
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(156, 175, 155, 0.08) 100%);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(156, 175, 155, 0.16);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(212, 181, 140, 0.2);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13px;
}

.editorial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.editorial .block {
  background: linear-gradient(150deg, rgba(156, 175, 155, 0.14), rgba(244, 240, 230, 0.7));
  padding: 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-light);
  display: grid;
  gap: 14px;
  align-items: center;
}

.editorial .block img {
  border-radius: 14px;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
}

.product-card {
  display: grid;
  gap: 10px;
  text-align: center;
}

.product-card .card-link {
  display: block;
  color: inherit;
}

.product-card img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto;
}

.product-card .price-tag {
  justify-content: center;
}

.product-card .btn {
  width: 100%;
}

.quote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--text-dark);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ingredient-card {
  border: 1px solid rgba(47, 58, 47, 0.1);
}

.ingredient-card h4 {
  font-size: 18px;
}

.ingredient-tag {
  display: inline-block;
  background: rgba(156, 175, 155, 0.16);
  color: var(--text-dark);
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.step-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(47, 58, 47, 0.06);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(47, 58, 47, 0.1);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.order-cta {
  text-align: center;
  margin-top: 10px;
}

.footer {
  background: #eae2d4;
  padding: 28px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(47, 58, 47, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.legal-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Order page */
.order-hero {
  padding: 32px 0 18px;
}

.order-shell {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(47, 58, 47, 0.08);
  margin-bottom: 34px;
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.progress-step {
  padding: 12px;
  border-radius: 12px;
  background: rgba(156, 175, 155, 0.14);
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid transparent;
}

.progress-step.active {
  background: linear-gradient(135deg, var(--sage-strong), var(--text-dark));
  color: var(--white);
  box-shadow: var(--shadow-light);
}

.form-step {
  display: none;
  animation: fadeIn 0.35s ease;
}

.form-step.active {
  display: grid;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  color: var(--text-dark);
}

.field input,
.field select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(47, 58, 47, 0.18);
  background: #faf7f1;
  font-size: 15px;
  transition: var(--transition);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--sage-strong);
  box-shadow: 0 0 0 3px rgba(156, 175, 155, 0.18);
}

.field input.error,
.field select.error {
  border-color: #c0392b;
  background: #fff4f4;
}

.error-text {
  color: #c0392b;
  font-size: 13px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.summary {
  margin-top: 14px;
  padding: 14px;
  background: rgba(156, 175, 155, 0.12);
  border-radius: 14px;
}

.summary strong {
  display: block;
  margin-bottom: 6px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  header {
    position: sticky;
  }
}

@media (min-width: 960px) {
  .editorial .block {
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 60px 0 30px;
  }

  .section {
    padding: 28px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

