/* Vitoks Construction LLC — shared stylesheet
   Premium contractor look: warm neutrals + deep green + amber.
   NOTE: class names used by public.js / booking.js / admin pages are
   preserved. New design classes are marked "NEW". Mobile-first. */

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-warm: #f4efe4;
  --ink: #1e1a15;
  --muted: #6f6557;
  --line: #e6dcc8;
  --green: #1f4032;
  --green-dark: #14291f;
  --green-tint: #e9f0eb;
  --amber: #c9862b;
  --amber-dark: #a96f1f;
  --amber-tint: #fbf3e2;
  --danger: #b3402e;
  --danger-tint: #f9e9e5;
  --success: #2e7d4f;
  --success-tint: #e7f2ec;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 14px rgba(33, 29, 24, 0.08);
  --shadow-lg: 0 18px 44px rgba(20, 41, 31, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.18; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 84px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 41, 31, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}
.brand img, .brand svg { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #f5efe2;
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background .15s;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.main-nav .nav-cta {
  background: var(--amber);
  color: #211d18;
  font-weight: 800;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(201, 134, 43, 0.4);
}
.main-nav .nav-cta:hover { background: #d99a3f; color: #211d18; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Hero (NEW photo hero; old .hero rules replaced) ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 24, 18, 0.88) 0%, rgba(12, 24, 18, 0.62) 45%, rgba(12, 24, 18, 0.28) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 134, 43, 0.18);
  border: 1px solid rgba(201, 134, 43, 0.55);
  color: #f3d9a4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 16ch;
  color: #fff;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--amber); }
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 48ch;
  color: #ece5d4;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  color: #d9d2c0;
  font-size: 0.96rem;
}
.hero-meta strong { color: #fff; }
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.65);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .hero { min-height: 86vh; }
  .hero-scroll { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, transform 0.06s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: #211d18; box-shadow: 0 8px 22px rgba(201, 134, 43, 0.35); }
.btn-primary:hover { background: #d99a3f; color: #211d18; box-shadow: 0 10px 26px rgba(201, 134, 43, 0.45); }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.85); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn-ghost { background: var(--surface-warm); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #93331f; }
.btn-small { padding: 8px 14px; font-size: 0.88rem; border-radius: 8px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- Section headings ---------- */
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin: 0 0 10px;
  color: var(--green-dark);
}
.section-sub { color: var(--muted); margin: 0 0 40px; max-width: 62ch; font-size: 1.06rem; }
.section-kicker {
  color: var(--amber-dark);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

/* ---------- Trust bar (NEW) ---------- */
.trust-bar {
  background: var(--green-dark);
  color: #e9e2d3;
  padding: 30px 0;
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px 28px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .t-ico {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(201, 134, 43, 0.16);
  border: 1px solid rgba(201, 134, 43, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.trust-item strong { display: block; color: #fff; font-size: 1rem; }
.trust-item span { font-size: 0.9rem; color: #cfc7b2; }

/* ---------- Cards (services) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-warm); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.22rem; color: var(--green-dark); }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
.card .price-note {
  align-self: flex-start;
  display: inline-block;
  background: var(--amber-tint);
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: 999px;
  margin-top: 8px;
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-tint);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(31, 64, 50, 0.3);
}
.step h3 { margin: 0 0 6px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Gallery (NEW) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(10, 20, 15, 0.78));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
}

/* ---------- Pricing teaser / tables ---------- */
.pricing-teaser {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}
.pricing-teaser::before {
  content: "";
  position: absolute;
  right: -70px; top: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,134,43,.35), transparent 70%);
}
.pricing-teaser h2 { margin: 0 0 8px; color: #fff; position: relative; }
.pricing-teaser p { margin: 0; color: #d9d2c0; max-width: 52ch; position: relative; }
.pricing-teaser .btn { position: relative; }

.price-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  min-width: 640px;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table thead th {
  background: var(--green);
  color: #fff;
  font-size: 0.95rem;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: #fdfbf6; }
.price-table .svc { font-weight: 700; color: var(--green-dark); }
.price-note-badge {
  display: inline-block;
  background: var(--amber-tint);
  color: var(--amber-dark);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.disclaimer {
  background: var(--surface-warm);
  border-left: 4px solid var(--amber);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin-top: 26px;
  font-size: 0.95rem;
}
.disclaimer ul { margin: 8px 0 0; padding-left: 20px; }

/* ---------- Page hero (NEW, pricing/booking headers) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--green-dark);
  padding: 84px 0 70px;
}
.page-hero .ph-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,24,18,.55), rgba(12,24,18,.82));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0 0 12px; }
.page-hero p { color: #e5ddc9; max-width: 60ch; margin: 0; font-size: 1.08rem; }

/* ---------- FAQ (NEW) ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.faq summary {
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 4px; }

/* ---------- CTA banner (NEW) ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  padding: 64px 48px;
  box-shadow: var(--shadow-lg);
}
.cta-banner .cb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(12,24,18,.9) 20%, rgba(12,24,18,.55) 65%, rgba(12,24,18,.3));
}
.cta-banner .cb-inner { position: relative; z-index: 1; max-width: 560px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 12px; }
.cta-banner p { color: #e5ddc9; margin: 0 0 26px; }
.cta-banner .hero-actions { margin: 0; }
@media (max-width: 560px) { .cta-banner { padding: 44px 26px; } }

/* ---------- Service area ---------- */
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pills span {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #d9d2c0;
  padding: 60px 0 26px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer h3 { color: #fff; margin: 0 0 12px; font-size: 1.05rem; }
.site-footer a { color: #f5efe2; }
.site-footer p { margin: 6px 0; font-size: 0.95rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group .hint { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
input[type="text"], input[type="tel"], input[type="password"],
input[type="date"], select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 134, 43, 0.28);
}
textarea { min-height: 90px; resize: vertical; }
.form-error { color: var(--danger); font-size: 0.9rem; margin-top: 6px; min-height: 1.2em; }
.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.96rem;
}
.alert-error { background: var(--danger-tint); color: #7c2a1e; border: 1px solid #e5b8ad; }
.alert-success { background: var(--success-tint); color: #1e5a35; border: 1px solid #a9d3bc; }
.alert-info { background: var(--green-tint); color: var(--green-dark); border: 1px solid #bcd3c4; }

/* ---------- Booking wizard ---------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.booking-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.booking-aside .aside-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}
.booking-aside .aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  font-size: 0.93rem;
}
.aside-card h3 { margin: 0 0 10px; font-size: 1rem; color: var(--green-dark); }
.aside-card ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-aside { position: static; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .booking-aside .aside-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .booking-aside { grid-template-columns: 1fr; }
}
.wizard { max-width: 760px; margin: 0; }
.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  list-style: none;
  padding: 0;
}
.wizard-progress li {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  padding-top: 10px;
  border-top: 4px solid var(--line);
}
.wizard-progress li.active { color: var(--green-dark); border-top-color: var(--amber); }
.wizard-progress li.done { color: var(--success); border-top-color: var(--success); }

.wizard-step {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.wizard-step.active { display: block; animation: fadeIn 0.22s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wizard-step > h2 { margin-top: 0; }

.service-option {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.service-option:hover { border-color: var(--green); box-shadow: var(--shadow); }
.service-option input { margin-right: 10px; accent-color: var(--green); }
.service-option .opt-title { font-weight: 700; color: var(--green-dark); font-size: 1.04rem; }
.service-option .opt-desc { color: var(--muted); font-size: 0.92rem; display: block; margin-top: 4px; }
.service-option .opt-price { color: var(--amber-dark); font-weight: 700; font-size: 0.9rem; }
.service-option.selected { border-color: var(--green); background: var(--green-tint); box-shadow: var(--shadow); }

.crew-slots { margin-top: 8px; }
.crew-slots h3 {
  font-size: 1rem;
  margin: 20px 0 10px;
  color: var(--green-dark);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
}
.slot-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-btn {
  padding: 11px 18px;
  border: 1.5px solid var(--green);
  background: #fff;
  color: var(--green-dark);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.slot-btn:hover { background: var(--green-tint); }
.slot-btn.selected { background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(31,64,50,.35); }
.no-slots { color: var(--muted); font-style: italic; }

.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wizard-summary {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.wizard-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.wizard-summary dt { font-weight: 600; color: var(--muted); }
.wizard-summary dd { margin: 0; font-weight: 700; }

.success-screen { text-align: center; padding: 24px 0; }
.success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--success-tint);
  color: var(--success);
  font-size: 2.2rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(46, 125, 79, 0.25);
}
.hours-note {
  background: var(--amber-tint);
  border: 1px solid #ecd3a3;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 0.93rem;
  margin-top: 24px;
}

/* ---------- Admin (unchanged contracts) ---------- */
.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 24px 20px 60px; }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-topbar h1 { margin: 0; font-size: 1.5rem; color: var(--green-dark); }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tabs button {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tabs button.active { color: var(--green-dark); border-bottom-color: var(--amber); }
.tabs button:hover { color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.filters .form-group { margin-bottom: 0; min-width: 150px; }

.booking-list { display: grid; gap: 14px; }
.booking-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.booking-card .row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.booking-card .client { font-weight: 800; font-size: 1.05rem; }
.booking-card .meta { color: var(--muted); font-size: 0.92rem; margin: 4px 0; }
.booking-card .meta strong { color: var(--ink); }
.booking-card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.status-new { background: var(--amber-tint); color: var(--amber-dark); }
.status-confirmed { background: var(--green-tint); color: var(--green-dark); }
.status-done { background: var(--success-tint); color: var(--success); }
.status-cancelled { background: #eee; color: #777; }

.edit-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: none;
}
.edit-form.open { display: block; }
.edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }

/* Calendar */
.cal-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cal-controls h2 { margin: 0; font-size: 1.2rem; flex: 1; min-width: 200px; }
.cal-grid-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cal-grid { display: grid; min-width: 760px; }
.cal-header, .cal-row { display: grid; grid-template-columns: 70px repeat(var(--cols, 2), 1fr); }
.cal-header { background: var(--green); color: #fff; font-weight: 700; }
.cal-header > div, .cal-row > div { padding: 8px 10px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 0.85rem; }
.cal-header > div:last-child, .cal-row > div:last-child { border-right: none; }
.cal-time { background: var(--surface-warm); font-weight: 600; color: var(--muted); }
.cal-cell { min-height: 34px; position: relative; }
.cal-event {
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 2px 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event.status-new { background: var(--amber); color: #211d18; }
.cal-event.status-cancelled { background: #bbb; color: #444; }
.cal-event.status-done { background: #7a8b84; }
.cal-day-label { font-size: 0.8rem; font-weight: 700; color: var(--green-dark); }

/* Crews */
.crew-list { display: grid; gap: 12px; margin-bottom: 24px; }
.crew-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.crew-card .crew-name { font-weight: 800; font-size: 1.05rem; flex: 1; min-width: 140px; }
.crew-card .workload { color: var(--muted); font-size: 0.9rem; }
.crew-inactive { opacity: 0.6; }
.inactive-badge {
  background: #eee; color: #777;
  font-size: 0.78rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase;
}
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.inline-form .form-group { margin: 0; flex: 1; min-width: 180px; }

/* Login */
.login-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 36px;
  width: 100%;
  max-width: 400px;
}
.login-card h1 { margin: 0 0 6px; color: var(--green-dark); font-size: 1.5rem; }
.login-card p.sub { color: var(--muted); margin: 0 0 24px; font-size: 0.95rem; }

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.spinner { text-align: center; padding: 32px; color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: #211d18;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

@media (max-width: 560px) {
  section { padding: 60px 0; }
  .wizard-progress li { font-size: 0.72rem; }
  .wizard-step { padding: 24px 20px; }
  .booking-card .actions .btn { flex: 1 1 auto; }
}

/* ---------- Instant estimate calculator (NEW) ---------- */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}
.calc-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.calc-group { border: 0; padding: 0; margin: 0 0 26px; }
.calc-group legend { font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.calc-group > label { display: block; margin-bottom: 10px; }
.calc-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.calc-services label {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  cursor: pointer; display: flex; gap: 10px; align-items: center;
  font-size: 0.95rem; transition: border-color .15s ease, background .15s ease;
}
.calc-services label:has(input:checked) { border-color: var(--green); background: var(--green-tint); font-weight: 700; }
.calc-services input { accent-color: var(--green); width: 18px; height: 18px; flex: none; }
#calc-area {
  width: 170px; padding: 12px 14px; font-size: 1.05rem; font-family: var(--font);
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface);
}
#calc-area:focus { outline: 2px solid var(--green); border-color: var(--green); }
.calc .hint { color: var(--muted); font-size: 0.88rem; margin: 8px 0 0; }
.calc-check {
  display: flex; gap: 12px; align-items: center; padding: 11px 0;
  border-bottom: 1px dashed var(--line); cursor: pointer; font-size: 0.98rem;
}
.calc-check:last-child { border-bottom: 0; }
.calc-check input { accent-color: var(--green); width: 19px; height: 19px; flex: none; }
.calc-check .cc-price { margin-left: auto; color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.calc-result {
  background: var(--green-dark); color: #fff; border-radius: var(--radius-lg);
  padding: 34px 30px; position: sticky; top: 92px; box-shadow: var(--shadow-lg);
}
.calc-result-label { text-transform: uppercase; letter-spacing: .08em; font-size: 0.78rem; color: #cfc7b2; margin: 0 0 6px; }
.calc-result-price { font-size: 2.5rem; font-weight: 800; margin: 0 0 16px; font-family: var(--font-display); }
.calc-breakdown { border-top: 1px solid rgba(255,255,255,.16); margin-bottom: 16px; }
.calc-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.calc-breakdown .muted span:last-child { color: #cfc7b2; }
.calc-result-note { font-size: 0.85rem; color: #cfc7b2; margin: 0 0 20px; }
.calc-result .btn-primary { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .calc { padding: 28px 22px; }
}
