.agt-form__consent {
    display: flex;
    gap: 5px;
}

.agt, .agt * { box-sizing: border-box; }
.agt {
  --coral: #F2896F;
  --coral-dark: #e9714f;
  --ink: #252525;
  --ink-2: #2A2A2A;
  --gray: #787878;
  --gray-2: #949494;
  --line: #E6E6E6;
  --soft: #F1F1F1;
  --soft-2: #F7F7F7;
  --beige-1: #F0E1D0;
  --beige-2: #E1C7AA;
  --num: #D3C0AB;
  --form-bg: #FBF5ED;
  --brown: #6B3900;
  --green: #2E9E5B;

  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
:where(.agt a) { color: inherit; text-decoration: none; }
:where(.agt) img { max-width: 100%; display: block; }
:where(.agt) :is(h1, h2, h3, p) { margin: 0; }
.agt button { font-family: inherit; cursor: pointer; border: none; }
.agt button:not(.agt-btn) { background: none; }

.agt-container { width: min(100% - 48px, 1680px); margin-inline: auto; }
.agt-nowrap { white-space: nowrap; }

.agt-ic { width: 18px; height: 18px; flex: none; }

.agt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 99px; font-weight: 500; transition: background .18s, transform .18s;
  white-space: nowrap;
}
.agt-btn--coral { background: var(--coral); color: var(--ink); padding: 12px 34px; font-size: 22px; }
.agt-btn--coral:hover { background: var(--coral-dark); }
.agt-btn--sm { font-size: 16px; padding: 9px 26px; width: 100%; }
.agt-btn--dark { background: var(--ink); color: #fff; border-radius: 4px; padding: 12px 40px; font-size: 16px; }
.agt-btn--dark:hover { background: #000; }

/* ==================== ХЕДЕР ==================== */
.agt-topbar { background: var(--soft); font-size: 16px; }
.agt-topbar__row { display: flex; align-items: stretch; justify-content: space-between; height: 40px; }
.agt-topnav { display: flex; gap: 32px; align-items: stretch; }
.agt-topnav__link { color: var(--ink); font-weight: 500; display: flex; align-items: center; }
.agt-topnav__link:hover { color: var(--coral-dark); }
.agt-topnav__link--accent { background: var(--coral); color: var(--ink); padding: 0 16px; margin: 0 -2px; }
.agt-topnav__link--accent:hover { color: #fff; }
.agt-topinfo { align-self: center; }
.agt-topinfo { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 16px; }
.agt-topinfo__item { display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.agt-topinfo__item--phone { font-weight: 600; }
.agt-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); flex: none; }

.agt-midbar { background: #fff; }
.agt-midbar__row { display: flex; align-items: center; gap: 28px; height: 110px; }
.agt-logo img { height: 52px; width: auto; }
.agt-search { flex: 1; position: relative; max-width: 947px; }
.agt-search__input {
  width: 100%; height: 45px; border: 1px solid var(--line); border-radius: 4px;
  padding: 0 46px 0 16px; font-family: inherit; font-size: 16px; color: var(--ink);
}
.agt-search__input::placeholder { color: var(--gray-2); }
.agt-search__input:focus { outline: none; border-color: var(--coral); }
.agt-search__btn { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-2); }
.agt-search__btn svg { width: 18px; height: 18px; }
.agt-actions { display: flex; align-items: center; gap: 20px; }
.agt-actions__btn { position: relative; color: var(--ink); display: inline-flex; }
.agt-actions__btn:hover { color: var(--coral-dark); }
.agt-actions__btn svg { width: 24px; height: 24px; }
.agt-cart-badge {
  position: absolute; top: -7px; right: -8px; background: #EC1B4D; color: #fff;
  font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.agt-burger { display: none; width: 30px; height: 22px; flex-direction: column; justify-content: space-between; }
.agt-burger span { height: 3px; background: var(--ink); border-radius: 2px; transition: .25s; }

.agt-catbar { background: var(--coral); }
.agt-catbar__row { display: flex; align-items: center; gap: 30px; height: 60px; flex-wrap: wrap; }
.agt-catbar__row { position: relative; }
.agt-catbar__link { color: var(--ink); font-size: 18px; position: relative; }
.agt-catbar__link:hover { color: #fff; }
.agt-catbar__link--active { color: #fff; font-weight: 500; }
.agt-catbar__link--active::after {
  content: ''; position: absolute; left: 0; bottom: -19px; width: 22px; height: 3px;
  background: #fff; border-radius: 2px;
}


.agt-crumbs { background: var(--soft-2); }
.agt-crumbs .agt-container { display: flex; align-items: center; gap: 12px; height: 50px; font-size: 14px; font-weight: 300; color: var(--gray); }
.agt-crumbs__cur { color: var(--ink); }

/* ==================== HERO ==================== */
.agt-hero { position: relative; overflow: hidden; }
.agt-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,.85)), url('../images/hero-bg-statues.jpg') center/cover no-repeat;
}
.agt-hero__inner { position: relative; display: flex; align-items: flex-start; min-height: 660px; }
.agt-hero__left { position: relative; z-index: 3; padding-top: 130px; width: 42%; max-width: 560px; }
.agt-hero__title { font-size: 50px; font-weight: 600; line-height: 1.15; }
.agt-hero__lead { margin-top: 30px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.agt-hero__lead b { font-weight: 700; }
.agt-hero__left .agt-btn { margin-top: 34px; }

.agt-hero__art { position: absolute; inset: 0; z-index: 1; }
.agt-hero__blob { position: absolute; left: 46.9%; bottom: 0; width: 48%; max-width: 806px; height: auto; z-index: 1; }
/* контейнер = rectangle Gem1 из Figma; background с точным imageTransform (кроп без искажения) */
.agt-hero__phones {
  position: absolute; left: 61%; top: 5%; width: 26.5%; max-width: 445px; height: 95%;
  background-image: url('../images/hero-iphones-orig.png');
  background-repeat: no-repeat;
  background-size: 166.75% 157.88%;
  background-position: 100% 22.26%;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.2)); z-index: 3;
}
.agt-hero__shard { position: absolute; left: 22.3%; bottom: 0; width: 22.4%; max-width: 376px; aspect-ratio: 376 / 134; object-fit: cover; object-position: center top; z-index: 2; opacity: .62; filter: brightness(1.5) contrast(.82) saturate(.7); }
.agt-hero__badge {
  position: absolute; left: 32.7%; top: 42.3%; width: 22.4%; max-width: 376px; z-index: 4;
  background: rgba(255,255,255,.55); backdrop-filter: blur(6px);
  border-radius: 24px; padding: 22px 26px; display: grid; gap: 16px;
}
.agt-hero__badge p { position: relative; padding-left: 27px; font-size: 17px; line-height: 1.32; color: var(--brown); letter-spacing: -.01em; }
.agt-hero__badge b { font-weight: 700; }
.agt-star { position: absolute; left: 0; top: 3px; width: 15px; height: 15px; color: var(--coral-dark); }

/* ==================== ПРЕИМУЩЕСТВА ==================== */
.agt-adv { padding: 100px 0 0; }
.agt-adv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.agt-card { background: var(--soft); border-radius: 24px; padding: 40px 30px; }
.agt-card__icon { width: 60px; height: 60px; object-fit: contain; object-position: left; margin-bottom: 34px; }
.agt-card__title { font-size: 24px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.agt-card__title--lg { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.agt-card__text { margin-top: 22px; font-size: 16px; color: var(--ink); line-height: 1.4; letter-spacing: -.01em; }
.agt-card--dark { background: var(--ink-2); color: #fff; position: relative; overflow: hidden; padding: 40px 30px; }
.agt-card--dark .agt-card__title { color: #fff; }
.agt-card__sub { margin-top: 22px; font-size: 18px; font-weight: 500; color: #fff; line-height: 1.35; max-width: 175px; position: relative; z-index: 1; }
.agt-card__macbook { position: absolute; right: -4px; bottom: 4px; width: 60%; max-width: 238px; }

/* ==================== КАК ЭТО РАБОТАЕТ ==================== */
.agt-eyebrow { display: flex; align-items: center; gap: 24px; }
.agt-eyebrow span { font-size: 16px; color: var(--gray-2); white-space: nowrap; }
.agt-eyebrow i { flex: 1; max-width: 190px; height: 1px; background: var(--soft); }
.agt-steps { padding: 90px 0; }
.agt-steps__row { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; margin-top: 30px; }
.agt-steps__title { grid-column: span 1; font-size: 34px; font-weight: 600; line-height: 1.35; max-width: 460px; }
.agt-steps__list { grid-column: 2 / span 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.agt-step__num { font-size: 84px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--num); display: block; }
.agt-step__text { margin-top: 26px; font-size: 18px; line-height: 1.4; letter-spacing: -.01em; }

/* ==================== ФОРМА ==================== */
.agt-formsec { padding: 40px 0; }
.agt-formsec__box {
  background: var(--form-bg); border-radius: 24px; padding: 56px 60px;
  position: relative; display: flex; align-items: flex-start; gap: 60px;
}
.agt-formsec__intro { width: 30%; max-width: 470px; flex: none; }
.agt-formsec__title { font-size: 34px; font-weight: 600; line-height: 1.35; }
.agt-formsec__lead { margin-top: 22px; font-size: 16px; color: var(--ink); line-height: 1.4; max-width: 300px; }
.agt-form { width: 565px; flex: none; }
.agt-form__row { display: flex; gap: 15px; margin-bottom: 15px; max-width: 435px; }
.agt-form .agt-input--area, .agt-form__row--captcha { max-width: 435px; }
.agt-input {
  width: 100%; height: 45px; border: 1px solid var(--line); border-radius: 4px; background: #fff;
  padding: 0 16px; font-family: inherit; font-size: 16px; color: var(--ink);
}
.agt-input::placeholder { color: var(--gray-2); }
.agt-input:focus { outline: none; border-color: var(--coral); }
.agt-input--area { height: 90px; padding: 12px 16px; resize: vertical; margin-bottom: 15px; }
.agt-form__row--captcha .agt-captcha { width: 212px; height: 45px; border-radius: 4px; object-fit: cover; flex: none; }
.agt-form__submit { display: flex; align-items: center; gap: 20px; margin-top: 5px; }
.agt-form__submit .agt-btn--dark { flex: none; width: 303px; }
.agt-form__consent { font-size: 10px; font-weight: 500; color: var(--gray); line-height: 1.4; flex: 1; }
.agt-formsec__watch { position: absolute; right: 56px; top: -52px; width: 24.5%; max-width: 400px; z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); }

/* ==================== FAQ ==================== */
.agt-faq { padding: 70px 0 100px; }
.agt-faq__row { display: grid; grid-template-columns: 1fr 2.6fr; gap: 40px; margin-top: 30px; align-items: start; }
.agt-faq__title { font-size: 34px; font-weight: 600; line-height: 1.35; }
.agt-faq__list { display: grid; gap: 10px; }
.agt-acc { background: var(--soft); border-radius: 24px; overflow: hidden; }
.agt-acc__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 34px; text-align: left; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
}
.agt-acc__sign { position: relative; width: 20px; height: 20px; flex: none; }
.agt-acc__sign::before, .agt-acc__sign::after {
  content: ''; position: absolute; background: var(--ink); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.agt-acc__sign::before { width: 18px; height: 2.5px; }
.agt-acc__sign::after { width: 2.5px; height: 18px; transition: transform .25s; }
.agt-acc.is-open .agt-acc__sign::after { transform: translate(-50%, -50%) scaleY(0); }
.agt-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.agt-acc__body > p { overflow: hidden; }
.agt-acc.is-open .agt-acc__body { grid-template-rows: 1fr; }
.agt-acc__body p { padding: 0 34px; font-size: 18px; line-height: 1.5; color: #3a3a3a; font-weight: 400; }
.agt-acc.is-open .agt-acc__body p { padding-bottom: 32px; padding-top: 4px; }

/* ==================== ФУТЕР ==================== */
.agt-footer { background: var(--ink); color: #fff; padding: 76px 0; margin-top: 20px; }
.agt-footer__grid { display: grid; grid-template-columns: 1.15fr 0.65fr 0.95fr 660px; gap: 40px; }
.agt-logo--light img { height: 52px; }
.agt-footer__about { margin-top: 30px; font-size: 16px; line-height: 1.5; color: #fff; max-width: 300px; }
.agt-footer__policy { display: inline-block; margin-top: 28px; font-size: 16px; font-weight: 300; color: var(--coral); letter-spacing: .005em; }
.agt-socials { display: flex; gap: 20px; margin-top: 30px; }
.agt-socials a { color: #fff; }
.agt-socials svg { width: 24px; height: 24px; }
.agt-socials a:hover { color: var(--coral); }
.agt-footer__menu { display: grid; gap: 13px; align-content: start; }
.agt-footer__menu a { font-size: 16px; font-weight: 300; color: #fff; }
.agt-footer__menu a:hover { color: var(--coral); }
.agt-footer__contacts { display: grid; gap: 17px; align-content: start; }
.agt-fc { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #fff; font-weight: 300; letter-spacing: -.01em; }
.agt-fc .agt-ic { margin-top: 2px; }
.agt-fc--phone { font-weight: 600; }
.agt-fc--addr { max-width: 210px; line-height: 1.35; }
.agt-footer__contacts .agt-btn { margin-top: 6px; max-width: 190px; }
.agt-footer__extra { display: grid; gap: 20px; align-content: start; }
.agt-footer__map img { width: 100%; border-radius: 8px; }
.agt-ratings { display: flex; gap: 18px; }
.agt-ratings img { height: 52px; width: auto; border-radius: 4px; }

/* ==================== ПОПАП ==================== */
.agt-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.agt-modal[hidden] { display: none; }
.agt-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.agt-modal__card {
  position: relative; background: var(--green); color: #fff; border-radius: 16px;
  width: 470px; max-width: 100%; padding: 48px 44px 40px; text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.3); animation: agt-pop .25s ease;
}
@keyframes agt-pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.agt-modal__close { position: absolute; top: 20px; right: 20px; color: rgba(255,255,255,.85); }
.agt-modal__close svg { width: 26px; height: 26px; }
.agt-modal__check svg { width: 54px; height: 40px; margin: 6px auto 22px; display: block; }
.agt-modal__title { font-size: 30px; font-weight: 700; }
.agt-modal__text { margin-top: 20px; font-size: 20px; line-height: 1.4; }
.agt-modal__timer { margin-top: 52px; font-size: 15px; color: rgba(255,255,255,.7); }
.agt-modal__count { margin-top: 6px; font-size: 34px; font-weight: 500; color: rgba(255,255,255,.8); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1366px) {
  .agt-hero__title { font-size: 44px; }
  .agt-topnav { gap: 22px; }
  .agt-catbar__row { gap: 22px; }
  .agt-card__title--lg { font-size: 28px; }
}

@media (max-width: 1200px) {
  .agt-topbar__row { flex-wrap: wrap; height: auto; padding: 8px 0; gap: 8px 18px; }
  .agt-hero__left { width: 52%; }
  .agt-hero__badge { position: static; width: auto; max-width: none; margin-top: 24px; }
  .agt-hero__art { position: relative; width: 100%; }
}

/* Планшет — бургер, 2 колонки карточек, шаги вертикально */
@media (max-width: 992px) {
  .agt-topbar { display: none; }
  .agt-midbar__row { height: 84px; gap: 18px; }
  .agt-logo img { height: 44px; }
  .agt-actions { gap: 16px; }
  .agt-burger { display: flex; }
  .agt-catbar { display: none; }

  .agt-hero__inner { flex-direction: column; }
  .agt-hero__left { width: 100%; max-width: none; padding-top: 40px; padding-bottom: 10px; }
  .agt-hero__art { position: relative; inset: auto; min-height: 440px; margin-top: 10px; }
  .agt-hero__blob { width: 92%; top: 6%; right: 0; max-width: none; }
  .agt-hero__phones { width: 44%; right: 10%; top: 4%; }
  .agt-hero__shard { width: 28%; left: 6%; }
  .agt-hero__badge { left: 4%; bottom: 6%; top: auto; width: 58%; max-width: 360px; }

  .agt-adv { padding: 70px 0 0; }
  .agt-adv__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .agt-steps__row { grid-template-columns: 1fr; gap: 44px; }
  .agt-steps__title { max-width: 520px; }
  .agt-steps__list { grid-column: 1; grid-template-columns: 1fr; gap: 40px; }
  .agt-step { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 24px; max-width: 620px; }
  .agt-step__text { margin-top: 0; }

  .agt-formsec__box { flex-direction: column; align-items: stretch; padding: 44px 44px; gap: 28px; }
  .agt-formsec__intro { width: 100%; max-width: none; }
  .agt-form { width: 100%; max-width: 435px; }
  .agt-formsec__watch { width: 230px; right: 26px; top: 50%; transform: translateY(-46%); }

  .agt-faq__row { grid-template-columns: 1fr; gap: 24px; }

  .agt-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .agt-hero__art { position: relative; min-height: 0; margin-top: 14px; }
  .agt-hero__blob { position: relative; width: 100%; max-width: 440px; margin: 0 auto; right: auto; top: auto; }
  .agt-hero__phones { position: absolute; top: 4%; right: 6%; width: 46%; }
  .agt-hero__shard { display: none; }
  .agt-hero__badge { position: static; width: auto; max-width: none; margin-top: 18px; }
  .agt-formsec__box { padding: 34px 22px; }
  .agt-formsec__watch { display: none; }
  .agt-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .agt-footer__map img { max-width: 480px; }
}

/* Мобилка */
@media (max-width: 560px) {
  .agt { font-size: 15px; }
  .agt-midbar__row { height: 70px; gap: 12px; }
  .agt-logo img { height: 38px; }
  .agt-actions { gap: 12px; }
  .agt-actions__btn svg { width: 22px; height: 22px; }
  .agt-search__input { height: 42px; }

  .agt-hero__title { font-size: 30px; }
  .agt-hero__lead { font-size: 17px; margin-top: 20px; }
  .agt-btn--coral { font-size: 18px; padding: 11px 26px; }
  .agt-hero__left { padding-top: 28px; }
  .agt-hero__phones { width: 50%; right: 5%; }
  .agt-hero__badge { padding: 20px 22px; }
  .agt-hero__badge p { font-size: 15px; }

  .agt-adv__grid { grid-template-columns: 1fr; gap: 18px; }
  .agt-card { padding: 30px 24px; }
  .agt-card--dark { min-height: 240px; }
  .agt-card__macbook { width: 60%; }

  .agt-steps { padding: 60px 0; }
  .agt-steps__title { font-size: 26px; }
  .agt-step { grid-template-columns: 1fr; gap: 6px; }
  .agt-step__num { font-size: 64px; }
  .agt-step__text { font-size: 16px; }

  .agt-formsec__title, .agt-faq__title { font-size: 26px; }
  .agt-form__row { flex-direction: column; }
  .agt-form__row--captcha { flex-direction: row; align-items: center; }
  .agt-form__row--captcha .agt-captcha { width: 150px; }
  .agt-form__submit { flex-direction: column; align-items: stretch; gap: 14px; }
  .agt-btn--dark, .agt-form__submit .agt-btn--dark { width: 100%; }

  .agt-acc__head { padding: 22px 22px; font-size: 15px; gap: 14px; }
  .agt-acc__body p { padding: 0 22px; font-size: 16px; }
  .agt-acc.is-open .agt-acc__body p { padding-bottom: 24px; }

  .agt-faq { padding: 50px 0 70px; }
  .agt-footer { padding: 56px 0; }
  .agt-modal__card { padding: 40px 26px 32px; }
  .agt-modal__title { font-size: 26px; }
  .agt-modal__text { font-size: 18px; }
}

/* Выезжающее меню категорий (бургер) */
.agt-mobmenu {
  position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transition: .25s;
}
.agt-mobmenu.is-open { opacity: 1; visibility: visible; }
.agt-mobmenu__panel {
  position: absolute; top: 0; right: 0; width: min(320px, 84%); height: 100%;
  background: #fff; padding: 76px 26px 30px; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s;
  display: flex; flex-direction: column; gap: 4px;
}
.agt-mobmenu.is-open .agt-mobmenu__panel { transform: translateX(0); }
.agt-mobmenu a { padding: 13px 6px; font-size: 17px; border-bottom: 1px solid var(--soft); color: var(--ink); }
.agt-mobmenu__close { position: absolute; top: 22px; right: 22px; width: 28px; height: 28px; color: var(--ink); }
.agt-mobmenu__close svg { width: 28px; height: 28px; }
.agt-mobmenu__label { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-2); margin: 14px 6px 2px; }
