:root {
  --bg: #f4f8fc;
  --panel: #ffffff;
  --ink: #243042;
  --muted: #66748a;
  --line: #dde6f1;
  --blue: #2f66eb;
  --blue-dark: #1d4fc5;
  --soft-blue: #e8f1ff;
  --green: #2f66eb;
  --gold: #d99a2b;
  --danger: #b3263b;
  --shadow: 0 22px 60px rgba(42, 60, 88, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 max(18px, calc((100vw - 1520px) / 2));
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f3c84;
  font-size: 24px;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 31px;
  line-height: 1;
}

.brand-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-nav {
  position: fixed;
  inset: 78px 14px auto;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-nav.open { display: grid; }
.site-nav a { padding: 13px 12px; color: #44546c; font-weight: 650; }

.header-action, .staff-link {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  min-width: 132px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 102, 235, .22);
}

.staff-link { color: var(--muted); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span { width: 18px; height: 2px; background: var(--ink); }

.hero-booking {
  position: relative;
  min-height: calc(100dvh - 78px);
  padding: 74px 18px 38px;
  overflow: hidden;
}

.blue-ribbon {
  position: absolute;
  inset: 0 0 auto;
  height: 265px;
  background:
    linear-gradient(90deg, rgba(24, 47, 100, .92), rgba(36, 75, 154, .72)),
    url("https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero-booking-inner {
  position: relative;
  z-index: 1;
  width: min(1520px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.booking-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 24px;
  font-weight: 760;
}

h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(42px, 9vw, 92px); line-height: .95; }
h2 { margin: 0; font-size: clamp(25px, 4.4vw, 34px); line-height: 1.08; font-weight: 720; }
h3 { margin: 0; font-size: 20px; font-weight: 700; }

.float-field {
  position: relative;
}

.float-field input,
.float-field select,
.float-field textarea,
.login-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 18px 13px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
  font-size: 18px;
  font-weight: 400;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.float-field textarea {
  min-height: 92px;
  resize: vertical;
}

.float-field label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  color: #728096;
  pointer-events: none;
  font-size: 17px;
  font-weight: 500;
  transition: top .16s ease, color .16s ease, font-size .16s ease;
}

.float-field input:focus,
.float-field select:focus,
.float-field textarea:focus,
.login-card input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 102, 235, .10);
}

.float-field input:focus + label,
.float-field input:not(:placeholder-shown) + label,
.float-field textarea:focus + label,
.float-field textarea:not(:placeholder-shown) + label,
.float-field.has-value label {
  top: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.date-field:not(.has-value) input:not(:focus) {
  color: transparent;
}

.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-fields-wrapper,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-text,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-day-field,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-month-field,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-year-field,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-hour-field,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-minute-field,
.date-field:not(.has-value) input:not(:focus)::-webkit-datetime-edit-ampm-field {
  color: transparent;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.primary-action {
  display: inline-grid;
  place-items: center;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 730;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(47, 102, 235, .22);
}

.primary-action:hover { background: var(--blue-dark); }
.primary-action.full { width: 100%; }

.doctor-panel {
  position: relative;
  min-height: 520px;
  border: 6px solid #fff;
  border-radius: 18px;
  overflow: hidden;
  background: #dce8f7;
  box-shadow: var(--shadow);
}

.doctor-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.support-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  min-width: 250px;
  padding: 14px 18px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 34px rgba(31, 54, 90, .18);
}

.support-card strong {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 18px;
}

.support-card span { font-weight: 700; }
.support-card small { color: var(--muted); }

.trust-strip, .page-section, .split-section, .category-section, .faq-section, .why-section, .notice-section, .site-footer {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 42px rgba(42, 60, 88, .08);
}

.trust-strip div {
  display: grid;
  gap: 3px;
  padding: 18px 12px;
  background: #fff;
}

.trust-strip strong { color: var(--blue); font-size: 19px; font-weight: 720; }
.trust-strip span { color: var(--muted); font-size: 12px; font-weight: 650; }

.page-section, .split-section, .category-section, .faq-section, .why-section, .notice-section { padding: 72px 0 0; }
.section-title { max-width: 760px; margin-bottom: 24px; }
.kicker { margin: 0 0 10px; color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; }

.service-grid, .category-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card, .category-list article, .steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(42, 60, 88, .06);
}

.service-card { display: grid; gap: 12px; padding: 22px; }
.service-card p, .steps p, .site-footer p { margin: 0; color: var(--muted); line-height: 1.55; }

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 720;
}

.split-section { display: grid; gap: 24px; }
.steps { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 14px; }
.steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 720;
}

.category-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.category-list span { color: var(--muted); font-size: 13px; font-weight: 650; }

.why-grid {
  display: grid;
  gap: 14px;
}

.why-grid article,
.notice-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(42, 60, 88, .06);
}

.why-grid article {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 24px;
}

.why-grid span {
  color: #8ca0bf;
  font-size: 12px;
  font-weight: 750;
}

.why-grid strong {
  color: #1f3560;
  font-size: 21px;
}

.why-grid p,
.notice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.notice-card {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-left: 5px solid var(--blue);
}

.notice-card strong {
  color: #1f3560;
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(42, 60, 88, .06);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #1f3560;
  font-size: 17px;
  font-weight: 720;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: grid;
  gap: 22px;
  margin-top: 80px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-weight: 650; }

.toast {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(244,248,252,.92), rgba(232,241,255,.9)),
    url("https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.login-brand { position: fixed; top: 22px; left: 22px; }
.login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.login-card h1 { font-size: 42px; }
.login-help { margin: 0; color: var(--muted); font-size: 14px; }

@media (min-width: 760px) {
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav a { padding: 10px 16px; }
  .header-action, .staff-link { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-booking { padding: 108px 18px 34px; }
  .hero-booking-inner { grid-template-columns: .82fr 1.18fr; align-items: stretch; }
  .booking-card { padding: 42px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .category-list { grid-template-columns: repeat(3, 1fr); }
  .split-section { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .site-footer { grid-template-columns: 1fr auto; align-items: start; }
  .footer-links { grid-template-columns: repeat(2, auto); column-gap: 20px; }
}

/* Public form polish: consistent fields across empty, filled, select, date, and autofill states. */
.booking-card {
  width: min(100%, 720px);
  align-self: start;
}

.float-field input,
.float-field select,
.float-field textarea {
  min-height: 78px;
  padding: 28px 20px 12px;
  background: #fff;
  border-color: #d8e2ef;
  border-radius: 13px;
  color: #172238;
  font-size: 17px;
  line-height: 1.25;
}

.float-field textarea {
  min-height: 118px;
  padding-top: 30px;
}

.float-field input:focus + label,
.float-field input:not(:placeholder-shown) + label,
.float-field textarea:focus + label,
.float-field textarea:not(:placeholder-shown) + label,
.float-field.has-value label {
  top: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.float-field input:focus,
.float-field select:focus,
.float-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 102, 235, .12);
}

.float-field input:-webkit-autofill,
.float-field input:-webkit-autofill:hover,
.float-field input:-webkit-autofill:focus,
.float-field textarea:-webkit-autofill,
.float-field textarea:-webkit-autofill:hover,
.float-field textarea:-webkit-autofill:focus,
.float-field select:-webkit-autofill,
.float-field select:-webkit-autofill:hover,
.float-field select:-webkit-autofill:focus {
  -webkit-text-fill-color: #172238;
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-in-out 0s;
}

.form-title {
  padding-bottom: 18px;
  margin-bottom: 2px;
}

.form-title h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 650;
}

.form-icon {
  border-width: 1.5px;
  font-weight: 650;
}

.primary-action {
  letter-spacing: 0;
}

.doctor-panel {
  align-self: stretch;
}

@media (min-width: 760px) and (max-width: 1099px) {
  .hero-booking-inner {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
  }

  .booking-card {
    width: 100%;
  }

  .doctor-panel {
    min-height: 360px;
  }

  .doctor-panel img {
    min-height: 360px;
  }
}

@media (min-width: 1100px) {
  .hero-booking-inner {
    grid-template-columns: minmax(520px, 680px) minmax(420px, 1fr);
  }
}

/* Compact desktop pass */
.site-header {
  min-height: 66px;
}

.brand {
  font-size: 21px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  font-size: 25px;
}

.brand-image {
  width: 34px;
  height: 34px;
}

.site-nav {
  inset: 66px 14px auto;
}

.header-action,
.staff-link {
  min-height: 38px;
  font-size: 14px;
}

.header-action {
  min-width: 112px;
}

.hero-booking {
  min-height: calc(100dvh - 66px);
  padding: 70px 18px 28px;
}

.blue-ribbon {
  height: 205px;
}

.hero-booking-inner {
  width: min(1320px, 100%);
  gap: 20px;
}

.booking-card {
  width: min(100%, 560px);
  gap: 10px;
  padding: 26px 30px;
  border-radius: 14px;
}

.form-title {
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 0;
}

.form-title h2 {
  font-size: clamp(24px, 3vw, 31px);
}

.form-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 20px;
}

.form-grid {
  gap: 12px;
}

.float-field input,
.float-field select,
.float-field textarea {
  min-height: 58px;
  padding: 22px 15px 8px;
  border-radius: 10px;
  font-size: 15px;
}

.float-field textarea {
  min-height: 82px;
  padding-top: 24px;
}

.float-field label,
.float-field input:focus + label,
.float-field input:not(:placeholder-shown) + label,
.float-field textarea:focus + label,
.float-field textarea:not(:placeholder-shown) + label,
.float-field.has-value label {
  top: 7px;
  left: 15px;
  font-size: 11px;
}

.float-field label {
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #6f7f98;
  font-size: 15px;
  font-weight: 500;
}

.textarea-field label {
  top: 29px;
}

.float-field input:focus + label,
.float-field input:not(:placeholder-shown) + label,
.float-field textarea:focus + label,
.float-field textarea:not(:placeholder-shown) + label,
.float-field.has-value label {
  top: 7px;
  transform: none;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
}

.primary-action {
  min-height: 46px;
  border-radius: 9px;
  font-size: 15px;
}

.doctor-panel {
  min-height: 560px;
  border-width: 5px;
  border-radius: 15px;
}

.doctor-panel img {
  min-height: 560px;
}

.support-card {
  left: 18px;
  bottom: 18px;
  min-width: 210px;
  padding: 10px 12px;
}

.support-card strong {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

@media (min-width: 1100px) {
  .hero-booking {
    padding-top: 88px;
  }

  .hero-booking-inner {
    grid-template-columns: minmax(480px, 560px) minmax(420px, 1fr);
  }
}

@media (min-width: 760px) and (max-width: 1099px) {
  .booking-card {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

/* Date/time should behave like placeholders until a real value is selected. */
.date-field:not(.has-value) label,
.date-field:not(.has-value) input:focus + label {
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #6f7f98;
  font-size: 15px;
  font-weight: 500;
}

.date-field:not(.has-value) input,
.date-field:not(.has-value) input:focus {
  color: transparent;
}

.date-field:not(.has-value) input::-webkit-datetime-edit,
.date-field:not(.has-value) input::-webkit-datetime-edit-fields-wrapper,
.date-field:not(.has-value) input::-webkit-datetime-edit-text,
.date-field:not(.has-value) input::-webkit-datetime-edit-day-field,
.date-field:not(.has-value) input::-webkit-datetime-edit-month-field,
.date-field:not(.has-value) input::-webkit-datetime-edit-year-field,
.date-field:not(.has-value) input::-webkit-datetime-edit-hour-field,
.date-field:not(.has-value) input::-webkit-datetime-edit-minute-field,
.date-field:not(.has-value) input::-webkit-datetime-edit-ampm-field {
  color: transparent;
}

/* Picker fields start as text inputs so their labels match every other empty field. */
.picker-field:not(.has-value) label,
.picker-field:not(.has-value) input:focus + label {
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #6f7f98;
  font-size: 15px;
  font-weight: 500;
}

.picker-field.is-picking label,
.picker-field.has-value label {
  top: 7px;
  transform: none;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
}

.picker-input[readonly] {
  cursor: pointer;
}

.picker-field.has-value input {
  color: #172238;
}

.picker-field.is-picking input {
  color: #172238;
}

.picker-field.is-picking:not(.has-value) input:focus + label,
.picker-field.is-picking label {
  top: 7px;
  transform: none;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
}

/* Keep the generated hero photo in a wide card instead of a square/tall crop. */
.doctor-panel {
  aspect-ratio: 16 / 10;
  min-height: 0;
  height: auto;
}

.doctor-panel img {
  min-height: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1100px) {
  .doctor-panel {
    align-self: start;
    aspect-ratio: 16 / 10.4;
  }
}

/* Header and lower-page refinement */
.site-header {
  padding: 10px 18px;
  background: rgba(255, 255, 255, .88);
}

.header-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.site-nav {
  justify-self: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  transition: background .16s ease, color .16s ease;
}

.site-nav a:hover {
  background: #eef5ff;
  color: var(--blue);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-action {
  min-width: 116px;
  border-radius: 10px;
}

.staff-link {
  padding: 0 8px;
}

.trust-strip {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.trust-strip div {
  position: relative;
  min-height: 94px;
  align-content: center;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid #d8e4f2;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(42, 60, 88, .07);
}

.trust-strip span {
  color: #8ca0bf;
  font-size: 12px;
  font-weight: 750;
}

.trust-strip strong {
  color: #1f3560;
  font-size: 21px;
}

.trust-strip small {
  color: var(--muted);
  font-weight: 500;
}

.page-section,
.split-section,
.category-section,
.faq-section,
.why-section,
.notice-section {
  padding-top: 86px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

.section-title h2 {
  max-width: 820px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8e4f2;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.section-copy {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card {
  min-height: 210px;
  padding: 28px;
  border-radius: 14px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #c7d8ee;
  box-shadow: 0 18px 42px rgba(42, 60, 88, .10);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.split-section {
  align-items: stretch;
}

.steps {
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d8e4f2;
  box-shadow: 0 16px 42px rgba(42, 60, 88, .08);
}

.steps li {
  box-shadow: none;
  border-color: transparent;
  background: #f8fbff;
}

.category-list article {
  min-height: 76px;
  border-radius: 14px;
}

.site-footer {
  width: 100%;
  max-width: none;
  margin-top: 88px;
  padding: 42px max(18px, calc((100vw - 1320px) / 2));
  grid-template-columns: 1fr;
  background: #17243a;
  color: #fff;
  border-top: 0;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-mark {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.site-footer p,
.footer-contact span {
  max-width: 470px;
  color: rgba(255,255,255,.72);
}

.footer-contact {
  display: grid;
  gap: 6px;
}

.footer-contact strong {
  font-size: 18px;
}

.footer-links {
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,.78);
}

.footer-links a:hover {
  color: #fff;
}

@media (min-width: 760px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    grid-template-columns: 1.2fr .8fr auto;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 759px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .site-nav {
    justify-self: stretch;
  }

  .header-tools {
    gap: 8px;
  }

  .header-action,
  .staff-link {
    display: none;
  }

  .section-title {
    display: grid;
    align-items: start;
  }
}

/* Admin/staff login polish */
.login-screen {
  background:
    radial-gradient(circle at 30% 15%, rgba(47,102,235,.16), transparent 32%),
    linear-gradient(120deg, rgba(244,248,252,.94), rgba(232,241,255,.92)),
    url("https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.login-card {
  gap: 14px;
  padding: 34px;
  border-radius: 18px;
  border-color: #d8e4f2;
  box-shadow: 0 26px 70px rgba(42, 60, 88, .18);
}

.login-title {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.login-title h1 {
  font-size: clamp(38px, 7vw, 54px);
  line-height: 1;
  font-weight: 720;
}

.login-field input {
  min-height: 62px;
  padding: 24px 17px 10px;
  border-radius: 12px;
  background: #fff;
  font-size: 17px;
}

.login-field label {
  top: 50%;
  left: 17px;
  transform: translateY(-50%);
  color: #6f7f98;
  font-size: 15px;
  font-weight: 500;
}

.login-field input:focus + label,
.login-field input:not(:placeholder-shown) + label,
.login-field.has-value label,
.login-field input:-webkit-autofill + label {
  top: 8px;
  transform: none;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
}

.login-card .primary-action {
  margin-top: 4px;
}

.login-help {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #d8e4f2;
  color: #52627a;
}

.login-help span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .login-card {
    padding: 24px;
  }

  .login-brand {
    position: static;
    justify-self: start;
    margin-bottom: 16px;
  }

  .login-screen {
    place-items: start stretch;
  }
}

/* Icon optical centering */
.brand-mark,
.form-icon,
.service-icon,
.faq-list summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.brand-mark,
.form-icon {
  padding-bottom: 2px;
}

.faq-list summary::after {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 30px;
  padding-bottom: 2px;
}

.faq-list details[open] summary::after {
  line-height: 28px;
  padding-bottom: 4px;
}

.site-footer .brand-mark {
  display: inline-flex;
}
