:root {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #0f172a;
  background: #f5f7fa;
  --navy: #0f172a;
  --orange: #ff791b;
  --text: #0f172a;
  --muted: #475569;
  --line: #d7dfe9;
  --surface: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; line-height: 1.55; }
main { min-height: 65vh; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #b94b00; outline-offset: 4px; }
.skip { position: absolute; z-index: 5; top: 8px; left: 8px; background: white; padding: .6rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 1150px); margin-inline: auto; }
.top { color: white; background: var(--navy); border-bottom: 2px solid var(--orange); }
.hero .wrap { width: min(100% - 3.5rem, 1480px); }
.top-inner, .top nav { display: flex; align-items: center; gap: clamp(.65rem, 1.65vw, 1.6rem); }
.top-inner { min-height: 108px; justify-content: space-between; width: min(100% - 2rem, 1480px); column-gap: clamp(.65rem, .7vw, 1.5rem); padding-block: .75rem; }
.top nav { justify-content: flex-end; flex-wrap: wrap; gap: clamp(.55rem, .65vw, .9rem); }
.top nav a { text-decoration: none; font-weight: 650; font-size: .9rem; white-space: nowrap; }
.top nav a:hover:not(.button), .top nav [aria-current="page"] { color: #ffb37d; }
.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--orange);
  -webkit-text-stroke: clamp(1.5px, .24vw, 3.5px) #fff;
  paint-order: stroke fill;
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.08;
  text-decoration: none;
  white-space: nowrap;
}
.phone-dash { margin-inline: .05em; }
.header-phone:hover { text-decoration: underline; }
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: .25rem;
  text-decoration: none;
}
.brand img { display: block; width: clamp(170px, 17.8vw, 275px); height: auto; }
.brand span {
  font-size: clamp(.7rem, .94vw, .9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-align: center;
}
.top nav .button, .hero .button {
  min-height: 51px;
  padding: .85rem 1.3rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.top nav .button { padding-inline: 1rem; }
.top a:focus-visible, .hero a:focus-visible, .footer a:focus-visible { outline-color: #ffad73; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .66rem 1.15rem; border: 1px solid transparent; border-radius: .45rem; background: var(--orange); color: #111827; text-decoration: none; font-weight: 750; line-height: 1.25; }
.button:hover:not(:disabled) { background: #ff9a52; }
.button.compact { padding: .55rem .8rem; }
.button.outline { color: white; border-color: #9ca7ba; background: #0f172a42; }
.button.outline:hover { background: #293649; }
.button.secondary { background: white; border-color: #abb9c9; color: var(--text); }
.button.secondary:hover:not(:disabled) { background: #f1f5f9; }
.hero {
  color: white;
  display: grid;
  align-items: center;
  min-height: clamp(540px, 44vw, 650px);
  padding: clamp(3.75rem, 6.75vw, 6rem) 0;
  background: linear-gradient(90deg,#0f172af5 0%,#0f172adb 20%,#0f172abf 34%,#0f172a50 51%,#0f172a12 68%,transparent 80%), url('/assets/generator-home.webp') center 55% / cover no-repeat, var(--navy);
}
.hero-copy { max-width: 720px; }
.eyebrow { color: #ffbf80; font-weight: 800; letter-spacing: .14em; font-size: .89rem; text-transform: uppercase; max-width: 650px; margin: 0 0 1.35rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.028em; }
.hero h1 { font-size: clamp(2.65rem, 4.4vw, 4.15rem); margin-bottom: 1.35rem; font-weight: 850; }
.hero h1 em { color: #ffab35; font-style: normal; }
.hero h1 span { display: block; margin-top: .28rem; font-size: .75em; }
.hero-intro { color: #f1f5f9; font-size: clamp(1.05rem, 1.64vw, 1.4rem); max-width: 575px; margin-bottom: 1.75rem; }
.hero .button { min-height: 54px; padding-inline: 1.5rem; }
.hero .button:not(.outline) { min-width: min(100%, 18.5rem); background: #ffab35; }
.hero .button:not(.outline):hover { background: #ffbd61; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.section { padding-block: clamp(2.5rem, 7vw, 5rem); scroll-margin-top: 1rem; }
h2 { font-size: clamp(1.85rem, 3.35vw, 2.8rem); margin-bottom: .75rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.muted, .section-intro { color: var(--muted); }
.section-intro { max-width: 680px; margin-bottom: 1.6rem; }
.cards, .job-grid { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .panel, .job { background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; color: var(--text); }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.service-card.featured { border-top: 3px solid var(--orange); }
.service-card p:not(.price) { color: var(--muted); flex: 1; }
.price { font-size: 1.8rem; font-weight: 850; margin-bottom: .7rem; }
.price span, .price.custom-price { font-weight: 720; font-size: 1.06rem; }
.price.custom-price { padding-block: .45rem; }
.process { background: white; }
.service-steps { margin: 1.4rem 0 0; padding-left: 1.55rem; }
.service-steps li { padding-right: 1rem; }
.service-steps li::marker { color: #a64500; font-weight: 800; }
.service-steps p { color: var(--muted); margin-bottom: 0; }
.brand-list { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; margin: 0; }
.brand-list li { border: 1px solid var(--line); border-radius: .45rem; background: white; padding: .65rem 1rem; font-weight: 700; }
.booking { background: var(--navy); color: white; }
.booking-layout { display: grid; gap: clamp(1.6rem, 5vw, 5rem); grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; }
.booking-layout > div > p { color: #d8e1ee; }
.hours { margin: 1.5rem 0; }
.hours div { display: flex; gap: 1rem; justify-content: space-between; max-width: 290px; padding: .48rem 0; border-bottom: 1px solid #ffffff30; }
.hours dt { font-weight: 650; }
.hours dd { margin: 0; }
.subtle { font-size: .94rem; }
.panel, .job { padding: clamp(1rem, 3vw, 1.65rem); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.full { grid-column: 1 / -1; }
label, legend { font-weight: 690; font-size: .94rem; }
.optional { color: var(--muted); font-weight: 400; }
input:not([type=checkbox], [type=radio]), select, textarea { display: block; margin-top: .3rem; padding: .55rem .7rem; width: 100%; min-width: 0; border: 1px solid #9aabbd; border-radius: .38rem; background: white; min-height: 44px; color: var(--text); }
textarea { resize: vertical; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg,transparent 50%,#475569 50%),linear-gradient(135deg,#475569 50%,transparent 50%); background-position: calc(100% - 15px) center,calc(100% - 10px) center; background-repeat: no-repeat; background-size: 5px 5px; }
.slot-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.slot-list { display: flex; gap: .35rem; flex-wrap: wrap; }
.slot-list label { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: .4rem .58rem; border: 1px solid #abb9c9; border-radius: .36rem; cursor: pointer; }
.slot-list label:has(input:checked) { background: #fff0e5; color: #762d00; border-color: #ae4e00; }
.slot-list input { accent-color: #ad4900; margin: 0 .4rem 0 0; }
.hint { color: var(--muted); font-size: .9rem; margin: .38rem 0 0; }
#booking-email { margin: .9rem 0; overflow-wrap: anywhere; }
.feedback { border: 1px solid #9bbfa0; background: #eff9ef; color: #23562c; border-radius: .45rem; margin: .9rem 0 0; padding: .65rem .85rem; }
.feedback.error { border-color: #dca8a3; background: #fff2f1; color: #882d25; }
.portal-view h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .35rem; }
.page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.35rem; }
.page-heading p { margin: 0; }
.job-grid { margin-top: 1rem; }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: .7rem; margin-bottom: .8rem; }
.job-head p { color: var(--muted); margin: 0; }
.job-data { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: .75rem 1.1rem; margin: .7rem 0; }
.job-data dt { font-weight: 700; }
.job-data dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.badge { border-radius: 1rem; padding: .28rem .65rem; background: #e4edf9; color: #20446d; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.badge.pending { background: #fff0dd; color: #783900; }
.badge.completed { background: #e6f5e9; color: #255431; }
.badge.declined { background: #eff0f2; color: #404550; }
.job form, .job details { border-top: 1px solid var(--line); margin-top: .9rem; padding-top: .9rem; }
.job details summary { cursor: pointer; font-weight: 700; }
.job details form { border: 0; margin-top: 0; }
.job form .actions { margin-top: .75rem; }
.queue-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.25rem 0 .6rem; }
.queue-filters button { background: white; border: 1px solid #abb9c9; border-radius: .4rem; color: var(--text); padding: .5rem .8rem; }
.queue-filters button[aria-pressed=true] { background: var(--navy); color: white; border-color: var(--navy); }
.settings { margin-top: 1rem; }
.settings button { margin-top: .7rem; }
.check { display: flex; align-items: center; gap: .5rem; }
.check input { accent-color: #9c3e00; width: 1.05rem; height: 1.05rem; }
.empty { color: var(--muted); padding: 1rem 0; }
.footer { background: #0b1120; color: #c9d5e3; padding: 1.7rem 0; }
.footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer strong { color: white; font-size: 1.3rem; }
.footer strong span { color: var(--orange); }
@media (max-width: 1320px) {
  .top-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .55rem 1rem;
  }
  .header-phone { justify-self: end; }
  .top nav { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .hero {
    background-position: 62% center;
    background-image: linear-gradient(90deg,#0f172af0,#0f172ab8 56%,#0f172a75),url('/assets/generator-home.webp');
  }
}
@media (max-width: 700px) {
  .hero .wrap { width: calc(100% - 2rem); }
  .top-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
  .top nav .desktop-nav { display: none; }
  .top nav .button { min-height: 44px; padding: .55rem .8rem; }
  .brand { justify-self: start; max-width: 100%; }
  .brand img { width: clamp(116px, 39vw, 190px); max-width: 100%; }
  .brand span { font-size: clamp(.51rem, 2.05vw, .7rem); letter-spacing: 0; }
  .header-phone { font-size: clamp(1.15rem, 5.7vw, 2.6rem); }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero .button { padding-inline: .95rem; }
  .hero .button:not(.outline) { min-width: 0; }
}
@media (max-width: 510px) {
  .wrap { width: calc(100% - 2rem); }
  .top nav { gap: .65rem; }
  .top nav a { font-size: .875rem; }
  .hero { min-height: 470px; padding-block: 3.25rem; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
