/* La Vid Coffee quote page. Tokens, type scale and components are taken from lavidcoffee.com's own
   stylesheet (same variable names), so the page reads as part of their site: Fraunces Light display
   type with italic accents, Outfit body, terracotta eyebrows, olive buttons, cream background.
   Their site is light-only, so this page is too. */
:root {
  --olive: #3D4A2E;
  --olive-mid: #5A6B47;
  --olive-light: #E9EDE4;
  --olive-pale: #F4F6F1;
  --cream: #FAF8F4;
  --linen: #F3EDE4;
  --terracotta: #B8704A;
  --terra-light: #F5E8DE;
  --terra-pale: #FBF3EC;
  --charcoal: #1E1D1A;
  --muted: #7A756C;
  --muted-light: #A09A90;
  --gold: #C9A86C;
  --white: #fff;
  --error: #A3412B;
  --line: rgba(61, 74, 46, 0.1);
  --field-line: rgba(61, 74, 46, 0.18);
  --ff-d: "Fraunces", Georgia, serif;
  --ff-b: "Outfit", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--charcoal);
  font: 400 16px/1.7 var(--ff-b); -webkit-font-smoothing: antialiased;
}
body.embed { background: transparent; }
h1, h2, h3 { font-family: var(--ff-d); margin: 0; }
a { color: var(--olive); text-underline-offset: 3px; }
a:hover { color: var(--olive-mid); }
::selection { background: var(--olive-light); }

/* ---------------------------------------------------------------- page */

.wrap { max-width: 1120px; margin: 0 auto; padding: 72px 16px 80px; }
body.embed .wrap { padding: 8px 4px 16px; }
body.embed .intro { display: none; }

.intro { max-width: 640px; margin-bottom: 40px; }
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--terracotta); font-weight: 500; margin: 0 0 14px; line-height: 1.4; }
.stitle { font-size: 40px; font-weight: 300; line-height: 1.2; margin-bottom: 16px; }
.stitle em, .done h2 em { font-style: italic; font-weight: 300; color: var(--olive-mid); }
.lede { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; }
@media (max-width: 600px) {
  .wrap { padding-top: 48px; }
  .stitle { font-size: 34px; }
}

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 40px 36px; }
@media (max-width: 600px) { .card { padding: 28px 20px; } }

/* ---------------------------------------------------------------- form sections */

.step + .step { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 36px; }
.step h2 { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 400; line-height: 1.3; margin-bottom: 24px; }
.num {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--cream); border: 1.5px solid var(--olive);
  font: 400 17px/1 var(--ff-d); color: var(--olive);
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; gap: 0; } }
.field { display: block; margin: 0 0 20px; min-width: 0; border: 0; padding: 0; }
.label {
  display: block; padding: 0; margin-bottom: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--olive); line-height: 1.4;
}
.label em { font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }

input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 16px/1.5 var(--ff-b); color: var(--charcoal); /* 16px+ stops iPhone zooming in on focus */
  background-color: var(--cream); border: 1px solid var(--field-line); border-radius: 3px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; background-color: var(--white); border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-light); }
textarea { resize: vertical; }
select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233D4A2E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
[aria-invalid="true"] { border-color: var(--error); }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--terra-light); }
.err { color: var(--error); font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.err:empty { display: none; }
button:focus-visible, .choice:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: 2px; }

/* Service and add-on choices */
/* Two columns only when each card gets real width (not beside the summary on a ~900-1050px screen). */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.choice {
  position: relative; display: block; cursor: pointer;
  padding: 20px 20px 20px 52px; background: var(--white);
  border: 1px solid var(--field-line); border-radius: 6px; transition: border-color .2s, background .2s;
}
.choice:hover { border-color: var(--olive-mid); }
.choice input { position: absolute; left: 20px; top: 23px; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--olive); box-shadow: none; }
.choice:has(input:checked) { border-color: var(--olive); background: var(--olive-pale); }
.choice:has(input:checked) .choice-desc { color: #6B665E; }
.choice-name { display: block; font: 400 20px/1.3 var(--ff-d); color: var(--charcoal); }
.choice-desc { display: block; margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.tag {
  display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 2px;
  font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.6;
  background: var(--olive-light); color: var(--olive);
}

.addons { display: grid; gap: 10px; }
.addons .choice { padding: 16px 18px 16px 50px; }
.addons .choice input { left: 18px; top: 19px; }
.addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.addon-name { font-size: 15px; font-weight: 500; color: var(--charcoal); line-height: 1.5; }
.addon-price { flex: none; font-size: 14px; color: var(--olive); white-space: nowrap; }
.addons .choice-desc { margin-top: 2px; font-size: 13px; line-height: 1.65; }
.choice.unavailable { opacity: .5; cursor: not-allowed; }
.choice.unavailable:hover { border-color: var(--field-line); }

/* Hours stepper */
.stepper { display: flex; align-items: center; min-height: 48px; background: var(--cream); border: 1px solid var(--field-line); border-radius: 3px; }
.stepper output { flex: 1; text-align: center; font: 400 18px/1 var(--ff-d); color: var(--charcoal); }
.step-btn { width: 48px; height: 46px; border: 0; background: none; font: 300 22px/1 var(--ff-b); color: var(--olive); cursor: pointer; border-radius: 3px; }
.step-btn:hover:not(:disabled) { background: var(--olive-pale); }
.step-btn:disabled { color: var(--muted-light); opacity: .5; cursor: default; }

/* ---------------------------------------------------------------- buttons (their .btn-p / .btn-s) */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 18px 32px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--olive); color: var(--white);
  font: 500 12px/1.4 var(--ff-b); letter-spacing: 2px; text-transform: uppercase;
  transition: background .3s, transform .3s, color .3s;
}
.btn:hover:not(:disabled) { background: var(--olive-mid); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.ghost { width: auto; padding: 16px 32px; background: transparent; color: var(--olive); border: 1.5px solid var(--olive); }
.btn.ghost:hover { background: var(--olive); color: var(--white); }
.fine { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 12px 0 0; }
.form-error { color: var(--error); font-size: 14px; font-weight: 500; margin: 0 0 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- estimate */

.summary { position: sticky; top: 24px; padding: 36px 32px; }
@media (max-width: 900px) { .summary { position: static; order: -1; } }
@media (max-width: 600px) { .summary { padding: 28px 20px; } }
.total { font: 300 48px/1.1 var(--ff-d); margin: 0; color: var(--charcoal); font-variant-numeric: lining-nums tabular-nums; }
.per-guest { color: var(--muted); margin: 8px 0 20px; font-size: 14px; line-height: 1.6; }
.lines, .notes { list-style: none; margin: 0; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.lines li span:last-child { color: var(--charcoal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.notes li { font: italic 400 14px/1.6 var(--ff-d); color: var(--olive); margin-top: 10px; }
.summary .fine { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.call { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.call a { color: var(--olive); font-weight: 500; white-space: nowrap; }
.sig { margin: 6px 0 0; font: italic 400 18px/1.4 var(--ff-d); color: var(--olive); }

/* Phones: keep the total in view while filling in the form. */
.mobile-total { display: none; }
@media (max-width: 900px) {
  .mobile-total {
    display: flex; justify-content: space-between; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--olive); color: var(--white);
  }
  .mobile-total span { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
  .mobile-total strong { font: 300 26px/1 var(--ff-d); font-variant-numeric: lining-nums tabular-nums; }
  .wrap { padding-bottom: 104px; }
  body.embed .mobile-total, .layout[hidden] ~ .mobile-total { display: none; }
}

/* ---------------------------------------------------------------- sent */

.done { max-width: 640px; margin: 0 auto; }
.done h2 { font-size: 36px; font-weight: 300; line-height: 1.25; margin: 0 0 20px; }
.done p { color: var(--muted); line-height: 1.8; margin: 0 0 14px; }
.done strong { color: var(--charcoal); font-weight: 500; }
.done .btn { margin-top: 12px; }
.done:focus { outline: none; }
@media (max-width: 600px) { .done h2 { font-size: 30px; } }
