.policy,
.success {
  padding-block: 100px 60px !important;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 27px;
}

.success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
  color: #353535;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #252525;
}

.policy__title {
  color: #272727;
}

.policy__text h2 {
  text-align: left;
  font-size: 21px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 22px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  background: #4a5a7a;
  color: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 600px;
  margin: 20px;
  text-align: center;
}

.cookie-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cookie-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cookie-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-accept,
.btn-decline {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept {
  background: white;
  color: #4a5a7a;
}

.btn-accept:hover {
  background: #f0f0f0;
}

.btn-decline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-decline:hover {
  background: white;
  color: #4a5a7a;
}

/* Header */
.header {
  background: #4a5a7a;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.logo img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #ccc;
}

.burger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 60px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background: #4a5a7a;
  transition: left 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu nav ul {
  list-style: none;
  padding: 20px;
}

.mobile-menu nav ul li {
  margin: 20px 0;
}

.mobile-menu nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
}

/* Main Content */
main {
  margin-top: 60px;
}

/* Hero Section */
.hero {
  background: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: #4a5a7a;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary:hover {
  background: #3a4a6a;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  background: #4a5a7a;
  color: white;
}

.advantages h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: 2px;
}

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

.advantage-item {
  background: white;
  color: #333;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.advantage-icon {
  background: #4a5a7a;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.advantage-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.advantage-content p {
  font-size: 14px;
  line-height: 1.5;
}

/* Experience Section */
.experience {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../img/about-bg.png') center / cover no-repeat;
  color: white;
}

.experience-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.experience-content p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f8f9fa;
}

.services h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

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

.service-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a7a;
}

.service-item p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.service-item p strong {
  color: #4a5a7a;
}

/* Steps Section */
.steps {
  padding: 80px 0;
  background: white;
}

.steps h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

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

.step-item {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: border-color 0.3s ease;
}

.step-item:hover {
  border-color: #4a5a7a;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a7a;
}

.step-item p {
  font-size: 14px;
  line-height: 1.5;
}

/* Comfort Section */
.comfort {
  padding: 80px 0;
  background: #f8f9fa;
}

.comfort-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.comfort-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.comfort-text p {
  font-size: 16px;
  margin-bottom: 20px;
}

.comfort-text ul {
  padding-left: 20px;
}

.comfort-text li {
  margin-bottom: 10px;
  font-size: 14px;
}

.comfort-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
  padding: 80px 0;
  background: white;
}

.team h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.team-member h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #4a5a7a;
}

.team-member p {
  font-size: 14px;
  line-height: 1.5;
}

/* Projects Section */
.projects {
  padding: 80px 0;
  background: #f8f9fa;
}

.projects h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

.projects-grid {
  display: grid;
  gap: 40px;
}

.project-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.project-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a7a;
}

.project-content p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Contact Form Section */
.contact-form {
  padding: 80px 0;
  background: white;
}

.contact-text {
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 20px;
  letter-spacing: 0%;
}

.contact-map {
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

.locations {
  padding-top: 80px;
}

.locations-img {
  width: 100%;
  margin-bottom: 30px;
}

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

.location {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.location h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a7a;
}

.location p {
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-form-element {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.contact-form-element input {
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form-element input:focus {
  outline: none;
  border-color: #4a5a7a;
}

/* Footer */
.footer {
  background: #4a5a7a;
  color: white;
  padding: 40px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-copyright p {
  font-size: 14px;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav {
    display: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .page-hero-content h1 {
    font-size: 28px;
  }

  .advantages h2,
  .services h2,
  .steps h2,
  .team h2,
  .projects h2,
  .contact-form h2,
  .reviews h2,
  .statistics h2,
  .trust h2,
  .service-areas h2,
  .emergency-contact h2,
  .cta h2 {
    font-size: 28px;
  }

  .experience-content h2 {
    font-size: 28px;
  }

  .comfort-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-item {
    grid-template-columns: 1fr;
  }

  .reviews-grid,
  .stats-grid,
  .trust-grid,
  .service-areas-content,
  .emergency-info {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 36px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 20px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-content {
    padding: 30px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .advantages,
  .experience,
  .services,
  .steps,
  .comfort,
  .team,
  .projects,
  .contact-form {
    padding: 60px 0;
  }

  .advantages-grid,
  .services-grid,
  .steps-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .advantage-item,
  .service-item,
  .step-item,
  .team-member {
    padding: 20px;
  }
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: white;
}

.reviews h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

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

.review-item {
  background: #f8f9fa;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  border-left: 4px solid #4a5a7a;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.review-quote {
  font-size: 60px;
  color: #4a5a7a;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.3;
}

.review-item p {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #333;
}

.review-author {
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
}

.review-author strong {
  color: #4a5a7a;
  font-weight: 600;
  font-size: 16px;
}

/* FAQ Page Styles */
.faq {
  padding: 80px 0;
  background: white;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #f8f9fa;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 25px 30px;
  background: #4a5a7a;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: #3a4a6a;
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.3s ease;
  margin-left: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.3);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: white;
}

.faq-item.active .faq-answer {
  padding: 25px 30px;
  max-height: 300px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

.contact-form-element {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.contact-form-element input,
.contact-form-element textarea {
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  transition: border-color 0.3s ease;
  width: 100%;
}

.contact-form-element input:focus {
  outline: none;
  border-color: #4a5a7a;
}

.section-title {
  font-weight: 600;
  font-style: SemiBold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}
