
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #fdfdfd;
  color: #222;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

header {
  background: #1a1a1a;
  color: white;
  padding: 10px 0;
}

.top-bar, .nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 24px;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: white;
  font-weight: 500;
}

.lang-switcher a {
  color: #ffcc00;
  font-weight: 600;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffe600, #ffcc00);
  color: #000;
}

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

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  padding: 12px 24px;
  background: #000;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  display: inline-block;
}

.services {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 30px;
  transition: all 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.service img {
  width: 48px;
  margin-bottom: 15px;
}

.service h3 {
  font-size: 18px;
  margin-bottom: 10px;

}

.service p {
  font-size: 14px;
  color: #555;
}

.btn-small {
  margin-top: 15px;
  display: inline-block;
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #e6b800;
}

.order-form {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.order-form form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-form input, .order-form select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.order-form button {
  padding: 12px;
  background: #000;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
}

footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

.about, .pricing, .how-it-works, .contact-section, .faq {
  padding: 40px 20px;
  background-color: #fff;
}

.about p, .how-it-works ol, .faq ul, .contact-section p {
  max-width: 800px;
  margin: auto;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.pricing table {
  width: 100%;
  max-width: 700px;
  margin: 20px auto;
  border-collapse: collapse;
}

.pricing th, .pricing td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  font-size: 16px;
}

.pricing th {
  background-color: #f0f0f0;
  text-align: left;
}

.how-it-works ol {
  padding-left: 20px;
  list-style: decimal;
}

.faq ul {
  list-style: none;
  padding: 0;
}

.faq li {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ccc;
}

.contact-section iframe {
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.order-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.order-form label {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
}

.order-form input, 
.order-form select {
  padding: 10px;
  margin-top: 6px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.order-form button {
  padding: 12px;
  font-size: 16px;
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.order-form button:hover {
  background-color: #e6b800;
}

/* Компактный вид карточек услуг */
.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service {
  padding: 20px;
  border-radius: 10px;
}

.service img {
  width: 40px;
  margin-bottom: 10px;
}

.service h3 {
  font-size: 16px;
  margin-bottom: 6px;

  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
    word-break: break-all;

}

.service p {
  font-size: 13px;
  line-height: 1.4;
  color: #555;
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.nav-bar {
  position: relative;
}

.nav-bar .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.menu-button:hover,
.menu-button:active {
  background-color: transparent;
}

.menu-button:focus {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}
