/*
 * Challis DIY Pro Styles
 *
 * This stylesheet defines a premium dark theme with orange and blue accents
 * for the Challis DIY detailing business. The design is responsive,
 * uses card-based layouts, and includes a hero section with a large
 * background image. Animations are used subtly on hover. All pages share
 * this stylesheet to maintain consistency.
 */

/* Base */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #000;
  color: #eee;
  line-height: 1.6;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  color: #f39c12;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #0a0a0a;
  border-bottom: 2px solid #111;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #f39c12;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 40px;
  margin-right: 10px;
  border-radius: 4px;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #eee;
  margin-right: 20px;
  font-size: 16px;
  position: relative;
  padding-bottom: 4px;
}

nav a:hover {
  color: #f39c12;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #f39c12;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 200px 20px;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  margin: 0 0 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero .btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  border: none;
}

.btn-primary {
  background: #f39c12;
  color: #fff;
}

.btn-secondary {
  background: #3498db;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Section headings */
section h2 {
  color: #f39c12;
  text-align: center;
  margin: 60px 0 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .service-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.card {
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
  transition: transform 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin-top: 0;
  color: #3498db;
}

.card .price {
  color: #f39c12;
  font-size: 20px;
  margin: 10px 0;
}

.card .card-btn {
  margin-top: 15px;
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.review {
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
  color: #ccc;
}

.review h4 {
  color: #f39c12;
  margin-top: 0;
}

/* Progress Bar */
.progress-bar {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  scroll-margin-top: 96px;
}

.progress-bar li {
  flex: 1;
  text-align: center;
  padding: 10px 5px;
  border-bottom: 2px solid #555;
  color: #777;
  font-size: 14px;
  position: relative;
  text-transform: uppercase;
}

.progress-bar li.completed {
  color: #2ecc71;
  border-bottom-color: #2ecc71;
}

.progress-bar li.active {
  color: #f39c12;
  border-bottom-color: #f39c12;
}

.progress-bar li.upcoming {
  color: #555;
  border-bottom-color: #555;
}

/* Pricing cards lists */
.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list li {
  padding: 4px 0;
  border-bottom: 1px solid #222;
  font-size: 14px;
  color: #ccc;
}

.price-list li:last-child {
  border-bottom: none;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Error message styling for booking validation */
.error-message {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid #f39c12;
  padding: 10px;
  margin: 15px auto;
  max-width: 600px;
  border-radius: 4px;
}
/* Highlight invalid fields */
.error-field {
  border-color: #e74c3c !important;
}
/* Gallery wrapper centering */
.gallery-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Forms */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #ccc;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #333;
  background-color: #111;
  color: #eee;
  font-size: 16px;
}

textarea {
  min-height: 120px;
}

/* Booking terms and required agreement */
.booking-terms {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: #0b0b0b;
}

.booking-terms summary {
  padding: 17px 20px;
  cursor: pointer;
  color: #f39c12;
  font-weight: 800;
  line-height: 1.4;
}

.booking-terms summary::marker {
  color: #3498db;
}

.booking-terms summary:focus-visible {
  outline: 3px solid rgba(52, 152, 219, 0.8);
  outline-offset: -3px;
}

.booking-terms[open] summary {
  border-bottom: 1px solid #333;
  background: rgba(243, 156, 18, 0.07);
}

.booking-terms-content {
  padding: 20px;
  color: #ccc;
  line-height: 1.65;
}

.booking-terms-content .terms-version {
  margin: 0 0 18px;
  color: #8fc9f0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.booking-terms-content section + section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #2b2b2b;
}

.booking-terms-content h4 {
  margin: 0 0 8px;
  color: #f1f1f1;
  font-size: 17px;
}

.booking-terms-content p {
  margin: 0 0 10px;
}

.booking-terms-content section p:last-child {
  margin-bottom: 0;
}

.terms-agreement {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #5b421a;
  border-left: 4px solid #f39c12;
  border-radius: 8px;
  background: rgba(243, 156, 18, 0.08);
}

.terms-agreement label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #f4f4f4;
  font-weight: 800;
  line-height: 1.45;
}

.terms-agreement input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #f39c12;
}

.terms-agreement input[type="checkbox"].error-field {
  outline: 3px solid #e74c3c;
  outline-offset: 2px;
}

.terms-agreement p {
  margin: 8px 0 0 34px;
  color: #aaa;
  font-size: 13px;
}

.confirmation-payment-note {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #5b421a;
  border-left: 4px solid #f39c12;
  border-radius: 8px;
  background: rgba(243, 156, 18, 0.08);
  text-align: left;
}

.confirmation-payment-note h2 {
  margin: 0 0 7px;
  color: #f39c12;
  font-size: 18px;
}

.confirmation-payment-note p {
  margin: 0;
  color: #ddd;
  line-height: 1.6;
}

/* Final booking preparation notice */
.appointment-preparation {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #2b2b2b;
  border-top: 4px solid #f39c12;
  border-radius: 8px;
  background: linear-gradient(145deg, #111, #0b0b0b);
  color: #ccc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.appointment-preparation h4 {
  margin: 0 0 10px;
  color: #f39c12;
  font-size: 20px;
}

.appointment-preparation > p {
  margin: 0 0 14px;
}

.appointment-preparation ul {
  margin: 0;
  padding-left: 22px;
}

.appointment-preparation li {
  margin-bottom: 13px;
  padding-left: 4px;
  line-height: 1.55;
}

.appointment-preparation li::marker {
  color: #3498db;
}

.appointment-preparation strong {
  color: #e9f5ff;
}

.appointment-preparation .appointment-preparation-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #3498db;
  background: rgba(52, 152, 219, 0.08);
  color: #ddd;
}

@media (max-width: 600px) {
  .booking-terms summary,
  .booking-terms-content,
  .terms-agreement {
    padding-left: 16px;
    padding-right: 16px;
  }

  .terms-agreement p {
    margin-left: 34px;
  }

  .appointment-preparation {
    padding: 18px;
  }
}

/* Booking calendar and appointment times */
.booking-scheduler {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 24px;
  margin: 20px 0 28px;
}

.calendar-panel,
.time-panel {
  padding: 20px;
  border: 1px solid #262626;
  border-radius: 8px;
  background: #0d0d0d;
}

.calendar-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.calendar-header h4,
.time-panel h4 {
  margin: 0;
  color: #f39c12;
  font-size: 18px;
}

.calendar-header h4 {
  text-align: center;
}

.calendar-nav {
  width: 44px;
  height: 44px;
  border: 1px solid #3498db;
  border-radius: 6px;
  background: #111;
  color: #3498db;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.calendar-nav:hover:not(:disabled),
.calendar-nav:focus-visible {
  background: #3498db;
  color: #fff;
}

.calendar-nav:disabled {
  border-color: #292929;
  color: #555;
  cursor: not-allowed;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: #888;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day,
.calendar-blank {
  aspect-ratio: 1;
  min-width: 0;
}

.calendar-day {
  border: 1px solid #292929;
  border-radius: 6px;
  background: #151515;
  color: #eee;
  font-weight: bold;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible {
  border-color: #3498db;
  background: rgba(52, 152, 219, 0.18);
}

.calendar-day.selected {
  border-color: #f39c12;
  background: #f39c12;
  color: #111;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.22);
}

.calendar-day:disabled {
  background: #090909;
  color: #444;
  text-decoration: line-through;
  cursor: not-allowed;
}

.schedule-selection {
  min-height: 42px;
  margin: 10px 0 16px;
  color: #bbb;
}

.availability-status {
  min-height: 24px;
  margin: -6px 0 14px;
  color: #8fc9f0;
  font-size: 14px;
}

.availability-status:empty {
  display: none;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.time-slot {
  min-height: 44px;
  padding: 9px 8px;
  border: 1px solid #3498db;
  border-radius: 6px;
  background: rgba(52, 152, 219, 0.08);
  color: #dcefff;
  font-weight: bold;
  cursor: pointer;
}

.time-slot:hover:not(:disabled),
.time-slot:focus-visible {
  background: #3498db;
  color: #fff;
}

.time-slot.selected {
  border-color: #f39c12;
  background: #f39c12;
  color: #111;
}

.time-slot:disabled {
  border-color: #292929;
  background: #090909;
  color: #666;
  cursor: not-allowed;
}

#submitBooking:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

@media (max-width: 700px) {
  .booking-scheduler {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calendar-panel,
  .time-panel {
    padding: 14px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .calendar-weekdays {
    font-size: 10px;
  }

  .time-slots {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: #0a0a0a;
  color: #777;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid #111;
}

/* Admin */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border: 1px solid #222;
  padding: 8px;
  text-align: left;
  color: #eee;
}

.admin-table th {
  background: #0f0f0f;
  color: #f39c12;
}

.admin-table tr:nth-child(even) {
  background: #0a0a0a;
}

/* 2026 site consistency pass */
:root {
  --colour-bg: #050505;
  --colour-surface: #0f0f0f;
  --colour-surface-raised: #151515;
  --colour-border: #292929;
  --colour-text: #f2f2f2;
  --colour-muted: #b7b7b7;
  --colour-orange: #f39c12;
  --colour-orange-dark: #cc7d00;
  --colour-blue: #3498db;
  --content-width: 1180px;
  --content-gutter: clamp(18px, 4vw, 32px);
  --section-space: clamp(56px, 8vw, 92px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--colour-bg);
  color: var(--colour-text);
}

img {
  max-width: 100%;
}

.container {
  width: min(100%, calc(var(--content-width) + (var(--content-gutter) * 2)));
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--content-gutter);
}

.site-header {
  width: 100%;
  padding: 0;
  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid #242424;
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo-link {
  gap: 10px;
  color: var(--colour-orange);
  font-size: 22px;
  line-height: 1;
}

.brand-logo-link:hover {
  color: #ffb43f;
}

.brand img {
  width: 46px;
  height: 46px;
  margin: 0;
  object-fit: cover;
}

.site-nav {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.site-nav a {
  margin: 0;
  padding: 9px 0;
  white-space: nowrap;
}

.site-nav .nav-cta {
  padding: 10px 18px;
  border-radius: 5px;
  background: var(--colour-orange);
  color: #111;
  font-weight: 800;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #ffb136;
  color: #111;
}

main {
  min-height: 58vh;
}

.section {
  padding-block: var(--section-space);
}

.section + .section {
  padding-top: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h1,
.section-heading h2,
.section h2 {
  margin: 0 0 12px;
}

.section-heading p,
.lede {
  margin: 0;
  color: var(--colour-muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--colour-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  min-height: clamp(560px, 70vh, 720px);
  padding: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center 45%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.02);
}

.hero-overlay {
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.67) 52%, rgba(0, 0, 0, 0.42) 100%);
}

.hero-content {
  width: min(100%, calc(var(--content-width) + (var(--content-gutter) * 2)));
  margin: 0 auto;
  padding: 100px var(--content-gutter);
  text-align: left;
}

.hero-content-inner {
  max-width: 700px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 620px;
  margin: 20px 0 30px;
  color: #dedede;
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero .btn-group {
  justify-content: flex-start;
}

.btn {
  min-height: 48px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--colour-orange);
  color: #111;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffb136;
  color: #111;
}

.btn-secondary {
  border-color: #666;
  background: transparent;
  color: #eee;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--colour-orange);
  background: rgba(243, 156, 18, 0.1);
  color: #fff;
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.card-grid {
  gap: 24px;
}

.card {
  padding: 26px;
  border-color: var(--colour-border);
  background: linear-gradient(145deg, #121212, #0c0c0c);
}

.card h3 {
  color: #eff8ff;
}

.card .price,
.price {
  color: var(--colour-orange);
  font-weight: 800;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card p:last-of-type {
  flex: 1;
}

.service-card .card-btn {
  align-self: flex-start;
}

.trust-strip {
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--colour-border);
  border-radius: 8px;
  background: #0d0d0d;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.trust-item {
  padding: 22px;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--colour-border);
}

.trust-item strong {
  display: block;
  color: var(--colour-orange);
  font-size: 17px;
}

.trust-item span {
  color: var(--colour-muted);
  font-size: 14px;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--colour-border);
  border-radius: 8px;
}

.pricing-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--colour-surface);
}

.surcharge-table {
  min-width: 0;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--colour-border);
  text-align: left;
}

.pricing-table th {
  background: #171717;
  color: var(--colour-orange);
}

.pricing-table td:not(:first-child),
.pricing-table th:not(:first-child) {
  text-align: center;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-note {
  margin-top: 14px;
  color: var(--colour-muted);
  font-size: 14px;
}

.extras-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.premium-grid {
  max-width: 860px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.extra-card {
  padding: 22px;
}

.extra-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.premium-panel,
.google-reviews-panel,
.legacy-page-card {
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid #4a3210;
  border-left: 5px solid var(--colour-orange);
  border-radius: 8px;
  background: linear-gradient(135deg, #171109, #0d0d0d 62%);
}

.premium-panel h2,
.google-reviews-panel h2,
.legacy-page-card h1 {
  margin: 0 0 14px;
  text-align: left;
}

[data-google-reviews-link][aria-disabled='true'] {
  opacity: 0.7;
  border-style: dashed;
  background: #111;
  cursor: default;
  transform: none;
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.transformation-card {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--colour-border);
  border-radius: 10px;
  background: var(--colour-surface);
}

.transformation-card.featured {
  grid-column: 1 / -1;
}

.transformation-card > figcaption {
  margin-bottom: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.transformation-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #080808;
}

.comparison-image img,
.gallery-grid .comparison-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.transformation-card:not(.featured) .comparison-image img {
  height: auto;
}

.image-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.comparison-image.after .image-label {
  background: var(--colour-orange);
  color: #111;
}

.home-transformation {
  max-width: 900px;
  margin-inline: auto;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.about-layout h2,
.contact-layout h2 {
  margin: 0 0 16px;
  color: var(--colour-orange);
  text-align: left;
}

.owner-photo-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px dashed #666;
  border-radius: 10px;
  background: linear-gradient(145deg, #141414, #090909);
  color: var(--colour-muted);
  text-align: center;
}

.todo-note {
  padding: 14px 16px;
  border-left: 3px solid var(--colour-blue);
  background: rgba(52, 152, 219, 0.09);
  color: #cfeeff;
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--colour-border);
  border-radius: 8px;
  background: var(--colour-surface);
}

.contact-card a,
.site-footer a {
  color: #f2f2f2;
  text-decoration: underline;
  text-decoration-color: #666;
  text-underline-offset: 3px;
}

.contact-card a:hover,
.site-footer a:hover {
  color: var(--colour-orange);
}

.booking-shell {
  max-width: 980px;
}

.booking-shell form {
  max-width: none;
}

.booking-estimate {
  position: sticky;
  top: 92px;
  z-index: 20;
  margin: 20px 0 28px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #4a3210;
  border-radius: 8px;
  background: rgba(16, 12, 7, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.booking-estimate-label {
  color: var(--colour-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#priceDisplay {
  width: min(100%, 520px);
  margin: 0;
  display: grid;
  gap: 5px;
  color: var(--colour-text);
  font-size: 14px;
  text-align: right;
}

.estimate-breakdown-row,
.estimate-breakdown-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
}

.estimate-breakdown-row > span {
  color: var(--colour-muted);
}

.estimate-breakdown-row strong {
  color: #f5f5f5;
}

.estimate-breakdown-total {
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px solid #4a3210;
  color: var(--colour-orange);
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 800;
}

.booking-step {
  scroll-margin-top: 190px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--colour-border);
  border-radius: 10px;
  background: var(--colour-surface);
}

.booking-step h3 {
  margin-top: 0;
  color: var(--colour-orange);
  font-size: 24px;
}

.booking-subsection + .booking-subsection {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--colour-border);
}

.booking-subsection h4 {
  margin: 0 0 16px;
  color: #eaf6ff;
  font-size: 19px;
}

#extrasContainer {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

#extrasContainer .form-group {
  margin: 0;
}

.extra-option,
.extra-choice-group {
  padding: 15px 16px;
  border: 1px solid var(--colour-border);
  border-radius: 7px;
  background: #0a0a0a;
}

.extra-option label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #eee;
  font-weight: 700;
}

.extra-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--colour-orange);
  flex: 0 0 auto;
}

.extra-choice-group > label {
  margin-bottom: 8px;
  color: #eee;
  font-weight: 800;
}

.extra-choice-group select {
  margin-bottom: 8px;
}

.extra-description {
  margin: 7px 0 0;
  color: var(--colour-muted);
  font-size: 14px;
  line-height: 1.5;
}

.extra-option .extra-description {
  margin-left: 28px;
}

.extra-selection-notice {
  min-height: 22px;
  margin: 12px 0 0;
  color: #8fc9f0;
  font-size: 14px;
}

.extra-selection-notice:empty {
  display: none;
}

.booking-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.review-card {
  padding: 20px;
  border: 1px solid var(--colour-border);
  border-radius: 8px;
  background: #0a0a0a;
}

.review-total {
  margin: 18px -2px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--colour-orange);
  background: rgba(243, 156, 18, 0.09);
  color: var(--colour-orange);
  font-size: 19px;
}

.site-footer {
  margin-top: 0;
  padding: 42px 0 26px;
  color: #aaa;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 30px;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--colour-orange);
  font-size: 20px;
  font-weight: 800;
}

.footer-heading {
  margin: 0 0 8px;
  color: #eee;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-grid p {
  margin: 4px 0;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #222;
  color: #777;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  .header-inner {
    padding-top: 13px;
    padding-bottom: 13px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .booking-estimate {
    position: static;
  }

  .booking-step {
    scroll-margin-top: 140px;
  }

  .trust-strip {
    margin-top: 0;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
  }

  .site-nav {
    gap: 4px 14px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .site-nav .nav-cta {
    padding: 8px 14px;
  }

  .hero {
    min-height: 570px;
    background-position: 52% center;
  }

  .hero::before {
    background-position: 52% center;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.68);
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .trust-strip-inner,
  .transformation-grid,
  .transformation-pair,
  .premium-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-left: 0;
    border-top: 1px solid var(--colour-border);
  }

  .transformation-card.featured {
    grid-column: auto;
  }

  .progress-bar li {
    padding-inline: 3px;
    font-size: 11px;
  }

  .booking-estimate {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .booking-step {
    scroll-margin-top: 18px;
  }

  #priceDisplay {
    text-align: left;
  }

  .owner-photo-placeholder {
    min-height: 300px;
  }
}

@media (max-width: 460px) {
  .brand-logo-link {
    font-size: 19px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }

  .site-nav a {
    text-align: center;
  }

  .site-nav .nav-cta {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: 40px;
  }

  .btn {
    width: 100%;
  }

  .card {
    padding: 22px;
  }
}

/* Customer account and dashboard */
.account-shell {
  max-width: 720px;
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto 18px;
}

.account-tabs .btn {
  width: 100%;
  padding-inline: 14px;
}

.account-tabs [aria-selected='true'] {
  border-color: var(--colour-orange);
  background: var(--colour-orange);
  color: #111;
}

.account-card {
  max-width: none;
  margin: 0;
  padding: clamp(22px, 5vw, 36px);
  border: 1px solid var(--colour-border);
  border-radius: 10px;
  background: linear-gradient(145deg, #121212, #0b0b0b);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.account-card h2 {
  margin: 0 0 20px;
  color: var(--colour-orange);
  text-align: left;
  text-transform: none;
}

.account-card > p {
  margin: -8px 0 22px;
  color: var(--colour-muted);
}

.account-card .form-group:last-of-type {
  margin-bottom: 24px;
}

.account-card input,
.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #3b3b3b;
  border-radius: 5px;
  background: #0a0a0a;
  color: var(--colour-text);
  font: inherit;
}

.dashboard-form textarea {
  min-height: 112px;
  resize: vertical;
}

.account-card input:focus-visible,
.dashboard-form input:focus-visible,
.dashboard-form select:focus-visible,
.dashboard-form textarea:focus-visible,
.account-tabs .btn:focus-visible,
.dashboard-shell .btn:focus-visible {
  border-color: var(--colour-orange);
  outline: 3px solid rgba(243, 156, 18, 0.28);
  outline-offset: 2px;
}

.dashboard-form input[readonly] {
  border-color: #303030;
  background: #111;
  color: #aaa;
  cursor: not-allowed;
}

.account-message {
  max-width: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 152, 219, 0.58);
  border-radius: 6px;
  background: rgba(52, 152, 219, 0.1);
  color: #d7efff;
}

.account-message:empty {
  display: none;
}

.account-message.error-message {
  max-width: none;
  margin: 0 0 18px;
  color: #ffd79b;
}

.dashboard-shell {
  max-width: 1080px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.dashboard-heading h1 {
  margin: 0 0 6px;
  line-height: 1.15;
}

.dashboard-heading #dashboardWelcome {
  margin: 0;
  color: var(--colour-muted);
}

#dashboardContent:not([hidden]) {
  display: grid;
  gap: 22px;
}

.dashboard-card {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--colour-border);
  border-radius: 10px;
  background: linear-gradient(145deg, #121212, #0b0b0b);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.dashboard-card > p:first-child:last-child {
  margin: 0;
  color: var(--colour-muted);
}

.dashboard-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dashboard-card-heading h2 {
  margin: 0;
  color: var(--colour-orange);
  text-align: left;
  text-transform: none;
}

.dashboard-card-heading .eyebrow {
  margin-bottom: 5px;
}

.btn-small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

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

.dashboard-item-card,
.dashboard-list-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid #303030;
  border-radius: 8px;
  background: #090909;
}

.dashboard-item-card h3,
.dashboard-list-item h3 {
  margin: 0 0 10px;
  color: #eff8ff;
  font-size: 18px;
  line-height: 1.35;
}

.dashboard-item-card p,
.dashboard-list-item p {
  margin: 6px 0;
  color: #d0d0d0;
}

.dashboard-muted {
  color: var(--colour-muted) !important;
  font-size: 14px;
}

.dashboard-reference {
  overflow-wrap: anywhere;
  color: #8e8e8e !important;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
}

.dashboard-item-card .button-row,
.plan-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid #4b4b4b;
  border-radius: 999px;
  background: #151515;
  color: #ddd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-active,
.status-confirmed,
.status-completed {
  border-color: #267849;
  background: rgba(46, 204, 113, 0.1);
  color: #8ee5b3;
}

.status-paused,
.status-pending,
.status-reminded {
  border-color: #7d581a;
  background: rgba(243, 156, 18, 0.1);
  color: #ffc96f;
}

.status-cancelled,
.status-skipped {
  border-color: #79342d;
  background: rgba(231, 76, 60, 0.1);
  color: #ffaaa1;
}

.dashboard-form {
  max-width: none;
  margin: 22px 0 0;
  padding: 22px;
  border: 1px solid #343434;
  border-radius: 8px;
  background: #080808;
}

.dashboard-form h3 {
  margin: 0 0 18px;
  color: var(--colour-orange);
}

.dashboard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.dashboard-form-grid .form-group {
  min-width: 0;
  margin: 0;
}

.dashboard-form > .btn,
.dashboard-form > .button-row {
  margin-top: 22px;
}

.service-area-note {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--colour-blue);
  background: rgba(52, 152, 219, 0.08);
  color: #cfeeff;
  font-size: 14px;
}

@media (max-width: 760px) {
  .account-tabs,
  .dashboard-form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-heading,
  .dashboard-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-heading .btn,
  .dashboard-card-heading .btn {
    align-self: flex-start;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .account-card,
  .dashboard-card,
  .dashboard-form {
    padding: 18px;
  }

  .plan-heading {
    flex-direction: column;
  }

  .dashboard-heading .btn,
  .dashboard-card-heading .btn,
  .status-pill {
    align-self: stretch;
  }

  .status-pill {
    justify-content: center;
  }
}
