/* Palette taken from the app's Colors.swift (light mode) plus a cream base. */
:root {
  --primary: #1E7A4C;
  --primary-soft: #E3F3EA;
  --deep: #14532D;
  --header-start: #2E8B57;
  --accent: #B8901E;
  --gold-light: #E8C45C;
  --cream: #F6EFDD;
  --paper: #FFFBF2;
  --text: #14201A;
  --text-2: #5F7068;
  --line: #E6DCC3;
  --whatsapp: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text); line-height: 1.5; }
a { color: inherit; text-decoration: none; }

/* iOS Safari paints a grey rectangle on every tap that ignores border-radius; replace it with
   our own press feedback. touch-action removes the double-tap-zoom delay on controls. */
html { -webkit-tap-highlight-color: transparent; }
a, button, label, select, input { touch-action: manipulation; }
button, .btn, .lang button, .seg button, .near-me, .fab, .loc, .express { transition: transform .12s ease, background-color .15s, border-color .15s, opacity .15s; }
button:active, .btn:active, .near-me:active, .loc:active, .express:active { transform: scale(.97); }
.fab:active { transform: scale(.92); }
.lang button:active { transform: none; opacity: .7; }
button:disabled:active { transform: none; }
/* Keyboard users still get a visible focus ring; mouse/touch taps don't. */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 12px; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Nav */
nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 21px; color: var(--deep); letter-spacing: -0.5px; }
.brand-sub { font-weight: 600; color: var(--primary); }
.lang { display: flex; border: 1.5px solid var(--deep); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; font: 700 12px 'Inter'; padding: 6px 12px; cursor: pointer; color: var(--deep); }
.lang button.active { background: var(--deep); color: var(--paper); }

/* Hero: bold copy on the left, the pickup form itself sits in the green panel on the right */
.hero { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; padding: 20px 0 40px; }
.hero h1 { font-size: 52px; line-height: 1.04; font-weight: 900; letter-spacing: -1.8px; color: var(--deep); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: var(--text-2); margin-top: 14px; max-width: 440px; }
.pills { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.pill { font-size: 13px; font-weight: 600; color: var(--deep); background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.from { margin-top: 22px; display: inline-flex; align-items: baseline; gap: 8px; background: var(--gold-light); color: var(--deep); padding: 10px 18px; border-radius: 14px; font-weight: 700; }
.from b { font-size: 24px; font-weight: 900; }

.panel { background: linear-gradient(160deg, var(--header-start), var(--deep)); border-radius: 28px; padding: 22px; position: relative; overflow: hidden; }
.panel::before { content: ''; position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.15); }
.panel-head { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 16px; position: relative; }
.panel-head b { display: block; font-size: 18px; font-weight: 800; }
.panel-head span { font-size: 13px; opacity: .8; }

.form { --field-h: 48px; background: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; }
/* Every form control shares one height so the stack lines up on every browser.
   16px text stops iOS Safari from zooming in on focus. */
.form input:not([type="checkbox"]), .form select { -webkit-appearance: none; appearance: none; width: 100%; height: var(--field-h); padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); font: 500 16px 'Inter'; background-color: var(--paper); color: var(--text); }
.form input::placeholder { color: var(--text-2); opacity: .8; }
.form select { padding-right: 40px; cursor: pointer; background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231E7A4C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); }
.form input:focus, .form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
/* Pickup time: tap-to-choose day + slot instead of a native date/time picker */
.when { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.when-label { font-size: 13px; font-weight: 700; color: var(--deep); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button { height: var(--field-h); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: var(--paper); color: var(--text); border-radius: 12px; padding: 0 6px; font: 600 14px 'Inter'; cursor: pointer; line-height: 1.2; }
.seg button small { font-size: 11px; font-weight: 500; color: var(--text-2); margin-top: 1px; }
.seg button[aria-checked="true"] { border-color: var(--primary); background: var(--primary-soft); color: var(--deep); }
.seg button:disabled { opacity: .4; cursor: default; }
/* Express is a flag on top of any service (same as the app's is_express), highlighted in gold to upsell */
.express { display: flex; align-items: center; gap: 10px; min-height: var(--field-h); padding: 0 14px; border-radius: 12px; background: #FBF3DA; border: 1.5px solid var(--gold-light); font-size: 14px; font-weight: 600; color: var(--deep); cursor: pointer; }
.express input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex-shrink: 0; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 14px; height: 52px; padding: 0 16px; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; }
.btn-wa { background: var(--whatsapp); color: #fff; }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 26px; margin-bottom: 20px; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.card-title h2 { font-size: 26px; font-weight: 900; letter-spacing: -0.8px; color: var(--deep); }
.card-title p { color: var(--text-2); font-size: 14px; }

/* Menu-style price list in two columns */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.group { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.item { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 16px; }
.item .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.item .val { font-weight: 800; color: var(--primary); white-space: nowrap; }
.item .val small { color: var(--text-2); font-weight: 500; }
.badge { font-size: 10px; font-weight: 800; background: var(--gold-light); color: var(--deep); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* Locations: compact list + map */
.loc-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.loc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 2px solid transparent; cursor: pointer; }
.loc.active { border-color: var(--primary); background: #fff; }
.loc-dot { width: 38px; height: 38px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; flex-shrink: 0; }
.loc-info { flex: 1; }
.loc-info b { display: block; color: var(--deep); font-size: 15px; }
.loc-info span { color: var(--text-2); font-size: 13px; }
.loc a { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.loc-info .dist { color: var(--primary); font-weight: 700; }
.near-me { border: 1.5px solid var(--primary); background: transparent; color: var(--primary); font: 700 13px 'Inter'; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.near-me:disabled { opacity: .6; cursor: default; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 250px; }
.map iframe { width: 100%; height: 100%; min-height: 250px; border: 0; display: block; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--text-2); font-size: 13px; padding: 8px 0 40px; }
footer a:hover { color: var(--primary); }
.fab { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); font-size: 26px; z-index: 20; }

@media (max-width: 860px) {
  .hero, .loc-wrap, .menu { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .menu .col + .col { margin-top: 12px; }
}
