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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background: #f8fafc;
  color: #0f172a;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
}

.logo a {
  text-decoration: none;
  color: #0f172a;
}

.logo span {
  color: #0f172a;
}

.phone-header a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  background: #e2e8f0;
  padding: 8px 16px;
  border-radius: 40px;
  display: inline-block;
}

.lang-switch {
  display: flex;
  gap: 5px;
}

.lang-switch button {
  background: white;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 30px;
  color: #0f172a;
  transition: all 0.2s;
}

.lang-switch button.active {
  background: #f97316;
  color: #0f172a;
  border-color: #f97316;
}

.lang-switch button:hover {
  opacity: 0.8;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 10px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

nav ul li a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  transition: 0.2s;
}

nav ul li a:hover {
  color: #f97316;
}

/* языковые классы */
.ua, .es {
  display: none;
}
body.lang-ua .ua {
  display: inline;
}
body.lang-ua .en {
  display: none;
}
body.lang-ua .es {
  display: none;
}
body.lang-es .es {
  display: inline;
}
body.lang-es .en {
  display: none;
}
body.lang-es .ua {
  display: none;
}
body.lang-en .ua, body.lang-en .es {
  display: none;
}
body.lang-en .en {
  display: inline;
}

/* hero */
.hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 0 0 40px 40px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background: #f97316;
  color: #0f172a;
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #ea580c;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card {
  background: white;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.card h3 {
  color: #0f172a;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin: 15px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.contact-bar {
  background: white;
  border-radius: 32px;
  padding: 40px;
  text-align: center;
  margin: 50px 0;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.05);
}

footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0;
  margin-top: 60px;
  text-align: center;
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  color: #f97316;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 30px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  margin-top: 20px;
}

input, textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  font-family: inherit;
}

.honeypot {
  display: none;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: white;
  padding: 16px 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  background: #f97316;
  border: none;
  padding: 8px 18px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}

.cookie-btn-decline {
  background: #334155;
  color: white;
}

.modal-privacy {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.modal-privacy-content {
  background: white;
  max-width: 500px;
  width: 90%;
  padding: 24px;
  border-radius: 28px;
  position: relative;
  max-height: 80%;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .header-top {
    flex-direction: column;
    text-align: center;
  }
  nav ul {
    justify-content: center;
  }
  .price {
    font-size: 1.3rem;
  }
}