/* =========================================================
   PILATES LAB — HERO + NAV OVERLAY (reference-like)
   Full CSS (drop-in). Designed to work with:
   .hero, .hero__bg, .hero__overlay, .hero-nav, .hero-nav__row,
   .hero-nav__logo, .hero-nav__menu, .hero-nav__list, .hero-nav__link,
   .hero-nav__address, .hero-nav__burger,
   .hero__content, .hero__content-inner, .hero__title, .hero__lead,
   .hero__actions, .btn, .btn--primary, .btn--outline
   ========================================================= */

/* =========================
   HERO ROOT (980px height)
   ========================= */
html {
  scroll-behavior: smooth;
}
.hero{
  --hero-h: 760px;

  /* readability overlay (left-to-right, like ref) */
  --hero-overlay: linear-gradient(
    90deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.28) 80%,
    rgba(0,0,0,.10) 100%
  );

  --content-max: 620px;

  --btn-h: 56px;
  --btn-px: 28px;

  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 5rem 5rem;
}

/* background image layer */
.hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* helpful if you want to bias crop to right (girl stays right) */
.hero__bg img{
  object-position: 72% 50%;
}

/* overlay above image */
.hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay);
}

/* =========================
   NAVBAR OVER HERO (3 zones)
   ========================= */

/* IMPORTANT: navbar must be inside .hero in DOM to overlay */
.hero-nav{
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 24px 0;
  background: transparent !important;
}

/* 3 columns: logo | menu(center) | address(right) */
.hero-nav__row{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

/* LOGO */
.hero-nav__logo{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.hero-nav__logo img,
.hero-nav__logo svg{
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;
}

/* MENU CENTER */
.hero-nav__menu{
  justify-self: center;
}
.hero-nav__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-nav__link{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.hero-nav__link:hover{ color:#fff; }

/* active state (pdoMenu hereClass -> add class to li) */
.hero-nav__item.is-active > .hero-nav__link,
.hero-nav__item.uk-active > .hero-nav__link{
  color: #fff;
}

/* ADDRESS PILL */
.hero-nav__address{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 999px;

  font-size: 14px;
  line-height: 1;
  white-space: nowrap;

  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* BURGER */
.hero-nav__burger{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #fff;
  text-decoration: none;
}

/* keyboard focus */
.hero-nav__logo:focus-visible,
.hero-nav__link:focus-visible,
.hero-nav__burger:focus-visible{
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 4px;
}

/* =========================
   HERO CONTENT (LEFT)
   ========================= */

.hero__content{
  position: relative;
  z-index: 10;

  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;

  /* keep content away from navbar */


  text-align: left !important;
}

/* fixed content column width like ref */
.hero__content-inner{
  max-width: var(--content-max);
  margin: 0 !important;
}

/* TITLE */
.hero__title{
  margin: 0 0 22px;
  font-size: clamp(48px, 12vw, 68px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: .01em;
}

/* LEAD */
.hero__lead{
  margin: 0;
  max-width: 80ch;
  font-size: 18px;
  line-height: 1.6;
  opacity: .95;
}

/* CTA buttons row */
.hero__actions{
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  
  gap: 8px;

  justify-content: flex-start !important;
  align-items: center;
}

/* =========================
   BUTTONS (fix “white button no text”)
   ========================= */

.btn{
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;

  transition: opacity .15s ease, border-color .15s ease, background-color .15s ease, color .15s ease;

  /* protect from global a{} / uk-light colors */
  color: inherit;
}

.btn--primary{
  background: #fff;
  color: #000 !important;         /* critical: fixes “missing text” */
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
}
.btn--primary:hover{
  opacity: .92;
  color: #000 !important;
}
.btn--primary *{
  color: #000 !important;
}

.btn--secondary{
  background: #161b23;
  color: #fff !important;         /* critical: fixes “missing text” */
  border: 1px solid transparent;
  padding: 1rem;
  font-weight: 600;
}

.btn--why{
  background: #fff;
  color: #000 !important;
  border: 1px solid transparent;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn--secondary:hover{
  opacity: .92;
  color: #fff !important;
}
.btn--secondary *{
  color: #fff !important;
}

.btn--outline{
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.55);
}
.btn--outline:hover{
  border-color: rgba(255,255,255,.95);
  color: #fff !important;
}

.btn:focus-visible{
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 4px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1440px){
  .hero{ height: 900px; }
}

@media (max-width: 1200px){
  .hero{ height: 820px; }
}

@media (max-width: 960px){
  .hero{
    height: min(820px, 100svh);
    border-radius: 0 0 3rem 3rem;
  }

  /* hide menu + address, show burger */
  .hero-nav__menu,
  .hero-nav__address{
    display: none;
  }

  /* keep 2 columns: logo | burger */
  .hero-nav__row{
    grid-template-columns: auto 1fr auto;
  }

  .hero__content{
    padding-top: 92px;
  }
}

@media (max-width: 640px){
  .hero{
    height: auto;
    min-height: min(720px, 100svh);
    border-radius: 0 0 2rem 2rem;
  }

  .hero__content{
    padding-top: 190px;
    padding-bottom: 48px;
  }

  .btn{
    width: 100%;
  }
}

/* === FIX: hero content must be LEFT (override any global center styles) === */
.hero__content{
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
}

.hero__content > .uk-container{
  width: 100%;
  text-align: left !important;
}

.hero__content-inner{
  max-width: 620px;
  margin: 0 !important;          /* убираем возможный margin: 0 auto */
  text-align: left !important;
}

.hero__title,
.hero__lead{
  text-align: left !important;
}

.hero__cta{
  text-align: left !important;
  font-size: 14px;
  margin-top: 28px;
}

.hero__actions{
  justify-content: flex-start !important;
}


/* =========================
   OPTIONAL: if your old navbar uses UIkit classes
   and you still see a background, uncomment:

.hero .uk-navbar-container{
  background: transparent !important;
  box-shadow: none !important;
}

   ========================= */
/* =========================
   APP DOWNLOAD BANNER
   ========================= */

.app-banner{ padding-top: 0; padding-bottom: 0; }

.app-banner__card{
  background: #12171f;
  border-radius: 44px;
  padding: 0 8rem;
  position: relative;
  overflow: hidden;
}

/* subtle inner gradient like ref */
.app-banner__card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 500px at 20% 30%, rgba(255,255,255,.06), transparent 60%);
  pointer-events:none;
}

.app-banner__title{
  position: relative;
  margin: 0 0 18px;
  font-weight: 300;
  letter-spacing: .02em;
  line-height: 1.02;
  font-size: clamp(32px, 6vw, 54px);
  color:#fff;
}

.app-banner__text{
  position: relative;
  max-width: 520px;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  line-height: 1.7;
}

.app-banner__text p{ margin: 0 0 10px; }
.app-banner__text p:last-child{ margin-bottom: 0; }

.app-banner__stores{
  position: relative;
  margin-top: 26px;
  display: flex;
  gap: 14px;
}

.app-banner__store{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.app-banner__store img{
  display: block;
  height: 54px;   /* визуально как на рефе */
  width: auto;
}

.app-banner__phone-wrap{
  position: relative;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.app-banner__phone{
  display: block;
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 960px){
  .app-banner__card{
    padding: 0px 28px;
    border-radius: 34px;
  }

  .app-banner__phone-wrap{
    justify-content: center;
    margin-top: 18px;
  }

  .app-banner__phone{
    width: min(360px, 80%);
  }
  .app-banner__title{
    padding-top: 3rem;
  }
}

@media (max-width: 640px){
  .app-banner__card{
    padding: 0px 22px;
    border-radius: 28px;
  }

  .app-banner__store img{
    height: 40px;
  }

  .app-banner__title{
    font-size: 40px;
    padding-top: 3rem;
  }
}
.for-about{
  background: #fff;
  color: #111;
}
.for-about__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(30px, 3vw, 44px);
  color: #111;
}

.for-about 
p {
  margin-top: 0rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 18px;
  line-height: 1.65;
}
/* =========================
   FOR WHO (WHITE PAGE)
   ========================= */

.for-who{
  background: #fff;
  color: #111;
}

.for-who__head{
  margin: 0 0 36px;
}

.for-who__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(30px, 3vw, 44px);
  color: #111;
}

.for-who__lead{
  margin: 0;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}
.why__lead{
  margin: 0;
  color: #c6c7c9;
  font-size: 18px;
  line-height: 1.7;
}
/* CARD */
.for-who__card{
  position: relative;
  height: 100%;
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: #fff;

  /* мягкая премиальная тень */
  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.04);

  transition: transform .2s ease, box-shadow .2s ease;
}

.for-who__card:hover{
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(0,0,0,.08),
    0 4px 10px rgba(0,0,0,.06);
}

/* номер */
.for-who__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 999px;

  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 500;

  color: #777;
  background: #f2f2f2;

  margin-bottom: 14px;
}

/* title */
.for-who__card-title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: #111;
}

/* text */
.for-who__text{
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.65;
}

/* CTA */
.for-who__cta{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Mobile */
@media (max-width: 640px){
  .for-who__head{
    margin-bottom: 24px;
  }

  .for-who__card{
    padding: 20px;
    border-radius: 18px;
  }

  .for-who__card-title{
    font-size: 17px;
  }

  .for-who__text{
    font-size: 14px;
  }

  .for-who__cta .btn{
    width: 100%;
  }
}
/* =========================
   FOR WHO — horizontal layout
   ========================= */

.for-who__card--horizontal{
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* иконка */
.for-who__icon{
  flex-shrink: 0;              /* не сжимается */
  width: 7rem;
  height: 7rem;
  border-radius: 14px;
  background: #f3f4f6;

  display: flex;
  align-items: center;
  justify-content: center;
}

.for-who__icon img{
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

/* текстовый блок */
.for-who__content{
  flex: 1;
}

/* заголовок */
.for-who__card-title{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: #111;
}

/* текст */
.for-who__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* =========================
   DIRECTIONS (white page + bg images)
   ========================= */

.directions{
  background: #fff;
  color: #111;
  /* секция сразу после “Для кого” — делаем чуть меньше верхний отступ */
  padding-top: 56px;
}

.directions__head{
  margin: 0 0 28px;
}

.directions__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(30px, 3vw, 44px);
}

.directions__lead{
  margin: 0;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}

/* grid spacing */
.directions__grid{
  margin-top: 0;
}

/* CARD with background image */
.directions__card{
  --radius: 22px;
  --overlay: linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.62) 100%);

  position: relative;
  display: block;
  height: 100%;
  min-height: 240px;

  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;

  background-image: var(--overlay), var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow:
    0 10px 30px rgba(0,0,0,.10),
    0 2px 6px rgba(0,0,0,.06);

  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}



/* inner content */
.directions__card-inner{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
}

.directions__card-title{
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
  color:#fff;
}

.directions__card-text{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.directions__card-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}

.directions__arrow{
  display: inline-block;
  transform: translateX(0);
  transition: transform .2s ease;
}

.directions__card:hover .directions__arrow{
  transform: translateX(4px);
}

/* FEATURE CARD (accent) */
.directions__card--feature{
  min-height: 350px;
  --overlay: linear-gradient( 180deg, rgba(18, 23, 31, 0) 20%, rgba(18, 23, 31, 0.64) 60%, rgb(18, 23, 31) 100% );
  box-shadow:
    0 16px 50px rgba(0,0,0,.18),
    0 6px 14px rgba(0,0,0,.10);
}



.directions__card--feature .directions__card-title{
  font-size: 22px;
}

.directions__card--feature .directions__card-text{
  font-size: 15px;
  max-width: 56ch;
}

/* Keyboard focus */
.directions__card:focus-visible{
  outline: 3px solid rgba(0,0,0,.25);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 960px){
  .directions__card{ min-height: 220px; }
  .directions__card--feature{ min-height: 260px; }
}

@media (max-width: 640px){
  .directions{ padding-top: 44px; }

  .directions__head{ margin-bottom: 22px; }

  .directions__card{
    min-height: 220px;
    --radius: 18px;
  }

  .directions__card-inner{
    padding: 18px 18px 16px;
  }

  /* на мобиле feature уже не обязана быть сильно выше — но оставим чуть акцент */
  .directions__card--feature{
    min-height: 240px;
  }
}
/* =========================
   WHY — reference layout
   ========================= */

.why--dark{
  background: #12171f;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why--dark::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 500px at 20% 30%, rgba(255,255,255,.06), transparent 60%);
  pointer-events:none;
}   
    

.why--dark.uk-section-large{
  padding-top: 90px;
  padding-bottom: 90px;
}

.why__head{
  margin: 0 0 54px;
  max-width: 980px;
}

.why__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.12;
  font-size: clamp(30px, 3vw, 44px);
  color: #fff;
}

/* --- GRID like screenshot --- */
.why__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 72px;
}

/* spacer keeps bottom row aligned like in ref (empty 3rd cell) */
.why__spacer{
  display: block;
}

/* --- ITEM: number + divider + text --- */
.why__item{
  position: relative;
  padding-left: 92px; /* место под цифру + линию */
}

.why__item::before{
  content: attr(data-index);
  position: absolute;
  left: 0;
  top: 2px;

  font-size: 52px;
  font-weight: 300;
  line-height: 1;

  color: rgba(255,255,255,.18); /* тихая цифра как на скрине */
}

.why__item::after{
  content: "";
  position: absolute;
  left: 60px;
  top: 6px;
  height: 60px; /* визуальная длина линии */
  width: 1px;
  background: rgba(255,255,255,.14);
}

/* title/text */
.why__item-title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.why__item-text{
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.76);
  max-width: 44ch;
}

/* --- Responsive --- */
@media (max-width: 1200px){
  .why__grid{
    column-gap: 44px;
    row-gap: 56px;
  }
  .why__item{ padding-left: 84px; }
  .why__item::before{ font-size: 46px; }
  .why__item::after{ left: 56px; height: 56px; }
}

@media (max-width: 960px){
  .why__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 44px;
  }
  .why__spacer{ display:none; }
}

@media (max-width: 640px){
  .why--dark.uk-section-large{
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .why__head{ margin-bottom: 36px; }

  .why__grid{
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .why__item{
    padding-left: 76px;
  }

  .why__item::before{
    font-size: 40px;
  }

  .why__item::after{
    left: 52px;
    height: 52px;
  }

  .why__item-title{ font-size: 17px; }
  .why__item-text{ font-size: 14px; }
}

/* =========================
   TRAINERS (MOCKUP)
   ========================= */

.trainers{
  background:#fff;
}

/* header */
.trainers__head{
  margin-bottom: 32px;
}

.trainers__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(30px, 3vw, 44px);
  color:#111;
}

.trainers__lead{
  margin: 0;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}
/* CARD */
.trainer-card{
  position: relative;
  display: block;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  background:#fff;

  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.04);

  transition: transform .2s ease, box-shadow .2s ease;
}

.trainer-card:hover{
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(0,0,0,.08),
    0 4px 10px rgba(0,0,0,.06);
}
.trainer-card {
  appearance: none;
  -webkit-appearance: none;

  border: none;
  padding: 0;
  margin: 0;

  width: 100%;
  text-align: left;

  cursor: pointer;
}
/* image */
.trainer-card__media{
  aspect-ratio: 4 / 5;
  background:#f3f4f6;
}

.trainer-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* OVERLAY */
.trainer-card__overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;

  opacity:1;


  background: linear-gradient( 180deg, rgba(18, 23, 31, 0) 40%, rgba(18, 23, 31, 0.64) 75%, rgb(18, 23, 31) 100% );
}

.trainer-card:hover .trainer-card__overlay{
  opacity:1;
  transform:translateY(0);
}

.trainer-card__overlay-inner{
  width:100%;
  padding:18px 18px 16px;
}

/* text */
.trainer-card__role{
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#c8c1c1;
  margin-bottom:6px;
}

.trainer-card__name{
  margin:0 0 12px;
  font-size:18px;
  font-weight:600;
  line-height:1.25;
  color:#fff;
}

.trainer-card__list{
  list-style:none;
  margin:0 0 14px;
  padding:0;
  display:grid;
  gap:10px;
}

.trainer-card__list span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#b5b3b3;
}

.trainer-card__list b{
  font-size:14px;
  font-weight:500;
  color:rgba(255,255,255,.88);
}

.trainer-card__cta{
  font-size:14px;
  font-weight:600;
  color:#111;
  opacity:.7;
}

.trainer-card:hover .trainer-card__cta{
  opacity:1;
}

/* accessibility */
.trainer-card:focus-visible{
  outline:2px solid rgba(0,0,0,.35);
  outline-offset:4px;
}

.trainer-card:focus-visible .trainer-card__overlay{
  opacity:1;
  transform:translateY(0);
}

/* mobile — overlay always visible */
@media (max-width: 960px){
  .trainer-card__overlay{
    opacity:1;
    transform:none;
  }
}
/* =========================
   PRICING CARDS
   ========================= */

.pricing-cards{
  background:#fff;
  color:#111;
}

.pricing-cards__head{
  max-width: 760px;
  margin-bottom: 28px;
}

.pricing-cards__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing:.01em;
  line-height:1.1;
  font-size: clamp(30px,3vw,44px);
}

.pricing-cards__lead{
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:#555;
}
.pricing-cards__warn{
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  padding: 1.5rem;
}

/* CARD */
.pricing-card{
  display: flex;
  flex-direction: column;
  height:100%;
  border-radius:26px;
  padding:28px 26px 24px;
  background:#f3f4f5;
}

.pricing-card--featured{
  background:#fff;
  box-shadow:
    0 16px 44px rgba(0,0,0,.10),
    0 4px 10px rgba(0,0,0,.06);
}

.pricing-card__title{
  margin:0 0 12px;
  font-size:22px;
  font-weight:700;
}

.pricing-card__desc{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.6;
  color:#555;
}

/* list */
.pricing-card__list{
  display:grid;
}

.pricing-card__row{
  display:grid;
  grid-template-columns: 22px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-top:1px solid rgba(0,0,0,.12);
}

.pricing-card__row:first-child{
  border-top:0;
}

.pricing-card__n{
  font-size:16px;
  color:rgba(0,0,0,.35);
}

.pricing-card__name{
  font-size:16px;
  color:#333;
}

.pricing-card__price{
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  background-color: antiquewhite;
  border-radius: 1rem;
  padding: 0 1rem 0 1rem;
}

/* actions */
.pricing-card__actions{
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 18px;
  font-size: 16px;
}

.pricing-card__actions .btn{
  width: 100%;
}

/* mobile */
@media (max-width:640px){
  .pricing-card{
    border-radius:22px;
    padding:24px 20px;
  }

  .pricing-card__actions .btn{
    width:100%;
  }
}
/* =========================
   REVIEWS (aligned with "for-who" cards)
   ========================= */

.reviews{
  background:#fff;
  color:#111;
}

.reviews__head{
  margin-bottom: 28px;
}
.reviews__lead{
  margin: 0;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}
.reviews__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(30px, 3vw, 44px);
}

/* slider arrows */
.reviews-slider{
  position: relative;
}

.reviews-slider__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;

  background: rgba(255,255,255,.92);
  box-shadow:
    0 10px 26px rgba(0,0,0,.10),
    0 2px 6px rgba(0,0,0,.06);

  display:flex;
  align-items:center;
  justify-content:center;

  transition: transform .15s ease, opacity .15s ease;
}

.reviews-slider__nav--prev{ left: -16px; }
.reviews-slider__nav--next{ right: -16px; }

.reviews-slider__nav:hover{
  transform: translateY(-50%) scale(1.03);
}

@media (max-width: 960px){
  .reviews-slider__nav--prev{ left: 10px; }
  .reviews-slider__nav--next{ right: 10px; }
}

/* dots calmer */
.reviews-slider__dots > * > a{
  width: 8px;
  height: 8px;
  background: rgba(0,0,0,.18);
}
.reviews-slider__dots > .uk-active > a{
  background: rgba(0,0,0,.55);
}

/* ---- review card (same vibe as "for-who") ---- */
.review-mini{
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 40px 40px;
  border-radius: 22px;
  background: #f3f4f5;
}

.review-mini__avatar{
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 14px;      /* как иконки в "for-who" */
  overflow: hidden;
  background: #f3f4f6;

  display: flex;
  align-items: center;
  justify-content: center;
}

.review-mini__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.review-mini__content{
  flex: 1;
  min-width: 0;
}

.review-mini__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.review-mini__name{
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}

.review-mini__sub{
  margin-top: 2px;
  font-size: 15px;
  color: #4b4b4b;
}

.review-mini__stars{
  display: inline-flex;
  gap: 4px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.review-mini__star{
  font-size: 1.7rem;
  color: #b9b9b9; /* спокойное золото */
}
.review-mini__star.active{
  color: #d2b46a; /* спокойное золото */
}
.review-mini__text{
  position: relative;
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.7;
  color: #444;

  max-height: 5.4em;
  overflow: hidden;
}

.review-full__text{
  position: relative;
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.7;
  color: #444;

}

.review-mini__fade{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 2.1em;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgb(243, 244, 245))
}

.review-mini__more{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(0,0,0,.62);
}

.review-mini__more:hover{
  color: rgba(0,0,0,.92);
}
.review-full__text{
  animation: fadeIn .25s ease;
}

@keyframes fadeIn{
  from{
    opacity:0;
    transform: translateY(4px);
  }
  to{
    opacity:1;
    transform:none;
  }
}

/* ---- 2GIS image only ---- */
.reviews-2gis{
  display: block;
  text-decoration: none;
}

.reviews-2gis img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px; /* если сама картинка без скругления — будет аккуратно */
}

/* optional: very light hover */
.reviews-2gis:hover img{
  filter: brightness(0.98);
}

/* mobile tweaks */
@media (max-width: 640px){
  .review-mini{
    border-radius: 18px;
    padding: 16px;
  }

  .review-mini__name{
    font-size: 17px;
  }

  .review-mini__text{
    font-size: 14px;
  }
  .review-full__text{
    font-size: 14px;
  }
}
/* =========================
   STUDIO MEDIA (tiles desktop, slider mobile)
   ========================= */

.studio-media{
  background:#fff;
  color:#111;
}

.studio-media__head{
  margin: 0 0 26px;
}

.studio-media__title{
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(30px, 3vw, 44px);
}
.studio-media__lead{
  margin: 0;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}
/* =========================
   DESKTOP/TABLET TILES
   ========================= */

.studio-tiles__grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 110px;
  gap: 16px;
}

.studio-tiles__tile{
  position: relative;
  display: block;

  grid-column: span 2;
  grid-row: span 3;

  border-radius: 22px;
  overflow: hidden;
  background: #f3f4f6;

  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.04);

  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.studio-tiles__tile--tall{
  grid-row: span 6;
}

.studio-tiles__tile img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.studio-tiles__tile:hover{
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(0,0,0,.08),
    0 4px 10px rgba(0,0,0,.06);
}

.studio-tiles__tile:hover img{
  transform: scale(1.06);
}

@media (max-width: 960px){
  .studio-tiles__grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 105px;
    gap: 14px;
  }

  .studio-tiles__tile{
    grid-column: span 2;
    grid-row: span 3;
  }

  .studio-tiles__tile--tall{
    grid-row: span 5;
  }
}

/* =========================
   MOBILE SLIDER (UIkit-safe)
   ========================= */

/* НЕ переопределяем .uk-slider-items как flex/gap — иначе ломается swipe */
.studio-carousel__items{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* 1 слайд = 100% ширины */
.studio-carousel__item{
  width: 100%;
  box-sizing: border-box;
  padding-right: 12px; /* воздух между слайдами */
}

.studio-carousel__card{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4; /* вертикальные фото */
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;

  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.04);
}

.studio-carousel__card img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* arrows */
.studio-carousel__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;

  background: rgba(255,255,255,.95);
  box-shadow:
    0 10px 26px rgba(0,0,0,.10),
    0 2px 6px rgba(0,0,0,.06);

  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-carousel__nav--prev{ left: 10px; }
.studio-carousel__nav--next{ right: 10px; }

/* dots */
.studio-carousel__dots{
  margin-top: 16px !important;
}

.studio-carousel__dots > * > a{
  width: 7px;
  height: 7px;
  background: rgba(0,0,0,.18);
}

.studio-carousel__dots > .uk-active > a{
  background: rgba(0,0,0,.55);
}
/* =========================
   FAQ v2 (card-style, premium)
   ========================= */

.faq2{
  background:#fff;
  color:#111;
}

.faq2__head{
  margin: 0 0 26px;
}

.faq2__title{
  margin: 0 0 10px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  font-size: clamp(30px, 3vw, 44px);
}

.faq2__lead{
  margin: 0;
  color:#555;
  font-size: 18px;
  line-height: 1.7;
}

/* list layout */
.faq2__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

/* item card */
.faq2__item{
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.04);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.faq2__item:hover{
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(0,0,0,.08),
    0 4px 10px rgba(0,0,0,.06);
}

/* question */
.faq2__q{
  padding: 18px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  text-decoration: none;
  color: #111;
}

/* kill default UIkit triangle */
.faq2__q::before{
  display:none !important;
}

.faq2__q-text{
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}

/* right icon (chevron in a pill) */
.faq2__q-icon{
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f3f4f6;
  position: relative;
}

.faq2__q-icon::after{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(0,0,0,.45);
  border-bottom: 2px solid rgba(0,0,0,.45);
  transform: translate(-50%,-55%) rotate(45deg);
  transition: transform .2s ease, border-color .2s ease;
}

/* answer */
.faq2__a{
  padding: 0 18px 18px;
}

.faq2__a p{
  margin: 0;
  color:#444;
  font-size: 15px;
  line-height: 1.75;
  max-width: 80ch;
}

/* open state */
.uk-open .faq2__q{
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
}

.uk-open .faq2__q-icon{
  background: #eceff3;
}

.uk-open .faq2__q-icon::after{
  transform: translate(-50%,-45%) rotate(-135deg);
  border-color: rgba(0,0,0,.6);
}

/* mobile */
@media (max-width: 640px){
  .faq2__lead{
    font-size: 14px;
  }

  .faq2__item{
    border-radius: 18px;
  }

  .faq2__q{
    padding: 16px;
  }

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

  .faq2__a{
    padding: 0 16px 16px;
  }

  .faq2__a p{
    font-size: 14px;
  }
}
/* =========================
   FINAL CTA
   ========================= */

.final-cta{
  background: linear-gradient(180deg, #14181f 0%, #0f1319 100%);
  color: #fff;
  padding: clamp(72px, 8vw, 120px) 0;
}

.final-cta__inner{
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* title */
.final-cta__title{
  margin: 0 0 32px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.15;
  font-size: clamp(28px, 3.5vw, 44px);
}

/* actions */
.final-cta__actions{
  display: flex;
  justify-content: center;
}

/* button enhancement */
.btn--large{
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 999px;
}

/* hover for dark bg */
.final-cta .btn--primary{
  background: #fff;
  color: #111;
}

.final-cta .btn--primary:hover{
  background: #f1f1f1;
}

/* mobile */
@media (max-width: 640px){
  .final-cta__title{
    font-size: 24px;
  }

  .btn--large{
    width: 100%;
    max-width: 320px;
  }
}
/* =========================
   FOOTER (DARK)
   ========================= */

.site-footer{
  background: linear-gradient(180deg, #14181f 0%, #0f1319 100%);
  color: rgba(255,255,255,.85);
  padding: 60px 0 28px;
  border-radius: 5rem 5rem 0 0;
}

/* subtle divider from page */
.site-footer{
  border-top: 1px solid rgba(255,255,255,.08);
}

/* logo */
.site-footer__logo img{
  filter: brightness(0) invert(1);
  opacity: .95;
}

/* description */
.site-footer__desc{
  margin: 16px 0 0;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
}

/* section titles */
.site-footer__title{
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin: 6px 0 16px;
}

/* menu */
.site-footer__menu{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer__link{
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  color: rgba(255,255,255,.65);
  transition: color .2s ease;
}

.site-footer__link:hover{
  color: #fff;
}

.site-footer__menu .is-active > a{
  color: #fff;
  font-weight: 600;
}

/* contacts */
.site-footer__contacts{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.site-footer__label{
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 2px;
}

.site-footer__text{
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}

/* social icons */
.site-footer__social{
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.site-footer__soc{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: transform .2s ease, background .2s ease;
}

.site-footer__soc:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
}

/* bottom row */
.site-footer__bottom{
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer__copyright{
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

.site-footer__meta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__dot{
  color: rgba(255,255,255,.3);
}

/* mobile */
@media (max-width: 640px){
  .site-footer{
    padding: 48px 0 24px;
  }

  .site-footer__desc{
    max-width: none;
  }
}
@media (min-width: 960px){ /* @m */
  .uk-width-70\@m{ width: 70%; }
  .uk-width-30\@m{ width: 30%; }
}
/* =========================
   OFFCANVAS MENU
   ========================= */

.offcanvas-menu{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 24px;
}

/* logo */
.offcanvas-menu__head{
  margin-bottom: 24px;
}

.offcanvas-menu__logo img{
  filter: brightness(0) invert(1); /* если темный фон */
}

/* nav */
.offcanvas-menu__nav{
  flex: 0;
}

.offcanvas-menu__list > li > a{
  font-size: 18px;
  padding: 10px 0;
}

/* footer */
.offcanvas-menu__footer{
  padding-top: 20px;

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

.offcanvas-menu__phone{
  font-size: 1.3rem;
  font-weight:600;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  text-align: center;
}

.offcanvas-menu__phone:hover{
  color: #fff;
}

.offcanvas-menu__cta{
  width: 100%;
  text-align: center;
  padding-top:10px;
  padding-bottom:10px;
}
.trial-modal {
    width: 420px;
    box-shadow: 0 30px 80px rgba(0,0,0,.12);
}

.trial-form .uk-input,
.trial-form .uk-select,
.trial-form .uk-textarea {
    border-radius: 12px;
    border: 1px solid #eee;
    transition: .25s;
}

.trial-form .uk-input:focus,
.trial-form .uk-select:focus,
.trial-form .uk-textarea:focus {
    border-color: #f2b880;
    box-shadow: 0 0 0 3px rgba(242,184,128,.15);
}

.trial-btn {
    border-radius: 14px;
    background: #d6995e;
    transition: .25s;
}

.trial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242,184,128,.35);
    background-color: #212121;
}
.policy {
    display: flex;
    align-items: flex-start;   /* ключевой момент */
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.policy .uk-checkbox {
    margin-top: 3px;           /* микро-выравнивание */
    flex-shrink: 0;
}

.policy a {
    text-decoration: underline;
}

.trainer-card {
    cursor: pointer;
}

.trainer-card__action {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
}

.trainer-modal {
  max-width: 1080px !important;
  width: calc(100% - 40px);
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.trainer-popup {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
}

.trainer-popup__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  min-height: 720px;
}

.trainer-popup__media {
  position: relative;
  min-height: 100%;
  background: #f4f1ed;
  overflow: hidden;
}

.trainer-popup__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.trainer-popup__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.62) 0%,
    rgba(17, 17, 17, 0.26) 35%,
    rgba(17, 17, 17, 0.06) 60%,
    rgba(17, 17, 17, 0) 78%
  );
  pointer-events: none;
}

.trainer-popup__logo {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  width: 150px;
  height: 56px;
  background: url("/assets/media/images/logo-new.svg") no-repeat left center / contain;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.trainer-popup__name-overlay {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  color: #fff;
}

.trainer-popup__role {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.trainer-popup__name {
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 500;
  color: #fff;
  text-wrap: balance;
}

.trainer-popup__content {
  padding: 42px 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.trainer-popup__meta {
  margin-bottom: 18px;
}

.trainer-popup__meta span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: #8a8a8a;
}

.trainer-popup__meta b {
  display: block;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
  color: #363636;
}

.trainer-popup__meta--quote {
  margin-bottom: 22px;
  padding: 18px 20px;
  background: #f7f5f2;
  border: 1px solid rgba(0,0,0,.04);
  border-left: 3px solid #ddd4ca;
  border-radius: 14px;
}

.trainer-popup__meta--quote b {
  font-size: 16px;
  line-height: 1.65;
}

.trainer-popup__section {
  margin-top: 22px;
}

.trainer-popup__section h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  color: #1f1f1f;
}

.trainer-popup__text {
  font-size: 16px;
  line-height: 1.75;
  color: #5a5a5a;
}

.trainer-popup__text p {
  margin: 0 0 12px;
}

.trainer-popup__text p:last-child {
  margin-bottom: 0;
}

.trainer-popup__text ul,
.trainer-popup__text ol {
  margin: 0;
  padding-left: 22px;
}

.trainer-popup__text li {
  margin-bottom: 8px;
}

.trainer-popup__actions {
  margin-top: 30px;
}

.trainer-popup__actions .uk-button {
  min-height: 54px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.trainer-popup__actions .uk-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.trainer-modal .uk-modal-close-default {
  top: 18px;
  right: 18px;
  padding: 10px;
  color: rgba(255,255,255,.85);
  z-index: 5;
}

.trainer-modal .uk-modal-close-default:hover {
  color: #fff;
}

@media (max-width: 1199px) {
  .trainer-popup__grid {
    grid-template-columns: 360px 1fr;
  }

  .trainer-popup__media img {
    min-height: 680px;
  }

  .trainer-popup__content {
    padding: 36px 34px 32px;
  }

  .trainer-popup__name {
    font-size: 34px;
  }
}

@media (max-width: 959px) {
  .trainer-modal {
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .trainer-popup__grid {
    grid-template-columns: 1fr;
  }

  .trainer-popup__media {
    min-height: 520px;
  }

  .trainer-popup__media img {
    min-height: 520px;
    height: 520px;
  }

  .trainer-popup__content {
    padding: 28px 22px 24px;
  }

  .trainer-popup__logo {
    width: 132px;
    height: 48px;
    top: 22px;
    left: 22px;
  }

  .trainer-popup__name-overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .trainer-popup__name {
    font-size: 30px;
  }

  .trainer-modal .uk-modal-close-default {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 639px) {
  .trainer-modal {
    width: calc(100% - 16px);
    border-radius: 20px;
  }

  .trainer-popup__media {
    min-height: 420px;
  }

  .trainer-popup__media img {
    height: 420px;
    min-height: 420px;
  }

  .trainer-popup__logo {
    width: 116px;
    height: 42px;
    top: 18px;
    left: 18px;
  }

  .trainer-popup__name-overlay {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .trainer-popup__role {
    font-size: 11px;
  }

  .trainer-popup__name {
    font-size: 26px;
  }

  .trainer-popup__content {
    padding: 22px 18px 20px;
  }

  .trainer-popup__meta b {
    font-size: 17px;
  }

  .trainer-popup__meta--quote {
    padding: 16px 16px;
    border-radius: 12px;
  }

  .trainer-popup__meta--quote b {
    font-size: 16px;
  }

  .trainer-popup__section {
    margin-top: 18px;
  }

  .trainer-popup__section h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .trainer-popup__text {
    font-size: 15px;
    line-height: 1.7;
  }

  .trainer-popup__actions {
    margin-top: 24px;
  }

  .trainer-popup__actions .uk-button {
    min-height: 50px;
    border-radius: 12px;
    font-size: 14px;
  }
}
.trainer-popup__experience-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 8px;
    padding: 16px 18px;
    background: #f7f4ef;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.04);
    border-left: 3px solid #ddd4ca;
}

.trainer-popup__experience-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ebe2d7;
    color: #6f6254;
    font-size: 24px;
    font-weight: 500;
}

.trainer-popup__experience-card-title {
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8b847d;
}

.trainer-popup__experience-card-value {
    margin-top: 4px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    color: #2f2f2f;
}

.trainer-popup__directions-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 22px 0 8px;
    padding: 16px 18px;
    background: #f7f4ef;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.04);
    border-left: 3px solid #ddd4ca;
}

.trainer-popup__directions-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ebe2d7;
    color: #6f6254;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.trainer-popup__directions-card-title {
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8b847d;
}

.trainer-popup__directions-card-text {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.65;
    color: #444;
}

.trainer-popup__directions-card-text p {
    margin: 0 0 8px;
}

.trainer-popup__directions-card-text p:last-child {
    margin-bottom: 0;
}

.trainer-popup__directions-card-text ul,
.trainer-popup__directions-card-text ol {
    margin: 0;
    padding-left: 18px;
}

.trainer-popup__directions-card-text li {
    margin-bottom: 6px;
}

.trainer-popup__education-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 22px 0 8px;
    padding: 16px 18px;
    background: #f7f4ef;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.04);
    border-left: 3px solid #ddd4ca;
}

.trainer-popup__education-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ebe2d7;
    color: #6f6254;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.trainer-popup__education-card-title {
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8b847d;
}

.trainer-popup__education-card-text {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.65;
    color: #444;
}

.trainer-popup__education-card-text p {
    margin: 0 0 8px;
}

.trainer-popup__education-card-text p:last-child {
    margin-bottom: 0;
}

.trainer-popup__education-card-text ul,
.trainer-popup__education-card-text ol {
    margin: 0;
    padding-left: 18px;
}

.trainer-popup__education-card-text li {
    margin-bottom: 6px;
}
/* контейнер кнопки */
.trainer-popup__actions {
  margin-top: 32px;
}

/* основная кнопка */
.trainer-popup__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  min-height: 58px;
  padding: 16px 20px 16px 22px;

  border-radius: 16px;
  text-decoration: none;

  background: #d6995e;
  color: #2f241d;

  box-shadow:
    0 10px 24px rgba(120, 92, 67, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.28);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

/* hover */
.trainer-popup__btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 16px 32px rgba(120, 92, 67, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.32);

  color: #2f241d;
  text-decoration: none;
}

/* active */
.trainer-popup__btn:active {
  transform: translateY(0);
}

/* текст кнопки */
.trainer-popup__btn-text {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .01em;
  color: white;
  text-transform: uppercase;
}

/* круглая иконка справа */
.trainer-popup__btn-icon {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: rgba(255,255,255,0.25);
  color: #fff;

  transition: transform .2s ease, background .2s ease;
}

/* движение иконки */
.trainer-popup__btn:hover .trainer-popup__btn-icon {
  transform: translateX(3px);
  background: rgba(255,255,255,0.35);
}

/* фокус для accessibility */
.trainer-popup__btn:focus-visible {
  outline: none;

  box-shadow:
    0 0 0 3px rgba(255,255,255,0.6),
    0 0 0 6px rgba(120,92,67,0.25),
    0 16px 32px rgba(120,92,67,0.2);
}
.rules-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rules-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  
  padding: 20px 20px 18px;

  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 33, 33, 0.06);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255,255,255,0.7);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background .2s ease;
}


.rules-card__icon {
  width: 42px;
  height: 42px;
  margin-top: 2px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: linear-gradient(180deg, #f5f1eb 0%, #efe7dc 100%);
  color: #8b6f52;
  font-size: 17px;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.rules-card__content {
  flex: 1;
  min-width: 0;
}

.rules-card__title {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: #333;
}

.rules-card__text {
  font-size: 16px;
  line-height: 1.65;
  color: #555;
}

.hero-nav__address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 1199px) {
  .rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .rules-grid {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rules-card {
    min-height: auto;
    padding: 16px;
    border-radius: 16px;
    gap: 12px;
  }

  .rules-card__icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 10px;
  }

  .rules-card__title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .rules-card__text {
    font-size: 16px;
    line-height: 1.6;
  }
}
.directions__badge{
  position:absolute;
  top:16px;
  left:16px;

  padding:6px 12px;

  font-size:12px;
  font-weight:500;

  color:#fff;

  border-radius:999px;

  background:linear-gradient(
      180deg,
      rgba(0,0,0,.55),
      rgba(0,0,0,.35)
  );

  backdrop-filter:blur(8px);
}