:root {
  --accent: #88a89c;      /* sage, from the logo's "Dulce" */
  --accent-dark: #5e8072; /* darker sage: buttons, so white text is readable */
  --taupe: #b89c88;       /* from the logo's "PROMESA" */
  --taupe-dark: #86695a;  /* small labels */
  --soft: #f7f2ee;        /* warm cream background */
  --sage-soft: #eef4f1;   /* very pale green background */
  --line: #e4d8cf;
  --ink: #3d3a38;
  --muted: #6e6762;
  --wa: #25d366;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
img { display: block; max-width: 100%; height: auto; }

body {
  font-family: "Josefin Sans", system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3 { font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 2.5rem; }
h3 { font-size: 1.15rem; font-weight: 600; }

.script {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.25em;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid var(--accent-dark);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: #4d6b5f; border-color: #4d6b5f; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--accent); }
.btn-white { background: #fff; color: var(--accent-dark); border-color: #fff; }
.btn-white:hover { background: var(--soft); border-color: var(--soft); }
.btn-small { padding: 0.6rem 1.2rem 0.45rem; font-size: 0.85rem; }
.wa-icon { width: 1.2rem; height: 1.2rem; fill: currentColor; margin-top: -0.15rem; }

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem max(1.25rem, calc((100% - var(--wrap)) / 2));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--soft);
}
.nav nav { display: flex; gap: 2rem; }
.nav nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.nav nav a:hover { color: var(--accent-dark); }

/* Sections */
.section { padding: 5.5rem 1.25rem; max-width: var(--wrap); margin: 0 auto; }

/* Hero */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-media { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 24px 24px;
}
.hero-badge {
  position: absolute;
  left: -2.5rem;
  bottom: -2rem;
  width: 42%;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(94, 128, 114, 0.22);
}

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.card { text-align: center; }
.card img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  padding: 8px;
  border: 3px dotted var(--accent);
  margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Occasions */
.occasions { max-width: none; background: var(--soft); }
.occasions-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.occasions h2 { margin-bottom: 1rem; }
.occasions-photo { border-radius: 24px; aspect-ratio: 9 / 10; object-fit: cover; }
.occasion-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin: 1.75rem 0 2.25rem;
}
.occasion-list li { padding-left: 1.4rem; position: relative; }
.occasion-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 16px; }

/* Steps */
.steps-section { padding-top: 2rem; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.step-num {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px dotted var(--accent);
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  color: var(--accent-dark);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--muted); max-width: 28ch; margin: 0 auto; }

/* Final CTA */
.cta {
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
  padding: 5rem 1.25rem;
}
.cta h2 { margin-bottom: 0.75rem; }
.cta .script { color: #fff; }
.cta p { font-size: 1.1rem; margin-bottom: 2rem; }

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 1.25rem 3rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 20;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 1.9rem; height: 1.9rem; fill: #fff; }

/* Tablet */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .nav nav { gap: 1.25rem; }
}

/* Phone */
@media (max-width: 720px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 2rem; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-media { max-width: 340px; margin: 0 auto; }
  .hero-badge { left: -1rem; }
  .occasions-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.25rem; }
}

/* Bigger logos */
.nav-logo img { width: 104px; height: 104px; }
.hero-badge { width: 66%; left: -4rem; bottom: -3rem; }
@media (max-width: 720px) {
  .nav-logo img { width: 76px; height: 76px; }
  .hero-badge { width: 62%; left: -1.5rem; }
}

/* Keep the hero photo + logo inside the first screen */
@media (min-width: 721px) {
  .hero { padding-top: 2rem; padding-bottom: 3rem; }
  .hero-media { width: fit-content; justify-self: end; }
  .hero-photo { width: auto; height: clamp(420px, calc(100vh - 230px), 620px); }
  .hero-badge { width: 300px; left: -4.5rem; bottom: -1.5rem; }
}

/* New logo (sage + taupe wordmark, no circle) */
.nav-logo img { width: 130px; height: auto; }
.hero-badge {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(94, 128, 114, 0.22);
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 3px dotted var(--accent);
  border-radius: 50%;
}
.hero-badge img { width: 72%; height: auto; }
@media (max-width: 720px) { .nav-logo img { width: 100px; } }

/* More green accents */
h2::after {
  content: "";
  display: block;
  width: 64px;
  margin-top: 0.9rem;
  border-top: 3px dotted var(--accent);
}
h2.center::after { margin-left: auto; margin-right: auto; }
.cta h2::after { display: none; }
.occasions { background: var(--sage-soft); }
.step-num { background: var(--sage-soft); }
.nav { border-bottom: 1px solid var(--sage-soft); }
.footer { border-top: 1px solid var(--sage-soft); }

/* ---------- Order page ---------- */
.nav nav a[aria-current="page"] { color: var(--accent-dark); font-weight: 400; }
.muted { color: var(--muted); }
.order { max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.order-head { margin-bottom: 2.5rem; }
.order-head h1 { margin-bottom: 1rem; }
.order-head h1::after { content: ""; display: block; width: 64px; margin: 0.9rem auto 0; border-top: 3px dotted var(--accent); }
.order-head .lead { margin: 0 auto; }
.order-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.order-steps { display: grid; gap: 1.5rem; }
.order-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; }
.order-title { font-size: 1.3rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.order-title::after { display: none; }
.order-num {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none;
  border-radius: 50%; border: 2px dotted var(--accent); background: var(--sage-soft);
  font-family: "Dancing Script", cursive; font-size: 1.3rem; color: var(--accent-dark);
}

/* menu */
.menu-cat { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-dark); margin: 1.25rem 0 0.5rem; }
.menu-cat:first-child { margin-top: 0; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.5rem 1.25rem; align-items: center;
  padding: 0.9rem 1rem; border-radius: 14px; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s;
}
.menu-item + .menu-item { border-top-color: var(--soft); }
.menu-item.selected { background: var(--sage-soft); border-color: #d5e3dc; }
.menu-info strong { display: block; font-weight: 600; }
.menu-detail { font-size: 0.9rem; color: var(--muted); }
.menu-price { font-weight: 400; }
.stepper { display: flex; align-items: center; gap: 0.5rem; }
.step-btn {
  width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--accent); background: #fff;
  color: var(--accent-dark); font-size: 1.1rem; line-height: 1; cursor: pointer; font-family: inherit;
}
.step-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.step-qty { min-width: 1.4rem; text-align: center; font-weight: 600; }
.item-note { grid-column: 1 / -1; }
.item-note span, .field > span { display: block; font-size: 0.85rem; margin-bottom: 0.35rem; color: var(--muted); }
textarea, input[type="text"], input[type="tel"], input[type="email"], .field input {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); padding: 0.7rem 0.85rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; resize: vertical;
}
textarea:focus, .field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

/* notice + calendar */
.notice { background: var(--sage-soft); border-left: 4px solid var(--accent); border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 1.5rem; font-size: 0.95rem; }
.notice strong { font-weight: 600; }
.calendar { max-width: 380px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; font-weight: 600; text-transform: capitalize; }
.cal-nav { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.2rem; color: var(--accent-dark); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem; text-align: center; }
.cal-dow { font-size: 0.75rem; font-weight: 600; color: var(--muted); padding-bottom: 0.25rem; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; font: inherit; font-weight: 400; color: var(--ink); cursor: pointer; }
.cal-day:not(:disabled):hover { background: var(--sage-soft); }
.cal-day.cal-off { color: #c9c4c0; cursor: default; }
.cal-day.cal-sun, .cal-dow.cal-sun { color: #d9b8b8; text-decoration: line-through; }
.cal-dow.cal-sun { text-decoration: none; }
.cal-day.cal-chosen { background: var(--accent-dark); color: #fff; font-weight: 600; }
.chosen-date { margin-top: 1rem; color: var(--accent-dark); font-weight: 400; }

/* delivery + fields */
.choice { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.choice label { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--sage-soft); }
.choice input { accent-color: var(--accent-dark); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-wide { grid-column: 1 / -1; }

/* summary */
.order-summary { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; box-shadow: 0 10px 30px rgba(94, 128, 114, 0.1); }
.summary-lines { list-style: none; margin-bottom: 1rem; display: grid; gap: 0.5rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px dotted var(--line); font-size: 0.95rem; }
.summary-total { font-weight: 600; font-size: 1.15rem; }
.summary-date span:last-child { text-align: right; }
.btn-full { width: 100%; justify-content: center; margin-top: 1.25rem; cursor: pointer; font-family: inherit; }
.btn-full:disabled { opacity: 0.6; cursor: wait; }
.secure { margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); text-align: center; }
.form-error { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 12px; background: #fdecec; color: #9b2c2c; font-size: 0.9rem; }

/* thanks page */
.thanks { max-width: 640px; margin: 0 auto; padding: 4rem 1.25rem 5rem; }
.thanks-box h1 { margin-bottom: 1rem; }
.thanks-box .lead { margin: 0 auto 2rem; }
.thanks-box #t-details { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 720px) {
  .order-box { padding: 1.25rem; }
  .menu-item { grid-template-columns: 1fr auto; }
  .menu-price { grid-column: 2; grid-row: 1; }
  .stepper { grid-column: 1 / -1; }
  .fields { grid-template-columns: 1fr; }
}
