* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
body {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

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

button {
  font-family: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea {
  font-family: inherit;
}

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

svg {
  width: 24px;
  height: 24px;
  display: block;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  color: #34495e;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

.header {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 15px 0;
}
.header .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px) {
  .header .container {
    max-width: 720px;
  }
}
@media (min-width: 1440px) {
  .header .container {
    max-width: 1320px;
  }
}
.header__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .header__wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.header__logo {
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .header__logo {
    margin-bottom: 0;
  }
}
.header__logo-img {
  max-width: 80px;
}
.header__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
@media (min-width: 768px) {
  .header__content {
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
    width: auto;
  }
}
.header__nav {
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .header__nav {
    margin-bottom: 0;
  }
}
.header__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .header__menu {
    flex-direction: row;
    gap: 20px;
  }
}
.header__menu-item .header__menu-link {
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  transition: color 0.3s ease;
}
.header__menu-item .header__menu-link:hover {
  color: #e74c3c;
}
@media (min-width: 1440px) {
  .header__menu-item .header__menu-link {
    font-size: 18px;
  }
}

.hero {
  background-image: url("../img/hero-bg.webp");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 62, 80, 0.7);
  z-index: -1;
}
@media (min-width: 768px) {
  .hero {
    padding: 80px 0;
  }
}
@media (min-width: 1440px) {
  .hero {
    padding: 120px 0;
  }
}
.hero__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero__title {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 38px;
  }
}
@media (min-width: 1440px) {
  .hero__title {
    font-size: 48px;
  }
}
.hero__text {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero__text {
    font-size: 18px;
  }
}
@media (min-width: 1440px) {
  .hero__text {
    font-size: 20px;
  }
}
.hero__btn {
  display: inline-block;
  background-color: #e74c3c;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}
.hero__btn:hover {
  background-color: #d62c1a;
}
@media (min-width: 1440px) {
  .hero__btn {
    padding: 15px 30px;
    font-size: 18px;
  }
}

.services {
  padding: 60px 0;
  background-color: #ecf0f1;
  text-align: center;
}
@media (min-width: 768px) {
  .services {
    padding: 80px 0;
  }
}
.services__title {
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .services__title {
    font-size: 3em;
  }
}
.services__description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
}
.services__description:last-of-type {
  margin-bottom: 0;
}

.features {
  padding: 60px 0;
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .features {
    padding: 80px 0;
  }
}
.features__title {
  color: #2c3e50;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .features__title {
    font-size: 3em;
  }
}
.features__description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}
.features__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
@media (min-width: 768px) {
  .features__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}
@media (min-width: 1440px) {
  .features__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.features__list-item {
  background-color: #ecf0f1;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1em;
  line-height: 1.6;
}
.features__list-item-title {
  color: #e74c3c;
  display: block;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.how-to-service {
  padding: 60px 0;
  background-color: #ecf0f1;
  text-align: center;
}
@media (min-width: 768px) {
  .how-to-service {
    padding: 80px 0;
  }
}
.how-to-service__title {
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .how-to-service__title {
    font-size: 3em;
  }
}
.how-to-service__description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
}
.how-to-service__steps {
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.how-to-service__step {
  position: relative;
  padding-left: 50px;
  font-size: 1em;
  line-height: 1.6;
  background-color: #ffffff;
  padding: 20px 20px 20px 60px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
.how-to-service__step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e74c3c;
  color: #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}
.how-to-service__step-title {
  color: #2c3e50;
  display: block;
  margin-bottom: 5px;
  font-size: 1.2em;
}

.testimonials {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}
@media (min-width: 768px) {
  .testimonials {
    padding: 80px 0;
  }
}
.testimonials__title {
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .testimonials__title {
    font-size: 3em;
  }
}
.testimonials__description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 40px;
}
.testimonials__item {
  background-color: #ecf0f1;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}
.testimonials__item:last-of-type {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .testimonials__item {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}
.testimonial__author {
  display: block;
  font-weight: bold;
  color: #e74c3c;
  font-size: 1em;
}

.footer {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
}
@media (min-width: 768px) {
  .footer {
    padding: 50px 0;
  }
}
@media (min-width: 1440px) {
  .footer {
    padding: 60px 0;
  }
}
.footer .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px) {
  .footer .container {
    max-width: 720px;
  }
}
@media (min-width: 1440px) {
  .footer .container {
    max-width: 1320px;
  }
}
.footer__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
@media (min-width: 768px) {
  .footer__wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: left;
  }
}
@media (min-width: 1440px) {
  .footer__wrapper {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.footer__content {
  flex: 1 1 100%;
  max-width: 400px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .footer__content {
    flex: 1 1 calc(50% - 20px);
    margin-bottom: 0;
  }
}
@media (min-width: 1440px) {
  .footer__content {
    flex: 0 0 300px;
  }
}
.footer__logo {
  display: inline-block;
  margin-bottom: 15px;
  border-radius: 50%;
  overflow: hidden;
}
.footer__logo-img {
  max-width: 150px;
  height: auto;
}
.footer__text {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #ecf0f1;
  line-height: 1.8;
  margin: 0;
}
@media (min-width: 1440px) {
  .footer__text {
    font-size: 15px;
  }
}
.footer__links {
  flex: 1 1 100%;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .footer__links {
    flex: 1 1 calc(50% - 20px);
    margin-bottom: 0;
  }
}
@media (min-width: 1440px) {
  .footer__links {
    flex: 0 0 auto;
  }
}
.footer__title {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  color: #e74c3c;
  margin-bottom: 20px;
  text-transform: uppercase;
}
@media (min-width: 1440px) {
  .footer__title {
    font-size: 22px;
  }
}
.footer__list-item {
  margin-bottom: 10px;
}
.footer__list-item:last-child {
  margin-bottom: 0;
}
.footer__list-link {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: #ecf0f1;
  transition: color 0.3s ease;
}
.footer__list-link:hover {
  color: #ffffff;
}
@media (min-width: 1440px) {
  .footer__list-link {
    font-size: 16px;
  }
}
.footer__contact {
  flex: 1 1 100%;
}
@media (min-width: 768px) {
  .footer__contact {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (min-width: 1440px) {
  .footer__contact {
    flex: 0 0 auto;
  }
}
.footer__address {
  font-style: normal;
}
.footer__address-text {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #ecf0f1;
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer__address-text:last-child {
  margin-bottom: 0;
}
.footer__address-text strong {
  color: #ffffff;
}
@media (min-width: 1440px) {
  .footer__address-text {
    font-size: 15px;
  }
}
.footer__address-link {
  color: #ecf0f1;
  transition: color 0.3s ease;
}
.footer__address-link:hover {
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(44, 62, 80, 0.95);
  color: #ffffff;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.5s ease-out;
}
.cookie-banner.show {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 30px;
  }
}
.cookie-banner__text {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}
@media (min-width: 768px) {
  .cookie-banner__text {
    text-align: left;
    flex-grow: 1;
    margin-right: 20px;
    font-size: 15px;
  }
}
.cookie-banner__text a {
  color: #e74c3c;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.cookie-banner__text a:hover {
  color: #ed7669;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .cookie-banner__actions {
    flex-direction: row;
    gap: 15px;
  }
}
.cookie-banner__btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}
.cookie-banner__btn--accept {
  background-color: #e74c3c;
  color: #ffffff;
  border-color: #e74c3c;
}
.cookie-banner__btn--accept:hover {
  background-color: #d62c1a;
  border-color: #d62c1a;
}
.cookie-banner__btn--deny {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.cookie-banner__btn--deny:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
@media (min-width: 1440px) {
  .cookie-banner__btn {
    font-size: 15px;
    padding: 12px 25px;
  }
}