/* Nerd With Tools — visual theme tokens (see visual_theme.md) mapped toward Bootstrap 5 */
:root {
  --color-primary: #256f6f;
  --color-neutral: #2c2c2c;
  --color-accent: #ecc82e;
  --color-accent-border: #d4ad18;
  --color-accent-hover: #f5ca62;
  --color-surface: #f8f4ed;
  --color-surface-elevated: #ffffff;
  --color-muted: #5c5c5c;
  --color-border: #e0dcd4;
  --color-danger-soft: #b8786e;
  --color-link-visited: #1f5656;
  --bs-body-bg: var(--color-surface);
  --bs-body-color: var(--color-neutral);
  --bs-primary: var(--color-primary);
  --bs-secondary: var(--color-muted);
  --bs-border-color: var(--color-border);
  --bs-link-color: var(--color-primary);
  --bs-link-hover-color: #1a5a5a;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  color: var(--color-neutral);
  font-family: "Source Sans 3", system-ui, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

main {
  flex: 1 0 auto;
}

a:visited {
  color: var(--color-link-visited);
}

.navbar-nwt {
  background-color: var(--color-primary) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

.navbar-nwt .navbar-brand,
.navbar-nwt .nav-link {
  color: #f4faf9 !important;
}

/* Mark + wordmark: full lockup scaled to ~40px height is unreadable; use square mark + crisp text. */
.navbar-nwt .nwt-navbar-brand {
  font-size: 1rem;
}

.navbar-nwt .nwt-brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .navbar-nwt .nwt-brand-mark {
    width: 44px;
    height: 44px;
  }
}

.navbar-nwt .nwt-brand-text .small {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.navbar-nwt .nav-link:hover,
.navbar-nwt .navbar-brand:hover,
.navbar-nwt .nwt-navbar-brand:hover .nwt-brand-text span:first-child {
  color: #ffffff !important;
}

.navbar-nwt .nwt-navbar-brand:hover .nwt-brand-mark {
  background-color: rgba(255, 255, 255, 0.2);
}

.navbar-nwt .btn-book {
  background-color: var(--color-accent);
  border-color: var(--color-accent-border);
  color: var(--color-neutral) !important;
  font-weight: 600;
  border-radius: 10px;
}

.navbar-nwt .btn-book:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-neutral) !important;
}

.navbar-nwt .btn-admin {
  background-color: var(--color-surface-elevated);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--color-primary) !important;
  font-weight: 600;
  border-radius: 10px;
}

.navbar-nwt .btn-admin:hover,
.navbar-nwt .btn-admin:focus {
  background-color: #fff;
  border-color: #fff;
  color: #1a5a5a !important;
}

.navbar-nwt .navbar-nav button.nav-link {
  line-height: inherit;
}

.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(37, 111, 111, 0.35);
}

.footer-nwt {
  background-color: var(--color-primary);
  color: #e8f2f1;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer-nwt a {
  color: #f0f7f6;
  text-decoration: underline;
}

.footer-nwt a:hover {
  color: #ffffff;
}

.footer-nwt-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
}

.hero-nwt {
  padding: 2.25rem 0 2rem;
}

@media (min-width: 768px) {
  .hero-nwt {
    padding: 2.75rem 0 2.5rem;
  }
}

.hero-nwt .hero-about {
  max-width: 40rem;
}

.hero-nwt .display-hero {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-neutral);
}

.hero-eyebrow {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.card-nwt {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(44, 44, 44, 0.04);
}

.price-like {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.section-nwt {
  padding: 2.75rem 0;
}

.section-nwt h2 {
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.zone-card {
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.zone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 1rem rgba(44, 44, 44, 0.08);
}

#nwt-map {
  background: #dfecea;
  min-height: 320px;
}

@media (max-width: 767.98px) {
  #nwt-map {
    min-height: 280px;
  }
}

@media (min-width: 992px) {
  .booking-summary-panel {
    position: sticky;
    top: 1rem;
  }
}

.booking-slot-grid {
  --bs-gap: 0.5rem;
  gap: 0.5rem;
}

.booking-schedule-day {
  padding: 0.45rem 0.65rem;
}

.booking-schedule-day__title {
  font-size: 0.9375rem;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.booking-schedule-day.is-closed .booking-schedule-day__title,
.booking-schedule-day__header .booking-schedule-day__title {
  margin-bottom: 0;
}

.booking-schedule-day__slots-row {
  align-items: center;
  gap: 0.5rem;
}

.booking-schedule-day__slots {
  gap: 0.3rem;
}

.booking-schedule-slot-btn {
  padding: 0.15rem 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.booking-slot-grid .btn-check:checked + .btn {
  background-color: var(--nwt-teal, #1f6b6b);
  border-color: var(--nwt-teal, #1f6b6b);
  color: #fff;
}

.booking-service-category__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-secondary-color, #6c757d);
  margin-bottom: 0.35rem;
}

.booking-service-btn,
.booking-addon-btn {
  padding: 0.45rem 0.65rem;
  text-align: left;
}

.booking-service-btn__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.booking-addon-list {
  margin: 0.2rem 0 0.35rem 0.75rem;
}

.booking-service-qty {
  flex: 0 0 auto;
}

.booking-catalog-qty {
  width: 4.5rem;
}

.booking-cart-body {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.booking-cart-line + .booking-cart-line {
  border-top: 1px solid var(--color-border, #e0dcd4);
}

.booking-cart-total {
  font-variant-numeric: tabular-nums;
}

.book-wizard .btn-book {
  background-color: var(--color-accent);
  border-color: var(--color-accent-border);
  color: var(--color-neutral);
  font-weight: 600;
  border-radius: 10px;
}

.book-wizard .btn-book:hover,
.book-wizard .btn-book:focus {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-border);
  color: var(--color-neutral);
}

.book-wizard .btn-book:disabled {
  opacity: 0.65;
}

.booking-wizard-step-nav {
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.booking-wizard-step-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: min-content;
}

.booking-wizard-step-nav__item {
  flex: 1 1 0;
  min-width: 9.5rem;
}

.booking-wizard-step-nav__separator {
  display: flex;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  padding: 0 0.1rem;
  flex: 0 0 auto;
}

.booking-wizard-step-nav__button,
.booking-wizard-step-nav__label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
  min-height: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-surface-elevated);
  text-align: left;
}

.booking-wizard-step-nav__button {
  color: inherit;
  cursor: pointer;
}

.booking-wizard-step-nav__button:hover,
.booking-wizard-step-nav__button:focus {
  border-color: var(--color-primary);
  background: #fff;
}

.booking-wizard-step-nav__item.is-current .booking-wizard-step-nav__label,
.booking-wizard-step-nav__item.is-current .booking-wizard-step-nav__button {
  border-color: var(--color-primary);
  background: #dfecea;
  box-shadow: inset 0 0 0 1px rgba(37, 111, 111, 0.15);
}

.booking-wizard-step-nav__item.is-locked .booking-wizard-step-nav__label {
  color: var(--color-muted);
  background: #f3f0ea;
}

.booking-wizard-step-nav__step-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.booking-wizard-step-nav__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.booking-wizard-continue-wrap {
  margin-top: 0.25rem;
}

.booking-summary-panel-inner .booking-wizard-continue-wrap {
  margin-top: 0;
}

.booking-schedule-day__incentive-amount {
  color: #198754;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  align-self: center;
}

.booking-schedule-day.is-featured {
  border-color: rgba(25, 135, 84, 0.35);
}

.booking-schedule-day__status {
  margin-bottom: 0;
}

.booking-review-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.35rem;
}

.booking-review-dl dt {
  font-weight: 600;
  margin: 0;
}

.booking-review-dl dd {
  margin: 0;
}

.booking-schedule-load-more {
  margin-top: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.booking-field-required {
  color: var(--bs-danger, #dc3545);
  font-weight: 600;
}

.hero-thumbtack-trust--link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 1.1rem 1.15rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-thumbtack-trust--link:hover,
.hero-thumbtack-trust--link:focus {
  color: inherit;
  border-color: rgba(0, 159, 217, 0.45);
  box-shadow: 0 2px 8px rgba(44, 44, 44, 0.08);
}

.hero-thumbtack-trust__layout {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.25rem;
  min-width: 0;
}

.hero-thumbtack-trust__logo-col {
  flex: 0 0 140px;
  width: 140px;
  max-width: 140px;
  line-height: 0;
  display: flex;
  align-items: center;
}

.hero-thumbtack-trust__logo {
  display: block;
  width: 140px;
  height: 140px;
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  object-position: center;
}

.hero-thumbtack-trust__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.2rem 0 0.2rem 0.15rem;
}

.hero-thumbtack-trust__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.25;
  margin: 0;
}

.hero-thumbtack-trust__brand-name {
  color: #009fd9;
}

.hero-thumbtack-trust__label {
  font-size: 0.8125rem;
}

.hero-thumbtack-trust__score {
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.hero-thumbtack-trust__count {
  font-size: 0.8125rem;
  margin-left: 0;
}

.hero-thumbtack-trust__stars-count {
  gap: 0;
}

.hero-thumbtack-trust__stars-count .hero-thumbtack-stars {
  margin-right: 0.1rem;
}

.hero-thumbtack-stars {
  position: relative;
  display: inline-block;
  width: 4.5rem;
  height: 0.85rem;
  font-size: 0.8rem;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

.hero-thumbtack-stars__track,
.hero-thumbtack-stars__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
}

.hero-thumbtack-stars__track::before,
.hero-thumbtack-stars__fill::before {
  content: "★★★★★";
  letter-spacing: 0.05em;
}

.hero-thumbtack-stars__track::before {
  color: #d8dde3;
}

.hero-thumbtack-stars__fill::before {
  color: #198754;
}

.hero-thumbtack-trust__top-pro {
  font-size: 0.8125rem;
}

.hero-thumbtack-trust__top-pro-icon {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4db8e8, #009fd9 55%, #0077b3);
  box-shadow: 0 0 0 1px rgba(0, 127, 179, 0.25);
  position: relative;
}

.hero-thumbtack-trust__top-pro-icon::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #fff;
  line-height: 1;
}

.hero-thumbtack-trust__cta {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0;
}

.hero-thumbtack-trust--link:hover .hero-thumbtack-trust__cta,
.hero-thumbtack-trust--link:focus .hero-thumbtack-trust__cta {
  color: #009fd9;
}

.home-work-gallery__card {
  padding: 0;
  border-radius: 10px;
}

.home-work-gallery__figure {
  margin: 0;
}

.home-work-gallery__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-surface, #f5f3ef);
}

.home-work-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
