/* Offer-first hero, short model takeaways and the blue "Почему" panel (customer feedback, 08.10). */
.hero{grid-template-rows:1fr auto;place-items:center;padding:0 24px 24px}
.hero-copy{padding:112px 0 32px}
.hero h1{font-size:clamp(52px,7.2vw,112px);line-height:1.04}
.hero-lead{max-width:640px;margin:28px auto 0;font-size:20px;line-height:1.5}
.hero-price{white-space:nowrap;font-weight:700;color:#146199}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin-top:32px}
.hero-actions .button{margin:0}
.hero-actions .button{min-width:220px}

.button--glass{color:#146199;background:rgb(255 255 255/.9);border:1px solid rgb(20 97 153/.28);box-shadow:0 8px 24px rgb(26 111 171/.12)}
.button--glass:hover,.button--glass:focus-visible{color:#146199;background:#ffffff}

.hero-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(100%,1120px);margin:0;padding:8px;list-style:none;border:1px solid rgb(255 255 255/.7);border-radius:24px;background:rgb(255 255 255/.8);box-shadow:0 12px 32px rgb(26 111 171/.12);animation:hero-benefits-in .8s 1.8s both cubic-bezier(.22,1,.36,1)}
.hero-benefits li{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 16px;border-radius:16px;background:rgb(255 255 255/.7);font:500 15px/1.3 Manrope,Arial,sans-serif;color:#1a6194;text-align:left}
.hero-benefits strong{display:block;font-weight:700;color:#146199}
.hero-benefits svg{flex:none;width:40px;height:40px;padding:9px;border-radius:12px;background:#d9e8f2;stroke:#0f73ba;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@keyframes hero-benefits-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* Model cards: price pinned to the top-right corner, a smaller photo, large "who it's for" and 3–4 benefits. */
.model-card .model-price{position:absolute;top:18px;right:18px;z-index:3;display:flex;align-items:baseline;gap:6px;margin:0;padding:10px 16px;border-radius:999px;background:#0f73ba;color:#ffffff;box-shadow:0 8px 20px rgb(15 115 186/.28);font:600 14px/1 Manrope,Arial,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
.model-card .model-price strong,.models-grid--showcase .model-slide .model-price strong,.models-grid--showcase .model-slide:not(.model-slide--featured) .model-price strong{font:800 22px/1 Manrope,Arial,sans-serif;letter-spacing:-.02em;color:#ffffff}
.model-card .model-price span{font:inherit;color:#e3eef6}
.model-tag{align-self:flex-start;margin:0;padding:6px 12px;border:1px solid rgb(15 115 186/.3);border-radius:999px;background:#ffffffb3;font:700 12px/1.3 Manrope,sans-serif;color:#0f73ba}
.model-card .model-content h3{margin:10px 0 14px}
.model-fit{margin:0;padding:14px 18px;border-radius:16px;background:#ffffffb8;font:600 clamp(18px,1.6vw,22px)/1.35 Manrope,sans-serif;letter-spacing:-.02em;color:#13476d}
.model-fit span{display:block;margin-bottom:4px;font:700 12px/1.4 Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#415166}
.model-card .model-features,.models-grid--showcase .model-slide:not(.model-slide--featured) .model-features{display:flex;flex-direction:column;flex-wrap:nowrap;gap:12px;margin:20px 0 24px;padding:0;font:500 17px/1.4 Manrope,sans-serif;color:#13476d}
.model-card .model-features li{position:relative;padding-left:34px}
.model-card .model-features li:before{content:'';position:absolute;top:0;left:0;width:24px;height:24px;margin:0;border-radius:50%;background:#0f73ba}
.model-card .model-features li:after{content:'';position:absolute;top:7px;left:7px;width:10px;height:5px;border:solid #ffffff;border-width:0 0 2px 2px;transform:rotate(-45deg)}
@media(min-width:768px){
  .model-card,.model-card:nth-child(2),.model-card:nth-child(3),.models-grid--showcase .model-slide--featured .model-card{grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr)}
  .model-card .model-content{padding-right:8px}
  .models-grid--showcase .model-slide:not(.model-slide--featured) .model-card{grid-template-rows:170px minmax(0,1fr)}
  .models-grid--showcase .model-slide:not(.model-slide--featured) .model-content h3{min-height:0}
  .models-grid--showcase .model-slide:not(.model-slide--featured) .model-fit{font-size:18px}
  .models-grid--showcase .model-slide:not(.model-slide--featured) .model-features{font-size:16px}
}
.why-panel{background:linear-gradient(155deg,#1778bd 0%,#1773b6 55%,#1d58a5 100%);color:#ffffff}
.why-panel .eyebrow{color:#a8cee9}
.why-panel .scroll-copy{color:#ffffff}
.why-action{margin-top:32px}
.why-panel .button--glass,.why-panel .button--glass:hover{background:#ffffff;color:#146199;border-color:#ffffff}
.why-panel .orbit-tile{border-color:rgb(255 255 255/.85);box-shadow:0 10px 30px rgb(7 33 67/.35)}

@media(max-width:1000px){
  .hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .hero{height:auto;min-height:calc(100svh - 24px);max-height:none;padding:0 12px 12px}
  .hero-copy{padding:104px 4px 28px}
  .hero h1{font-size:clamp(38px,11vw,56px);line-height:1.08}
  .hero-lead{font-size:15px;margin-top:20px}
  .hero-lead br{display:none}
  .hero-actions{flex-direction:column;gap:10px;width:100%;margin-top:24px}
  .hero-actions .button{width:100%;min-width:0}
  .hero-benefits{gap:6px;padding:6px;border-radius:20px}
  .hero-benefits li{flex-direction:column;align-items:flex-start;gap:8px;min-height:0;padding:12px;font-size:13px}
  .hero-benefits svg{width:34px;height:34px;padding:7px;border-radius:10px}
  .models-grid:not(.models-grid--showcase){display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding-bottom:16px}
  .models-grid:not(.models-grid--showcase) .model-slide{display:block}
  .models-grid:not(.models-grid--showcase) .model-perspective{width:100%}
  .models-grid:not(.models-grid--showcase) .model-slide{position:static;height:auto;min-height:0}
  .models-grid:not(.models-grid--showcase) .model-card{height:auto;min-height:0;grid-template-rows:200px auto}
  .model-card .model-content{position:static;transform-style:flat;transform:none}
  .model-card .model-price{top:24px;right:24px;padding:8px 13px;font-size:12px}
  .model-card .model-price strong,.models-grid--showcase .model-slide .model-price strong{font-size:19px}
  .model-tag{font-size:11px;padding:5px 10px}
  .model-fit{padding:12px 14px;font-size:17px}
  .model-fit span{font-size:10px}
  .model-card .model-features,.models-grid--showcase .model-slide:not(.model-slide--featured) .model-features{gap:9px;margin:14px 0 18px;font-size:15px}
  .model-card .model-features li{padding-left:30px}
  .model-card .model-features li:before{width:21px;height:21px}
  .model-card .model-features li:after{top:6px;left:6px;width:9px;height:4.5px}
}
@media(prefers-reduced-motion:reduce){.hero-benefits{animation:none}}

/* Phone at the very top: number in the brand accent, request hours underneath. */
.header-phone{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:5px 16px 5px 5px;border:1px solid rgb(15 115 186/.22);border-radius:999px;background:#e3eef6;color:#0f67a6;white-space:nowrap;transition:background .2s}
.header-phone:hover{background:#d2e3f0}
.header-phone-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#177fca,#0f73ba);box-shadow:0 4px 12px rgb(15 115 186/.3)}
.header-phone-icon svg{width:18px;height:18px;fill:#ffffff}
.header-phone-text{display:flex;flex-direction:column;line-height:1.15}
.header-phone strong{font:800 16px/1.15 Manrope,Arial,sans-serif;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:#0f67a6}
.header-phone small{font:600 11px/1.3 Manrope,Arial,sans-serif;color:#227dbf}
.site-header.on-hero .header-phone{background:rgb(255 255 255/.9)}
@media(max-width:1200px) and (min-width:961px){
  .site-header{gap:8px}
  .desktop-nav a{padding:10px 8px;white-space:nowrap}
  .site-header>.button{padding:10px 14px;font-size:14px;gap:8px}
  .header-phone{padding-right:12px}
  .header-phone strong{font-size:15px}
}
@media(max-width:960px){
  .site-header>.header-phone{margin-left:auto}
}
@media(max-width:767px){
  .site-header:has(.header-phone){display:grid;grid-template-columns:minmax(0,1fr) auto;width:calc(100% - 24px);gap:6px 8px;padding:8px;border-radius:20px}
  .site-header:has(.header-phone) .brand{grid-column:1;grid-row:1;justify-self:start;min-height:44px}
  .site-header:has(.header-phone) .menu-toggle{grid-column:2;grid-row:1;justify-self:end;width:44px;height:44px}
  .site-header:has(.header-phone)>.header-phone{grid-column:1;grid-row:2;justify-self:start;margin-left:0;max-width:100%}
  .site-header:has(.header-phone)>.button{grid-column:2;grid-row:2;display:inline-flex;margin-left:0;min-height:44px;padding:10px 12px;font-size:13px;white-space:nowrap}
  .hero-copy{padding-top:152px}
  html{scroll-padding-top:148px}
  .header-phone{gap:6px;min-height:44px;padding:4px 12px 4px 4px}
  .header-phone-icon{width:30px;height:30px;box-shadow:none}
  .header-phone-icon svg{width:15px;height:15px}
  .header-phone strong{font-size:14px}
  .header-phone small{font-size:10px}
}
@media(max-width:400px){
  .site-header:has(.header-phone) .brand{font-size:19px}
  .site-header:has(.header-phone) .brand img{width:26px;height:26px}
  .header-phone-icon{display:none}
  .header-phone{padding:4px 12px}
  .header-phone strong{font-size:13.5px}
}
@media(max-width:340px){.header-phone small{display:none}}

/* Models section starts straight with the cards (no heading block). */
.models-scroll{padding-top:24px}
.models-grid--showcase{margin-top:0}
#models{scroll-margin-top:104px}

/* Request dialog in the site's own style: brand phone card first, messengers below. */
.request-dialog{max-width:480px;padding:36px 32px 32px;border:1px solid #ffffff;border-radius:28px;background:#f5f9fc;box-shadow:0 24px 60px rgb(16 62 96/.28)}
.request-dialog::backdrop{background:rgb(13 58 90/.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.request-dialog .eyebrow{color:#0f73ba}
.request-dialog h2{margin:10px 0 12px;font:800 32px/1.15 Manrope,Arial,sans-serif;letter-spacing:-.03em}
.request-dialog #request-description{margin:0 0 20px;font-size:16px;color:#344152}
.request-dialog .dialog-close{right:14px;top:12px;width:44px;height:44px;border-radius:50%;background:#e3eef6;color:#0f67a6;font-size:26px}
.request-dialog .dialog-close:hover{background:#d2e3f0}
.dialog-phone{display:flex;align-items:center;gap:14px;min-height:72px;padding:12px 20px 12px 12px;border-radius:22px;background:linear-gradient(135deg,#177fca 0%,#0f73ba 60%,#146199 100%);color:#ffffff;box-shadow:0 12px 28px rgb(15 115 186/.32);text-decoration:none;transition:transform .2s,box-shadow .2s}
.dialog-phone:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgb(15 115 186/.4)}
.dialog-phone .header-phone-icon{width:48px;height:48px;background:rgb(255 255 255/.2);box-shadow:none}
.dialog-phone .header-phone-icon svg{width:24px;height:24px}
.dialog-phone-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.dialog-phone small{font:600 12px/1.3 Manrope,Arial,sans-serif;color:#d6e8f4}
.dialog-phone strong{font:800 26px/1.1 Manrope,Arial,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#ffffff;white-space:nowrap}
.request-or{display:flex;align-items:center;gap:12px;margin:20px 0 14px;font:600 13px/1.3 Manrope,Arial,sans-serif;color:#4f637c}
.request-or:before,.request-or:after{content:'';flex:1;height:1px;background:#c8deed}
.request-dialog .contact-links{gap:10px}
.request-dialog .contact-button{min-height:52px;border-radius:999px;padding:12px 12px;font:700 14px/1.2 Manrope,Arial,sans-serif;box-shadow:0 6px 16px rgb(14 26 41/.14)}
.request-dialog .contact-links .contact-phone{display:none}
@media(max-width:767px){
  .request-dialog{padding:32px 20px 24px;border-radius:24px}
  .request-dialog h2{font-size:27px}
  .dialog-phone strong{font-size:23px}
  .request-dialog .contact-links{grid-template-columns:1fr}
}
.dialog-phone .header-phone-icon{display:grid}

/* Footer / help-page phone as the same brand card (appended for both repos). */
.contact-phone--card{display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 22px 10px 10px;border-radius:20px;background:linear-gradient(135deg,#177fca 0%,#0f73ba 60%,#146199 100%);color:#ffffff;box-shadow:0 12px 28px rgb(15 115 186/.35);text-decoration:none;transition:transform .2s,box-shadow .2s}
.contact-phone--card:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgb(15 115 186/.45)}
.contact-phone--card .header-phone-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:rgb(255 255 255/.2);box-shadow:none}
.contact-phone--card .header-phone-icon svg{width:22px;height:22px;fill:#ffffff}
.contact-phone--card .dialog-phone-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.contact-phone--card small{font:600 12px/1.3 Manrope,Arial,sans-serif;color:#d6e8f4}
.contact-phone--card strong{font:800 24px/1.1 Manrope,Arial,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#ffffff;white-space:nowrap}
.footer .contact-links .contact-phone--card{flex-basis:100%;max-width:400px;font-size:inherit}
.information-main .contact-phone--card{width:fit-content;margin-bottom:8px}
@media(max-width:767px){
  .footer .contact-links .contact-phone--card{grid-column:1/-1;width:100%}
  .contact-phone--card strong{font-size:22px}
}
.information-main .contact-phone--card{order:-1;max-width:400px;margin:0 0 4px;border-bottom:0}
.information-main .contact-phone--card,.information-main .contact-phone--card *{text-decoration:none}

/* Local preview: water-blue theme. Photos/screens that carry the old teal are tinted with a hue shift. */
/* Синий оттенок воды запечён в water-hero-blue.webp (раньше — CSS filter, лишний проход видеокарты на каждом кадре воды). */

/* Prices pinned to the top-right corner of every model card, always visible. */
@media(min-width:768px){
  .model-card .model-content{position:static;transform:none!important;transform-style:flat}
  .model-card .model-price{top:16px;right:16px}
  .models-grid--showcase .model-slide:not(.model-slide--featured) .model-card{padding-top:22px}
  .model-card .model-visual{z-index:0}
}

/* Постоянные слои: после анимации текст не меняет сглаживание и не «щёлкает». */
.hero-copy,.hero-benefits{will-change:transform}

/* Наклон карточки модели: фото не выдвигается вперёд по глубине. В 3D-сцене z-index не действует,
   и полупрозрачный блок фото с translateZ перекрывал синюю плашку цены. Наклон остаётся. */
.model-card.is-tilting .model-visual{transform:none}

.model-card .model-interval{margin:0 0 14px;font:600 15px/1.4 Manrope,Arial,sans-serif;color:#1a6194}
