/* Layout measured against the supplied 1024 × 1536 desktop reference. */
:root {
  --font-heading: 'Inter', Arial, sans-serif;
  --bg-main: #0b0b0b;
  --bg-input: #252525;
  --border-card: rgba(244, 161, 39, .52);
  --primary-orange: #ffb600;
}
body {
  background-color: #0b0b0b;
  background-image:
    radial-gradient(ellipse 58% 440px at 23% 230px, #080808b8, transparent 90%),
    linear-gradient(to bottom, #09090959, #09090970 600px, #090909bd 1000px, #090909e0 1600px, #090909f5 2300px),
    url('assets/background-rocks-hq.webp');
  background-position: center top;
  background-size: auto, auto, 100% auto;
  background-repeat: no-repeat;
}
.hero-badge-tag, .hero-subtitle, .nav-link { text-shadow: 0 2px 8px #000; }
.section-title-wrap { background: radial-gradient(ellipse at left center, #090909e6, #09090966 65%, transparent 90%); }
.section-title { text-shadow: 0 2px 8px #000, 0 0 18px #000; }
.container { max-width: 1280px; padding-inline: 30px; }
.site-header { background: transparent; border: 0; backdrop-filter: none; position: relative; }
.header-container { height: 62px; padding-inline: 55px; }
.logo-main { font-size: 32px; font-weight: 900; letter-spacing: -1.5px; }
.logo-sub { font-size: 10px; letter-spacing: -.2px; font-weight: 400; color: #fff; margin-top: 5px; }
.nav-links { gap: 25px; }
.nav-link { font-size: 11px; color: white; }
.btn-header-telegram { border-color: #ffc400; background: transparent; padding: 10px 18px; font-size: 11px; }
.hero-section { padding: 7px 0 0; overflow: visible; }
.hero-grid { grid-template-columns: 45.5% 54.5%; gap: 0; align-items: center; padding-left: 55px; padding-right: 0; }
.hero-badge-tag { font-size: 12px; font-weight: 400; letter-spacing: 4px; margin-bottom: 8px; color: #fff; }
.hero-title { font-size: clamp(60px, 8.8vw, 112px); font-weight: 900; letter-spacing: -5px; line-height: .91; margin-bottom: 10px; }
.hero-title-orange { background-image: linear-gradient(#ffce00, #ffae00); filter: none; }
.hero-subtitle { font-size: clamp(15px, 2.04vw, 25px); line-height: 1.4; letter-spacing: 2px; color: #fff; font-weight: 500; max-width: 450px; margin-bottom: 22px; }
.hero-features-grid { gap: 10px; max-width: 430px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-badge-card { padding: 12px 5px; gap: 5px; border-radius: 6px; min-height: 88px; background: linear-gradient(120deg, #181818e6, #141414e6); border-color: #a46c2e; }
.feature-icon-wrapper { width: 32px; height: 32px; background: none; }
.feature-icon-wrapper svg { width: 29px; height: 29px; }
.feature-icon-wrapper svg, .process-icon svg, .benefit-icon svg { fill: none; color: #ffb600; }
.feature-badge-text { font-size: 11px; font-weight: 400; line-height: 1.15; }
.hero-visual-wrapper { margin: 0; max-width: none; align-self: end; padding-right: 12px; }
.hero-devices-img { width: 100%; height: auto; max-width: none; object-fit: contain; border-radius: 0; filter: drop-shadow(0 14px 12px #0007); mask-image: none; }
.hero-handwritten-badge { top: 8px; right: 24px; }
.hero-handwritten-badge .handwritten-text { font-size: clamp(22px, 2.5vw, 32px); line-height: .95; transform: rotate(-12deg); font-weight: 600; }
.hero-handwritten-badge .handwritten-arrow { width: 78px; margin-top: 5px; transform: rotate(-8deg); }
.valuation-section { padding: 0 0 16px; z-index: 5; }
.form-main-card { display: grid; grid-template-columns: 31% minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 14px; padding: 16px 18px 16px 26px; border-radius: 16px; background: linear-gradient(115deg, #2a1b0be8, #101010f2 45%, #151515ee); backdrop-filter: blur(8px); box-shadow: none; }
.form-main-card::before { display: none; }
.form-header-row { grid-column: 1; grid-row: 1 / 3; margin: 16px 0 85px; }
.form-title { font-size: clamp(25px, 3.05vw, 38px); letter-spacing: -1px; line-height: 1.08; margin-bottom: 16px; font-weight: 900; }
.form-title span { display: block; }
.form-title-orange { white-space: nowrap; }
.form-desc { color: white; font-size: 13px; line-height: 1.5; }
.category-selector-wrapper { grid-column: 2; grid-row: 1; margin: 0; display: grid; grid-template-columns: 1.15fr 1.85fr; gap: 10px; align-items: stretch; z-index: 20; }
.category-trigger-btn { grid-column: 1; grid-row: 1; padding: 8px 12px; font-size: 11px; border-radius: 8px; min-height: 48px; }
.category-trigger-btn .trigger-left { gap: 9px; }
.category-trigger-btn .chevron-icon { width: 10px; flex-shrink: 0; }
.category-trigger-btn.active-selected { box-shadow: none; }
.category-trigger-icon { flex-shrink: 0; }
.category-quick-tabs { grid-column: 2; display: flex; border: 1px solid #ffffff26; border-radius: 8px; }
.category-quick-tabs button { flex: 1; display: flex; gap: 9px; align-items: center; padding: 6px 9px; color: white; text-align: left; font-size: 11px; border-radius: 7px; }
.category-quick-tabs button + button { border-left: 1px solid #ffffff1a; }
.category-quick-tabs small { display: block; font-size: 8px; color: #ccc; margin-top: 4px; }
.category-quick-tabs button.selected { background: #ffb600; color: #111; }
.category-quick-tabs button.selected small { color: #333; }
.tab-device { font-size: 27px; }
#valuation-form { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 10px 16px; }
.dynamic-form-container { grid-column: 1; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; align-content: start; }
.dynamic-form-container .form-row { display: contents; }
.form-group { gap: 4px; min-width: 0; }
.form-group.full-width { grid-column: auto; }
.form-label { font-size: 10px; font-weight: 400; gap: 4px; }
.form-label-optional { font-size: 8px; }
.form-input, .form-select { height: 30px; padding: 5px 8px; font-size: 10px; border-radius: 7px; color: #eee; background-color: #252525; }
.phone-input-wrapper .form-input { padding-left: 26px; }
.phone-icon { left: 8px; width: 12px; }
.checkbox-pills-row { gap: 4px; flex-wrap: wrap; }
.checkbox-pill-label { padding: 4px; font-size: 9px; gap: 3px; }
.kit-picker { position: relative; min-width: 0; }
.kit-picker summary { display: block; list-style: none; cursor: pointer; height: 30px; border: 1px solid #ffffff26; border-radius: 7px; padding: 7px 22px 7px 8px; font-size: 10px; color: #aaa; background: #252525; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kit-picker summary::after { content: '⌄'; position: absolute; right: 9px; top: 4px; color: white; }
.kit-picker[open] .checkbox-pills-row { position: absolute; left: 0; right: 0; top: 34px; z-index: 10; padding: 10px; background: #202020; border: 1px solid #8c6c2d; border-radius: 7px; }
.photo-upload-container { grid-column: 2; grid-row: 1; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; margin: 0; gap: 10px; min-width: 0; background: #09090999; border-color: #c1a680; text-align: center; }
.photo-upload-info { flex-direction: column; gap: 8px; text-align: center; }
.photo-icon-box { width: 26px; height: 26px; }
.photo-icon-box svg { width: 24px; height: 24px; }
.photo-upload-text h4 { font-size: 12px; font-weight: 400; }
.photo-upload-text p { font-size: 9px; margin-top: 6px; }
.photo-thumbnails-row { width: 100%; gap: 4px; overflow: auto; justify-content: safe center; }
#photo-thumbnails { gap: 4px !important; }
.photo-thumb-item { width: 30px; height: 38px; border-radius: 4px; }
.photo-add-btn { width: 25px; height: 38px; font-size: 17px; }
.form-submit-container { grid-column: 2; grid-row: 2; margin: 0; gap: 4px; align-self: end; }
.btn-primary-submit { height: 42px; border-radius: 24px; font-size: 12px; text-transform: none; box-shadow: none; gap: 8px; }
.btn-primary-submit svg { width: 17px; height: 17px; }
.submit-subtext { font-size: 9px; }
.submission-error { color: #ffbf99; font-size: 12px; line-height: 1.5; text-align: center; }
.btn-primary-submit:disabled { opacity: .65; cursor: wait; }
.form-gift-box { grid-column: 1; grid-row: 2; align-self: end; margin: 0; padding: 12px; border: 1px solid #a46c2e; border-radius: 8px; font-size: 13px; background: #16120dd9; gap: 15px; }
.form-gift-box svg { width: 32px; height: 32px; flex-shrink: 0; }
.form-gift-box p { font-size: 13px; font-weight: 400; }
.section-buy, .section-process, .section-benefits { padding: 0 0 16px; }
.section-title-wrap { margin: 0 0 8px; padding-inline: 14px; }
.section-title { font-size: clamp(25px, 3.1vw, 38px); line-height: 1.15; font-weight: 900; letter-spacing: -.7px; }
.buy-cards-grid { gap: 9px; padding-inline: 8px; }
.buy-card { padding: 0; border-radius: 10px; background: #17120c; justify-content: flex-start; }
.buy-card-img-wrap { height: auto; aspect-ratio: 129 / 116; margin: 0; border-radius: 0; padding: 8px; flex-shrink: 0; }
.buy-card-img { object-fit: contain; object-position: center; }
.buy-card:hover .buy-card-img { transform: none; }
.buy-card-bottom { padding: 8px 34px 12px 10px; gap: 2px; min-height: 74px; align-items: flex-start; margin-top: auto; }
.buy-card-title { font-size: 14px; letter-spacing: -.4px; }
.buy-card-year { font-size: 12px; color: white; }
.buy-card-sub { font-size: 9px; color: #ddd; }
.buy-card-arrow { width: 20px; height: 20px; position: absolute; right: 10px; bottom: 12px; }
.buy-card:hover .buy-card-arrow svg { transform: none; }
.process-grid, .benefits-grid { gap: 14px; padding-inline: 8px; }
.process-card, .benefit-card { background: linear-gradient(120deg, #231a10e8, #161616f2 60%); border-radius: 7px; }
.process-card { padding: 12px; min-height: 118px; }
.process-top-row { gap: 22px; margin-bottom: 6px; }
.process-card-title { font-size: 13px; font-weight: 500; margin-left: 46px; margin-bottom: 4px; }
.process-card-desc { font-size: 10px; line-height: 1.3; margin-left: 46px; color: #ddd; }
.process-connector { top: 50%; right: -17px; width: 18px; height: 18px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0; line-height: 1; pointer-events: none; }
.process-connector svg { width: 18px; height: 18px; display: block; }
.benefit-card { padding: 12px 16px; align-items: center; gap: 15px; }
.benefit-info h4 { font-size: 14px; font-weight: 500; }
.benefit-info p { font-size: 10px; }
.benefit-card:nth-child(1) .benefit-info p, .benefit-card:nth-child(2) .benefit-info p, .benefit-card:nth-child(4) .benefit-info p { display: none; }
.benefit-icon { width: 42px; height: 42px; }
.benefit-icon svg { width: 40px; height: 40px; }
.section-stats { padding: 12px 5px 20px; }
.stats-card-main { padding: 10px 18px; min-height: 92px; border-radius: 13px; background: linear-gradient(110deg, #1c1812ed, #101010ef); gap: 18px; grid-template-columns: .8fr 2fr 1.35fr; }
.stats-logo-block .logo-main { font-size: 29px; }
.stats-logo-block .logo-sub { font-size: 9px; }
.stats-numbers-row { gap: 16px; padding-inline: 16px; }
.stat-item { align-items: flex-start; text-align: left; }
.stat-val { font-size: 19px; font-weight: 800; }
.stat-desc { text-transform: none; font-size: 12px; font-weight: 400; color: #fff; }
.stats-map-block { overflow: visible; aspect-ratio: auto; height: 72px; border-radius: 0; }
.russia-map-img { position: absolute; width: 112%; max-width: none; left: -6%; top: 50%; transform: translateY(-50%); height: auto; filter: drop-shadow(0 0 9px #ff940026); }
.map-caption { position: absolute; right: -9px; bottom: -1px; display: flex; align-items: center; gap: 7px; padding: 8px; color: white; background: #111; border: 1px solid #88704d; border-radius: 8px; font-size: 9px; line-height: 1.25; }
.map-caption svg { width: 22px; height: 27px; color: #ffb600; }
.site-footer { background: transparent; }
.section-reviews, .section-faq, .section-cta { padding-top: 24px; padding-bottom: 24px; }
.review-slide-card { flex: 0 0 calc((100% - var(--reviews-gaps, 48px)) / var(--reviews-visible, 4)); min-width: 0; max-width: none; }
.btn-carousel-nav { flex-shrink: 0; }
@media (min-width: 1101px) {
  .hero-content { padding-bottom: 28px; }
  .form-main-card { min-height: 335px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .hero-grid { min-height: 381px; height: auto; }
  .hero-visual-wrapper { height: auto; }
  .hero-content { align-self: start; padding-top: 18px; }
  .hero-title { line-height: .78; }
  .hero-title-white { transform: scaleX(1.16); transform-origin: left; }
  .hero-features-grid { max-width: 405px; }
  .hero-subtitle { max-width: 410px; font-size: 20px; }
  .stats-card-main { min-height: 92px; }
  .stats-numbers-row { padding-block: 0; }
  .form-main-card { min-height: 318px; }
  .benefits-grid { grid-template-columns: 1fr 1fr 1.2fr 1fr; }
  .benefit-info h4 { font-size: 13px; }
  .benefit-card { padding: 10px 13px; min-height: 76px; }
  .hero-grid { text-align: left; }
  .hero-features-grid { margin: 0; }
  .hero-visual-wrapper { width: 100%; margin: 0; }
  .hero-subtitle { margin-bottom: 18px; }
  .buy-cards-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .stats-card-main { text-align: left; }
  .stats-numbers-row { border-top: 0; border-bottom: 0; border-inline: 1px solid #ffffff25; }
  .hero-content { padding-bottom: 0; }
}
@media (max-width: 900px) {
  .process-connector { display: none; }
  body { background-size: auto, auto, auto 1700px; }
  .container { padding-inline: 20px; }
  .hero-grid { grid-template-columns: 1fr; padding-inline: 20px; gap: 20px; }
  .hero-content { text-align: center; }
  .hero-title { font-size: clamp(50px, 12vw, 90px); letter-spacing: -3px; }
  .hero-subtitle { max-width: 600px; margin: 14px auto 22px; font-size: 17px; }
  .hero-features-grid { margin: auto; }
  .hero-visual-wrapper { max-width: 580px; margin: auto; }
  .hero-handwritten-badge { right: 8px; top: 0; }
  .valuation-section { margin-top: 15px; }
  .form-main-card { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .form-header-row, .category-selector-wrapper, #valuation-form, .form-gift-box { grid-column: 1; grid-row: auto; margin: 0; }
  .form-title { font-size: 30px; }
  .form-title span { display: inline; }
  .form-header-row { margin: 0; }
  .form-gift-box { justify-content: center; }
  .stats-card-main { grid-template-columns: 1fr; text-align: center; }
  .stats-logo-block { align-items: center; }
  .stat-item { align-items: center; text-align: center; }
  .stats-map-block { max-width: 450px; width: 90%; height: auto; aspect-ratio: 2.8; margin: 10px auto; }
  .stats-numbers-row { border: 0; padding-block: 12px; }
  .section-buy, .section-process, .section-benefits { padding-top: 20px; }
  .buy-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-title-wrap { padding: 0; }
  .buy-card-title { font-size: 16px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .header-container { height: 68px; }
  .logo-main { font-size: 27px; }
  .hero-badge-tag { font-size: 10px; letter-spacing: 2px; }
  .hero-title { font-size: clamp(46px, 12vw, 67px); letter-spacing: -2px; }
  .hero-subtitle { font-size: 14px; letter-spacing: 1px; }
  .hero-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-badge-text { font-size: 12px; }
  .form-main-card { padding: 20px 14px; }
  .form-title { font-size: 27px; }
  .form-title-orange { white-space: normal; }
  .category-selector-wrapper { grid-template-columns: 1fr; }
  .category-quick-tabs { grid-column: 1; grid-row: 2; }
  .category-quick-tabs button { min-height: 48px; }
  .category-trigger-btn { font-size: 13px; }
  #valuation-form { grid-template-columns: minmax(0, 1fr); }
  .dynamic-form-container { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; gap: 12px; }
  .form-label { font-size: 12px; }
  .form-input, .form-select { height: 42px; font-size: 12px; }
  .form-label-optional { font-size: 10px; }
  .checkbox-pill-label { padding: 8px; font-size: 12px; }
  .kit-picker summary { height: 42px; font-size: 12px; padding-top: 12px; }
  .kit-picker summary::after { top: 9px; }
  .kit-picker[open] .checkbox-pills-row { top: 46px; }
  .photo-upload-container, .form-submit-container { grid-column: 1; grid-row: auto; }
  .photo-upload-container { padding: 18px; }
  .photo-thumbnails-row { justify-content: center; }
  .photo-thumb-item, .photo-add-btn { width: 40px; height: 48px; }
  .buy-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .process-grid, .benefits-grid { padding: 0; }
  .section-title { font-size: 27px; }
  .process-card-title, .benefit-info h4 { font-size: 15px; }
  .process-card-desc, .benefit-info p { font-size: 12px; }
  .stats-numbers-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .stat-val { font-size: 20px; }
  .stat-desc { font-size: 11px; }
  .map-caption { font-size: 9px; }
}
@media (max-width: 360px) {
  .stat-val { font-size: 17px; }
  .stats-numbers-row { gap: 12px 6px; }
}
