/* /founder — стиль в эстетике agent-target.com (v6, типографический)
   Палитра: фон #131d29, акцент #fab61f, текст #ffffff
   Шрифты: Montserrat 200-900 (display + body), Manrope 200-400 (subhead)
   Типографический дизайн: крупный H1 (с переносом), фото справа,
   декоративные номера 01-05, контраст начертаний, воздух
   Без рамок и фоновых панелей (правила 0.7.123, 0.7.91)
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  background: #131d29;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: #fab61f;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- SITE HEADER + BURGER ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #131d29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.site-header__logo:hover {
  opacity: 0.85;
}

.site-header__logo img {
  width: 44px;
  height: 44px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.site-header__brand {
  white-space: nowrap;
}

.burger-wrap {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 1000;
  pointer-events: none;
}

.burger {
  pointer-events: auto;
  background: rgba(19, 29, 41, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: rgba(250, 182, 31, 0.3);
  touch-action: manipulation;
  border-radius: 12px;
}

.burger:hover {
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.08);
}

.burger:active {
  opacity: 0.6;
  background: rgba(250, 182, 31, 0.15);
}

.burger:hover {
  opacity: 0.7;
}

.burger:active {
  opacity: 0.5;
}

.burger__line {
  display: block;
  width: 28px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.2s ease;
}

.burger:hover .burger__line {
  background: #fab61f;
}

.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Site menu (full-screen overlay) ---------- */

.site-menu-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  pointer-events: none;
}

.site-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #131d29;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(250, 182, 31, 0.08), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(250, 182, 31, 0.05), transparent 50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.site-menu-wrap.is-open {
  pointer-events: auto;
}

.site-menu.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.site-menu__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.site-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-menu__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-menu__list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-menu__link {
  display: block;
  padding: 22px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.25s ease;
}

.site-menu__link:hover {
  color: #fab61f;
  padding-left: 8px;
}

.site-menu__foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-menu__tagline {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
}

.site-menu__tagline strong {
  color: #fab61f;
  font-weight: 700;
}

.site-menu__socials {
  display: flex;
  gap: 12px;
}

.site-menu__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-menu__socials a:hover {
  border-color: #fab61f;
  color: #fab61f;
}

body.menu-open {
  overflow: hidden;
}

/* ---------------- HERO ---------------- */

.hero {
  padding: 88px 0 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__text {
  max-width: 720px;
}

.hero__eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fab61f;
  margin-bottom: 24px;
}

.hero__role {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 8px;
}

.hero__lead--plain {
  margin-top: 16px;
}

.hero__lead {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0;
  max-width: 33em;
  margin: 28px 0 0;
  text-wrap: pretty;
}

.hero__lead + .hero__lead {
  margin-top: 16px;
}

.hero__quote {
  position: relative;
  margin: 32px auto 0;
  padding-left: 22px;
  border-left: 3px solid #fab61f;
  max-width: 580px;
  width: 100%;
}

.hero__quote p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: -0.005em;
  margin: 0;
}

.hero__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 8.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fab61f;
  margin-bottom: 24px;
}

.hero__sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  letter-spacing: -0.005em;
}

.hero__photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  margin: 32px auto 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: contrast(1.03) saturate(0.98);
}

/* ---------------- SECTION TITLE ---------------- */

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 40px;
  position: relative;
  padding-left: 18px;
}

.section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 2px;
  background: #fab61f;
}

/* ---------------- REVIEWS ---------------- */

.reviews {
  padding: 48px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reviews__list {
  list-style: none;
}

.review {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.review:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.review__author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fab61f;
  margin-bottom: 12px;
}

.review__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review__head .review__author {
  margin-bottom: 0;
}

.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  user-select: none;
  object-fit: cover;
  object-position: center;
  background: rgba(255, 255, 255, 0.08);
}

.review__avatar--1 { background: #fab61f; }
.review__avatar--2 { background: #8a96a8; color: #ffffff; }
.review__avatar--3 { background: #d49b6a; }
.review__avatar--4 { background: #b87a8a; color: #ffffff; }
.review__avatar--5 { background: #6f9aa8; color: #ffffff; }

.review__text {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  max-width: 780px;
}

/* ---------------- REVIEWS SLIDER ---------------- */

.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-slider__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 8px 0 20px;
}

.reviews-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.reviews-slider__dots {
  display: flex;
  gap: 10px;
}

.reviews-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.reviews-slider__dot.active {
  background: #fab61f;
  transform: scale(1.25);
}

.reviews-slider__dot:hover {
  background: rgba(250, 182, 31, 0.6);
}

.reviews-slider__arrow {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: all 0.2s ease;
}

.reviews-slider__arrow:hover {
  border-color: #fab61f;
  color: #fab61f;
}

/* ---------------- PRODUCTS ---------------- */

.products {
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.products__list {
  list-style: none;
}

.product {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.product h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.product p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.product h3 a {
  color: #fab61f;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.product h3 a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.product h3 a:focus-visible {
  outline: 2px solid #fab61f;
  outline-offset: 4px;
  border-radius: 3px;
}

.product__desc {
  color: rgba(255, 255, 255, 0.78);
}

.product__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #fab61f;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product__hint:hover { opacity: 1; transform: translateX(2px); }

/* ---------------- SPEAKING ---------------- */

.speaking {
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.speaking__intro {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 32px;
}


/* ---------------- SPEAKING CAROUSEL ---------------- */

.carousel {
  position: relative;
  margin-top: 28px;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 14px;
}

.carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.carousel__slide img {
  display: block;
  height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

/* зум-скриншот — горизонтальный, во всю ширину слайда */
.carousel__slide--wide img.is-wide {
  height: auto;
  width: 100%;
  max-width: 1000px;
  object-fit: contain;
}

/* афиша со спикерами — целиком, по высоте кадра */
.carousel__slide img.is-poster {
  height: 440px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

/* селфи с отзывом — вертикальное, видно целиком */
.carousel__slide img.is-tall {
  height: 440px;
  width: auto;
}

@media (max-width: 700px) {
  .carousel__slide { gap: 10px; }
  .carousel__slide img { height: 52vw; }
  .carousel__slide img.is-tall { height: 60vw; }
  .carousel__slide img.is-poster { height: 60vw; }
  .carousel__slide--wide img.is-wide { height: auto; width: 100%; }
}

.carousel__arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(19, 29, 41, 0.82);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel__arrow:hover {
  background: #fab61f;
  color: #131d29;
}

.carousel__arrow--prev { left: -6px; }
.carousel__arrow--next { right: -6px; }

.carousel__arrow[disabled] { opacity: 0.25; cursor: default; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.carousel__dot.is-active {
  background: #fab61f;
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .carousel__arrow { width: 38px; height: 38px; font-size: 22px; }
  .carousel__arrow--prev { left: 2px; }
  .carousel__arrow--next { right: 2px; }
}

.speaking__list {
  list-style: none;
}

.speaking__item {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.speaking__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.speaking__item h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  margin-bottom: 6px;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.speaking__item p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------------- FINAL CTA ---------------- */

.final-cta {
  padding: 72px 0 88px;
}

.final-cta__container {
  max-width: 760px;
  text-align: left;
  margin: 0 auto;
}

.final-cta__text--second {
  margin-top: 12px;
}

.final-cta__text {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}

/* ---------------- CTA BUTTON ---------------- */

.cta {
  display: inline-block;
  padding: 18px 44px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
}

.cta--primary {
  background: #fab61f;
  color: #131d29;
}

.cta--primary:hover {
  background: #ffd76b;
  opacity: 1;
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  padding: 32px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.site-footer__legal,
.site-footer__policy {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__policy {
  margin-top: 6px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(250, 182, 31, 0.4);
}

.site-footer a:hover {
  color: #fab61f;
  opacity: 1;
}

/* ---------------- DESKTOP >= 860px ---------------- */

@media (min-width: 861px) {
  .container,
  .hero__container {
    padding: 0 40px;
  }

  .hero {
    padding: 104px 0 96px;
  }

  .hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    grid-template-areas:
      "head  quote"
      "photo quote";
    column-gap: 64px;
    row-gap: 36px;
    align-items: start;
  }

  .hero__text {
    grid-area: head;
    max-width: none;
  }

  .hero__photo {
    grid-area: photo;
    display: block;
    max-width: 420px;
    margin: 0;
  }

  .hero__quote {
    grid-area: quote;
    margin: 0;
    max-width: none;
    align-self: center;
  }

  .section__title {
    margin-bottom: 48px;
  }

  .reviews {
    padding: 72px 0 80px;
  }

  .products {
    padding: 80px 0 88px;
  }

  .product {
    padding: 36px 0;
  }

  .speaking {
    padding: 80px 0 88px;
  }

  .speaking__item {
    padding: 28px 0;
  }

  .final-cta {
    padding: 88px 0 104px;
  }
}


/* Ровный блок описаний в проектах */
.product__desc {
  max-width: 62ch;
  text-wrap: pretty;
  hyphens: none;
}

@media (max-width: 700px) {
  .product__desc {
    max-width: none;
    text-wrap: pretty;
  }
  .product h3 {
    font-size: 19px;
    line-height: 1.3;
  }
  .product {
    padding: 24px 0;
  }
}


/* Hero: на узких экранах жёсткие переносы мешают */
@media (max-width: 700px) {
  .hero__lead br {
    display: none;
  }
  .hero__lead {
    font-size: 16px;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.88);
    max-width: none;
    text-wrap: pretty;
  }
  .hero__lead--plain {
    margin-top: 14px;
  }
}
