:root {
  --background-color: #EFF1F4;
  --dark-gray: #828282;
  --light-gray: #F6F6F6;
  --white: #fff;
  --black: #000;
  --red: #DA2720;
}
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;
  padding: 40px 0;
}
.link:hover {
  text-decoration: underline;
}
p + p {
  margin-top: 12px;
}

/* FIRST SCREEN */
.custom-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-content {
  background-image: url('../img/bg-images/main-banner.webp');
  background-color: var(--black);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 130px 40px;
  border-radius: 20px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.hero-content h1 {
    color: var(--white);
	margin: 0;
}
.hero-content p {
  font-size: 24px;
  color: var(--white);
}
.hero-content a {
  margin-top: 0;
}

/* COMPONENT: CARDS */
.cards-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  margin-top: 40px;
  align-items: stretch;
  padding-bottom: 15px;
}
.card-item__icon {
  background-color: var(--red);
  padding: 10px;
  border-radius: 14px;
}
.card-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;    
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 50px 35px;
  width: 220px;
  height: 250px;
  transition: 0.3s ease;
}
.card-item:hover {
  transform: scale(0.9);
}
.card-item p {
  font-size: 14px;
  text-align: center;
}
.custom-btn {
  background-color: var(--red);
  color: var(--white);
  padding: 10px 28px;
  font-size: 18px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  width: 100%;
  align-self: flex-start;
  display: inline-flex;   
  width: auto;              
}
.custom-btn:hover {
  transform: scale(0.9);
  color: var(--white);
}
.custom-btn a {
  color: var(--white);
  text-decoration: none;
}

/* COMPONENT: BLOCK-CONTENT */
.block-content {
  padding: 40px;
  background-color: var(--white);
  border-radius: 20px;
  margin: 40px 0;

  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* COMPONENT: FAQ */
.faq-row {
  display: flex;
  gap: 32px;
  margin-top: 20px;
}
.faq-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 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;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 20px;
  color: var(--black);
  font-weight: 500;
  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: 16px;
  color: var(--black);
  background: var(--white);
  transition: max-height 1s, padding 0.3s;
  line-height: 1.7;
}
.faq-answer p {
  font-size: 16px;
}
.faq-answer a {
  color: var(--red);
}
.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;
  }
}
@media (max-width: 768px) {
  .hero-content {
    background-position: 70% 40%;
    padding: 107px 20px;
  }
  .hero-content p {
    font-size: 18px;
  }
  .faq-question {
    font-size: 16px;
  }
}
@media (max-width: 450px) {
  .custom-container {
    padding: 40px 15px;
  }
  .hero-content {
    background-position: 75% 40%;
    padding: 106px 18px;
  }
  nav {
    font-size: 16px;
  }
  .custom-h1, .custom-h2 {
    font-size: 20px;
  }
  .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;
  }
}
@media (max-width: 375px) {
  .custom-h2 {
    font-size: 22px;
  }
  .custom-btn {
    font-size: 16px;
  }
}
@media (max-width: 320px) {
  body {
    font-size: 16px;
  }
  .custom-breadcrumb {
    font-size: 14px;
    gap: 5px;
  }
  .custom-h1, .custom-h2 {
    font-size: 20px !important;
  }
  .custom-h3 {
    font-size: 18px;
  }
  .hero-content {
    padding: 80px 15px;
  }
  .hero-content h1 {
    max-width: 240px;
  }
  .hero-content p {
    font-size: 14px;
    margin: 10px 0;
    max-width: 206px;
  }
}