/* Murray Executive Chauffeurs — luxury black & gold theme */

:root {
  --black: #080808;
  --charcoal: #151515;
  --charcoal-elevated: #1c1c1c;
  --gold: #e4ac2d;
  --gold-light: #f9cb38;
  --gold-muted: rgba(228, 172, 45, 0.35);
  --off-white: #f5f3ee;
  --muted: #a6a6a6;
  --border: rgba(245, 243, 238, 0.08);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --header-h: 6.85rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--off-white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 500;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 12vw, 8.5rem) 0;
}

.section-alt {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(228, 172, 45, 0.06), transparent 55%),
    var(--charcoal);
}

.section-header {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-lead {
  font-size: 1.0625rem;
  max-width: 32rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.75rem;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(228, 172, 45, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(228, 172, 45, 0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.68);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  z-index: 110;
  text-decoration: none;
}

.logo-mark {
  display: block;
  height: 5.21rem;
  overflow: hidden;
}

.logo-mark img,
.logo img {
  height: 6.6rem;
  width: auto;
  display: block;
}

.logo-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--gold);
  white-space: nowrap;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--off-white);
}

.logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--off-white);
}

.site-nav .nav-cta {
  color: var(--black);
  background: var(--gold);
  padding: 0.65rem 1.15rem;
  letter-spacing: 0.14em;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--black);
  background: var(--gold-light);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1px;
  margin: 0.4rem auto;
  background: var(--off-white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.45rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.45rem) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.35) 35%, rgba(8, 8, 8, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.65) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 42rem;
  padding-bottom: 1rem;
  animation: fade-up 1.1s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
}

.hero h1 {
  color: var(--off-white);
  margin-bottom: 1.1rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(245, 243, 238, 0.82);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 2;
  width: 1.5rem;
  height: 2.25rem;
  border: 1px solid var(--gold-muted);
  border-radius: 999px;
  transform: translateX(-50%);
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}

.scroll-hint span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  animation: scroll-dot 1.8s var(--ease) infinite;
}

.scroll-hint:hover {
  opacity: 1;
}

/* Intro */

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
}

.intro.section {
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
}

.intro-copy h2 {
  margin-bottom: 1.5rem;
}

.intro-copy p {
  max-width: 36rem;
}

.intro-aside {
  border-top: 0;
  padding-top: 0;
  display: grid;
  gap: 1.5rem;
}

.slideshow {
  position: relative;
}

.slideshow-compact .slideshow-viewport {
  aspect-ratio: 3 / 2;
}

.slideshow-compact .slideshow-controls {
  margin-top: 0.85rem;
  gap: 0.85rem;
}

.slideshow-compact .slideshow-btn {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.35rem;
}

.slideshow-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--charcoal);
  aspect-ratio: 16 / 9;
}

.slideshow-track {
  position: absolute;
  inset: 0;
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  pointer-events: none;
}

.slideshow-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.35rem;
}

.slideshow-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.slideshow-btn:hover,
.slideshow-btn:focus-visible {
  background: rgba(228, 172, 45, 0.12);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.slideshow-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.slideshow-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid var(--gold-muted);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.slideshow-dot.is-active,
.slideshow-dot:hover,
.slideshow-dot:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}

@media (max-width: 640px) {
  .slideshow-viewport,
  .slideshow-compact .slideshow-viewport {
    aspect-ratio: 3 / 2;
  }
}

.aside-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.aside-value {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--off-white);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    background 0.4s var(--ease);
}

.service-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(228, 172, 45, 0.06), transparent);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--off-white);
}

.service-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* Fleet */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

.fleet-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.fleet-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-4px);
}

.fleet-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101010;
}

.fleet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.fleet-card:hover .fleet-media img {
  transform: scale(1.04);
}

.fleet-body {
  padding: 1.75rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
}

.fleet-body h3 {
  margin: 0;
  color: var(--off-white);
}

.fleet-desc {
  margin: 0;
  font-size: 0.98rem;
}

.vehicle-interior {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #101010;
  aspect-ratio: 16 / 9;
}

.vehicle-interior img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.vehicle-highlights {
  list-style: none;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.vehicle-highlights li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
}

.vehicle-highlight-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--gold);
}

.vehicle-highlight-icon svg {
  width: 100%;
  height: 100%;
}

.vehicle-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}

.vehicle-feature {
  padding: 0;
  text-align: center;
}

.vehicle-feature-icon {
  width: 2rem;
  height: 2rem;
  color: var(--gold);
  margin: 0 auto 0.85rem;
}

.vehicle-feature-icon svg {
  width: 100%;
  height: 100%;
}

.vehicle-feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--off-white);
}

.vehicle-feature p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .vehicle-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .vehicle-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vehicle-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.85rem;
  }

  .vehicle-interior {
    aspect-ratio: 4 / 3;
  }
}

.fleet-specs {
  list-style: none;
  margin: 0.35rem 0 0.75rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 2rem;
}

.fleet-specs li {
  display: grid;
  gap: 0.2rem;
}

.fleet-specs span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.fleet-specs strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--off-white);
}

.fleet-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Experience */

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.experience-copy h2 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.experience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.experience-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.experience-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.exp-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
  padding-top: 0.15rem;
}

.experience-list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--off-white);
}

.experience-list p {
  margin: 0;
  font-size: 0.98rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 1.15rem;
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 0.65rem;
}

.contact-details a {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--off-white);
  transition: color 0.3s var(--ease);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gold);
}

.contact-details p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-form {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background:
    linear-gradient(160deg, rgba(228, 172, 45, 0.05), transparent 40%),
    var(--charcoal);
  border: 1px solid var(--border);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row label .label-note {
  text-transform: none;
  letter-spacing: 0.06em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.55);
  color: var(--off-white);
  border-radius: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(166, 166, 166, 0.65);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-muted);
  background: rgba(8, 8, 8, 0.8);
}

.form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.form-row select option {
  background: var(--charcoal);
  color: var(--off-white);
}

/* Ensure the native date/time picker icon is visible on dark fields */
.form-row input[type="datetime-local"] {
  color-scheme: dark;
  min-height: 2.85rem;
}

.form-row input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: invert(0.85) sepia(1) saturate(3) hue-rotate(5deg);
  padding: 0.2rem;
}

.form-note {
  margin-top: 1rem;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--gold-light);
}

.form-note.is-error {
  color: #e8a0a0;
}

.form-note.is-success {
  color: var(--gold-light);
  line-height: 1.55;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  margin-top: 0.85rem;
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer-logo {
  height: 5.5rem;
  width: auto;
  display: block;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold-muted);
  color: var(--gold);
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.social-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(228, 172, 45, 0.08);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-legal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
}

.footer-legal a,
.cookie-settings-btn {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.cookie-settings-btn:hover,
.cookie-settings-btn:focus-visible {
  color: var(--gold);
}

.footer-copy {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-privacy {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.form-privacy a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-privacy a:hover,
.form-privacy a:focus-visible {
  color: var(--gold);
}

/* Legal pages */

.legal-page {
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
}

.legal-content {
  max-width: 48rem;
}

.legal-content h1 {
  margin-bottom: 0.75rem;
}

.legal-updated {
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.legal-content section {
  margin-bottom: 2.25rem;
}

.legal-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.85rem;
  color: var(--off-white);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--off-white);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-note {
  padding: 0.95rem 1rem;
  border: 1px solid var(--gold-muted);
  background: rgba(228, 172, 45, 0.06);
  color: var(--off-white);
  font-size: 0.95rem;
}

.contact-placeholders {
  list-style: none;
  padding: 0;
  color: var(--off-white);
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--border);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.cookie-table th {
  color: var(--off-white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}

.cookie-table code {
  color: var(--gold-light);
  font-size: 0.85em;
}

.text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  font: inherit;
}

/* Cookie consent */

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 200;
  max-width: 34rem;
  margin-left: auto;
}

.cookie-banner-inner {
  padding: 1.35rem 1.35rem 1.25rem;
  background: rgba(21, 21, 21, 0.97);
  border: 1px solid var(--gold-muted);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.cookie-banner-inner h2 {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
  color: var(--off-white);
}

.cookie-banner-inner p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.cookie-banner-link {
  margin-bottom: 1rem !important;
}

.cookie-banner-link a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-banner-actions .btn {
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
}

.cookie-modal[hidden],
.cookie-banner[hidden] {
  display: none !important;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.cookie-modal-panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(90vh, 40rem);
  overflow: auto;
  padding: 1.5rem;
  background: var(--charcoal);
  border: 1px solid var(--gold-muted);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--off-white);
}

.cookie-modal-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal-close:hover,
.cookie-modal-close:focus-visible {
  color: var(--off-white);
}

.cookie-modal-intro {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.cookie-pref {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.cookie-pref h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--off-white);
}

.cookie-pref p {
  margin: 0;
  font-size: 0.88rem;
}

.cookie-pref-status {
  flex-shrink: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.3rem;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-switch input {
  accent-color: var(--gold);
  width: 1.05rem;
  height: 1.05rem;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.cookie-modal-policy {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.cookie-modal-policy a {
  color: var(--gold);
}

body.cookie-banner-visible {
  padding-bottom: 0;
}

@media (max-width: 640px) {
  .cookie-banner {
    inset: auto 0.75rem 0.75rem;
  }

  .cookie-banner-actions .btn,
  .cookie-modal-actions .btn {
    width: 100%;
  }
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .reveal:nth-child(2),
.fleet-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.services-grid .reveal:nth-child(3),
.fleet-grid .reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.services-grid .reveal:nth-child(4),
.fleet-grid .reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.services-grid .reveal:nth-child(5) {
  transition-delay: 0.08s;
}

.services-grid .reveal:nth-child(6) {
  transition-delay: 0.14s;
}

.services-grid .reveal:nth-child(7) {
  transition-delay: 0.2s;
}

.services-grid .reveal:nth-child(8) {
  transition-delay: 0.26s;
}

/* Keyframes */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .intro-grid,
  .experience-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    background: rgba(8, 8, 8, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    padding-bottom: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .container {
    width: min(100% - 1.75rem, var(--max));
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none;
    animation: none;
  }
}

/* Mobile WhatsApp shortcut */

.whatsapp-float {
  display: none;
}

@media (max-width: 768px) {
  .whatsapp-float {
    --whatsapp-clearance: 0px;
    position: fixed;
    right: calc(1rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px) + var(--whatsapp-clearance));
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: rgba(8, 8, 8, 0.92);
    color: var(--off-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
      transform 0.25s var(--ease),
      border-color 0.25s var(--ease),
      background 0.25s var(--ease),
      bottom 0.25s var(--ease);
  }

  body.cookie-banner-visible .whatsapp-float {
    --whatsapp-clearance: min(30rem, 55vh);
  }

  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    border-color: var(--gold-light);
    background: rgba(21, 21, 21, 0.96);
    transform: scale(1.04);
  }

  .whatsapp-float:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
  }

  .whatsapp-float-icon {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    color: #25d366;
  }

  .whatsapp-float-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }
}
