/* ==========================================================================
   03.css — нормализованный CSS по вашему экспорту из Figma
   Важно: фоновые картинки замените на реальные файлы/пути.
   ========================================================================== */

:root{
  --white:#FFFFFF;
  --red:#9D0F00;
  --red-accent:#CC2A13;
  --red-btn:#AE1A02;
  --blue:#307E9D;
  --blue-2:#358FB3;
  --text:#5D6168;
  --card:#F4F8FA;
}

/* Base */
*{ box-sizing:border-box; }
html,body{ height:100%; overflow-x:hidden; }
body{
  margin:0;
  background:var(--white);
  color:var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

.page-03{
  position:relative;
  width:100%;
  max-width:1728px;
  min-height:100vh;
  margin:0 auto;
  padding-bottom:280px; /* место под абсолютный футер внизу страницы */
  box-sizing:border-box;
  background:var(--white);
}

/* Общий контейнер 1440 */
.container-1440{
  width:1440px;
  margin:0 auto;
}

/* ==========================================================================
   Frame 646 (page wrapper)
   ========================================================================== */
.frame-646{
  position:relative;
  width:100%;
  max-width:1928px;
  margin:0 auto;

  display:flex;
  flex-direction:column;
  align-items:center;
  padding:0 16px;
  box-sizing:border-box;
}

/* ==========================================================================
   HERO (верхний баннер)
   ========================================================================== */
.hero{
  width:100%;
  max-width:1440px;
  min-height:400px;
  height:680px;
  border-radius:64px;
  position:relative;
  overflow:hidden;
  flex:none;
}

.hero__bg{
  position:absolute;
  inset:0;
  background:var(--red);
}

.hero__image{
  position:absolute;
  width:1960px;
  height:2937px;
  left:177px;
  top:-482px;
  background-image:url("../images/hero_people.png");
  background-size:cover;
  background-position:center;
}

.hero__ellipse-16,
.hero__ellipse-17{
  position:absolute;
  visibility:hidden;
  background:var(--blue);
}

.hero__ellipse-16{
  width:1681px;
  height:1020px;
  left:-670px;
  top:-548px;
}

.hero__ellipse-17{
  width:1340px;
  height:1340px;
  left:-670px;
  top:165px;
}

.hero__gradient-left{
  position:absolute;
  width:436px;
  height:955px;
  left:177px;
  top:-281px;
  background:linear-gradient(270deg, rgba(157, 15, 0, 0) 0%, var(--red) 100%);
}

.hero__content{
  position:absolute;
  left:56px;
  top:56px;
  right:56px;
  width:auto;
  max-width:1333px;
  height:auto;

  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:40px;
}

.hero__title{
  margin:0;
  width:100%;
  max-width:1333px;
  height:auto;

  font-family: 'ONDER', system-ui, sans-serif;
  font-weight:500;
  font-size:42px;
  line-height:200%;
  color:var(--white);
}

.hero__lead-wrap{
  width:100%;
  max-width:614px;
  height:auto;

  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:32px;
}

.hero__lead{
  margin:0;
  width:100%;
  max-width:614px;
  height:auto;

  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:400;
  font-size:36px;
  line-height:120%;
  color:var(--white);
}

.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  border:0;
  cursor:pointer;
  text-decoration:none;
  user-select:none;
}

.hero__cta{
  width:100%;
  max-width:614px;
  min-height:80px;
  padding:24px 16px;
  background:var(--white);
  border-radius:32px;
}

.hero__cta-text{
  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:600;
  font-size:20px;
  line-height:24px;
  color:var(--red-btn);
}

/* --- Hero: планшеты (до 1024px) --- */
@media (max-width:1024px){
  .hero{
    min-height:360px;
    height:520px;
    border-radius:48px;
  }

  .hero__image{
    width:140%;
    height:auto;
    min-height:120%;
    left:20%;
    top:50%;
    transform:translateY(-50%);
  }

  .hero__gradient-left{
    width:50%;
    height:100%;
    left:0;
    top:0;
  }

  .hero__content{
    left:32px;
    top:32px;
    right:32px;
    gap:28px;
  }

  .hero__title{
    font-size:34px;
  }

  .hero__lead{
    font-size:28px;
  }

  .hero__cta{
    min-height:64px;
    border-radius:24px;
  }

  .hero__cta-text{
    font-size:18px;
  }
}

/* --- Hero: планшеты узкие / крупные телефоны (до 768px) --- */
@media (max-width:768px){
  .hero{
    min-height:320px;
    height:440px;
    border-radius:32px;
  }

  .hero__image{
    left:30%;
  }

  .hero__content{
    left:24px;
    top:24px;
    right:24px;
    gap:20px;
  }

  .hero__title{
    font-size:28px;
    line-height:160%;
  }

  .hero__lead{
    font-size:22px;
  }

  .hero__cta{
    min-height:56px;
    padding:16px 12px;
    border-radius:20px;
  }

  .hero__cta-text{
    font-size:16px;
  }
}

/* --- Hero: телефоны (до 480px) --- */
@media (max-width:480px){
  .hero{
    min-height:280px;
    height:380px;
    border-radius:24px;
  }

  .hero__image{
    left:40%;
    width:160%;
  }

  .hero__gradient-left{
    width:70%;
  }

  .hero__content{
    left:16px;
    top:16px;
    right:16px;
    gap:16px;
  }

  .hero__title{
    font-size:22px;
    line-height:140%;
  }

  .hero__lead{
    font-size:18px;
  }

  .hero__lead-wrap{
    gap:20px;
  }

  .hero__cta{
    width:100%;
    min-height:52px;
    padding:14px 12px;
    border-radius:16px;
  }

  .hero__cta-text{
    font-size:15px;
  }
}

/* --- Hero: очень узкие экраны (до 360px) --- */
@media (max-width:360px){
  .hero{
    min-height:260px;
    height:340px;
    border-radius:20px;
  }

  .hero__content{
    left:12px;
    top:12px;
    right:12px;
    gap:12px;
  }

  .hero__title{
    font-size:20px;
  }

  .hero__lead{
    font-size:16px;
  }
}

/* ==========================================================================
   Section: Frame 638
   ========================================================================== */
.section{
  width:100%;
  max-width:1440px;
}

.section--p120{
  padding:120px 0 96px;
  gap:40px;
}

/* Заголовок секции, в т.ч. «Кто такой Амбассадор»: ONDER, 40px, 170%, center */
.section__title{
  margin:0;
  width:100%;
  height:auto;

  font-family: 'ONDER', system-ui, sans-serif;
  font-weight:500;
  font-style:normal;
  font-size:40px;
  line-height:170%;
  letter-spacing:0;
  text-align:center;
  color:var(--red-accent);
}

.section__stack{
  width:100%;
  margin-top:40px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* Блок-картинка 1440x600 */
.media-1440{
  width:100%;
  height:600px;
  max-width:1440px;
  border-radius:64px;
  position:relative;
  overflow:hidden;
}

.media-1440__img{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* Декоративные ленты (Frame 661) */
.ribbon-wrap{
  position:absolute;
  width:730px;
  height:255px;
  left:0;
  top:157px;
  transform:rotate(28.37deg);
  pointer-events:none;
}

.ribbon{
  position:absolute;
  width:1211.44px;
  height:284px;
  left:31.66px;
  top:-60.84px;
  background:var(--white);
  transform:rotate(15.48deg);
  opacity:0.95;
}

.ribbon--2{
  left:24.27px;
  top:3.36px;
  transform:rotate(15.48deg);
}

/* ==========================================================================
   Info cards 2x2 (Frame 637 / 660 / 659)
   ========================================================================== */
.info-grid{
  width:100%;
  max-width:1440px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

.info-row{
  width:100%;
  height:auto;
  min-height:190px;
  display:flex;
  gap:24px;
}

.info-card{
  flex:1;
  min-height:190px;
  padding:40px;
  display:flex;
  align-items:center;
  gap:24px;
  background:var(--card);
  border-radius:64px;
  min-width:0;
}

.icon-110{
  width:110px;
  height:110px;
  position:relative;
  flex:0 0 110px;
}

.icon-110__bg{
  position:absolute;
  inset:0;
  border-radius:20px; /* безопасно, если нужен скруглённый “Union” */
  background:url('../images/petal_background.png') center/cover no-repeat;
}

.icon-110__num{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--white);
  color:var(--blue-2);
  font-weight:700;
}

.split__right .icon-110__num--question{
  font-size:0;
  color:transparent;
  background:url('../images/petal_question.png') center/contain no-repeat;
}

.info-grid .icon-110__num--lighting,
.info-grid .icon-110__num--question,
.info-grid .icon-110__num--case,
.info-grid .icon-110__num--graph{
  font-size:0;
  color:transparent;
}
.info-grid .icon-110__num--lighting{ background:url('../images/petal_lighting.png') center/contain no-repeat; }
.info-grid .icon-110__num--question{ background:url('../images/petal_question.png') center/contain no-repeat; }
.info-grid .icon-110__num--case{ background:url('../images/petal_case.png') center/contain no-repeat; }
.info-grid .icon-110__num--graph{ background:url('../images/petal_graph.png') center/contain no-repeat; }

.feature-card .icon-110__num--photo,
.feature-card .icon-110__num--star,
.feature-card .icon-110__num--chats{
  font-size:0;
  color:transparent;
}
.feature-card .icon-110__num--photo{ background:url('../images/petal_photo.png') center/contain no-repeat; }
.feature-card .icon-110__num--star{ background:url('../images/petal_star.png') center/contain no-repeat; }
.feature-card .icon-110__num--chats{ background:url('../images/petal_chats.png') center/contain no-repeat; }

.info-card__body{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}

.info-card__h{
  margin:0;
  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:600;
  font-size:36px;
  line-height:110%;
  color:var(--text);
}

.info-card__txt{
  margin:0;
  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:400;
  font-size:22px;
  line-height:130%;
  color:var(--text);
}

/* ==========================================================================
   Блок #who — адаптив под различные устройства
   ========================================================================== */
@media (max-width:1024px){
  #who.section.section--p120{
    padding:80px 0 64px;
  }

  #who .section__title{
    font-size:34px;
  }

  #who .section__stack{
    margin-top:32px;
    gap:20px;
  }

  #who .media-1440{
    height:420px;
    border-radius:48px;
  }

  #who .info-grid{
    gap:20px;
  }

  #who .info-row{
    min-height:auto;
    gap:20px;
  }

  #who .info-card{
    min-height:auto;
    padding:32px;
    gap:20px;
    border-radius:48px;
  }

  #who .info-card__h{
    font-size:30px;
  }

  #who .info-card__txt{
    font-size:20px;
  }
}

@media (max-width:768px){
  #who.section.section--p120{
    padding:56px 0 48px;
  }

  #who .section__title{
    font-size:28px;
  }

  #who .section__stack{
    margin-top:24px;
    gap:16px;
  }

  #who .media-1440{
    height:320px;
    border-radius:32px;
  }

  #who .info-row{
    flex-direction:column;
    gap:16px;
  }

  #who .info-card{
    padding:24px;
    gap:20px;
    border-radius:32px;
  }

  #who .icon-110{
    width:80px;
    height:80px;
    flex:0 0 80px;
  }

  #who .icon-110__num{
    width:32px;
    height:32px;
  }

  #who .info-card__h{
    font-size:26px;
  }

  #who .info-card__txt{
    font-size:18px;
  }
}

@media (max-width:480px){
  #who.section.section--p120{
    padding:40px 0 32px;
  }

  #who .section__title{
    font-size:24px;
  }

  #who .section__stack{
    margin-top:20px;
    gap:12px;
  }

  #who .media-1440{
    height:240px;
    border-radius:24px;
  }

  #who .info-grid{
    gap:12px;
  }

  #who .info-row{
    gap:12px;
  }

  #who .info-card{
    padding:20px;
    gap:16px;
    border-radius:24px;
  }

  #who .icon-110{
    width:64px;
    height:64px;
    flex:0 0 64px;
  }

  #who .icon-110__num{
    width:28px;
    height:28px;
  }

  #who .info-card__h{
    font-size:22px;
  }

  #who .info-card__txt{
    font-size:16px;
  }
}

@media (max-width:360px){
  #who.section.section--p120{
    padding:32px 0 24px;
  }

  #who .section__title{
    font-size:20px;
  }

  #who .media-1440{
    height:200px;
    border-radius:20px;
  }

  #who .info-card{
    padding:16px;
    border-radius:20px;
  }

  #who .info-card__h{
    font-size:20px;
  }

  #who .info-card__txt{
    font-size:15px;
  }
}

/* ==========================================================================
   Frame 587 (блок с 3 карточками)
   ========================================================================== */
.section--p64{
  padding:64px 0 96px;
  gap:40px;
}

.cards-3{
  width:100%;
  max-width:1440px;
  display:flex;
  gap:24px;
}

.feature-card{
  flex:1;
  min-height:301px;
  padding:40px;
  background:var(--card);
  border-radius:64px;
  display:flex;
  flex-direction:column;
  gap:24px;
  min-width:0;
}

.feature-card__head{
  display:flex;
  align-items:center;
  gap:24px;
}

.feature-card__title{
  margin:0;
  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:600;
  font-size:36px;
  line-height:110%;
  color:var(--text);
}

.feature-card__txt{
  margin:0;
  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:400;
  font-size:22px;
  line-height:130%;
  color:var(--text);
}

/* ==========================================================================
   Блок #do («Чем занимаются») — адаптив под различные устройства
   ========================================================================== */
@media (max-width:1024px){
  #do.section.section--p64{
    padding:80px 0 64px;
  }

  #do .section__title{
    font-size:34px;
  }

  #do .section__stack{
    margin-top:32px;
    gap:20px;
  }

  #do .media-1440{
    height:420px;
    border-radius:48px;
  }

  #do .cards-3{
    gap:20px;
  }

  #do .feature-card{
    padding:32px;
    gap:20px;
    border-radius:48px;
  }

  #do .feature-card__title{
    font-size:30px;
  }

  #do .feature-card__txt{
    font-size:20px;
  }
}

@media (max-width:768px){
  #do.section.section--p64{
    padding:56px 0 48px;
  }

  #do .section__title{
    font-size:28px;
  }

  #do .section__stack{
    margin-top:24px;
    gap:16px;
  }

  #do .media-1440{
    height:320px;
    border-radius:32px;
  }

  #do .cards-3{
    flex-direction:column;
    gap:16px;
  }

  #do .feature-card{
    padding:24px;
    gap:20px;
    border-radius:32px;
  }

  #do .feature-card__head .icon-110{
    width:80px;
    height:80px;
    flex:0 0 80px;
  }

  #do .feature-card__head .icon-110__num{
    width:32px;
    height:32px;
  }

  #do .feature-card__title{
    font-size:26px;
  }

  #do .feature-card__txt{
    font-size:18px;
  }
}

@media (max-width:480px){
  #do.section.section--p64{
    padding:40px 0 32px;
  }

  #do .section__title{
    font-size:24px;
  }

  #do .section__stack{
    margin-top:20px;
    gap:12px;
  }

  #do .media-1440{
    height:240px;
    border-radius:24px;
  }

  #do .cards-3{
    gap:12px;
  }

  #do .feature-card{
    padding:20px;
    gap:16px;
    border-radius:24px;
  }

  #do .feature-card__head .icon-110{
    width:64px;
    height:64px;
    flex:0 0 64px;
  }

  #do .feature-card__head .icon-110__num{
    width:28px;
    height:28px;
  }

  #do .feature-card__title{
    font-size:22px;
  }

  #do .feature-card__txt{
    font-size:16px;
  }
}

@media (max-width:360px){
  #do.section.section--p64{
    padding:32px 0 24px;
  }

  #do .section__title{
    font-size:20px;
  }

  #do .media-1440{
    height:200px;
    border-radius:20px;
  }

  #do .feature-card{
    padding:16px;
    gap:12px;
    border-radius:20px;
  }

  #do .feature-card__title{
    font-size:20px;
  }

  #do .feature-card__txt{
    font-size:15px;
  }
}

/* ==========================================================================
   Frame 576 (split: картинка слева + 3 карточки справа)
   ========================================================================== */
#get .split{
  margin-top:40px;
}

.split{
  width:100%;
  max-width:1440px;
  display:flex;
  gap:24px;
}

.split__left{
  width:50%;
  min-width:280px;
  height:690px;
  border-radius:64px;
  position:relative;
  overflow:hidden;
  flex:1 1 50%;
}

.split__left-img{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.split__left-btn{
  position:absolute;
  left:56px;
  top:554px;
  width:596px;
  max-width:calc(100% - 32px);
  height:80px;
  padding:24px 16px;
  background:var(--red-accent);
  border-radius:32px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.split__left-btn span{
  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:600;
  font-size:20px;
  line-height:24px;
  color:var(--white);
}

.split__right{
  width:50%;
  min-width:280px;
  height:690px;
  display:flex;
  flex-direction:column;
  gap:24px;
  flex:1 1 50%;
}

.split__right .info-card{
  min-height:214px;
}

/* ==========================================================================
   Блок #get («Что ты получишь») — адаптив под различные устройства
   ========================================================================== */
@media (max-width:1024px){
  #get.section.section--p64{
    padding:80px 0 64px;
  }

  #get .section__title{
    font-size:34px;
  }

  #get .split{
    margin-top:32px;
    gap:20px;
  }

  #get .split__left{
    height:480px;
    border-radius:48px;
  }

  #get .split__left-btn{
    left:32px;
    top:380px;
    width:auto;
    right:32px;
    min-height:64px;
    padding:20px 16px;
    border-radius:24px;
  }

  #get .split__left-btn span{
    font-size:18px;
  }

  #get .split__right{
    height:auto;
    min-height:auto;
    gap:20px;
    border-radius:48px;
  }

  #get .split__right .info-card{
    min-height:auto;
    padding:32px;
    border-radius:48px;
  }

  #get .split__right .info-card__h{
    font-size:30px;
  }

  #get .split__right .info-card__txt{
    font-size:20px;
  }
}

@media (max-width:768px){
  #get.section.section--p64{
    padding:56px 0 48px;
  }

  #get .section__title{
    font-size:28px;
  }

  #get .split{
    flex-direction:column;
    margin-top:24px;
    gap:16px;
  }

  #get .split__left{
    width:100%;
    min-width:0;
    flex:none;
    height:360px;
    border-radius:32px;
  }

  #get .split__left-btn{
    left:24px;
    right:24px;
    top:auto;
    bottom:24px;
    width:auto;
    min-height:56px;
    padding:16px;
    border-radius:20px;
  }

  #get .split__left-btn span{
    font-size:16px;
  }

  #get .split__right{
    width:100%;
    min-width:0;
    flex:none;
    height:auto;
    gap:16px;
  }

  #get .split__right .info-card{
    padding:24px;
    border-radius:32px;
  }

  #get .split__right .icon-110{
    width:80px;
    height:80px;
    flex:0 0 80px;
  }

  #get .split__right .icon-110__num{
    width:32px;
    height:32px;
  }

  #get .split__right .info-card__h{
    font-size:26px;
  }

  #get .split__right .info-card__txt{
    font-size:18px;
  }
}

@media (max-width:480px){
  #get.section.section--p64{
    padding:40px 0 32px;
  }

  #get .section__title{
    font-size:24px;
  }

  #get .split{
    margin-top:20px;
    gap:12px;
  }

  #get .split__left{
    height:280px;
    border-radius:24px;
  }

  #get .split__left-btn{
    left:16px;
    right:16px;
    bottom:16px;
    min-height:52px;
    padding:14px;
    border-radius:16px;
  }

  #get .split__left-btn span{
    font-size:15px;
  }

  #get .split__right .info-card{
    padding:20px;
    gap:16px;
    border-radius:24px;
  }

  #get .split__right .icon-110{
    width:64px;
    height:64px;
    flex:0 0 64px;
  }

  #get .split__right .icon-110__num{
    width:28px;
    height:28px;
  }

  #get .split__right .info-card__h{
    font-size:22px;
  }

  #get .split__right .info-card__txt{
    font-size:16px;
  }
}

@media (max-width:360px){
  #get.section.section--p64{
    padding:32px 0 24px;
  }

  #get .section__title{
    font-size:20px;
  }

  #get .split__left{
    height:240px;
    border-radius:20px;
  }

  #get .split__left-btn{
    left:12px;
    right:12px;
    bottom:12px;
    min-height:48px;
    border-radius:14px;
  }

  #get .split__right .info-card{
    padding:16px;
    border-radius:20px;
  }

  #get .split__right .info-card__h{
    font-size:20px;
  }

  #get .split__right .info-card__txt{
    font-size:15px;
  }
}

/* ==========================================================================
   Frame 641 (галерея 3 колонки по 2 фото)
   ========================================================================== */
.gallery{
  width:1928px;
  padding:64px 0 96px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:40px;
}

.gallery__track{
  max-width:2154px;
  height:832px;
  display:flex;
  gap:24px;
  overflow-x:hidden;
}

.gallery-col{
  width:702px;
  height:832px;
  display:flex;
  flex-direction:column;
  gap:24px;
  flex:0 0 702px;
}

.media-702{
  width:702px;
  height:404px;
  border-radius:64px;
  position:relative;
  overflow:hidden;
}

.media-702__img{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* ==========================================================================
   Блок #photos («Наши фото») — адаптив
   ≥1200×900: без изменений (3 колонки по 2 фото, края могут обрезаться).
   <1200×900: 2 колонки по 3 фото.
   <800×500: 1 колонка по 6 фото.
   ========================================================================== */
@media (max-width: 1199px), (max-height: 899px){
  #photos.gallery{
    width:100%;
    max-width:100%;
    padding:64px 16px 96px;
    box-sizing:border-box;
  }

  #photos .gallery__track{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-auto-rows:minmax(240px, 1fr);
    gap:24px;
    width:100%;
    max-width:900px;
    height:auto;
    overflow:visible;
  }

  #photos .gallery-col{
    display:contents;
  }

  #photos .media-702{
    width:100%;
    height:100%;
    min-height:240px;
    border-radius:48px;
  }
}

@media (max-width: 799px), (max-height: 499px){
  #photos.gallery{
    padding:48px 16px 64px;
  }

  #photos .gallery__track{
    grid-template-columns:1fr;
    grid-auto-rows:minmax(220px, 1fr);
    gap:16px;
    max-width:100%;
  }

  #photos .media-702{
    min-height:220px;
    border-radius:32px;
  }
}

/* ==========================================================================
   Frame 579 (отзывы/карточки 464x336, горизонтальный скролл)
   ========================================================================== */
.reviews{
  width:1928px;
  padding:64px 0 250px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:40px;
}

.reviews__track{
  max-width:2154px;
  height:336px;
  display:flex;
  gap:24px;
  overflow-x:hidden;
}

.review-card{
  width:464px;
  height:336px;
  padding:32px;
  background:var(--card);
  border-radius:64px;
  display:flex;
  flex-direction:column;
  gap:24px;
  flex:0 0 464px;
}

.review-card__head{
  display:flex;
  align-items:center;
  gap:32px;
}

.avatar{
  width:100px;
  height:100px;
  min-width:100px;
  min-height:100px;
  flex-shrink:0;
  border-radius:999px;
  background:#5D6168; /* замените на image */
  box-shadow:4px 4px 0 rgba(0,0,0,.25);
  background-size:cover;
  background-position:center;
}

.person{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.person__name{
  margin:0;
  font-weight:400;
  font-size:24px;
  line-height:130%;
  color:var(--text);
}

.person__role{
  margin:0;
  font-family: 'Montserrat Regular', 'Montserrat', system-ui, sans-serif;
  font-weight:400;
  font-size:18px;
  line-height:130%;
  color:var(--text);
  opacity:.6;
}

.review-card__text{
  margin:0;
  font-family:'Bahnschrift', sans-serif;
  font-weight:400;
  font-size:20px;
  line-height:140%;
  color:var(--text);
}

/* ==========================================================================
   Блок #reviews («Отзывы») — адаптив
   ≥1200×900: без изменений (1 ряд карточек, края могут обрезаться).
   <1200×900: 2 колонки по 3 отзыва.
   <800×500: 1 колонка по 6 отзывов.
   ========================================================================== */
@media (max-width: 1199px), (max-height: 899px){
  #reviews.reviews{
    width:100%;
    max-width:100%;
    padding:64px 16px 250px;
    box-sizing:border-box;
  }

  #reviews .reviews__track{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-auto-rows:auto;
    gap:24px;
    width:100%;
    max-width:960px;
    height:auto;
    overflow:visible;
  }

  #reviews .review-card{
    width:100%;
    min-width:0;
    flex:none;
    height:auto;
    min-height:280px;
    border-radius:48px;
  }
}

@media (max-width: 799px), (max-height: 499px){
  #reviews.reviews{
    padding:48px 16px 120px;
  }

  #reviews .reviews__track{
    grid-template-columns:1fr;
    gap:16px;
    max-width:100%;
  }

  #reviews .review-card{
    min-height:auto;
    padding:24px;
    border-radius:32px;
  }

  #reviews .review-card__head{
    gap:24px;
  }

  #reviews .avatar{
    width:80px;
    height:80px;
    min-width:80px;
    min-height:80px;
  }

  #reviews .person__name{
    font-size:20px;
  }

  #reviews .person__role{
    font-size:16px;
  }

  #reviews .review-card__text{
    font-size:18px;
  }
}

/* ==========================================================================
   Footer: Frame 583
   ========================================================================== */
.footer{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:100vw;
  min-height:246px;
  padding:80px 24px;
  box-sizing:border-box;
  background:var(--red-accent);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:425px;
}

.footer__logo{
  width:195px;
  height:74px;
  display:flex;
  align-items:center;
}

.footer__logo-img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.footer__contacts{
  width:198px;
  height:70px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:var(--white);
  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-size:24px;
  line-height:130%;
}

.footer__social{
  width:196px;
  height:86px;
  display:flex;
  gap:24px;
}

.icon-btn{
  width:86px;
  height:86px;
  border-radius:999px;
  background:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Футер: адаптив и прижатие к низу на всех устройствах */
@media (max-width:1200px){
  .footer{
    gap:80px;
    padding:64px 24px;
  }
}

@media (max-width:768px){
  .footer{
    flex-wrap:wrap;
    justify-content:center;
    gap:40px;
    padding:48px 20px;
    min-height:auto;
  }

  .footer__logo{
    width:160px;
    height:60px;
  }

  .footer__contacts{
    font-size:20px;
  }

  .footer__social{
    width:auto;
    height:auto;
  }

  .icon-btn{
    width:72px;
    height:72px;
  }
}

@media (max-width:480px){
  .footer{
    flex-direction:column;
    gap:24px;
    padding:32px 16px;
  }

  .footer__logo{
    width:140px;
    height:54px;
  }

  .footer__contacts{
    font-size:18px;
  }

  .icon-btn{
    width:64px;
    height:64px;
  }
}

/* ==========================================================================
   Top nav: Frame 664
   ========================================================================== */
.top-nav{
  position:relative;
  width:100%;
  max-width:1440px;
  min-height:54px;
  margin:32px auto 32px;
  padding:0 16px;
  box-sizing:border-box;

  display:flex;
  flex-wrap:wrap;
  gap:24px;
}

.top-nav__item{
  flex:1;
  min-width:120px;
  height:54px;
  padding:16px 24px;
  border-radius:24px;
  background:var(--blue);
  display:flex;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  color:var(--white);
  text-align:center;

  font-family: 'Bahnschrift', system-ui, sans-serif;
  font-weight:400;
  font-size:18px;
  line-height:120%;
}

/* top-nav: планшеты */
@media (max-width:1024px){
  .top-nav{
    margin:24px auto 24px;
    padding:0 12px;
    gap:16px;
  }

  .top-nav__item{
    height:48px;
    padding:12px 16px;
    border-radius:20px;
    font-size:16px;
    min-width:100px;
  }
}

/* top-nav: узкие планшеты и крупные телефоны */
@media (max-width:768px){
  .top-nav{
    margin:20px auto 20px;
    padding:0 12px;
    gap:12px;
  }

  .top-nav__item{
    flex:1 1 calc(50% - 6px);
    min-width:0;
    height:44px;
    padding:10px 12px;
    border-radius:16px;
    font-size:15px;
  }
}

/* top-nav: телефоны */
@media (max-width:480px){
  .top-nav{
    margin:16px auto 16px;
    padding:0 10px;
    gap:10px;
  }

  .top-nav__item{
    flex:1 1 100%;
    height:42px;
    padding:10px 12px;
    border-radius:14px;
    font-size:14px;
  }
}

/* top-nav: очень узкие экраны */
@media (max-width:360px){
  .top-nav{
    margin:12px auto 12px;
    padding:0 8px;
    gap:8px;
  }

  .top-nav__item{
    height:40px;
    padding:8px 10px;
    font-size:13px;
  }
}

/* top-nav: скрыть на экранах меньше 1100×700 */
@media (max-width: 1099px), (max-height: 699px){
  .top-nav{
    display:none;
  }
}
