/* BASE */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: #111827;
  color: #f9fafb;
  padding: 12px 0;
  position: relative;
  z-index: 40;
}

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

.logo a {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: #f9fafb;
  text-decoration: none;
}

/* NAVIGATION */
.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 45;
}

/* Burger (mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-right: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f9fafb;
  border-radius: 999px;
  margin: 4px 0;
}

/* Nav list (desktop) */
.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-list a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover {
  color: #fbbf24;
}

/* DROPDOWN (desktop) */
.dropdown .nav-link {
  cursor: pointer;
}

.dropdown-menu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  position: absolute;
  top: 110%;
  left: 0;
  background: #1f2937;
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.35);
  display: none;
  z-index: 50;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 6px 14px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #374151;
  color: #fbbf24;
}

/* show dropdown on hover (desktop) */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
}

.btn-small {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-primary {
  background: #fbbf24;
  color: #111827;
}

.btn-outline {
  background: transparent;
  color: #f9fafb;
  border-color: #e5e7eb;
}

.btn-full {
  width: 100%;
}

.btn-call-header {
  background: transparent;
  border-color: #fbbf24;
  color: #fbbf24;
}

.btn-call-main {
  min-width: 150px;
}

.btn-book-main {
  min-width: 150px;
}

.btn-footer-call,
.btn-footer-book {
  background: #1f2937;
  color: #f9fafb;
  border-color: #4b5563;
}

.btn-footer-call:hover,
.btn-footer-book:hover,
.btn-primary:hover,
.btn-call-header:hover {
  filter: brightness(0.95);
}

/* HERO */
.hero {
  background: #020617;
  color: #f9fafb;
  padding: 40px 0 50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2rem;
  margin: 0 0 10px;
}

.subtitle {
  margin: 0 0 12px;
  color: #e5e7eb;
}

.hero-list {
  list-style: disc;
  margin: 0 0 16px 20px;
  padding: 0;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-badge {
  font-size: 0.9rem;
  color: #d1d5db;
}

/* HERO SIDE */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-box {
  background: #1f2937;
  padding: 18px;
  border-radius: 12px;
}

.hero-box h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-box ul {
  margin: 0 0 8px 18px;
  padding: 0;
  font-size: 0.95rem;
}

.hero-box .small {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* HERO IMAGE */
.hero-image {
  border-radius: 12px;
  min-height: 160px;
  background-image: url("appliance-tech.jpg"); /* замени на своё фото или убери */
  background-size: cover;
  background-position: center;
  background-color: #374151;
}

/* SECTIONS */
.section {
  padding: 40px 0;
}

.section-alt {
  background: #eef2ff;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.6rem;
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* CARDS */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* SMALL TEXT */
.small {
  font-size: 0.9rem;
  color: #6b7280;
}

/* MAP */
.map-wrapper {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.map-frame {
  width: 100%;
  height: 280px;
  border: 0;
}

/* BOOKING FORM */
.booking-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  max-width: 560px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.booking-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}

.booking-form input,
.booking-form textarea,
.booking-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-family: inherit;
}

/* FOOTER */
.footer {
  background: #111827;
  color: #e5e7eb;
  padding: 18px 0;
  margin-top: 20px;
  font-size: 0.9rem;
}

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

.footer-cta {
  display: flex;
  gap: 10px;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 6px;
  color: #9ca3af;
}

/* RESPONSIVE */

/* Tablet */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    align-items: center;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
  }

  /* показываем бургер */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* МОБИЛЬНОЕ МЕНЮ: ПАНЕЛЬ НА ВСЮ ШИРИНУ */
  .nav-list {
    position: fixed;
    top: 56px;          /* примерно высота хедера */
    left: 0;
    right: 0;
    background: #020617;
    flex-direction: column;
    gap: 0;
    padding: 16px 22px 24px;
    display: none;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.8);
    border-radius: 0 0 16px 16px;
    z-index: 60;
  }

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

  .nav-item {
    width: 100%;
    margin-bottom: 4px;
  }

  .nav-list a {
    display: block;
    padding: 6px 0;
    color: #f9fafb;
    font-size: 1rem;
  }

  /* dropdown: просто вложенный список с тем же фоном */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #020617;
    padding: 4px 0 8px 14px;
    display: block;
  }

  .dropdown-menu a {
    font-size: 0.95rem;
    padding: 3px 0;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .btn-full {
    width: 100%;
  }
}
