/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  background: #0b0b0b; color: #fff; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
section { padding: 50px 0; border-bottom: 1px solid #222; }
section:last-of-type { border-bottom: none; }
h2 {
  font-size: 2rem; font-weight: 700; margin-bottom: 24px;
  display: inline-block; position: relative;
}
h2::after {
  content: ''; position: absolute; left: 0; bottom: -8px;
  width: 60px; height: 4px; background: #ff7a00; border-radius: 2px;
}
.btn {
  display: inline-block; padding: 10px 24px;
  background: #ff7a00; color: #fff; font-weight: 700;
  border: none; border-radius: 40px; font-size: 1rem;
  cursor: pointer; transition: .3s; text-align: center;
}
.btn:hover { background: #e66a00; transform: scale(1.02); }
.btn-outline { background: transparent; border: 2px solid #ff7a00; color: #ff7a00; }
.btn-outline:hover { background: #ff7a00; color: #fff; }
.btn-sm { padding: 6px 18px; font-size: .9rem; }

/* ===== HERO ===== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: flex-start;        /* прижимаем к верху */
  background: radial-gradient(circle at 20% 30%, #1a1a1a, #000);
  padding: 40px 0 20px;           /* уменьшили верхний отступ */
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;                     /* уменьшили расстояние между элементами */
  text-align: left;              /* всё выравниваем по левому краю */
  width: 100%;
}
.hero-logo {
  max-width: 100px;              /* логотип стал ещё меньше */
  height: auto;
  margin-bottom: 6px;
}
.hero-badge {
  font-size: .85rem;
  background: rgba(255,122,0,.15);
  padding: 4px 16px;
  border-radius: 40px;
  color: #ff7a00;
  width: fit-content;
  border: 1px solid rgba(255,122,0,.3);
}
.hero h1 {
  font-size: 3.5rem;             /* чуть уменьшили для пропорции */
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}
.hero h1 span { color: #ff7a00; }
.hero-sub {
  font-size: 1.2rem;
  color: #ccc;
}
.hero-price {
  font-size: 2rem;
  font-weight: 700;
  color: #ff7a00;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: .9rem;
  color: #aaa;
}
.hero-meta i { margin-right: 8px; color: #ff7a00; }
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.hero-buttons .btn { min-width: 130px; }

/* ===== HERO (с картинкой) ===== */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
.hero-left {
  flex: 1 1 55%;
}
.hero-right {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255,122,0,0.3);
}
/* Адаптивность: на мобильных картинка уходит вниз */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-left {
    flex: 1 1 100%;
  }
  .hero-right {
    flex: 1 1 100%;
    margin-top: 20px;
  }
  .hero-left .hero-meta,
  .hero-left .booking-note,
  .hero-left .hero-buttons {
    justify-content: center;
  }
}

/* ===== BOOKING CTA ===== */
.booking-note {
  background: rgba(255,122,0,.08);
  border: 1px solid rgba(255,122,0,.25);
  border-radius: 16px;
  padding: 14px 20px;
  color: #ccc;
  font-size: .95rem;
  max-width: 100%;
}
.booking-note strong { color: #ff7a00; }
.booking-cta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 16px;
}
.booking-cta .btn { min-width: 140px; }

/* ===== TRAILER ===== */
/* ===== TRAILERS GRID ===== */
.trailers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.trailer-card {
  background: #141414;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  transition: transform 0.3s, box-shadow 0.3s;
}
.trailer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  border-color: #ff7a00;
}
.trailer-card-image {
  height: 200px;
  overflow: hidden;
}
.trailer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.trailer-card:hover .trailer-card-image img {
  transform: scale(1.03);
}
.trailer-card-body {
  padding: 20px;
}
.trailer-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: #fff;
}
.trailer-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff7a00;
  margin-bottom: 10px;
}
.trailer-card-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.trailer-card-specs li {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.trailer-card-specs i {
  color: #ff7a00;
  width: 20px;
  margin-right: 8px;
}

/* ===== PRICES ===== */
.pricing-table {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 12px; margin: 16px 0 22px;
}
.pricing-item {
  background: #141414; padding: 16px; border-radius: 16px;
  text-align: center; border: 1px solid #2a2a2a;
}
.pricing-item .days { font-size: .85rem; color: #aaa; }
.pricing-item .price { font-size: 1.6rem; font-weight: 700; color: #ff7a00; }
.deposit {
  font-size: 1.1rem; background: #1a1a1a; padding: 8px 22px;
  border-radius: 40px; display: inline-block; border: 1px solid #333;
}

/* ===== CALCULATOR ===== */
.calc-box {
  background: #141414; padding: 24px; border-radius: 20px;
  max-width: 600px; border: 1px solid #2a2a2a;
}
.calc-box label { display: block; margin: 8px 0 4px; font-weight: 600; color: #ccc; }
.calc-box input {
  width: 100%; padding: 8px 12px; border-radius: 12px;
  border: 1px solid #333; background: #1e1e1e; color: #fff;
  font-size: 1rem;
}
.calc-box input:focus { outline: none; border-color: #ff7a00; }
.calc-result {
  margin-top: 18px; background: #1e1e1e; padding: 16px;
  border-radius: 16px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
}
.calc-result span { color: #ff7a00; font-weight: 700; }
.calc-book-hint {
  margin-top: 16px; font-size: .9rem; color: #888;
}
.calc-book-hint a { color: #ff7a00; font-weight: 600; }
.calc-book-hint a:hover { text-decoration: underline; }

/* ===== CONTACTS ===== */
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; margin-top: 14px;
}
.contacts-grid .info i { color: #ff7a00; width: 26px; margin-right: 10px; }
.contacts-grid .info p { margin: 8px 0; }
.map-embed {
  border-radius: 20px; overflow: hidden;
  border: 1px solid #2a2a2a; min-height: 200px;
}
.map-embed iframe {
  width: 100%; height: 250px; border: 0; display: block;
}

/* ===== FOOTER ===== */
footer {
  background: #050505; padding: 28px 0;
  text-align: center; color: #666;
  border-top: 1px solid #1a1a1a;
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 1rem; }
  .trailer-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .pricing-table { grid-template-columns: 1fr 1fr; }
  .hero-buttons .btn, .booking-cta .btn { min-width: 100%; }
  .hero { padding-top: 20px; }  /* на мобильных ещё меньше отступ */
}
@media (max-width:480px) {
  .pricing-table { grid-template-columns: 1fr; }
  section { padding: 32px 0; }
  h2 { font-size: 1.6rem; }
  .hero-logo { max-width: 70px; }  /* на телефонах совсем маленький */
}