/* ================================================================
   SIMU WORKS - styles.css  (Calm look, light and dark)
   Colours are named once at the top, so changing a colour is one line.
   ================================================================ */
:root {
  --bg: #f1f5f3; --surface: #ffffff; --ink: #17262a; --muted: #56686b;
  --teal: #1f5f5b; --teal-ink: #ffffff; --sage: #dbe8e2; --line: #d3ddd9;
  --wa: #1c8c58; --gold: #b5832a;
  --radius-lg: 22px; --radius: 14px;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10181a; --surface: #182326; --ink: #e4edea; --muted: #9aaba9;
    --teal: #6cc3b6; --teal-ink: #0e1f1d; --sage: #1f332f; --line: #2a3a3c;
    --wa: #3fbf80; --gold: #e0b45c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #10181a; --surface: #182326; --ink: #e4edea; --muted: #9aaba9;
  --teal: #6cc3b6; --teal-ink: #0e1f1d; --sage: #1f332f; --line: #2a3a3c;
  --wa: #3fbf80; --gold: #e0b45c; color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 72px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  display: flex; align-items: center; gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.logo { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 "Bricolage Grotesque", system-ui, sans-serif; margin-right: auto; }
.logo-mark { width: 16px; height: 26px; border-radius: 5px; background: var(--teal); box-shadow: inset 0 -5px 0 0 color-mix(in srgb, var(--teal-ink) 35%, transparent); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 10px; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--sage); }
.theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 520px) { .top { gap: 6px; } .nav { gap: 0; } .nav a { padding: 8px 5px; font-size: 15px; } .logo span:last-child { font-size: 18px; } }

/* ---------- Layout ---------- */
main { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.block { padding: 64px 0 8px; }
.block h2 { font-size: clamp(30px, 6vw, 42px); }
.sub { color: var(--muted); margin-top: 8px; max-width: 60ch; }

/* ---------- Buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { font: inherit; font-weight: 600; cursor: pointer; background: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s ease; }
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-ghost { border: 1.5px solid var(--ink); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(36px, 8vw, 88px) 0 40px; }
.hero h1 { font-size: clamp(38px, 8.5vw, 68px); font-weight: 700; max-width: 14ch; }
.lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 46ch; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } }

/* The phone: the one memorable thing on the page */
.phone { margin: 0 auto; width: min(300px, 82vw); }
.screen {
  position: relative; overflow: hidden;
  background: var(--surface); border: 10px solid var(--ink); border-radius: 38px;
  padding: 26px 18px 70px; min-height: 380px;
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--teal) 55%, transparent);
}
.menu-head { font: 700 20px/1.2 "Bricolage Grotesque", system-ui, sans-serif; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--teal); }
.row { display: flex; justify-content: space-between; gap: 10px; padding: 11px 8px; border-bottom: 1px dashed var(--line); font-size: 15px; border-radius: 8px; }
.row b { font-weight: 600; white-space: nowrap; }
.row.out { color: var(--muted); }
.row.out b { color: var(--gold); font-weight: 600; }
.price { position: relative; display: inline-grid; justify-items: end; }
.price s, .price ins { grid-area: 1 / 1; text-decoration: none; }
.price ins { opacity: 0; color: var(--teal); }
.live { animation: flash 1.6s ease 2.2s 1 both; }
.price s { animation: strike .5s ease 2.2s 1 forwards; }
.price ins { animation: appear .5s ease 2.6s 1 forwards; }
.toast {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: var(--teal); color: var(--teal-ink); font-size: 14px; font-weight: 600;
  padding: 10px 14px; border-radius: 12px; text-align: center;
  transform: translateY(120%); opacity: 0; animation: toast 3.4s ease 2.6s 1 forwards;
}
.phone figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
@keyframes flash { 0%,100% { background: transparent; } 30% { background: var(--sage); } }
@keyframes strike { to { opacity: 0; transform: translateY(-8px); } }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toast { 0% { transform: translateY(120%); opacity: 0; } 12%,80% { transform: none; opacity: 1; } 100% { transform: translateY(120%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live, .price s, .price ins, .toast { animation: none; }
  .price s { opacity: 0; } .price ins { opacity: 1; }
}

/* ---------- Benefits (quiet, no cards) ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit h3 { font-size: 21px; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Work ---------- */
.work-list { margin-top: 24px; display: grid; gap: 16px; }
.work { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--sage); border-radius: var(--radius-lg); padding: 24px; }
.work > div { max-width: 56ch; }
.work-type { color: var(--muted); font-size: 15px; }
.soon { font-weight: 600; color: var(--muted); border: 1.5px dashed var(--muted); border-radius: 999px; padding: 10px 20px; }
.work h3 { font-size: 26px; margin: 2px 0 6px; }

/* ---------- Prices ---------- */
.offer { margin-top: 18px; padding: 12px 16px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; max-width: 70ch; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; align-items: start; }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.pack.pick { border: 2px solid var(--teal); }
.pick-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--teal-ink); background: var(--teal); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.pack h3 { font-size: 24px; }
.amount { font: 700 28px/1.2 "Bricolage Grotesque", system-ui, sans-serif; margin-top: 10px; }
.note { color: var(--muted); font-size: 14px; }
.pack ul { list-style: none; padding: 0; margin: 18px 0 0; }
.pack li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line); font-size: 16px; }
.pack li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border: solid var(--teal); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.care { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border: 1.5px dashed var(--teal); border-radius: var(--radius-lg); padding: 22px 24px; }
.care h3 { font-size: 22px; margin-bottom: 4px; }
.care p { color: var(--muted); max-width: 52ch; }
.care-price { text-align: right; color: var(--ink) !important; }
.care-price b { font: 700 24px/1.2 "Bricolage Grotesque", system-ui, sans-serif; }
.care-price span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .packages { grid-template-columns: 1fr; } .care-price { text-align: left; } }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--teal); font: 700 18px/1 "Bricolage Grotesque", system-ui, sans-serif; margin-bottom: 12px; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; min-height: 64px; }
.contact-card span { font-size: 14px; color: var(--muted); }
.contact-card b { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.contact-card[data-wa] { border-color: var(--wa); }
.contact-card.wide { grid-column: 1 / -1; }
@media (max-width: 420px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer and floating button ---------- */
.foot { max-width: 1080px; margin: 64px auto 0; padding: 24px clamp(16px, 4vw, 40px) 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.float-wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 8;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
}
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 400px) { .nav-contact { display: none; } .theme { flex: none; } }

/* ---------- Stage 2: booking and checking ---------- */
.btn-main { background: var(--teal); color: var(--teal-ink); border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn-main:disabled { opacity: .6; cursor: wait; }
.pack-book { margin-top: 18px; width: 100%; min-height: 46px; }
.form { margin-top: 24px; display: grid; gap: 16px; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 17px; line-height: 1.4; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 50px;
}
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form .invalid { border-color: #c2413a; }
.privacy { color: var(--muted); font-size: 14px; }
.form-msg { color: #c2413a; font-weight: 600; font-size: 15px; }
.form-msg:empty { display: none; }
.form-row { grid-template-columns: 1fr 1fr auto; align-items: end; max-width: 760px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.done, .result { margin-top: 24px; max-width: 560px; background: var(--sage); border-radius: var(--radius-lg); padding: 24px; }
.done h3, .result h3 { font-size: 24px; margin-bottom: 6px; }
.code-big { font: 700 clamp(30px, 9vw, 40px)/1.1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: .04em; margin: 14px 0 6px; color: var(--teal); user-select: all; }
.done p, .result p { color: var(--ink); }
.done .buttons { margin-top: 18px; }
.done .muted, .result .muted { color: var(--muted); font-size: 15px; }
.track { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.track li { position: relative; padding: 0 0 18px 34px; color: var(--muted); }
.track li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); background: var(--sage); }
.track li::after { content: ""; position: absolute; left: 12px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
.track li.passed { color: var(--ink); }
.track li.passed::before { background: var(--teal); border-color: var(--teal); }
.track li.now { color: var(--ink); }
.track li.now::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal) 25%, transparent); }
.track b { display: block; }
.track span { font-size: 15px; }
.client-note { margin-top: 6px; padding: 12px 14px; border-left: 4px solid var(--teal); background: var(--surface); border-radius: 0 12px 12px 0; }
