@font-face {
  font-family: 'HelveticaNeue';
  src: url('./fonts/Helvetica Neue/HelveticaNeue-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('./fonts/Helvetica Neue/HelveticaNeue-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('./fonts/Helvetica Neue/HelveticaNeue-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('./fonts/Helvetica Neue/HelveticaNeue-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('./fonts/Helvetica Neue/HelveticaNeue-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('./fonts/Helvetica Neue/HelveticaNeue-Roman.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'UA-Brand';
  src: url('./fonts/uaBRAND/ua-BRAND-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'UA-Brand';
  src: url('./fonts/uaBRAND/ua-BRAND-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'UA-Brand';
  src: url('./fonts/uaBRAND/ua-BRAND-black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'AdonisWeb';
  src: url('./fonts/adonis-web.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'HelveticaNeue', Arial, sans-serif;
  background-color: #F1F1F0;
  padding: 40px;
  margin: 0;
}

.accordion {
  background-color: #fff;
  border-radius: 64px;
  padding: 40px;
  cursor: pointer;
  margin: 0;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  width: 100%; /* гарантирует, что блок подстраивается */
  box-sizing: border-box; /* учитывает padding в ширине */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* изменим с center на flex-start */
    position: relative; /* чтобы .toggle можно было абсолютно позиционировать */
}

.accordion-header h2 {
    font-family: 'AdonisWeb', Arial, sans-serif;
    font-size: 70px;
    font-weight: normal;
    line-height: 0.82;  
    color: #000000;
    margin: 0;
    padding-right: 60px; /* добавим отступ справа, чтобы текст не упирался в + */
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  
  .accordion-header .toggle {
    width: 24px; /* задайте ширину картинки */
    height: 24px; /* задайте высоту картинки */
    background: url('assets/angle-down.svg') no-repeat center center;
    background-size: contain;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    right: 0;
    transform: rotate(0deg); /* начальное положение */
}

.accordion.open .accordion-header .toggle {
    transform: rotate(180deg); /* поворот вправо -> вниз */
}

.accordion-subtitle {
    font-family: 'HelveticaNeue', Arial, sans-serif;
    font-size: 24px;
    line-height: 1.17;  
    color: #808080;
    margin-top: 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0;
}
.accordion.open .accordion-content {
  max-height: 3000px;
  padding-top: 20px;
}
.accordion-content h3 {
  font-family: 'HelveticaNeue', Arial, sans-serif;
  font-size: 24px;
  line-height: 1.52;
  font-weight: medium;
  color: #000000;
  margin-top: 20px;

}
.accordion-content ul {
  font-size: 24px;
  font-family: 'HelveticaNeue', Arial, sans-serif;
  font-weight: medium;
  line-height: 1.52;
  color: #000000;
  padding-left: 20px;
  list-style-type: disc;
}

.accordion-content .button-link {
display: inline-block;
width: auto; /* или 100%, если хочешь на всю ширину */
text-align: center;
padding: 12px 30px;
border-radius: 30px;
background-color: #000000;
color: #FFFFFF;
text-decoration: none;
font-size: 18px;
font-family: 'UA-Brand', Arial, sans-serif;
font-weight: 600; /* Semibold */
letter-spacing: 1.55px;
transition: all 0.5s ease;
}

.accordion-content a:hover {
background-color: #FFFFFF;
color: #000000;
}
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; /* чтобы тянуться на всю ширину */
}


.page-content {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.quote {
  display: block;
  max-width: 80%;
  margin-top: 12%;
  margin-bottom: 12%;
  margin-left: auto;
  margin-right: auto;
}


/* ---- АДАПТИВНОСТЬ ---- */

/* Большие планшеты (<= 1024px) */
@media (max-width: 1024px) {
  body {
    padding: 20px;
  }

  .accordion {
    border-radius: 40px;
    padding: 30px;
  }

  .accordion-header h2 {
    font-size: 50px;
    padding-right: 40px;
  }

  .accordion-subtitle {
    font-size: 24px;
  }

  .accordion-content h3 {
    font-size: 20px;
  }

  .accordion-content ul {
    font-size: 20px;
  }
}

/* Планшеты (<= 768px) */
@media (max-width: 768px) {
  .accordion {
    border-radius: 32px;
    padding: 25px;
  }

  .accordion-header h2 {
    font-size: 40px;
    padding-right: 35px;
  }

  .accordion-subtitle {
    font-size: 22px;
  }

  .accordion-header .toggle {
    width: 20px;
    height: 20px;
  }

  .accordion-content h3 {
    font-size: 18px;
  }

  .accordion-content ul {
    font-size: 18px;
  }

  .accordion-content .button-link {
    font-size: 16px;
    padding: 10px 25px;
  }
}

/* Мобильные телефоны (<= 480px) */
@media (max-width: 480px) {
  .accordion {
    border-radius: 20px;
    padding: 15px;
  }

  .accordion-header h2 {
    font-size: 24px;
    padding-right: 30px;
    line-height: 1.1;
  }

  .accordion-subtitle {
    font-size: 14px;
    margin-top: 6px;
  }

  .accordion-header .toggle {
    width: 18px;
    height: 18px;
  }

  .accordion-content h3 {
    font-size: 12px;
    margin-top: 8px;
    margin-bottom: 6px;
  }

  .accordion-content ul {
    font-size: 12px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .accordion-content .button-link {
    font-size: 10px;
    padding: 8px 20px;
  }

  .accordion.open .accordion-content {
    max-height: 3000px;
    padding-top: 6px;
  }

  .quote {
    max-width: 100%;
    width: 100%;
    margin-top: 75%
  }
}