:root {
  --gold: #d6ae69;
  --gold-deep: #a87c3e;
  --ink: #090a0b;
  --panel: #151617;
  --text: #f6efe2;
  --muted: #c9c0b2;
  --line: rgba(214, 174, 105, 0.34);
  --glass: rgba(255, 255, 255, 0.075);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px 22px 62px;
  background:
    radial-gradient(circle at 78% 48%, rgba(214, 174, 105, 0.5), transparent 30%),
    radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(112deg, #050506 0%, #161719 42%, #75614e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48));
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 20% 76%, rgba(214, 174, 105, 0.22), transparent 24%);
}

.topbar {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  display: flex;
  width: min(1080px, calc(100% - 44px));
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar span {
  color: var(--gold);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-card {
  display: block;
  width: min(360px, 82vw);
  height: auto;
  margin: 10px 0 14px;
  border: 1px solid rgba(214, 174, 105, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.brand-line {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.96;
  font-weight: 500;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--gold);
  color: #14110c;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.quick-info span {
  padding: 11px 14px;
  border: 1px solid rgba(214, 174, 105, 0.24);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  font-size: 0.88rem;
}

.services,
.vehicle,
.route-panel,
.pricing,
.booking,
.contact {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.04;
  font-weight: 500;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

article {
  min-height: 230px;
  padding: 26px;
  background: linear-gradient(180deg, #151617, #101112);
}

article span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h3 {
  margin: 46px 0 14px;
  font-size: 1.25rem;
}

article p,
.vehicle p,
.contact p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.vehicle {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.features li {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.features li:last-child {
  border-bottom: 0;
}

.contact {
  text-align: center;
}

.route-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.routes {
  display: grid;
  gap: 12px;
}

.routes p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.routes span {
  color: var(--muted);
  text-align: right;
}

.pricing {
  border-top: 1px solid var(--line);
}

.booking {
  border-top: 1px solid var(--line);
}

.pricing__intro {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.65;
}

.pricing-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1.7fr minmax(160px, 0.7fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(214, 174, 105, 0.22);
}

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

.pricing-row--head {
  background: rgba(214, 174, 105, 0.14);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-row span {
  color: var(--muted);
  line-height: 1.5;
}

.pricing-row span:first-child {
  color: var(--text);
  font-weight: 800;
}

.pricing-row strong {
  color: var(--gold);
  font-size: 1.05rem;
  text-align: right;
}

.pricing-note {
  max-width: 860px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 26px;
  align-items: start;
}

.booking-form,
.booking-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

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

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(214, 174, 105, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form option {
  background: #151617;
}

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

.extras {
  display: grid;
  gap: 10px;
}

.booking-form .checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.checkline input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.booking-summary {
  position: sticky;
  top: 18px;
  padding: 26px;
}

.summary-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-summary strong {
  display: block;
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

.booking-summary p {
  color: var(--muted);
  line-height: 1.6;
}

.booking-summary dl {
  display: grid;
  gap: 1px;
  margin: 22px 0;
  border: 1px solid rgba(214, 174, 105, 0.25);
}

.booking-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.booking-summary dt,
.booking-summary dd {
  margin: 0;
}

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

.booking-summary dd {
  color: var(--text);
  font-weight: 800;
}

.booking-whatsapp {
  width: 100%;
}

.summary-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.contact p {
  margin: 14px 0 0;
}

.contact a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 86px 18px 68px;
  }

  .brand-card {
    width: min(360px, 100%);
  }

  .service-grid,
  .vehicle,
  .route-panel,
  .booking-panel,
  .date-grid {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

  .pricing-row,
  .pricing-row--head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pricing-row--head {
    display: none;
  }

  .pricing-row strong {
    text-align: left;
  }

  .topbar {
    width: calc(100% - 36px);
    letter-spacing: 0.1em;
  }

  .routes p {
    display: block;
  }

  .routes span {
    display: block;
    margin-top: 8px;
    text-align: left;
  }

  article {
    min-height: 0;
  }
}

.admin-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at top right, rgba(214, 174, 105, 0.22), transparent 32%),
    #090a0b;
}

.admin-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 26px 0 34px;
}

.admin-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.reservation-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.reservation-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea,
.admin-actions input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(214, 174, 105, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  font: inherit;
  padding: 11px 13px;
}

.reservation-form option {
  background: #151617;
}

.admin-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.admin-card__head h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

#conflictBadge {
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.is-free {
  background: rgba(45, 180, 111, 0.16);
  color: #74f0ad;
}

.is-busy {
  background: rgba(255, 92, 92, 0.16);
  color: #ff9b9b;
}

.price-box {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(214, 174, 105, 0.24);
  border-radius: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
}

.calc-total {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.calc-total strong {
  color: var(--gold);
}

.calendar-card {
  padding: 22px;
}

.admin-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-actions .button {
  min-height: 46px;
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.day-strip button {
  border: 1px solid rgba(214, 174, 105, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 13px;
  text-align: left;
}

.day-strip button.active {
  border-color: var(--gold);
  background: rgba(214, 174, 105, 0.12);
}

.day-strip strong,
.day-strip span {
  display: block;
}

.day-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reservations {
  display: grid;
  gap: 12px;
}

.reservation-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  min-height: 0;
  border: 1px solid rgba(214, 174, 105, 0.2);
  border-radius: 8px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.reservation-item h3 {
  margin: 10px 0 8px;
  font-size: 1.1rem;
}

.reservation-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.reservation-price {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 900;
  text-align: right;
}

.reservation-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reservation-actions button {
  min-height: 38px;
  border: 1px solid rgba(214, 174, 105, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 0 12px;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(214, 174, 105, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-confirmata .status-pill {
  background: rgba(45, 180, 111, 0.16);
  color: #74f0ad;
}

.status-finalizata {
  opacity: 0.72;
}

.status-anulata {
  opacity: 0.54;
}

.status-anulata .status-pill {
  background: rgba(255, 92, 92, 0.16);
  color: #ff9b9b;
}

.empty-state {
  margin: 0;
  border: 1px dashed rgba(214, 174, 105, 0.3);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .admin-hero,
  .admin-grid,
  .reservation-item {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    display: grid;
    align-items: start;
  }

  .reservation-price {
    text-align: left;
  }
}
