/* Orel Touch Cleaning Services — "Fresh linen" design language */
:root {
  color-scheme: light;
  --ground: #F4F8FC;
  --surface: #FFFFFF;
  --ink: #0F2238;
  --muted: #46586E;
  --brand: #1D5FC4;
  --brand-hover: #174F9F;
  --brand-text: #194FA3;
  --border: #C3D3E4;
  --border-strong: #6B819A;
  --accent-dark: #FFE27A;
  --sun: #FFE27A;
  --ink-fixed: #0F2238;
  --on-brand: #FFFFFF;
  --cream: #EAF2FB;
  --cream-muted: #C5D4E6;
  --band: #0F2238;
  --band-raise: #1B3350;
  --mist: #DCEBFA;
  --mint: #D8F2E8;
  --lemon: #FFF1B8;
  --shadow: 0 6px 24px rgba(15, 34, 56, .08);
  --radius: 14px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}
[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0B1626;
  --surface: #14243A;
  --ink: #EAF2FB;
  --muted: #BCCBDD;
  --brand-text: #8FBCFF;
  --border: #2A4160;
  --border-strong: #6F8CB0;
  --band: #060D18;
  --band-raise: #12243B;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6rem; font-weight: 800; }
h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--accent-dark); }
.container { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.section { padding: 3.25rem 0; }
.section--tight { padding: 2rem 0; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink-fixed); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Always-dark surfaces ===== */
.on-dark { background: var(--band); color: var(--cream); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--cream); }
.on-dark p, .on-dark li, .on-dark dt, .on-dark dd, .on-dark label, .on-dark span, .on-dark legend { color: var(--cream); }
.on-dark .muted, .on-dark .eyebrow-sub { color: var(--cream-muted); }
.on-dark a:not(.btn) { color: var(--accent-dark); }
.on-dark a:not(.btn):hover { color: #FFFFFF; }
.on-dark .eyebrow { color: var(--accent-dark); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px;
  font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; text-align: center;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn--primary, a.btn--primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn--primary:hover, a.btn--primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.on-dark a.btn--primary, .on-dark button.btn--primary { color: var(--on-brand); border-color: rgba(255,255,255,.55); }
.on-dark a.btn--primary:hover, .on-dark button.btn--primary:hover { color: var(--on-brand); background: var(--brand-hover); }
.btn--sun, a.btn--sun { background: var(--sun); color: var(--ink-fixed); border-color: var(--sun); }
.btn--sun:hover, a.btn--sun:hover { background: #FFEFA8; color: var(--ink-fixed); }
.on-dark a.btn--sun, .on-dark button.btn--sun { color: var(--ink-fixed); }
.on-dark a.btn--sun:hover, .on-dark button.btn--sun:hover { color: var(--ink-fixed); background: #FFEFA8; }
a.btn--ghost, button.btn--ghost { background: transparent; color: var(--brand-text); border-color: var(--brand-text); }
a.btn--ghost:hover, button.btn--ghost:hover { background: var(--mist); color: var(--ink-fixed); }
[data-theme="dark"] a.btn--ghost:hover, [data-theme="dark"] button.btn--ghost:hover { background: rgba(143,188,255,.16); color: var(--ink); }
.on-dark a.btn--ghost, .on-dark button.btn--ghost { color: var(--accent-dark); border-color: var(--accent-dark); background: transparent; }
.on-dark a.btn--ghost:hover, .on-dark button.btn--ghost:hover { color: var(--accent-dark); background: rgba(255,226,122,.16); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .7rem 0; }
.header-inner > * { min-width: 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.on-dark a.brand { color: var(--cream); }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; flex: none; }
.brand-mark i { display: block; border-radius: 50%; background: var(--accent-dark); }
.brand-mark i:nth-child(1) { width: 16px; height: 16px; }
.brand-mark i:nth-child(2) { width: 10px; height: 10px; background: #8FBCFF; }
.brand-mark i:nth-child(3) { width: 6px; height: 6px; background: var(--cream); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 800 1rem/1.15 var(--font-head); color: var(--cream); }
.site-header .brand-sub, .site-header .muted { font-size: .8rem; color: var(--accent-dark); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; justify-content: center; }
.site-header .nav a:not(.btn) {
  display: inline-block; padding: .45rem .75rem; border-radius: 999px; text-decoration: none;
  color: var(--cream); font-weight: 600; font-size: .98rem;
}
.site-header .nav a:not(.btn):hover { background: var(--band-raise); color: #fff; }
.site-header .nav a[aria-current="page"] { background: var(--sun); color: var(--ink-fixed); }
.site-header .nav a[aria-current="page"]:hover { background: var(--sun); color: var(--ink-fixed); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.theme-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--accent-dark);
  background: transparent; color: var(--accent-dark); cursor: pointer; display: inline-grid; place-items: center; padding: 0;
}
.theme-toggle:hover { background: rgba(255,226,122,.16); }
.theme-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.header-cta { min-height: 44px; padding: .5rem 1.1rem; }

@media (max-width: 700px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; grid-row: 2; }
  .nav ul { justify-content: flex-start; }
  .site-header .nav a:not(.btn) { padding: .4rem .65rem; font-size: .92rem; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
  .brand-name { font-size: .92rem; }
}

/* ===== Hero ===== */
.hero { padding: 3rem 0 3.25rem; }
.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { font: 700 .85rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; color: var(--brand-text); }
.lede { font-size: 1.15rem; }
.hero figure, .figure { margin: 0; }
.hero img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 3px solid var(--band-raise); }
.img-note, .on-dark .img-note { font-size: .85rem; margin-top: .5rem; color: var(--cream-muted); }
.img-note { color: var(--muted); }
.on-dark .img-note { color: var(--cream-muted); }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }

/* ===== Dots divider ===== */
.dots { display: flex; align-items: flex-end; gap: 6px; margin: 0 0 1rem; }
.dots i { display: block; border-radius: 50%; background: var(--brand-text); }
.dots i:nth-child(1) { width: 14px; height: 14px; }
.dots i:nth-child(2) { width: 9px; height: 9px; }
.dots i:nth-child(3) { width: 5px; height: 5px; }
.on-dark .dots i { background: var(--accent-dark); }

/* ===== Cards, grids ===== */
.grid { display: grid; gap: 1.25rem; }
.grid > * { min-width: 0; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); color: var(--ink); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.card h2, .card h3 { color: var(--ink); }
.card-body { padding: 1.1rem 1.25rem 1.3rem; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .tag { margin: 0; font-size: .85rem; color: var(--muted); }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.proof > * { min-width: 0; }
.proof-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--ink); }
.proof-item strong { display: block; font: 800 1.5rem/1.2 var(--font-head); color: var(--brand-text); }
.proof-item span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .proof { grid-template-columns: 1fr; } }

.band { padding: 3rem 0; }
.band .grid > * { min-width: 0; }

.chip {
  display: inline-block; background: var(--lemon); color: var(--ink-fixed); border: 1px dashed #8A6D00;
  border-radius: 8px; padding: .15rem .6rem; font-size: .9rem; font-weight: 600; margin: .15rem 0;
}
.on-dark .chip, .on-dark span.chip { background: var(--lemon); color: var(--ink-fixed); }
.quote { border-left: 5px solid var(--sun); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; margin: 1rem 0; color: var(--ink); border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote p { margin: 0 0 .4rem; font-size: 1.15rem; font-weight: 600; }
.quote cite { color: var(--muted); font-size: .95rem; font-style: normal; }
.stock-badge { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--lemon); color: var(--ink-fixed); border-radius: 6px; padding: .1rem .5rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--border); }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { padding-left: 1.7rem; position: relative; margin-bottom: .4rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; color: var(--brand-text); }
.on-dark .ticks li::before { color: var(--accent-dark); }

dl.nap { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; }
dl.nap > * { min-width: 0; }
dl.nap dt { font-weight: 700; }
dl.nap dd { margin: 0; overflow-wrap: anywhere; }
.on-dark dl.nap dt { color: var(--accent-dark); }
.on-dark dl.nap dd { color: var(--cream); }

/* ===== Footer ===== */
.site-footer { padding-top: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid > * { min-width: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer h3 { font-size: 1rem; color: var(--accent-dark); }
.footer-bottom { background: #060D18; border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0; font-size: .92rem; }
.footer-bottom p { margin: 0 0 .4rem; color: var(--cream); }
.footer-bottom a:not(.btn) { color: var(--accent-dark); }
.demo-note { background: #1B3350; color: var(--cream); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: .7rem 1rem; margin-bottom: .8rem; }
.demo-note strong, .footer-bottom .demo-note strong { color: var(--accent-dark); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Planner ===== */
.planner-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.planner-layout > * { min-width: 0; }
@media (max-width: 900px) { .planner-layout { grid-template-columns: 1fr; } }
.aside-sticky { display: grid; gap: 1.25rem; position: sticky; top: 7.5rem; }
@media (max-width: 900px) { .aside-sticky { position: static; } }

fieldset.step { border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.25rem; margin: 0 0 1.1rem; min-width: 0; }
fieldset.step legend { font: 800 1.1rem/1.2 var(--font-head); padding: 0 .5rem; color: var(--ink); }
.field { margin-top: .9rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: .3rem; color: var(--ink); }
.field input[type="text"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; max-width: 100%; min-height: 46px; padding: .55rem .75rem; font: inherit;
  background: var(--surface); color: var(--ink); border: 2px solid var(--border-strong); border-radius: 10px;
}
.field textarea { min-height: 96px; resize: vertical; }
.hint { font-size: .9rem; color: var(--muted); margin: .3rem 0 0; }
.dep { margin-top: .9rem; padding: .9rem 1rem; border-left: 4px solid var(--brand-text); background: var(--ground); border-radius: 0 10px 10px 0; }
.dep[hidden] { display: none; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tiles > * { min-width: 0; }
@media (max-width: 440px) { .tiles { grid-template-columns: 1fr; } }
.tile, .check { position: relative; display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.tile { padding: .85rem 1rem; border: 2px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font-weight: 600; min-height: 56px; }
.tile input, .check input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.tile-box { flex: none; width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--border-strong); display: grid; place-items: center; font-weight: 900; color: transparent; background: var(--surface); }
.tile-text { color: var(--ink); }
.tile:has(input:checked) { border-color: var(--brand-text); outline: 3px solid var(--brand-text); outline-offset: -3px; background: var(--mist); }
[data-theme="dark"] .tile:has(input:checked) { background: #1B3350; }
.tile:has(input:checked) .tile-text { color: var(--ink-fixed); }
[data-theme="dark"] .tile:has(input:checked) .tile-text { color: var(--ink); }
.tile input:checked ~ .tile-box, .check input:checked ~ .tile-box { border-color: var(--brand-text); color: var(--brand-text); }
.tile input:focus-visible ~ .tile-box, .check input:focus-visible ~ .tile-box, .radio input:focus-visible ~ .tile-box { outline: 3px solid var(--brand-text); outline-offset: 3px; }
.check { padding: .3rem 0; font-weight: 600; min-height: 44px; color: var(--ink); }
.check input { width: 100%; }
.radios { display: flex; flex-wrap: wrap; gap: .75rem; }
.radio { position: relative; display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border: 2px solid var(--border-strong); border-radius: 12px; cursor: pointer; font-weight: 600; background: var(--surface); color: var(--ink); min-height: 48px; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio .tile-box { border-radius: 50%; }
.radio:has(input:checked) { border-color: var(--brand-text); outline: 3px solid var(--brand-text); outline-offset: -3px; }
.radio input:checked ~ .tile-box { border-color: var(--brand-text); color: var(--brand-text); }

.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper input[type="number"] { width: 5rem; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--brand-text); background: var(--surface); color: var(--brand-text); font: 800 1.3rem/1 var(--font-head); cursor: pointer; padding: 0; }
.stepper button:hover { background: var(--mist); color: var(--ink-fixed); }
.countdown { font-weight: 700; color: var(--brand-text); margin: .4rem 0 0; }

/* Plan card + message panel (always dark) */
.plan-card, .msg-panel { border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 1px solid rgba(255,255,255,.14); }
.plan-card h2, .msg-panel h2 { font-size: 1.3rem; color: var(--cream); }
.plan-card .empty { color: var(--cream-muted); margin: 0; }
.plan-rows { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; }
.plan-rows > * { min-width: 0; }
.plan-rows dt { font-weight: 700; color: var(--accent-dark); }
.plan-rows dd { margin: 0; color: var(--cream); }
.msg-text { background: var(--band-raise); color: var(--cream); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: .9rem 1rem; margin: 0 0 1rem; min-height: 4rem; }
.msg-text.is-empty { color: var(--cream-muted); }
.msg-panel .btn-row { margin-bottom: .5rem; }
.msg-panel .msg-status { min-height: 1.4em; font-weight: 600; margin: .3rem 0 0; color: var(--accent-dark); }
.msg-panel .hint, .plan-card .hint { color: var(--cream-muted); }
.on-dark a.btn--primary { color: var(--on-brand); }
.plan-card .countdown { color: var(--accent-dark); }

.notice { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--sun); border-radius: 10px; padding: .8rem 1rem; color: var(--ink); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
