:root {
  --navy: #0c2c4c;
  --blue: #0065ad;
  --blue-light: #e4f3fc;
  --green: #145c2e;
  --green-dark: #0b4421;
  --green-light: #dff2e3;
  --ink: #12385f;
  --text: #17202b;
  --muted: #52677b;
  --line: #cbd8e4;
  --paper: #fff;
  --bg: #f3f8fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #1595df; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; background: #fff; font-weight: 700; }
.skip-link:focus { transform: none; }

.booking-header { background: #fff; border-bottom: 1px solid rgba(18, 56, 95, .2); }
.booking-nav {
  width: min(1060px, calc(100% - 40px));
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: auto;
}
.booking-brand { min-width: 0; display: flex; align-items: center; gap: 17px; color: var(--navy); text-decoration: none; }
.booking-brand img { width: 165px; height: auto; display: block; }
.booking-brand-service { max-width: 190px; padding-left: 17px; border-left: 1px solid var(--line); font-size: .78rem; font-weight: 800; line-height: 1.3; }
.booking-nav-links { display: flex; align-items: center; gap: 18px; font-size: .86rem; font-weight: 700; }
.home-link { text-underline-offset: 5px; }
.booking-current { padding: 7px 10px; color: #fff; background: var(--navy); border-bottom: 3px solid #70cbff; }
.lang { display: inline-flex; overflow: hidden; border: 1px solid #7894ad; }
.lang a { min-width: 38px; min-height: 34px; display: grid; place-items: center; padding: 4px 8px; text-decoration: none; }
.lang a[aria-current="page"] { color: #fff; background: var(--navy); }

.booking-main { width: min(860px, calc(100% - 36px)); margin: auto; padding: 30px 0 70px; }
.intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 22px;
  padding: 25px 28px;
  border-left: 5px solid #70cbff;
  background: #fff;
  box-shadow: 0 12px 34px rgba(12, 44, 76, .08);
}
.eyebrow { margin: 0 0 9px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.intro h1 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.trust { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; margin: 0; list-style: none; }
.steps li { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; color: var(--ink); background: var(--blue-light); font-size: .78rem; font-weight: 800; }
.steps span { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: .7rem; }

.card, .selection { margin: 16px 0; padding: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(12, 44, 76, .06); }
h2 { margin: 0 0 22px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 400; letter-spacing: -.025em; }
h3 { color: var(--navy); }
.quick { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #9bc5a6; background: #f3faf5; }
.quick small { display: block; color: var(--green-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.quick button, .slot { min-height: 44px; padding: 8px 14px; color: var(--green-dark); background: #fff; border: 1px solid var(--green); font-weight: 700; cursor: pointer; }
.quick button:hover, .slot:hover { background: var(--green-light); }
.calendar-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin: 18px 0 10px; }
.calendar-head strong { color: var(--navy); text-align: center; text-transform: capitalize; }
.calendar-head button { width: 44px; height: 44px; color: var(--blue); background: #fff; border: 1px solid var(--line); font-size: 1.4rem; cursor: pointer; }
.calendar-head button:disabled { opacity: .35; cursor: default; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.weekdays span { padding: 3px 0; color: var(--muted); font-size: .72rem; font-weight: 800; text-align: center; }
.day { position: relative; min-height: 48px; color: var(--green-dark); background: var(--green-light); border: 1px solid #8fbe9a; font-weight: 800; cursor: pointer; }
.day::after { content: "•"; position: absolute; right: 0; bottom: 1px; left: 0; font-size: .72rem; }
.day:hover { border-color: var(--green-dark); }
.day.selected { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }
.day.selected::after { content: "✓"; }
.day:disabled { color: #87929c; background: repeating-linear-gradient(135deg, #f4f6f7, #f4f6f7 5px, #e8ecef 5px, #e8ecef 7px); border-color: #dfe4e8; text-decoration: underline; text-underline-offset: 5px; cursor: not-allowed; }
.day:disabled::after { content: "–"; }
.day.out { visibility: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: 13px; margin: 17px 0 0; color: var(--muted); font-size: .72rem; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 11px; height: 11px; display: inline-block; background: var(--green-light); border: 1px solid #8fbe9a; }
.legend i.sel { background: var(--green-dark); border-color: var(--green-dark); }
.legend i.off { background: #e8ecef; border-color: #dfe4e8; }
.times { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.times h3 { margin: 0 0 12px; font-size: 1rem; }
.slot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.slot.selected { color: #fff; background: var(--blue); border-color: var(--blue); }
.selection { display: grid; gap: 2px; padding: 12px 18px; color: var(--green-dark); background: #f3faf5; border-color: #9bc5a6; border-left: 5px solid var(--green); }
.selection[hidden] { display: none; }
.selection strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }

.card label { display: block; margin: 14px 0 6px; font-size: .9rem; font-weight: 700; }
.card input:not([type="radio"]):not([type="checkbox"]), .card textarea { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--text); background: #fff; border: 1px solid #9fb1c2; border-radius: 0; }
.card textarea { min-height: 96px; resize: vertical; }
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.grid.city { grid-template-columns: 1fr 2fr; }
.hint, .privacy { color: var(--muted); font-size: .78rem; }
.privacy { margin: 20px 0 14px; }
.privacy a, .hint a { color: var(--ink); text-underline-offset: 3px; }
.submit { width: 100%; min-height: 52px; color: #fff; background: var(--blue); border: 2px solid var(--blue); font-weight: 800; cursor: pointer; }
.submit:hover { background: #004f8b; border-color: #004f8b; }
.submit:disabled { background: #84afd1; border-color: #84afd1; cursor: not-allowed; }
.status { margin-top: 12px; font-weight: 700; }
.status.success { padding: 12px; color: var(--green-dark); background: var(--green-light); }
.status.error { padding: 12px; color: #8b1b1b; background: #fde9e9; }
.retry-slots { min-height: 44px; margin-top: 14px; padding: 8px 14px; color: var(--blue); background: #fff; border: 2px solid var(--blue); font-weight: 800; cursor: pointer; }
.retry-slots:hover { color: #fff; background: var(--blue); }
.booking-fallback { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.booking-fallback a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.address-wrap { position: relative; }
.address-results { position: absolute; z-index: 5; right: 0; left: 0; background: #fff; box-shadow: 0 10px 25px rgba(12, 44, 76, .15); }
.address-results button { width: 100%; min-height: 44px; padding: 9px 11px; color: var(--text); background: #fff; border: 1px solid var(--line); border-top: 0; text-align: left; cursor: pointer; }
.address-results button:hover, .address-results button:focus { background: var(--blue-light); }
.booking-footer { padding: 12px 20px 38px; color: var(--muted); font-size: .78rem; text-align: center; }
.booking-footer a { color: var(--ink); text-underline-offset: 4px; }

@media (max-width: 720px) {
  .booking-nav { width: min(100% - 28px, 680px); min-height: 70px; gap: 12px; }
  .booking-brand { gap: 10px; }
  .booking-brand img { width: 150px; }
  .booking-brand-service { max-width: 130px; padding-left: 10px; font-size: .66rem; }
  .home-link { display: none; }
  .booking-nav-links { gap: 8px; }
  .booking-main { width: min(100% - 24px, 620px); padding-top: 18px; }
  .intro { grid-template-columns: 1fr; gap: 17px; padding: 20px; }
  .intro h1 { font-size: 2.15rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .steps li { min-height: 58px; flex-direction: column; justify-content: center; gap: 4px; padding: 6px 3px; text-align: center; font-size: .66rem; }
  .card { padding: 20px; }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
  .booking-nav { align-items: center; }
  .booking-brand { display: grid; gap: 0; }
  .booking-brand img { width: 125px; }
  .booking-brand-service { max-width: 180px; padding: 0; border: 0; font-size: .6rem; }
  .lang a { min-width: 34px; min-height: 34px; padding: 3px 6px; }
  .booking-current { padding: 5px 7px; font-size: .68rem; }
  .booking-main { width: calc(100% - 20px); }
  .intro { margin-bottom: 12px; padding: 18px 16px; border-left-width: 4px; }
  .intro h1 { font-size: 1.85rem; }
  .trust { margin-top: 9px; font-size: .82rem; }
  .card { margin: 12px 0; padding: 18px 14px; }
  h2 { margin-bottom: 18px; font-size: 1.5rem; }
  .quick { align-items: stretch; flex-direction: column; }
  .quick button { width: 100%; }
  .weekdays, .days { gap: 4px; }
  .day { min-height: 42px; }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid, .grid.city { grid-template-columns: 1fr; gap: 0; }
}
