:root {
  --background-color: #EFF1F4;
  --dark-gray: #828282;
  --light-gray: #F6F6F6;
  --white: #fff;
  --black: #000;
  --red: #DA2720;
  --pink: #FEF3F2;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--background-color);
  font-family: 'Fira Sans', Arial, sans-serif;
  color: var(--black);
  font-weight: 400;
  font-size: 18px !important;
}

.custom-h1, .custom-h2 {
  font-size: 40px;
  font-weight: 700;
}
.custom-h3 {
  font-size: 20px;
  font-weight: 600;
}
.custom-section {
  margin-top: 40px;
}
.custom-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tel {
  text-decoration: underline;
}

/* FIRST SCREEN */
.custom-breadcrumb-list {
  display: flex;
	flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-content {
  background-image: url('../img/big-banner.webp');
  background-color: var(--black);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 125px 40px;
  border-radius: 20px;
  margin: 40px 0;
}
.hero-content h1 {
    color: var(--white);
}
.hero-content p {
  font-size: 24px;
  color: var(--white);
  margin: 20px 0;
  max-width: 498px;
}

/* COMPONENT: CARDS */
.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 45px;
  overflow-x: auto; 
  padding-bottom: 12px;
} 
.card-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 22px;
  word-break: keep-all;
}
.card-icon {
  background-color: var(--pink);
  border-radius: 12px;
  padding: 8px;
}

.card-item span {
  font-weight: 700;
}

.card-item p {
  font-size: 16px;
}


/* COMPONENT: BLOCK-CONTENT */
.block-content {
  padding: 40px;
  background-color: var(--white);
  border-radius: 20px;
  margin: 40px 0;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-display {
  display: none;
}
.tariffs-row {
  margin-top: 40px;
}
.tariff-card {
  display: flex;
  flex-direction: column;
  width: min(100%, 292px);
  align-self: flex-start;
}
.tariff-card__top {
  background: var(--red);
  border-radius: 24px 24px 0 0;
  padding: 20px 20px 40px;
  position: relative;
  z-index: 0; 
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.tariff-card__top h3 {
  font-size: 30px;
  font-weight: 600;
}
.tariff-card__bottom {
  background: var(--white);
  border-radius: 24px;
  padding: 20px;
  margin-top: -24px;          
  position: relative;
  z-index: 1;                 
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0,0,0,.08); 
  gap: 20px;
}
.tariff-features span {
  font-size: 22px;
  font-weight: 600;
}


/* COMPONENT: FAQ */
.faq-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
}
.faq-item.active-state .arrow {
  transform: rotate(180deg);
}
.arrow {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}
.faq-item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(30, 41, 59, 0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
  width: 100%;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 20px;
  color: var(--black);
  font-weight: 600;
  font-size: 24px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
button, .faq-question {
  -webkit-tap-highlight-color: transparent;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 18px;
  color: var(--black);
  background: var(--white);
  transition: max-height 1s, padding 0.3s;
  line-height: 1.7;

  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-answer a {
  color: var(--red);
}
/* .faq-answer-div {
  margin-top: 20px;
} */
.faq-item.active-state .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: max-content;
}


/* MEDIA QUERIES */
@media (max-width: 1024px) {
  .custom-container {
    padding: 40px 20px;
  }
  .hero-content {
    padding: 107px 20px;
  }
  .hero-content h1 {
    font-size: 26px;
  }
  .hero-content p {
    max-width: 362px;
  }
  .custom-h2 {
    font-size: 32px;
  }
  .cards-row {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .hero-content {
    background-position: 70% 40%;
    padding: 107px 20px;
  }
  .cards-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .faq-question {
    font-size: 16px;
  }
  .desktop-display {
    display: none;
  }
  .mobile-display {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .popup {
    max-width: 700px;
    width: 100%;
  }
	video {
    width: auto !important;
}
}
@media (max-width: 450px) {
  .custom-container {
    padding: 40px 15px;
  }
  .hero-content {
    background-image: url('../img/small-banner.webp');
    padding: 106px 18px;
  }
  nav {
    font-size: 16px;
  }
  .custom-h1, .custom-h2 {
    font-size: 20px;
    max-width: 270px;
  }
  .custom-h3 {
    font-size: 18px;
  }
  p, li {
    font-size: 16px;
  }
  .hero-content p {
    max-width: 239px;
    font-size: 16px;
  }
  .block-content {
    padding: 25px 15px;
  }
  .faq-row {
    flex-direction: column;
    gap: 20px !important;
  }
  .faq-answer-div b {
    font-size: 16px;
  }
  .faq-answer {
    gap: 15px;
  }
}
@media (max-width: 375px) {
  .custom-h2 {
    font-size: 22px;
  }
}
@media (max-width: 320px) {
  body {
    font-size: 16px;
  }
  .custom-breadcrumb {
    font-size: 14px;
    gap: 5px;
  }
  .custom-h1, .custom-h2 {
    font-size: 18px !important;
  }
  .custom-h3 {
    font-size: 18px;
  }
  .hero-content {
    padding: 80px 15px;
  }
  .hero-content p {
    font-size: 14px;
    margin: 10px 0;
    max-width: 206px;
  }

  .card-item span {
    font-size: 16px;
  }

  .card-item p {
    font-size: 14px;
  }

}