:root {
  --sand: #f6f1e8;
  --ink: #1f1b16;
  --accent-warm: #f3b34c;
  --accent-deep: #d8892d;
  --accent-leaf: #12a150;
  --muted-coffee: #6d5c4a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: var(--sand);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(243, 179, 76, 0.35), transparent 55%),
    radial-gradient(circle at 80% 35%, rgba(18, 161, 80, 0.25), transparent 60%),
    rgba(14, 11, 9, 0.92);
  color: #fff;
  z-index: 999;
  overflow: hidden;
  animation: fade-in 0.4s ease forwards;
}

.preloader__lights {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 25%, rgba(249, 215, 127, 0.55), transparent 65%),
    radial-gradient(circle at 70% 70%, rgba(243, 179, 76, 0.45), transparent 70%),
    radial-gradient(circle at 40% 85%, rgba(18, 161, 80, 0.35), transparent 75%);
  filter: blur(60px);
  opacity: 0.75;
  transform: scale(1.1);
  animation: preloader-glow 6s ease-in-out infinite alternate;
}

.preloader__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 24px;
}

.preloader__badge {
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.preloader__spinner {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}

.preloader__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(243, 179, 76, 0.8);
  animation: spin 2.6s linear infinite;
}

.preloader__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(243, 179, 76, 0.95), rgba(18, 161, 80, 0.9));
  animation: pulse 1.4s ease-in-out infinite;
}

.preloader__copy {
  font-size: 16px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.78);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes preloader-glow {
  0% {
    transform: scale(1.05) translate(0, 0);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1) translate(12px, -16px);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.05) translate(-8px, 12px);
    opacity: 0.75;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Layout */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 249, 241, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f9d77f, #f3b34c 55%, #d8892d);
  box-shadow: 0 12px 28px rgba(216, 137, 45, 0.35);
}

.brand__text {
  line-height: 1.2;
}

.brand__label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
}

.brand__name {
  font-size: 20px;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #4b4035;
}

nav a:hover {
  color: var(--accent-deep);
}

.button-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(216, 137, 45, 0.4);
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(216, 137, 45, 0.25);
}

main {
  flex: 1;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background: #0e0b09;
  color: #fff;
  box-shadow: 0 40px 90px rgba(14, 11, 9, 0.45);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(110%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0.35));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 10vw, 120px) clamp(40px, 8vw, 80px);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f9d77f;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero__title {
  margin: 30px 0 16px;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.1;
}

.hero__lead {
  margin: 0 auto 40px;
  max-width: 620px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent-warm);
  color: #1f1308;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 22px 45px rgba(243, 179, 76, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(243, 179, 76, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.hero__highlights {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.hero-highlight {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  padding: 28px;
  text-align: left;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-highlight h3 {
  margin: 14px 0 8px;
  font-size: 24px;
  color: #fff;
}

.hero-highlight p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #f3ebdf;
  box-shadow: 0 18px 45px rgba(27, 17, 8, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(27, 17, 8, 0.12);
}

.card__media {
  height: 200px;
  overflow: hidden;
}

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

.card:hover .card__media img {
  transform: scale(1.1);
}

.card__badge {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: #c2812d;
}

.card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card__body h3 {
  margin: 0;
  font-size: 22px;
}

.card__body p {
  margin: 0;
  font-size: 15px;
  color: var(--muted-coffee);
  line-height: 1.6;
}

.card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}

/* Split section */
.split-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(21, 12, 3, 0.4);
}

@media (min-width: 992px) {
  .split-section {
    flex-direction: row;
  }
}

.split-section__visual,
.split-section__content {
  flex: 1;
  position: relative;
}

.split-section__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.82), transparent 65%);
}

.split-section__inner {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 8vw, 70px);
  color: #fff;
}

.split-section__inner h2 {
  font-size: clamp(30px, 4vw, 52px);
  margin: 30px 0 20px;
}

.split-section__inner ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.split-section__content-inner {
  padding: clamp(40px, 8vw, 70px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: rgba(255, 255, 255, 0.95);
}

.split-section__content-inner h3 {
  font-size: 26px;
  margin: 20px 0 16px;
}

.split-section__content-inner ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted-coffee);
  line-height: 1.7;
  font-size: 16px;
}

.split-section__content-inner ol strong {
  color: var(--ink);
}

.note-card {
  border-radius: 28px;
  border: 1px solid rgba(243, 179, 76, 0.35);
  background: #fff8ed;
  padding: 28px;
  color: var(--muted-coffee);
  line-height: 1.6;
}

.note-card h4 {
  margin-top: 0;
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* Recipe section */
.recipe-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .recipe-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.recipe-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #f3ebdf;
  box-shadow: 0 20px 55px rgba(27, 17, 8, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(27, 17, 8, 0.12);
}

.recipe-card img {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  object-fit: cover;
}

.recipe-card h3 {
  margin: 0;
  font-size: 20px;
}

.recipe-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-coffee);
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(216, 137, 45, 0.4);
  color: var(--accent-deep);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(243, 179, 76, 0.12);
}

.recipe-visual {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(17, 12, 9, 0.35);
}

.recipe-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
}

.recipe-visual__content {
  position: absolute;
  inset: 0;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 249, 241, 0.85);
  padding: 40px 24px;
  font-size: 14px;
  color: var(--muted-coffee);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

/* Cookie banner */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 900;
  backdrop-filter: blur(6px);
}

.cookie-card {
  width: min(500px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.95);
  padding: 36px;
  text-align: center;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.35);
}

.cookie-card::before,
.cookie-card::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}

.cookie-card::before {
  background: radial-gradient(circle at 30% 30%, rgba(243, 179, 76, 0.45), transparent 65%);
}

.cookie-card::after {
  background: radial-gradient(circle at 70% 70%, rgba(18, 161, 80, 0.35), transparent 70%);
}

.cookie-card > * {
  position: relative;
  z-index: 1;
}

.cookie-card h2 {
  margin-top: 16px;
  font-size: 24px;
}

.cookie-card p {
  color: var(--muted-coffee);
  line-height: 1.6;
}

.cookie-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-deny,
.btn-custom,
.btn-accept {
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-deny {
  background: #c2553a;
  color: #fff;
  box-shadow: 0 18px 40px rgba(194, 85, 58, 0.35);
}

.btn-custom {
  background: #fff;
  color: var(--accent-deep);
  border: 1px solid rgba(216, 137, 45, 0.4);
  box-shadow: 0 4px 12px rgba(216, 137, 45, 0.18);
}

.btn-accept {
  background: var(--accent-leaf);
  color: #fff;
  box-shadow: 0 20px 50px rgba(18, 161, 80, 0.35);
}

.btn-deny:hover,
.btn-custom:hover,
.btn-accept:hover {
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  header {
    position: static;
  }

  nav {
    display: none;
  }

  .section {
    padding: 60px 20px;
  }

  .hero__content {
    padding: 70px 24px;
  }

  .recipe-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .recipe-card img {
    width: 100%;
    height: 180px;
  }
}
