:root {
  --bg: #f4efe6;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #1f2933;
  --muted: #5b6874;
  --line: rgba(31, 41, 51, 0.12);
  --brand: #0f766e;
  --brand-dark: #0b4f4b;
  --brand-soft: #dff3ef;
  --accent: #c98b3c;
  --shadow-lg: 0 28px 60px rgba(17, 24, 39, 0.12);
  --shadow-md: 0 14px 30px rgba(17, 24, 39, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(201, 139, 60, 0.18), transparent 28%),
    linear-gradient(180deg, #f9f6f0 0%, var(--bg) 48%, #f0ebe2 100%);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: relative;
  z-index: 10;
  padding: 22px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  height: 54px;
  width: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 17, 26, 0.16);
  backdrop-filter: blur(14px);
  color: #fff;
}

.lang-switch a {
  text-decoration: none;
  font-size: 0.94rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -98px;
  padding: 142px 0 82px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 18, 30, 0.86), rgba(7, 69, 78, 0.68)),
    radial-gradient(circle at top right, rgba(93, 194, 154, 0.3), transparent 28%),
    url("uploads/background2.jpeg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(201, 139, 60, 0.22);
  filter: blur(12px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.hero-copy {
  position: relative;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 540px;
  margin-top: 18px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}

.hero-search-shell {
  position: relative;
}

.booking-box {
  position: relative;
  background: rgba(255, 253, 249, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.booking-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 28%);
  pointer-events: none;
}

.booking-box > * {
  position: relative;
}

.booking-box h2,
.results-heading h3,
.card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-dark);
}

.booking-intro {
  margin-top: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

.booking-grid {
  display: grid;
  gap: 18px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 14px 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.search-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  background: linear-gradient(180deg, #f4faf9, #eef8f6);
}

.search-feedback strong {
  display: block;
  color: var(--brand-dark);
}

.search-feedback p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.search-feedback-hidden {
  display: none;
}

.search-feedback.is-loading {
  border-color: rgba(201, 139, 60, 0.24);
  background: linear-gradient(180deg, #fdf6ea, #f9efdf);
}

.search-feedback.is-ready {
  border-color: rgba(15, 118, 110, 0.24);
  background: linear-gradient(180deg, #e9faf3, #dff4ec);
}

.search-feedback.is-empty {
  border-color: rgba(186, 35, 24, 0.2);
  background: linear-gradient(180deg, #fff6f5, #fdeeed);
}

.btn-secondary-light {
  min-width: 138px;
  box-shadow: none;
}

.booking-footnote {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.trust-card,
.card {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.trust-card {
  position: relative;
  overflow: hidden;
}

.trust-card::after {
  content: "";
  position: absolute;
  inset: auto -36px -36px auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), transparent 70%);
}

.trust-card-featured {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(239, 247, 244, 0.98));
}

.trust-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 1.08rem;
}

.trust-card p {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 28ch;
}

.booking-main {
  padding: 32px 0 28px;
}

.results-shell {
  margin-top: 34px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.results-shell-highlight {
  transform: translateY(-2px);
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.results-subtitle {
  max-width: 540px;
  color: var(--muted);
}

.results {
  display: grid;
  gap: 18px;
}

.results-placeholder {
  background: rgba(255, 253, 249, 0.8);
  border: 1px dashed rgba(15, 118, 110, 0.28);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--muted);
}

.vehicle-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.vehicle-image {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #eef5f3, #d8ebe8);
}

.vehicle-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vehicle-info h4 {
  margin-top: 14px;
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--ink);
}

.car-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
}

.car-icons span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.92rem;
}

.vehicle-action {
  display: grid;
  gap: 14px;
  align-self: stretch;
  justify-items: stretch;
}

.vehicle-price-box {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcf7ef, #f7efe2);
  border: 1px solid rgba(201, 139, 60, 0.18);
}

.price {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}

.price-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.badge-available {
  background: #ddf7ea;
  color: #0f6b45;
}

.availability-warning {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4ea;
  color: #9a4d14;
  border: 1px solid #f4c8a0;
  font-size: 0.95rem;
}

.btn-secondary {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--brand) 0%, #127b7f 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 18px 30px rgba(15, 118, 110, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(15, 118, 110, 0.26);
}

.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.flow-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 24px;
  padding: 12px 0 34px;
}

.stack {
  display: grid;
  gap: 20px;
}

.booking-summary {
  display: grid;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.summary-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.summary-value {
  text-align: right;
  font-weight: 600;
}

.progress-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.progress-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #edf4f3;
  color: var(--muted);
  font-size: 0.92rem;
}

.progress-step.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
}

.card p + p {
  margin-top: 8px;
}

.card-intro {
  margin-top: 10px;
  margin-bottom: 18px;
  color: var(--muted);
}

.extra-option {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.extra-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.extra-name {
  font-weight: 600;
}

.extra-option:last-child {
  border-bottom: 0;
}

.extra-price {
  font-weight: 700;
  color: var(--brand-dark);
}

.extra-help-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.extra-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 22px;
  block-size: 22px;
  padding: 0;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  background: #edf7f5;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.extra-help:hover,
.extra-help:focus-visible {
  background: #dff1ee;
  outline: none;
}

.extra-help-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 30;
  inline-size: min(320px, 70vw);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(14, 35, 39, 0.96);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 14px 28px rgba(7, 17, 26, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  pointer-events: none;
}

.extra-help-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  inline-size: 10px;
  block-size: 10px;
  background: rgba(14, 35, 39, 0.96);
  transform: translate(-50%, -50%) rotate(45deg);
}

.extra-help-wrap:hover .extra-help-bubble,
.extra-help-wrap:focus-within .extra-help-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.extra-option input {
  inline-size: 20px;
  block-size: 20px;
  accent-color: var(--brand);
}

.total-price {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
  margin: 12px 0 18px;
}

.aside-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.field-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.error-box {
  min-height: 24px;
  margin-top: 14px;
  color: #b42318;
  font-weight: 600;
}

.footer {
  margin-top: 56px;
  padding: 28px 0 34px;
  background: linear-gradient(180deg, #17363c 0%, #0e2327 100%);
  color: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

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

.hero-legal {
  margin-top: 0;
  padding: 88px 0 52px;
}

.legal-main {
  padding: 32px 0 8px;
}

.legal-card h2 + p,
.legal-card p + p {
  margin-top: 10px;
}

.legal-card h2 {
  margin-top: 28px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-updated {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .flow-shell,
  .vehicle-card {
    grid-template-columns: 1fr;
  }

  .vehicle-action {
    justify-items: start;
  }

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

@media (max-width: 720px) {
  .hero {
    padding-top: 128px;
    padding-bottom: 56px;
  }

  .booking-box,
  .card,
  .vehicle-card,
  .trust-card {
    padding: 20px;
    border-radius: 22px;
  }

  .form-row,
  .field-grid.two-col,
  .extra-option,
  .search-feedback {
    grid-template-columns: 1fr;
  }

  .search-feedback {
    display: grid;
  }

  .results-heading,
  .booking-footnote,
  .summary-row {
    display: grid;
    gap: 8px;
  }

  .summary-value {
    text-align: left;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .lang-switch {
    padding: 8px 12px;
  }
}


