* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8f4ee;
  color: #1f1a17;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
}

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

.small-container {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(23, 19, 17, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #171311;
  font-family: Georgia, "Times New Roman", serif;
  white-space: nowrap;
}

.logo-gold {
  color: #c79d5b;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: #171311;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.88;
  position: relative;
  transition: 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #c79d5b;
  transition: width 0.25s ease;
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #171311;
  color: white;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s ease;
  margin-left: 10px;
}

.header-phone:hover {
  background: #c79d5b;
  color: white;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #171311;
  cursor: pointer;
  margin-left: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(23, 19, 17, 0.65), rgba(23, 19, 17, 0.55)),
    url("assets/hero-taxi.jpg") center/cover no-repeat;
  color: white;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
}

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

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #d2ab67;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-warm {
  background: #f2ebe2;
}

.section-dark {
  background: #171311;
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.section-title p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #6b625b;
  font-size: 17px;
}

.section-title.light p {
  color: rgba(255, 255, 255, 0.72);
}

.section-button {
  margin-top: 34px;
  text-align: center;
}

.page-hero {
  padding: 90px 0 40px;
}

.page-hero-reservation {
  padding: 120px 0 80px;
  background:
     linear-gradient(rgba(23,19,17,0.7), rgba(23,19,17,0.6)),
     url("assets/reservation.jpg") center/cover no-repeat;
     color: white;
}

.page-hero-contact {
  padding: 170px 0 80px;
  background: 
    linear-gradient(rgba(23,19,17,0.6), rgba(23,19,17,0.5)),
    url("assets/contact.jpg") center/cover no-repeat;
    color: white;
}

.page-hero-light {
  background: #f2ebe2;
}

/* Grid */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: #6b625b;
}

.card h4 {
  margin: 18px 0 0;
  font-size: 16px;
}

.center {
  text-align: center;
}

.price-text {
  margin-top: 8px;
  color: #b89156 !important;
  font-weight: 700;
}

.tarif-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
}

.tarif-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.tarif-card h3 {
  margin: 8px 0;
  font-size: 22px;
}

.tarif-card strong {
  color: #d2ab67;
  font-size: 28px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list details {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 14px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 600;
}

.faq-list details p {
  padding: 0 22px 20px;
  margin: 0;
  color: #6b625b;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: #171311;
  color: white;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.cta p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-content {
  max-width: 760px;
}

/* Buttons */
.btn {
    display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: #c79d5b;
  color: white;
}

.btn-gold:hover {
  background: #b78b48;
}

.btn-dark {
  background: #171311;
  color: white;
}

.btn-dark:hover {
  background: #2a211d;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: white;
  color: #171311;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  background: white;
  color: #171311;
}

.btn-full {
  width: 100%;
  text-align: center;
  font-size: 16px;
}

/* Form */
.form-card {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d9cfc3;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: #1f1a17;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c79d5b;
  box-shadow: 0 0 0 3px rgba(199, 157, 91, 0.12);
}

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

/* Confirmation */
.confirmation {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.confirmation-box {
  background: white;
  max-width: 760px;
  width: 100%;
  padding: 40px;
  border-radius: 18px;
  border: 1px solid #e6ddd2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.confirmation-box h1 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 42px;
}

.confirmation-box p {
  font-size: 17px;
}

.resume {
  margin: 28px 0;
  padding: 20px;
  background: #f4eee6;
  border-radius: 14px;
}

.resume p {
  margin: 8px 0;
}

/* Footer */
.site-footer {
  background: #120f0d;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .header-container {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .logo {
    font-size: 22px;
    max-width: 70%;
    white-space: normal;
    line-height: 1.2;
  }

  .burger {
    display: block;
  }

  .header-phone {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee3d6;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-left: 0;
  }

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

  .nav a {
    width: 100%;
    padding: 6px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  .logo {
    font-size: 18px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .card,
  .tarif-card,
  .form-card,
  .confirmation-box,
  .legal-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .form-card,
  .confirmation-box,
  .card,
  .tarif-card {
    padding: 22px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }
}

.contact-value {
  margin-top: 18px !important;
  font-size: 22px;
  font-weight: 700;
  color: #171311 !important;
}

.contact-value a {
  color: #171311;
}

.contact-value a:hover {
  color: #c79d5b;
}

.site-footer {
  background: #0f0c0b;
  color: rgba(255,255,255,0.6);
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer-links a:hover {
  color: #c79d5b;
}

@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.legal-hero {
  padding: 150px 0 80px;
  background: #f4eee6;
}

.legal-section {
  padding-top: 40px;
  padding-bottom: 80px;
}

.legal-card {
  background: white;
  border: 1px solid #e6ddd2;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-card h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 26px;
  color: #171311;
}

.legal-card h2:not(:first-child) {
  margin-top: 34px;
}

.legal-card p {
  margin: 0 0 14px;
  color: #4f4741;
  line-height: 1.7;
}

.footer-left p {
  margin: 0;
}

@media (max-width: 700px) {
  .legal-hero {
    padding: 130px 0 60px;
  }

  .legal-card {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .btn {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
  }
}

.car-img {
  width: 50%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.price {
  font-size: 22px;
  font-weight: bold;
  color: #c79d5b;
  margin: 10px 0;
}

.vehicles-row {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.vehicle-item {
  flex: 1;
  text-align: center;
}

.vehicle-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.vehicle-item img:hover {
  transform: scale(1.05);
}

.vehicle-item h3 {
  margin: 16px 0 10px;
  font-size: 20px;
}

.vehicle-item .btn {
  padding: 10px 18px;
}

@media (max-width: 900px) {
  .vehicles-row {
    flex-direction: column;
  }

  .vehicle-item img {
    height: 200px;
  }
}
.cars-section {
  padding: 80px 20px;
  text-align: center;
}

.car img {
  width: 200px;
  display: block;
  margin: 0 auto;
}

.car {
  width: 250px;
  text-align: center;
  padding: 20px;
  text-align: center;;
}

.car img:hover {
  transform: scale(1.05);
}

.car h3 {
  margin-top: 15px;
  font-size: 22px;
}

.car .btn {
  display: inline-block;
  margin-top: 10px;
}
.cars {
  flex-direction: column;
  align-items: center;
}

.car {
  width: 90%;
}

.car img {
  width: 100%;
  max-width: 200px;   /* ВОТ ГЛАВНОЕ */
  height: auto;
  display: block;
  margin: 0 auto;
}