/* Global Styles */
:root {
  --dark-blue: #0e1c26;
  --gold: #e8b600;
  --coral: #ff6f61;
  --white: #ffffff;
  --light-blue: #b0c4d6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Roboto", "Arial", sans-serif;
  background-color: var(--dark-blue);
  color: var(--white);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--coral));
}

.text-center {
  text-align: center;
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

p {
  margin-bottom: 15px;
  color: var(--light-blue);
}

.section-padding {
  padding: 80px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(to right, var(--gold), var(--coral));
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

a {
  color: #eaae0a;
}

option {
  background: #222e38;
}

/* Header */
header {
  background-color: rgba(14, 28, 38, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--gold);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

#mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 28, 38, 0.7);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Advantages Section */
.advantages-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-10px);
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.advantage-item h3 {
  margin-bottom: 15px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  margin-bottom: 15px;
}

/* Cases Section */
.cases-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.case-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
}

.case-quote {
  font-style: italic;
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
}

.case-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--coral));
}

.case-author {
  font-weight: 600;
}

.case-company {
  color: var(--gold);
}

/* Steps Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  background: linear-gradient(to right, var(--gold), var(--coral));
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: block;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer-content {
  padding: 0 20px;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-question::after {
  transform: rotate(45deg);
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* Contact Form Section */
.form-section {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--white);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.form-checkbox input {
  margin-top: 5px;
}

.form-submit {
  grid-column: span 2;
  text-align: center;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 9999;
  max-width: 400px;
}

.cookie-content {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
  display: block;
}

.footer-logo span {
  color: var(--gold);
}

.footer-about {
  margin-bottom: 20px;
}

.footer-contact-item {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  color: var(--gold);
}

.footer-links h3 {
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 150px auto 50px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  margin-bottom: 20px;
}

.policy-section p {
  margin-bottom: 15px;
}

.policy-section ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.policy-section ul li {
  margin-bottom: 10px;
  color: var(--light-blue);
}

/* Thank You Page */
.thank-you-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-block: 150px;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.thank-you-container h1 {
  margin-bottom: 20px;
}

.thank-you-container p {
  margin-bottom: 30px;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .about-content {
    flex-direction: column;
  }

  .advantages-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  nav ul {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Изменение стилей мобильного меню для работы без JavaScript */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    z-index: 999;
    display: block;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 20px;
  }

  .mobile-menu ul li {
    margin-bottom: 15px;
  }

  .mobile-menu ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 8px 0;
  }

  #mobile-menu-toggle:checked ~ .mobile-menu {
    max-height: 350px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .advantages-container {
    grid-template-columns: 1fr;
  }

  .form-container {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-submit {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
