:root {
  --cream: #faf5ec;
  --sand: #f1e6d3;
  --ink: #2b211b;
  --ink-soft: #6b5a4c;
  --amber: #d9822b;
  --amber-deep: #b5651d;
  --wax: #fffaf1;
  --night: #241a14;
  --wa: #25d366;
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 33, 27, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.topbar-cta {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--amber-deep);
  padding: 0.45rem 0.9rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.topbar-cta:hover { background: var(--amber-deep); color: var(--wax); }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(217, 130, 43, 0.18), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--sand));
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; }
h1 {
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  margin: 1.1rem 0 1.75rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 32rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: var(--amber-deep);
  color: var(--wax);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(181, 101, 29, 0.7);
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { background: var(--amber); transform: translateY(-2px); }
.btn svg { width: 1.35rem; height: 1.35rem; }
.btn-light {
  background: var(--wax);
  color: var(--night);
  box-shadow: 0 10px 30px -12px rgba(217, 130, 43, 0.8);
}
.btn-light:hover { background: #fff; }

/* Candle illustration */
.hero-art {
  position: relative;
  height: 17rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.1rem;
}
.glow {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 16rem;
  height: 16rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 190, 100, 0.55), rgba(255, 190, 100, 0) 65%);
  filter: blur(6px);
  animation: breathe 4s ease-in-out infinite;
}
.candle {
  position: relative;
  width: 4.2rem;
  border-radius: 0.6rem 0.6rem 0.4rem 0.4rem;
  background: linear-gradient(90deg, #f3e7d4 0%, var(--wax) 40%, #eadcc4 100%);
  box-shadow: inset 0 -10px 20px rgba(181, 101, 29, 0.08), 0 18px 30px -18px rgba(43, 33, 27, 0.5);
}
.candle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.9rem;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff6e3, #ecdcc0);
}
.candle-tall { height: 11rem; }
.candle-mid { height: 8rem; width: 5rem; background: linear-gradient(90deg, #e9b98a 0%, #f4cfa6 40%, #dca577 100%); }
.candle-mid::before { background: radial-gradient(ellipse at center, #f8dcbc, #e2b083); }
.candle-short { height: 5.5rem; width: 3.6rem; }
.wick {
  position: absolute;
  left: 50%;
  top: -0.55rem;
  width: 2px;
  height: 0.75rem;
  background: var(--ink);
  transform: translateX(-50%);
  border-radius: 2px;
}
.flame {
  position: absolute;
  left: 50%;
  top: -2.6rem;
  width: 1.1rem;
  height: 2.1rem;
  margin-left: -0.55rem;
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 75%, #fff 0%, #ffe9a8 30%, #ffb347 60%, rgba(255, 140, 40, 0) 100%);
  transform-origin: 50% 90%;
  animation: flicker 2.4s ease-in-out infinite;
}
.candle-mid .flame { animation-delay: -0.8s; }
.candle-short .flame { animation-delay: -1.5s; }

@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-1deg); opacity: 1; }
  25% { transform: scale(0.96, 1.05) rotate(2deg); }
  50% { transform: scale(1.03, 0.95) rotate(-2deg); opacity: 0.92; }
  75% { transform: scale(0.98, 1.03) rotate(1deg); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .flame, .glow { animation: none; }
  html { scroll-behavior: auto; }
}

/* Steps */
.steps { padding: 4rem 0; }
.steps h2, .contact h2 { font-size: clamp(1.8rem, 5.5vw, 2.5rem); font-weight: 600; }
.section-lead { margin: 0.75rem 0 2.25rem; color: var(--ink-soft); }
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.step-list li {
  background: #fff;
  border: 1px solid rgba(43, 33, 27, 0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 30px -24px rgba(43, 33, 27, 0.45);
}
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(217, 130, 43, 0.12);
  color: var(--amber-deep);
}
.step-icon svg { width: 1.5rem; height: 1.5rem; }
.step-list h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.35rem; }
.step-list p { margin: 0; color: var(--ink-soft); }

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 130, 43, 0.35), transparent 65%),
    var(--night);
  color: var(--wax);
  text-align: center;
  padding: 4.5rem 0;
}
.contact-inner { max-width: 40rem; }
.contact p { margin: 1rem 0 0; font-size: 1.1rem; }
.contact a:not(.btn) { color: #ffc98a; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact .muted { margin-top: 0.4rem; color: rgba(255, 250, 241, 0.7); font-size: 1rem; }
.contact .btn { margin-top: 2rem; }

/* Footer */
.footer {
  background: var(--night);
  color: rgba(255, 250, 241, 0.6);
  border-top: 1px solid rgba(255, 250, 241, 0.1);
  text-align: center;
  font-size: 0.9rem;
  padding: 1.5rem 0 6rem;
}
.footer p { margin: 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 2rem; height: 2rem; }

a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* Larger screens */
@media (min-width: 40rem) {
  .btn { width: auto; }
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 56rem) {
  .wrap { padding: 0 2rem; }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 5rem;
    padding-bottom: 5.5rem;
  }
  .hero-art { height: 22rem; gap: 1.5rem; }
  .candle-tall { height: 15rem; width: 5rem; }
  .candle-mid { height: 11rem; width: 6rem; }
  .candle-short { height: 7.5rem; width: 4.4rem; }
  .glow { width: 22rem; height: 22rem; }
  .steps { padding: 6rem 0; }
  .contact { padding: 6rem 0; }
  .footer { padding-bottom: 1.5rem; }
}
