:root {
  --bg: #0e1822;
  --bg-soft: #162535;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --text: #13202c;
  --text-muted: #4e6071;
  --heading: #0f1d2b;
  --line: rgba(16, 32, 48, 0.12);
  --brand: #319ce3;
  --brand-deep: #1c6fa8;
  --accent: #f4b942;
  --shadow: 0 22px 50px rgba(6, 22, 36, 0.16);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(49, 156, 227, 0.18), transparent 28%),
    linear-gradient(180deg, #eef5fb 0%, #fbfdff 32%, #eef4f8 100%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.75rem 1rem;
  clip: auto;
  background: #fff;
  border-radius: 12px;
  z-index: 1000;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
}

.section-heading.light,
.section-heading.light h2 {
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.lead,
.lead-text,
.section-heading p:last-child {
  color: var(--text-muted);
  max-width: 60rem;
  font-size: 1.7rem;
  padding-top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.84);
  border-bottom: 1px solid rgba(15, 29, 43, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
}

.brand img {
  width: 170px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 700;
  color: #23384d;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-deep);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: #eaf4fd;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #11314c;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  padding: 2rem 0;
}

.hero-panel,
.booking-card,
.summary-card,
.portrait-card,
.service-card {
  background: var(--panel);
  border: 1px solid rgba(22, 37, 53, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 2rem;
  background:
    linear-gradient(160deg, rgba(49, 156, 227, 0.14), rgba(255, 255, 255, 0.96)),
    #fff;
}

.hero-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.8;
}

.hero-actions,
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), #59b7f1);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--brand-deep);
  border-color: rgba(49, 156, 227, 0.26);
}

.booking-section {
  position: relative;
}

.booking-section::before,
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.booking-section::before {
  background:
    linear-gradient(135deg, rgba(49, 156, 227, 0.06), transparent 45%),
    radial-gradient(circle at bottom right, rgba(244, 185, 66, 0.15), transparent 24%);
}

.booking-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
}

.booking-card,
.summary-card {
  padding: 1.5rem;
}

.field,
.days-fieldset,
.vehicle-fieldset {
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label,
legend {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: #23405a;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 49, 76, 0.15);
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem 1rem;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.days-fieldset {
  border: 1px solid rgba(17, 49, 76, 0.12);
  padding: 1rem;
  border-radius: 16px;
}

.vehicle-fieldset {
  border: 1px solid rgba(17, 49, 76, 0.12);
  padding: 1rem;
  border-radius: 16px;
}

.field-hint {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vehicle-vin-field.is-disabled,
.vehicle-details-row.is-disabled {
  opacity: 0.55;
}

.vehicle-or-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0 1rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vehicle-or-divider::before,
.vehicle-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 49, 76, 0.14);
}

.days-fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem 0.5rem 0;
  font-weight: 600;
}

.days-fieldset input {
  width: auto;
  padding: 0;
}

.summary-card h3 {
  margin-bottom: 0.5rem;
}

.summary-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.summary-card-header h3 {
  margin: 0;
}

.summary-copy-button {
  min-height: 42px;
  padding-inline: 1rem;
  flex-shrink: 0;
}

.summary-copy-button:disabled {
  cursor: not-allowed;
  transform: none;
  background: #b7c5d1;
  color: #f8fbff;
}

.summary-copy-feedback {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.alert {
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
}

.alert-info {
  color: #0f4d73;
  background: #e5f4ff;
  border-color: #b8def7;
}

.alert-warning {
  color: #7b5600;
  background: #fff6da;
  border-color: #f0d58a;
}

.summary-intro {
  color: var(--text-muted);
}

#request-summary {
  margin: 0;
  white-space: pre-wrap;
  background: #f4f8fb;
  border-radius: 18px;
  padding: 1.25rem;
  min-height: 280px;
  border: 1px solid rgba(17, 49, 76, 0.08);
  color: #1f3347;
}

.about-section {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.76), rgba(243, 248, 253, 0.95)),
    linear-gradient(180deg, #f8fbff 0%, #eef3f7 100%);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.copy-block {
  padding-right: 1rem;
}

.portrait-card {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(49, 156, 227, 0.12), rgba(255, 255, 255, 0.94)),
    #fff;
  border-radius: var(--radius);
  width: fit-content;
  max-width: 100%;
}

.portrait-card img {
  border-radius: 18px;
}

.services-section {
  background:
    radial-gradient(circle at top right, rgba(49, 156, 227, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f1f6fa 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.7rem;
}

.services-note {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-left: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.testimonials-section {
  position: relative;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 23, 36, 0.92), rgba(13, 40, 61, 0.9)),
    linear-gradient(180deg, #102334 0%, #1a3d58 100%);
  overflow: hidden;
}

.testimonials-section::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(49, 156, 227, 0.28), transparent 20%),
    radial-gradient(circle at 80% 30%, rgba(244, 185, 66, 0.18), transparent 18%);
}

.testimonial-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 320ms ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
}

.testimonial-card h3 {
  margin-top: 1.2rem;
  color: #fff;
}

.carousel-control {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--accent);
}

.site-footer {
  color: #dce7f0;
  background:
    linear-gradient(180deg, #102130 0%, #0b1722 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.contact-email-block {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
}

.contact-email-button {
  min-width: 10rem;
}

.contact-email-status {
  margin: 0;
}

.contact-email-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.contact-email-link:hover,
.contact-email-link:focus-visible {
  color: #c6e7ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.footer-bottom p {
  margin: 0;
  color: #c2d2df;
}

.closed {
  color: #ff8f8f;
  font-weight: 700;
  text-transform: uppercase;
}

.photo {
  width: 150px !important;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 49, 76, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .booking-grid,
  .split-layout,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copy-block {
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 4.25rem 0;
  }

  .summary-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .field-row,
  .hero-actions,
  .booking-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .testimonial-track {
    transition: none;
  }
}
