/* Эксперт-Плюс — brother landing · teal variant */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0b1f3a;
  --navy-light: #132d52;
  --navy-soft: #1a3a5c;
  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --teal-glow: rgba(13, 148, 136, 0.35);
  --mint: #ecfdf5;
  --mint-dark: #d1fae5;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --gold: #c8922a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 32px 64px rgba(11, 31, 58, 0.18);
  --font: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 72px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn--accent {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--white);
  box-shadow: 0 6px 24px var(--teal-glow);
}

.btn--accent:hover {
  box-shadow: 0 10px 32px var(--teal-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  transition: box-shadow 0.3s;
}

.header.is-scrolled { box-shadow: 0 4px 24px rgba(11, 31, 58, 0.1); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.header__logo img {
  height: clamp(36px, 8vw, 48px);
  width: auto;
  max-width: min(220px, 58vw);
  object-fit: contain;
}

.header__nav {
  display: none;
  gap: 24px;
  flex: 1;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.header__nav a:hover { color: var(--teal); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header__phone {
  display: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.header__drawer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(11, 31, 58, 0.08);
  padding: 8px 16px 16px;
}

.header__drawer[hidden] { display: none; }

.header__drawer a {
  padding: 14px 8px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

@media (min-width: 900px) {
  .header__nav { display: flex; }
  .header__phone { display: block; }
  .header__burger { display: none; }
  .header__drawer { display: none !important; }
}

.hero {
  position: relative;
  padding: 88px 0 48px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(13, 148, 136, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(20, 184, 166, 0.15), transparent),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 50%, #0a2847 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: start;
}

.hero__left {
  display: grid;
  gap: 24px;
}

@media (max-width: 959px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__left { order: 2; }
  .hero__banner { order: 1; }

  .hero__left {
    display: contents;
  }

  .hero__copy { order: 3; }
  .hero__form-card { order: 2; }
}

.hero__banner {
  margin: 0;
  line-height: 0;
}

.hero__banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero__copy {
  max-width: 640px;
}

@media (min-width: 960px) {
  .hero {
    padding: 96px 0 56px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 32px 48px;
    align-items: center;
  }

  .hero__left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .hero__copy {
    grid-column: 1;
  }

  .hero__form-card {
    grid-column: 2;
  }

  .hero__banner {
    justify-self: end;
  }

  .hero__banner img {
    width: auto;
    max-width: 340px;
    height: auto;
    margin-left: auto;
  }

  /* Форма рядом — кнопки слева лишние */
  .hero__actions {
    display: none;
  }
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero__pitch {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 480px;
}

.hero__list {
  list-style: none;
  margin-bottom: 20px;
}

.hero__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.hero__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-bright);
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero__form-card {
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.hero__form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin-bottom: 6px;
}

.hero__form-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.marquee {
  background: var(--teal);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 32px;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.benefits {
  padding: 56px 0;
  background: var(--mint);
}

.benefits__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .benefits__grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--mint-dark);
}

.benefit img { margin-bottom: 12px; }

.benefit h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--navy);
}

.benefit p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

.section-head { margin-bottom: 32px; text-align: center; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-title--light { color: var(--white); }

.section-sub {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

.feeds {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

.feed-module {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 148, 136, 0.12);
  position: relative;
  overflow: hidden;
}

.feed-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal));
}

.feed-module__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-left: 8px;
}

.feed-module__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--mint);
  border-radius: 16px;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}

.feed-module__icon--alt { background: #e0f2fe; }

.feed-module__tag {
  display: none;
}

.feed-module__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}

.feed-module__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .feed-module__grid { grid-template-columns: 1fr 1fr; }
}

.offer-card {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  scroll-margin-top: 96px;
}

.offer-card--featured {
  background: linear-gradient(145deg, var(--mint) 0%, var(--white) 100%);
  border-color: rgba(13, 148, 136, 0.2);
}

.offer-card.is-highlight {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow), var(--shadow-lg);
  transform: translateY(-4px);
}

.offer-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.offer-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
}

.offer-card__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.offer-card__badge--hot { background: var(--gold); }

.offer-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.offer-card p {
  font-size: 14px;
  color: var(--gray-600);
  flex: 1;
}

.offer-card ul {
  list-style: none;
  font-size: 13px;
  color: var(--gray-600);
}

.offer-card ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.offer-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.steps {
  padding: 72px 0;
  background: var(--navy);
  color: var(--white);
}

.steps .section-title { color: var(--white); }
.steps .section-sub { color: rgba(255, 255, 255, 0.65); }

.steps__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.steps__track::-webkit-scrollbar { display: none; }

.step {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.step img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.step__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-bright);
  opacity: 0.5;
}

.step h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 8px 0 6px;
}

.step p { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

@media (min-width: 960px) {
  .steps__track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
  .step { flex: none; }
}

.case {
  padding: 72px 0;
  background: var(--mint);
}

.case__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .case__inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.case__visual {
  transform: rotate(2deg);
}

.case__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 0 100%);
}

.case__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 10px;
}

.case__content h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.case__duel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.case__duel-item {
  flex: 1;
  min-width: 120px;
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.case__duel-item--bad {
  background: #fee2e2;
  border: 2px solid #fca5a5;
}

.case__duel-item--good {
  background: var(--mint-dark);
  border: 2px solid var(--teal);
}

.case__duel-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.case__duel-sum {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.case__duel-vs {
  font-weight: 800;
  color: var(--gray-400);
  font-size: 14px;
}

.case__meta {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.stats {
  padding: 48px 0;
  background: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}

.stat span:last-child {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
}

.form-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
}

.form-section__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 768px) {
  .form-section__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.form-section__info p {
  color: rgba(255, 255, 255, 0.75);
  margin: 12px 0 20px;
}

.form-section__phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-bright);
  margin-bottom: 8px;
}

.form-section__hint { font-size: 14px; color: rgba(255, 255, 255, 0.55); }

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form input,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--gray-800);
  outline: none;
}

.form input:focus,
.form select:focus { border-color: var(--teal); }

.form--main {
  background: rgba(255, 255, 255, 0.06);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form__note {
  font-size: 12px;
  color: var(--gray-600);
  text-align: center;
}

.form__note a { color: var(--teal); text-decoration: underline; }
.form__note--light { color: rgba(255, 255, 255, 0.55); }
.form__note--light a { color: var(--teal-bright); }

.form__status { font-size: 14px; text-align: center; min-height: 20px; }
.form__status.ok { color: #86efac; }
.form__status.err { color: #fca5a5; }

.faq {
  padding: 72px 0;
  background: var(--white);
}

.faq__list { max-width: 720px; margin: 32px auto 0; }

.faq__item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--gray-100);
}

.faq__item summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--gray-600);
}

.contacts {
  padding: 56px 0;
  background: var(--mint);
}

.contacts__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .contacts__grid { grid-template-columns: repeat(4, 1fr); }
}

.contacts__item h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin-bottom: 8px;
}

.contacts__item p { font-size: 15px; color: var(--navy); font-weight: 600; }
.contacts__item a:hover { color: var(--teal); }

.footer {
  padding: 32px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer__logo-link {
  display: inline-block;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
}

.footer__logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__links a:hover { color: var(--teal-bright); }

.footer__copy { font-size: 12px; opacity: 0.6; }

.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 190;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mobile-bar a {
  padding: 16px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

.mobile-bar__call {
  background: var(--white);
  color: var(--navy);
  border-top: 1px solid var(--gray-100);
}

.mobile-bar__order {
  background: var(--teal);
  color: var(--white);
}

@media (min-width: 768px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 300;
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
  .toast { bottom: 24px; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
