:root {
  --primary-color: rgb(40, 167, 69);
  --accent-color: #00F0FF;
  --background-primary: #F1F1F1;
  --background-secondary: #FFFFFF;
  --text-primary: #1C1C1E;
  --text-secondary: #6E6E73;
  --text-blue: #00f0ff;
  --text-violet: #b16cea;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background-color: var(--background-primary);
  color: var(--text-primary);
}

header,
footer {
  background-color: var(--background-primary);
  padding: 20px 40px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.language-selector {
  margin-left: 20px;
}

.language-selector select {
  padding: 6px;
  background: var(--background-secondary);
  ;
  color: #fff;
  border: none;
  border-radius: 4px;
}


.hero {
  background-color: var(--text-primary);
  color: #fff;
  padding: 150px 10%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-content {
  flex: 1 1 45%;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00f0ff, #008fff);
  color: #0b0f1c;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px #00f0ff;
}

/* Image */
.hero-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.15);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content,
  .hero-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 80%;
  }
}





.section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

h3 {
  color: var(--text-primary);
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service {
  background-color: var(--background-secondary);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.2);
}

.service-subcard {
  padding: 5px;
  border-radius: 8px;
}


.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--text-secondary);
}


.contact {
  text-align: center;
  background: var(--background-secondary);
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  color: var(--text-primary);
}


.pricing-plan {
  background: var(--background-secondary);
  border: 1px solid #DADADA;
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  color: var(--text-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.pricing-plan h3 {
  color: var(--primary-color);
}




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

/* Поля ввода и textarea */
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px;
  border: 1px solid #DADADA;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

/* При фокусе — акцент цвета бренда */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #00F0FF;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
  outline: none;
}

/* Label */
.contact-form label {
  font-size: 0.95rem;
  color: #4A4A4A;
  font-weight: 500;
  margin-bottom: 2px;
}

/* Select (dropdown) */
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}

/* Кнопка отправки */
.contact-form button {
  background: linear-gradient(90deg, #00F0FF, #008FFF);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 240, 255, 0.3);
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}













.founder-section {
  background-color: var(--background-primary);
  color: var(--text-secondary);
  padding: 80px 20px;
}

.founder-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.founder-photo {
  flex-shrink: 0;
}

.founder-photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--background-secondary);
  box-shadow: 0 0 20px rgba(177, 108, 234, 0.3),
    0 0 40px rgba(40, 167, 69, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(177, 108, 234, 0.5),
    0 0 60px rgba(40, 167, 69, 0.3);
}

.founder-content {
  flex: 1;
  min-width: 300px;
}

.founder-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--tint);
}

.founder-content h3 {
  font-size: 22px;
  margin: 0;
  color: var(--text-primary);
}

.founder-role {
  font-size: 16px;
  margin-bottom: 20px;
  color: #9ca3af;
}

.founder-text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.founder-links {
  margin-top: 25px;
}

.founder-links a {
  color: var(--primary-color);
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.3s;
}

.founder-links a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .founder-container {
    flex-direction: column;
    text-align: center;
  }

  .founder-photo img {
    width: 200px;
    height: 200px;
  }
}


.logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  /* расстояние между логотипом и текстом */
}

.logo-row img {
  width: 32px;
  /* размер логотипа */
  height: 32px;
  object-fit: contain;
}

.logo-row h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 600;
}


#languageSelect {
  background-color: #121623;
  color: #e5e5e5;
  border: 1px solid #2a2f45;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  /* убирает стандартную стрелку браузера */
  outline: none;
  position: relative;
}

/* При наведении — свечение */
#languageSelect:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.3);
  color: var(--primary-color);
}

/* При фокусе (нажатии) */
#languageSelect:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

/* Для стрелки (кастомная иконка справа) */
#languageSelect {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23e5e5e5' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 34px;
}

/* Адаптация под светлую тему (если нужно) */
@media (prefers-color-scheme: light) {
  #languageSelect {
    background-color: #f9f9f9;
    color: #222;
    border-color: #ccc;
  }
}



.contact button {
  background: linear-gradient(90deg, #00f0ff, #008fff);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}


#guarantee {
  background-color: var(--background-primary);
  color: var(--text-secondary);
  text-align: center;
  padding: 80px 20px;
}

#guarantee h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

#guarantee .subtitle {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.guarantee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.guarantee-cards .card {
  background: var(--background-secondary);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guarantee-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.2);
}

.guarantee-cards h3 {
  color: var(--text-primary);
  font-size: 1.3em;
  margin-bottom: 10px;
}


.estimate-section select,
.estimate-section input {
  font-family: inherit;
  font-size: 1rem;
  appearance: none;
  /* or -webkit-appearance: none; for Safari */
}

.estimate-section {
  background: var(--background-secondary);
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  color: var(--text-primary);
}

.estimate-section label,
.estimate-section select,
.estimate-section input {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  font-size: 1rem;
}

.estimate-section select,
.estimate-section input {
  padding: 10px;
  width: 100%;
  border: 1px solid #DADADA;
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--text-primary);
}


.estimate-section button {
  background: linear-gradient(90deg, #00f0ff, #008fff);
  ;
  ;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.estimate-result {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: center;
}


p a {
  color: var(--text-primary);
}



.contact-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #DADADA;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #1A1A1A;
  /* темный текст для белого фона */
  font-size: 1rem;
  font-family: inherit;
  appearance: none;
  /* скрывает стандартную стрелку */
  cursor: pointer;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231A1A1A' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  /* чтобы текст не перекрывался стрелкой */
}

/* При наведении */
.contact-form select:hover {
  border-color: #00F0FF;
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.15);
}

/* При фокусе */
.contact-form select:focus {
  outline: none;
  border-color: #00F0FF;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}


.footer-links {
  visibility: visible !important;
}


.hero-tags {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: 0.2s ease;
}

.hero-tags span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-response-time {
  margin-top: 12px;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
}


.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2; /* над анимацией */
}