/* ==========================================================================
   Jahid — web development for small businesses
   Mobile-first. One accent colour. No frameworks.
   ========================================================================== */

/* Self-hosted Plus Jakarta Sans (variable, OFL). No third-party font requests. */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f1ec;
  --surface: #ffffff;
  --ink: #15171c;
  --ink-2: #4b505b;
  --ink-3: #666b77;
  --line: #e6e3dc;
  --accent: #c2410c;
  --accent-hover: #a3360a;
  --accent-soft: #fff0e6;
  --dark: #15171c;
  --dark-2: #1f222a;
  --dark-line: #2e323c;
  --dark-text: #c9ccd3;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(21, 23, 28, .05), 0 2px 8px rgba(21, 23, 28, .04);
  --shadow: 0 2px 4px rgba(21, 23, 28, .04), 0 12px 32px -8px rgba(21, 23, 28, .12);
  --shadow-lg: 0 4px 8px rgba(21, 23, 28, .05), 0 30px 60px -20px rgba(21, 23, 28, .25);
  --header-h: 68px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  font: 700 1rem/1 var(--font); letter-spacing: -.005em;
  text-decoration: none; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px rgba(194, 65, 12, .55); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 1.05rem; position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px;
  border-radius: 3px; background: var(--accent); border: 2px solid var(--bg);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

.nav-toggle {
  display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile nav: a panel under the header */
.nav {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px; box-shadow: var(--shadow);
  display: none;
}
.nav.open { display: block; }
.nav ul { display: grid; }
.nav a:not(.btn) { display: block; padding: 14px 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-cta-mobile { margin-top: 16px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}

h1 { font-size: clamp(2.25rem, 8.5vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }

.hl { position: relative; white-space: nowrap; }
.hl svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .3em; overflow: visible; }
.hl path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.lede { font-size: 1.125rem; color: var(--ink-2); margin-top: 22px; max-width: 34em; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-ctas .btn { flex: 1 1 220px; }

.assurances { margin-top: 28px; display: grid; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.assurances li { display: flex; align-items: center; gap: 10px; }
.assurances li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Browser-frame screenshots */
.hero-visual { position: relative; padding: 0 0 36px 0; }
.frame { background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.frame-bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #f4f2ee; border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d5cc; }
.frame-bar span {
  margin-left: 10px; font-size: .6875rem; color: var(--ink-3); background: #fff;
  padding: 2px 10px; border-radius: 6px; border: 1px solid var(--line);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame img { width: 100%; aspect-ratio: 1440 / 740; object-fit: cover; object-position: top; }
.frame-back { position: relative; z-index: 1; width: 74%; margin-left: auto; transform: rotate(2deg); }
.frame-front { position: relative; z-index: 2; width: 86%; margin-top: -24%; }

.live-chip {
  position: absolute; z-index: 3; left: 14px; bottom: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.live-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 0 3px rgba(60, 207, 110, .25); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #fff; }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-label {
  display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 14px;
}
.section-label span { color: var(--accent); font-variant-numeric: tabular-nums; }
.section-label span::after { content: ""; display: inline-block; width: 24px; height: 1.5px; background: currentColor; vertical-align: middle; margin-left: 10px; }
.section-dark .section-label { color: #9aa0ab; }
.section-dark .section-label span { color: #fd7e14; }

h2 { font-size: clamp(1.875rem, 5.5vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
.section-sub { margin-top: 14px; font-size: 1.0625rem; color: var(--ink-2); }
.section-sub a { color: var(--accent); font-weight: 600; }

.inline-cta { margin-top: 36px; color: var(--ink-2); text-align: center; }
.inline-cta a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
.inline-cta a::after { content: " →"; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.cards-3 { display: grid; gap: 16px; }

.problem h3 { font-size: 1.25rem; font-weight: 700; margin: 18px 0 10px; }
.problem p { color: var(--ink-2); font-size: 1rem; }
.problem .fix { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--ink); }
.problem .fix strong { color: var(--accent); }

.icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: 24px; }
.work-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.work-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.work-shot { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.work-shot img { width: 100%; aspect-ratio: 1440 / 740; object-fit: cover; object-position: top; transition: transform .5s ease; }
.work-card:hover .work-shot img { transform: scale(1.025); }
.work-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-tags { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.work-body h3 { font-size: 1.5rem; font-weight: 800; }
.work-body p:not(.work-tags) { color: var(--ink-2); font-size: 1rem; }

.link-arrow {
  margin-top: auto; padding-top: 8px; align-self: flex-start;
  font-weight: 700; color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow::after { content: "↗"; transition: transform .2s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { transform: translate(2px, -2px); }

/* Testimonials (hidden until real ones exist) */

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 16px; align-items: stretch; }
.price { display: flex; flex-direction: column; position: relative; padding: 32px 28px; }
.price h3 { font-size: 1.25rem; font-weight: 800; }
.price-for { color: var(--ink-3); font-size: .9375rem; margin-top: 6px; }
.amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -.04em; margin-top: 20px; line-height: 1; }
.amount .from { font-size: 1rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-right: 2px; }
.amount-custom { font-size: 2rem; letter-spacing: -.03em; }
.delivery {
  display: inline-block; align-self: flex-start; margin-top: 14px;
  font-size: .875rem; font-weight: 600; color: var(--ink-2);
  background: var(--bg-alt); padding: 5px 12px; border-radius: 999px;
}
.checks { display: grid; gap: 10px; margin: 24px 0 28px; font-size: .9875rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23c2410c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.price .btn { margin-top: auto; }

.price-featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
}

.care {
  margin-top: 16px; display: flex; flex-direction: column; gap: 20px;
  background: var(--accent-soft); border: 1px solid #fbd9c5; border-radius: var(--radius); padding: 28px;
}
.care h3 { font-size: 1.25rem; font-weight: 800; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.care-price { color: var(--accent); }
.care-price small { font-size: .875rem; color: var(--ink-2); font-weight: 600; }
.care p { color: var(--ink-2); margin-top: 8px; max-width: 46em; }
.care .btn { align-self: flex-start; }

.founding-offer {
  margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px dashed var(--accent); color: var(--ink-2);
  text-align: center;
}
.founding-offer strong { color: var(--accent-hover); }
.ownership {
  margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; justify-content: center;
  color: var(--ink-2); font-size: 1rem; text-align: left;
}
.ownership svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.ownership strong { color: var(--ink); }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.why { background: var(--dark); padding: 28px; }
.why h3 { font-size: 1.1875rem; font-weight: 700; color: #fff; padding-left: 18px; position: relative; }
.why h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.why p { color: var(--dark-text); margin-top: 10px; font-size: 1rem; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; margin-bottom: 40px; }
.step { position: relative; padding: 26px 26px 26px 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  position: absolute; left: 24px; top: 24px;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800;
}
.step:first-child .step-num { background: var(--accent); }
.step h3 { font-size: 1.125rem; font-weight: 700; }
.step p { color: var(--ink-2); margin-top: 6px; font-size: .9875rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 8px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: box-shadow .2s, border-color .2s;
}
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: #d6d2c9; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 1.0625rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%2315171c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.answer { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- About ---------- */
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: var(--ink-2); max-width: 38em; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.social-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: border-color .2s;
}
.social-links a:hover { border-color: var(--ink); }
.social-links a::after { content: "↗"; margin-left: 6px; color: var(--accent); }

/* ---------- Final CTA + form ---------- */
.final { padding-bottom: 96px; }
.final-grid { display: grid; gap: 48px; align-items: start; }
.final h2 { font-size: clamp(2.125rem, 7vw, 3.5rem); }
.final .lede { color: var(--dark-text); margin-bottom: 30px; }

.contact-list { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--dark-line); }
.contact-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--dark-line); }
.contact-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b919c; }
.contact-list a { color: #fff; font-weight: 600; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.contact-list a:hover { text-decoration-color: var(--accent); }
.contact-list span:not(.contact-label) { color: var(--dark-text); }

/* Booking form: two steps (slot, then details) inside one card */
.contact-form {
  min-width: 0; container-type: inline-size; overflow: hidden;
  background: var(--bg); color: var(--ink); border-radius: 22px;
  border: 1px solid var(--dark-line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.booking svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.booking-head { background: var(--dark-2); color: #fff; padding: 24px 22px 26px; border-bottom: 1px solid var(--dark-line); }
.booking-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.booking-badge {
  font-size: .8125rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  background: rgba(194, 65, 12, .22); border: 1px solid rgba(253, 126, 20, .45);
}
.booking-step { font-size: .8125rem; color: var(--dark-text); white-space: nowrap; }
.booking-head h3 { font-size: clamp(1.375rem, 6cqi, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.booking-head p { color: var(--dark-text); font-size: .9375rem; }
.booking-progress { height: 6px; margin-top: 22px; border-radius: 999px; background: var(--dark-line); overflow: hidden; }
.booking-progress span {
  display: block; height: 100%; width: 50%; border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #f59e0b); transition: width .35s ease;
}

.booking-body { padding: 24px 22px 20px; }
.booking-pane:focus { outline: none; }

/* Step 1: slot picker */
.slot-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.slot-picker input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pane-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.pane-label { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pane-meta { font-size: .8125rem; color: var(--ink-3); }
.day-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 2px 10px; margin: 0 -2px 18px; scrollbar-width: thin;
}
.day, .slot {
  position: relative; cursor: pointer; user-select: none;
  background: var(--surface); border: 1.5px solid var(--line);
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}
.day {
  flex: 0 0 76px; scroll-snap-align: start;
  display: grid; justify-items: center; gap: 2px; padding: 12px 4px; border-radius: 16px;
}
.day-dow, .day-mon { font-size: .75rem; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.day-num { font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.day:hover, .slot:hover { border-color: var(--ink-3); }
.day:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 20px -10px rgba(21, 23, 28, .6); }
.day:has(input:checked) .day-dow, .day:has(input:checked) .day-mon { color: var(--dark-text); }

.slot-filter { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); }
.slot-filter button {
  font: 600 .8125rem/1 var(--font); color: var(--ink-2); background: none; border: 0;
  min-width: 52px; padding: 8px 14px; border-radius: 9px; cursor: pointer;
}
.slot-filter button:hover { color: var(--ink); }
.slot-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px; font-size: .875rem; font-weight: 700; white-space: nowrap;
}
.slot svg { display: none; width: 16px; height: 16px; color: var(--ink-3); }
.slot:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(194, 65, 12, .18); }
.slot:has(input:checked) svg { color: #fff; }
.day:has(input:focus-visible), .slot:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.slot-empty { grid-column: 1 / -1; padding: 14px; text-align: center; font-size: .9375rem; color: var(--ink-3); background: var(--surface); border: 1.5px dashed var(--line); border-radius: 12px; }
.slot-summary { margin-top: 12px; font-size: .875rem; color: var(--ink-3); min-height: 1.4em; }
.slot-picker[aria-invalid] .slot-summary { color: #c92a2a; font-weight: 600; }

.booking-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
#step-slot .booking-actions { justify-content: flex-end; }
.booking-actions .btn { flex: 1 1 auto; min-height: 56px; padding: 0 28px; border-radius: 14px; font-size: 1.0625rem; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(21, 23, 28, .6); }
.btn-dark:hover { background: #000; }
.btn-confirm { background: linear-gradient(90deg, var(--accent), #b45309); }
.btn-confirm:hover { background: linear-gradient(90deg, var(--accent-hover), #92400e); }
.btn-confirm[disabled] { opacity: .7; cursor: wait; }

.link-btn {
  font: 600 .9375rem/1 var(--font); color: var(--accent); background: none; border: 0; padding: 10px 4px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.link-btn:hover { color: var(--accent-hover); }
.btn-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; }
.btn-back:hover { color: var(--ink); }

/* Step 2: details */
.slot-chosen {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); border: 1px solid #fcd9c2;
}
.slot-chosen-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent); color: #fff; }
.slot-chosen-icon svg { width: 22px; height: 22px; }
.slot-chosen-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.slot-chosen-text span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.slot-chosen-text strong { font-size: .9375rem; }

.field-grid { display: grid; gap: 0 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .8125rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.req { color: #c92a2a; }
.optional { color: var(--ink-3); font-weight: 600; }
.input-icon { position: relative; display: block; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.field .input-icon input { padding-left: 44px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.field ::placeholder { color: #8b909b; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 23, 28, .08); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c92a2a; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-status { margin-top: 12px; font-size: .9375rem; min-height: 1.4em; }
.form-status.err { color: #c92a2a; font-weight: 600; }

/* Done */
.booking-done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 12px 0 4px; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e6f4ea; color: #1f7a3f; margin-bottom: 6px; }
.done-icon svg { width: 30px; height: 30px; stroke-width: 2.5; }
.done-title { font-size: 1.375rem; font-weight: 800; }
#done-text { color: var(--ink-2); max-width: 36ch; }

.form-privacy { margin-top: 16px; font-size: .8125rem; color: var(--ink-3); text-align: center; }
.form-privacy svg { display: inline; width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
.form-privacy a { color: var(--ink-2); }

@container (min-width: 460px) {
  .booking-head { padding: 28px 32px 30px; }
  .booking-body { padding: 28px 32px 22px; }
  .slot-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .slot { min-height: 52px; font-size: .9375rem; }
  .slot svg { display: block; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .booking-actions .btn { flex: 0 0 auto; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
.legal-updated { margin-top: 10px; color: var(--ink-3); font-size: .9375rem; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.25em; margin: 10px 0; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal-back { margin-top: 44px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #8b919c; border-top: 1px solid var(--dark-line); padding: 28px 0 100px; font-size: .9375rem; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner a { color: var(--dark-text); text-decoration: none; }
.footer-inner a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 250, 247, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.mobile-cta.show { transform: translateY(0); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .care { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; }
  .care .btn { align-self: center; flex: none; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .site-footer { padding-bottom: 28px; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .nav-toggle, .nav-cta-mobile { display: none; }
  .header-cta { display: inline-flex; }
  .nav {
    position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0;
  }
  .nav ul { display: flex; gap: 6px; }
  .nav a:not(.btn) {
    padding: 8px 14px; border: 0; border-radius: 999px; font-size: .9375rem; color: var(--ink-2);
    transition: color .2s, background-color .2s;
  }
  .nav a:not(.btn):hover { color: var(--ink); background: var(--bg-alt); }

  .section { padding: 112px 0; }
  .section-head { margin-bottom: 56px; }

  .hero { padding: 72px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-visual { padding: 0 0 56px; }

  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cards-3 > :last-child:nth-child(odd) { grid-column: auto; }

  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .price-featured { transform: translateY(-12px); }

  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 84px 24px 28px; }
  .step-num { top: 24px; left: 24px; }
  .steps .step:not(:last-child)::after {
    content: ""; position: absolute; top: 45px; left: 76px; right: -10px; height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  }

  .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }

  .final-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .final-copy { position: sticky; top: calc(var(--header-h) + 32px); }

  .mobile-cta { display: none; }
}

@media (min-width: 1100px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
