.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); gap: 64px; align-items: center; min-height: 700px; padding-block: 72px 96px; }
.hero-copy h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(52px, 5.2vw, 82px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.hero-copy p { max-width: 650px; margin-bottom: 36px; color: var(--muted); font-size: clamp(18px, 1.5vw, 23px); line-height: 1.5; letter-spacing: -.02em; }
.hero-media { position: relative; width: 100%; aspect-ratio: 16 / 9; align-self: start; overflow: hidden; border-radius: 28px; background: var(--accent); }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.play-button { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; width: 96px; height: 96px; place-items: center; border: 0; border-radius: 50%; color: var(--text); background: var(--dark); box-shadow: 0 12px 36px rgba(0,0,0,.24); transform: translate(-50%, -50%); cursor: pointer; transition: transform .2s ease; }
.play-button img { width: 55px; height: 55px; }
.play-button:hover { transform: translate(-50%, -50%) scale(1.06); }
.hero-video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.hero-media.is-playing > img, .hero-media.is-playing > .play-button { display: none; }

.section-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-header-left { justify-content: flex-start; }
.section-header h2, .faq-heading h2 { max-width: 900px; margin: 0; font-size: clamp(42px, 4.8vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.section-header > a { padding-bottom: 4px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.section-header > a:hover { color: var(--text); border-color: var(--text); }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
#services { padding-bottom: 0; }
.service-card { display: grid; grid-template-columns: 150px 1fr 48px; gap: 24px; align-items: center; min-height: 190px; padding: 20px; border: 1px solid var(--border); border-radius: 28px; background: var(--surface); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.service-card:hover { border-color: var(--service-accent); background: var(--surface-hover); }
.service-card > img { width: 150px; height: 150px; border-radius: 32%; }
.service-card > img, .service-card > div { align-self: start; }
.service-card > div { padding-top: 8px; }
.service-card h3 { margin: 0 0 8px; font-size: 29px; line-height: 1; letter-spacing: -.035em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.service-card[href="/ru/services/domvpn"] { --service-accent: #00CAFF; }
.service-card[href="/ru/services/show"] { --service-accent: #FFC300; }
.service-card[href="/ru/services/dommarket"] { --service-accent: #FF8400; }
.service-card[href="/ru/services/dompay"] { --service-accent: #81FF85; }
.service-card[href^="https://social"] { --service-accent: #F9DDD9; }
.service-card:hover .service-arrow { color: var(--dark); border-color: var(--service-accent); background: var(--service-accent); transform: rotate(6deg); }
.service-card-wide { grid-column: 1 / -1; }

.section.features-section { border-top: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); }
.features article { min-height: 240px; padding: 32px 28px; border-right: 1px solid var(--border); }
.features article:last-child { border-right: 0; }
.features img { display: block; width: 84px; height: 84px; margin-bottom: 24px; }
.features h3 { margin-bottom: 40px; font-size: 20px; letter-spacing: -.02em; }
.features p { margin: 0; color: var(--muted); font-size: 14px; }

.membership { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; padding: 64px; border-radius: 28px; color: var(--dark); background: var(--accent); }
.section.membership-section { padding-block: 0; border-top: 0; }
.section.membership-section + .section { border-top: 0; }
.membership-copy h2 { max-width: 650px; margin-bottom: 42px; font-size: clamp(42px, 4.6vw, 66px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.membership-note { display: none; }
.benefits { margin: 0; padding: 0; list-style: none; counter-reset: benefit; }
.benefits li { position: relative; padding: 22px 0 22px 54px; border-bottom: 1px solid rgba(0,0,0,.22); font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; counter-increment: benefit; }
.benefits li:last-child { border-bottom: 0; }
.benefits li::before { position: absolute; top: 26px; left: 0; color: rgba(0,0,0,.52); content: counter(benefit, decimal-leading-zero); font-size: 12px; font-weight: 800; line-height: 1.35; letter-spacing: .02em; }
.benefits span { color: rgba(0,0,0,.55); font-size: 13px; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.audience-grid article { min-height: 330px; padding: 36px 32px; border-right: 1px solid var(--border); }
.audience-grid article:last-child { border-right: 0; }
.audience-grid h3 { max-width: 380px; margin-bottom: 80px; font-size: 29px; line-height: 1.1; letter-spacing: -.035em; }
.audience-grid p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

@media (min-width: 821px) {
  .audience-grid article { display: grid; grid-template-rows: 64px auto; align-content: start; row-gap: 48px; }
  .audience-grid h3 { margin: 0; }
}

.referral { min-height: 420px; padding: 64px; overflow: hidden; border-radius: 28px; color: var(--dark); background: var(--accent); }
.section.referral-section { padding-block: 0; border-top: 0; }
.section.referral-section + .section { border-top: 0; }
.referral-copy { display: flex; align-items: flex-start; flex-direction: column; }
.referral h2 { max-width: 780px; margin: 0; font-size: clamp(48px, 4.8vw, 72px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.referral p { max-width: 560px; margin: 28px 0 0; color: var(--dark); font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.referral p strong, .referral p span { display: inline; color: inherit; font: inherit; letter-spacing: inherit; }
.referral .button { flex-shrink: 0; min-width: 170px; margin-top: 36px; }
.referral .button-cta { width: auto; min-width: 230px; }

.reviews-list { display: grid; gap: 16px; }
.review-thread { padding: 32px; border-radius: 28px; background: var(--surface); }
.review-main { position: relative; }
.review-meta { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding-right: 130px; }
.review-avatar { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: var(--dark); background: var(--accent); font-size: 17px; font-weight: 700; }
.review-meta h3 { overflow: hidden; margin: 0 0 3px; font-size: 17px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.review-meta time { color: var(--muted); font-size: 12px; }
.review-badge { position: absolute; top: 28px; right: 0; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.review-stars { position: absolute; top: 2px; right: 0; margin: 0; color: var(--accent); font-size: 15px; line-height: 1; letter-spacing: .08em; }
.review-copy { max-width: 900px; margin: 18px 0 0 62px; color: var(--text); font-size: 17px; line-height: 1.6; letter-spacing: -.015em; }
.review-copy-muted { color: var(--muted); }
.review-actions { display: flex; align-items: center; gap: 22px; margin: 26px 0 0 62px; color: var(--muted); font-size: 12px; }
.review-actions button { padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .2s ease; }
.review-actions button:hover, .review-actions button[aria-expanded="true"] { color: var(--accent); }
.review-replies { display: grid; gap: 12px; margin: 28px 0 0 62px; }
.review-replies[hidden], .review-form[hidden] { display: none; }
.review-reply { padding: 20px 22px; border-left: 2px solid var(--accent); border-radius: 0 18px 18px 0; background: rgba(255,255,255,.025); }
.review-reply header { display: flex; align-items: center; gap: 10px; }
.review-reply-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--dark); background: var(--accent); font-size: 12px; font-weight: 700; }
.review-reply strong { font-size: 14px; }
.review-reply p { margin: 14px 0 0 44px; font-size: 14px; line-height: 1.55; }
.review-reply small { display: block; margin: 12px 0 0 44px; color: var(--muted); font-size: 11px; }
.review-form { display: grid; gap: 12px; margin: 24px 0 0 62px; padding: 20px; border-radius: 18px; background: var(--background); }
.review-form label { font-size: 13px; font-weight: 700; }
.review-form textarea { width: 100%; min-height: 104px; resize: vertical; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; outline: 0; color: var(--text); background: var(--surface); font: inherit; font-size: 14px; line-height: 1.5; transition: border-color .2s ease; }
.review-form textarea:focus { border-color: var(--accent); }
.review-form > div { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.review-form > div small { margin-right: auto; color: var(--muted); font-size: 11px; }
.review-form-cancel { padding: 8px 0; border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .2s ease; }
.review-form-cancel:hover { color: var(--text); }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.questions { border-top: 1px solid var(--border); }
.questions details { border-bottom: 1px solid var(--border); }
.questions summary { position: relative; display: grid; grid-template-columns: 1fr 42px; gap: 22px; align-items: center; min-height: 90px; padding: 22px 0; font-size: 18px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary span { position: relative; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; }
.questions summary span::before, .questions summary span::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: var(--text); content: ""; transform: translate(-50%,-50%); }
.questions summary span::after { transform: translate(-50%,-50%) rotate(90deg); }
.questions details[open] summary span { background: var(--accent); }
.questions details[open] summary span::before { background: var(--dark); }
.questions details[open] summary span::after { display: none; }
.questions details > p { max-width: 850px; margin: -4px 64px 28px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 1199px) {
  .membership { grid-template-columns: 1fr; gap: 0; }
  .membership-copy { display: contents; }
  .membership-copy h2 { order: 1; margin-bottom: 32px; }
  .benefits { order: 2; margin-bottom: 38px; }
  .membership-copy .button { order: 3; width: 100%; justify-self: stretch; }
}

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy h1 { order: 1; }
  .hero-media { order: 2; margin-bottom: 28px; }
  .hero-copy p { order: 3; }
  .hero-copy .button { order: 4; }
  .service-card { grid-template-columns: 110px 1fr 44px; min-height: 150px; padding: 20px; }
  .service-card > img { width: 110px; height: 110px; }
  .membership { gap: 48px; padding: 48px; }
  .faq { gap: 60px; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; padding-block: 64px 82px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features article:nth-child(2) { border-right: 0; }
  .features article:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .membership { grid-template-columns: 1fr; gap: 0; }
  .membership-copy { display: contents; }
  .membership-copy h2 { order: 1; margin-bottom: 32px; }
  .benefits { order: 2; margin-bottom: 38px; }
  .membership-copy .button { order: 3; justify-self: start; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .audience-grid article:last-child { border-bottom: 0; }
  .audience-grid h3 { margin-bottom: 36px; }
  .referral { min-height: auto; padding: 48px; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-block: 52px 64px; }
  .hero-copy h1 { font-size: 47px; }
  .hero-copy p { font-size: 17px; }
  .hero-copy .button { width: 100%; }
  .membership-copy .button-cta { width: 100%; padding-inline: 20px; font-size: 16px; white-space: nowrap; }
  .membership-period { display: none; }
  .membership-note { display: block; order: 4; justify-self: stretch; margin: 12px 0 0; color: rgba(0,0,0,.58); font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; }
  .hero-media { border-radius: 18px; }
  .play-button { width: 81px; height: 81px; }
  .section-header { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
  .section-header h2, .faq-heading h2 { font-size: 43px; }
  .service-card { grid-template-columns: 84px 1fr 38px; gap: 14px; min-height: 112px; padding: 14px; border-radius: 16px; }
  .service-card > img { width: 84px; height: 84px; }
  .service-card h3 { font-size: 23px; }
  .service-card p { display: block; font-size: 12px; line-height: 1.4; }
  .features { grid-template-columns: 1fr; }
  .features article { min-height: 205px; border-right: 0; border-bottom: 1px solid var(--border); }
  .features article:last-child { border-bottom: 0; }
  .features img { width: 75px; height: 75px; margin-bottom: 20px; }
  .features h3 { margin-bottom: 28px; }
  .membership { padding: 28px 20px; border-radius: 18px; }
  .membership-copy h2 { font-size: 42px; }
  .benefits li { font-size: 16px; }
  .audience-grid article { padding-inline: 20px; }
  .audience-grid h3 { font-size: 27px; }
  .referral { padding: 32px 22px; border-radius: 18px; }
  .referral h2 { font-size: 42px; }
  .referral p { font-size: 16px; }
  .referral .button { width: 100%; }
  .review-thread { padding: 24px 20px; border-radius: 18px; }
  .review-meta { grid-template-columns: 42px minmax(0, 1fr); padding-right: 90px; }
  .review-avatar { width: 42px; height: 42px; }
  .review-badge { top: 27px; padding: 0; border: 0; border-radius: 0; font-size: 8px; line-height: 1; letter-spacing: .06em; }
  .review-stars, .review-copy, .review-actions, .review-replies, .review-form { margin-left: 0; }
  .review-stars { font-size: 14px; letter-spacing: .05em; }
  .review-copy { font-size: 15px; }
  .review-actions { flex-wrap: wrap; gap: 14px 20px; }
  .review-reply { padding: 18px; }
  .review-form { padding: 16px; }
  .review-form > div { align-items: stretch; flex-direction: column; gap: 10px; }
  .review-form > div small { margin-right: 0; }
  .review-form .button { width: 100%; }
  .questions summary { min-height: 82px; font-size: 16px; }
  .questions details > p { margin-right: 0; font-size: 14px; }
}
