/* Samson's Holiday Gift Baskets — festive, mobile-first */

:root {
  --cream: #FFF8F0;
  --cream-deep: #F5E6D3;
  --red: #C0392B;
  --red-deep: #922B21;
  --red-soft: #E74C3C;
  --green: #1E8449;
  --green-deep: #145A32;
  --green-soft: #27AE60;
  --gold: #F4C430;
  --gold-soft: #FFE08A;
  --brown: #5D3A1A;
  --ink: #2C1810;
  --muted: #6B4F3A;
  --card: #FFFFFF;
  --btc: #F7931A;
  --btc-deep: #C46E0A;
  --shadow: 0 10px 30px rgba(44, 24, 16, 0.12);
  --radius: 20px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at top, #FFFDF8 0%, var(--cream) 45%, var(--cream-deep) 100%);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a { color: var(--red-deep); }

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}
.wrap.narrow { width: min(720px, calc(100% - 2rem)); }

/* ===== Twinkle lights ===== */
.lights {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-around;
  padding: 0.35rem 0.5rem 0.6rem;
  background: linear-gradient(180deg, var(--green-deep), var(--green));
  box-shadow: 0 4px 12px rgba(20, 90, 50, 0.25);
}
.lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(244, 196, 48, 0.6);
  animation: twinkle 1.6s ease-in-out infinite;
}
.lights span:nth-child(3n) { background: var(--red-soft); box-shadow: 0 0 8px var(--red-soft); animation-delay: 0.3s; }
.lights span:nth-child(3n+1) { background: #7FDBFF; box-shadow: 0 0 8px #7FDBFF; animation-delay: 0.7s; }
.lights span:nth-child(3n+2) { animation-delay: 1.1s; }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* ===== Snow ===== */
.snow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.snow i {
  position: absolute;
  top: -10%;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  opacity: 0.7;
  animation: fall linear infinite;
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
}
.snow i:nth-child(1)  { left: 5%;  animation-duration: 12s; animation-delay: 0s; }
.snow i:nth-child(2)  { left: 15%; animation-duration: 15s; animation-delay: 2s; width: 6px; height: 6px; }
.snow i:nth-child(3)  { left: 25%; animation-duration: 11s; animation-delay: 4s; }
.snow i:nth-child(4)  { left: 35%; animation-duration: 18s; animation-delay: 1s; width: 5px; height: 5px; }
.snow i:nth-child(5)  { left: 45%; animation-duration: 13s; animation-delay: 3s; }
.snow i:nth-child(6)  { left: 55%; animation-duration: 16s; animation-delay: 0.5s; width: 7px; height: 7px; }
.snow i:nth-child(7)  { left: 65%; animation-duration: 14s; animation-delay: 2.5s; }
.snow i:nth-child(8)  { left: 75%; animation-duration: 17s; animation-delay: 1.5s; width: 5px; height: 5px; }
.snow i:nth-child(9)  { left: 85%; animation-duration: 12s; animation-delay: 3.5s; }
.snow i:nth-child(10) { left: 92%; animation-duration: 19s; animation-delay: 0.8s; }
.snow i:nth-child(11) { left: 40%; animation-duration: 20s; animation-delay: 5s; width: 4px; height: 4px; }
.snow i:nth-child(12) { left: 70%; animation-duration: 14s; animation-delay: 6s; width: 6px; height: 6px; }

@keyframes fall {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  100% { transform: translateY(110vh) translateX(40px) rotate(360deg); opacity: 0.2; }
}

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 40;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(192, 57, 43, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.logo-emoji { font-size: 1.4rem; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: white !important;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--red-deep); }

/* ===== Typography helpers ===== */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
.section-head {
  text-align: center;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.section-sub {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--red-soft), var(--red));
  color: white;
  box-shadow: 0 6px 16px rgba(192, 57, 43, 0.3);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--red), var(--red-deep)); }
.btn-ghost {
  background: white;
  color: var(--green-deep);
  border-color: var(--green-soft);
}
.btn-btc {
  background: linear-gradient(180deg, #FFB347, var(--btc));
  color: #2C1810;
  box-shadow: 0 6px 16px rgba(247, 147, 26, 0.35);
  border-color: var(--btc-deep);
}
.btn-btc:hover { background: linear-gradient(180deg, var(--btc), var(--btc-deep)); color: white; }
.btn-block { width: 100%; margin-top: 0.5rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.hero .accent {
  color: var(--red);
  background: linear-gradient(90deg, var(--red), #E67E22);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 34rem;
}
.handpacked {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: white;
  border: 2px solid var(--cream-deep);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.badge.soft {
  background: #E8F8F0;
  border-color: #A9DFBF;
  color: var(--green-deep);
}
.badge.btc {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  border-color: var(--btc);
  color: var(--btc-deep);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(247, 147, 26, 0.35);
  animation: btc-pulse 2.4s ease-in-out infinite;
}
@keyframes btc-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(247, 147, 26, 0.35); }
  50% { box-shadow: 0 4px 22px rgba(247, 147, 26, 0.65); }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.basket-scene {
  background: white;
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 3px solid var(--cream-deep);
  position: relative;
}
.basket-scene::before {
  content: "❄";
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-size: 1.2rem;
  opacity: 0.5;
}
.basket-scene::after {
  content: "❄";
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.2rem;
  opacity: 0.5;
}
.scene-caption {
  text-align: center;
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  color: var(--muted);
  font-weight: 600;
}

/* ===== About ===== */
.about {
  position: relative;
  z-index: 1;
  padding: 1rem 0 3rem;
}
.about-grid {
  display: grid;
  gap: 1.25rem;
}
.about-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(192, 57, 43, 0.08);
}
.about-card h2, .about-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}
.about-card.makers {
  background: linear-gradient(160deg, #E8F8F0, #FFF8F0);
  border-color: rgba(30, 132, 73, 0.2);
}
.about-card .note {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

/* ===== Tiers ===== */
.baskets {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,0.55) 10%, rgba(255,255,255,0.55) 90%, transparent);
}
.tier-grid {
  display: grid;
  gap: 1.25rem;
}
.tier-card {
  position: relative;
  background: var(--card);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--cream-deep);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tier-card.featured {
  border-color: var(--red);
  box-shadow: 0 12px 36px rgba(192, 57, 43, 0.2);
  background: linear-gradient(180deg, #FFFDF8, #FFF0F0);
}
.ribbon {
  position: absolute;
  top: 14px;
  right: -36px;
  background: var(--green);
  color: white;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 2.5rem;
  transform: rotate(35deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tier-top { text-align: center; margin-bottom: 0.5rem; }
.tier-emoji { font-size: 2.4rem; display: block; margin-bottom: 0.35rem; }
.tier-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.25rem;
}
.tier-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.price {
  text-align: center;
  margin: 1rem 0;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: 16px;
}
.price-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 800;
}
.price-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}
.price-tax {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex: 1;
}
.tier-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-bottom: 1px dashed rgba(93, 58, 26, 0.12);
}
.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.tier-foot {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.65rem 0 0;
}
.pay-note {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  border: 2px dashed var(--cream-deep);
  color: var(--muted);
  font-size: 0.95rem;
}
.btc-inline {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--btc-deep);
}

/* ===== Inside ===== */
.inside {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
}
.inside-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.inside-grid li {
  background: white;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.inside-grid li:hover { border-color: var(--gold); }
.inside-grid span { font-size: 1.8rem; }
.inside-grid strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.inside-grid em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.88rem;
}
.allergy-banner {
  background: #FFF3CD;
  border: 2px solid #F0D78C;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin: 0;
  color: #5D4E1A;
  font-size: 0.95rem;
}

/* ===== How ===== */
.how {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: white;
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--green-soft), var(--green));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(30, 132, 73, 0.3);
}
.steps h3 {
  font-family: var(--font-display);
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.steps p { margin: 0; color: var(--muted); }

/* ===== FAQ ===== */
.faq {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
}
.faq details {
  background: white;
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}
.faq details[open] { border-color: rgba(30, 132, 73, 0.25); }
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.4rem;
  font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0.65rem 0 0.25rem;
  color: var(--muted);
}

/* ===== Order ===== */
.order {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3.5rem;
}
.order-box {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 3px solid var(--red-soft);
  background-image:
    linear-gradient(180deg, #FFFDF8, white);
}
.btc-banner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  border: 2px solid var(--btc);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(247, 147, 26, 0.25);
}
.btc-banner-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--btc);
  color: white;
  font-weight: 900;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.btc-banner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--btc-deep);
}
.btc-banner p {
  margin: 0.2rem 0 0;
  color: var(--brown);
  font-size: 0.92rem;
}
.order-intro {
  text-align: center;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.order-buttons {
  display: grid;
  gap: 1rem;
}
.order-row {
  display: grid;
  gap: 0.5rem;
}
.order-secure {
  text-align: center;
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.order-soon {
  text-align: center;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  color: #E8F8F0;
  padding: 2rem 0;
  text-align: center;
}
.footer-inner p { margin: 0.35rem 0; }
.footer-small {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ===== Desktop ===== */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .tier-card.featured {
    transform: scale(1.03);
    z-index: 2;
  }
  .inside-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .order-row {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }
  .order-row .btn-btc {
    white-space: nowrap;
    min-width: 11rem;
  }
}

@media (max-width: 520px) {
  .nav a:not(.nav-cta) { display: none; }
  .lights span:nth-child(n+13) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lights span, .snow i, .badge.btc { animation: none; }
  html { scroll-behavior: auto; }
}
