:root {
  --red: #e11625;
  --ink: #171717;
  --rose: #e06871;
  --width: 1160px;
  font-family: Unbounded, Arial, sans-serif;
  color: var(--ink);
  font-weight: 300;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* { box-sizing: border-box; }
body { margin: 0; background: white; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #a31925; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--width), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 60px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.22; }
h2 { color: var(--red); font-size: clamp(25px, 4vw, 36px); font-weight: 600; margin-bottom: 48px; }
h3 { font-size: 20px; font-weight: 600; }
p { line-height: 1.55; }

.site-header {
  min-height: 90px; padding-inline: 40px; background: #fff;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  position: sticky; top: 0; z-index: 10;
}
.brand { width: fit-content; }
.brand img { width: 100px; height: auto; }
.site-header nav, .header-contacts, .social { display: flex; align-items: center; gap: 30px; }
.site-header nav a { color: var(--red); font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, footer a:hover { text-decoration: underline; }
.header-contacts { justify-self: end; gap: 34px; }
.social { gap: 12px; }
.social a { display: grid; place-items: center; text-decoration: none; }
.social svg { display: block; width: 31px; height: 31px; }
.contacts .social svg { width: 42px; height: 42px; }
.menu-toggle, .site-header nav .mobile-phone { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 60px; padding: 12px 28px; border: 1px solid var(--red); border-radius: 10px;
  background: var(--red); color: #fff; font-size: 16px; font-weight: 600;
  text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button:hover { background-color: #ff4a4a; border-color: #ff4a4a; }
.button-light { background: white; color: var(--red); }
.button-light:hover { color: white; }
.phone { min-height: 40px; font-size: 14px; white-space: nowrap; }
.button-shine { position: relative; overflow: hidden; isolation: isolate; }
.button-shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.4)) 30px 0 / 45px 100% no-repeat;
  transform: translateX(-85px) skewX(-45deg);
  animation: button-glint 3s linear infinite;
}
@keyframes button-glint {
  30%, 100% { transform: translateX(100%) skewX(-45deg); }
}

.cover { margin: 20px; border-radius: 10px; color: white; background-position: center; background-size: cover; }
.hero { background-image: linear-gradient(rgba(47, 5, 5, .5), rgba(0, 0, 0, .8)), url("assets/hero.jpg"); }
.hero-layout { min-height: 913px; display: flex; flex-direction: column; justify-content: center; padding-block: 54px 86px; }
.hero h1 { width: min(760px, 100%); font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
.intro { max-width: 700px; margin-top: 40px; font-size: clamp(15px, 2vw, 20px); line-height: 1.55; }
.hero-actions { display: grid; justify-items: start; gap: 12px; margin: 30px 0 52px; }
.hero-actions .button { width: min(400px, 100%); }
.hero-actions .button-light { width: min(394px, 100%); }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px 36px; padding: 0; margin: 0; list-style: none; font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; background: url("assets/hero-check.svg") center / contain no-repeat; width: 20px; height: 20px; flex: none; }
.countries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.country { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 10px; background: #282020; color: white; }
.country::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 15%, rgba(0,0,0,.7)); }
.country img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.country:hover img { transform: scale(1.05); }
.country div { position: absolute; z-index: 1; inset: auto 17px 17px; }
.country h3 { margin-bottom: 5px; }
.country p { font-size: 12px; }
#dmdpick { padding-block: 40px; }
.calculator iframe { display: block; width: 100%; height: 1050px; border: 0; }
#catalog { min-height: 170px; display: grid; align-content: center; text-align: center; }

.benefits { background: var(--rose); color: white; border-radius: 20px; padding-block: 48px 52px; }
.benefits h2, .lead-cover h2 { color: white; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 55px; }
.benefit-grid article { display: grid; grid-template-columns: 1fr 100px; grid-template-rows: auto 1fr; gap: 24px 22px; align-items: start; }
.benefit-grid article img { grid-area: 1 / 2 / 3 / 3; width: 100px; aspect-ratio: 1; object-fit: contain; padding: 9px; background: white; border-radius: 20px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px 40px; }
.steps li { position: relative; margin-top: 35px; min-height: 356px; padding: 53px 25px 40px; border: 1px solid var(--red); border-radius: 20px; text-align: center; }
.step-number { position: absolute; inset: -36px auto auto -1px; display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid white; border-radius: 50%; background: var(--red); color: white; font-size: 20px; font-weight: 600; }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 14px; font-size: 14px; }
.steps img { width: 98px; height: 98px; object-fit: contain; margin: 23px auto 0; }

.reviews { padding-block: 90px; }
.section-bar { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding-bottom: 40px; }
.section-bar h2 { margin: 5px 0 0; font-weight: 500; }
.review-controls { display: flex; gap: 5px; flex: none; }
.review-controls button {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  background: var(--red); color: white; border: 1px solid var(--red); border-radius: 10px;
}
.review-controls button:hover { background: white; color: var(--red); }
.review-list {
  --review-inset: max(20px, (100% - var(--width)) / 2);
  display: flex; align-items: flex-start; gap: 20px;
  overflow-x: auto; scrollbar-width: none;
  padding: 3px var(--review-inset) 6px;
  scroll-padding-inline: var(--review-inset);
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
}
.review-list::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 auto; max-width: 100%; padding: 0; border: 0;
  border-radius: 20px; background: white; scroll-snap-align: start;
}
.review img { width: auto; height: 150px; object-fit: contain; border-radius: inherit; }

.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; padding-block: 75px; }
.about > div { grid-column: 1; grid-row: 1; }
.founder { grid-column: 2; grid-row: 1; width: 100%; height: 65vh; object-fit: cover; border-radius: 20px; }
.about h2 { margin-bottom: 18px; color: #e21625; }
.founder-title { max-width: 400px; font-size: 18px; color: #666; }
.founder-title::after { content: ""; display: block; width: 200px; max-width: 100%; height: 3px; margin-top: 28px; background: #e21625; }
.about-copy { margin-top: 28px; font-size: 16px; line-height: 1.55; }
.about-copy strong { font-weight: 700; }
.about .button { margin-top: 60px; max-width: 100%; padding-inline: 60px; }

.lead-cover { background-image: linear-gradient(rgba(41,34,28,.7), rgba(41,34,28,.7)), url("assets/lead.png"); text-align: center; padding-block: 85px; min-height: 532px; display: grid; align-items: center; }
.lead-cover h2 { margin-inline: auto; max-width: 900px; }
.lead-cover .lead-form { max-width: 760px; margin: auto; }
.lead-form { display: grid; gap: 20px; }
.form-inputs { display: grid; gap: 15px; }
.lead-cover .form-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-inputs input { width: 100%; min-height: 60px; padding: 15px 19px; border: 1px solid #d7d7d7; background: #fff; color: #151515; border-radius: 5px; font-size: 15px; }
.consent { display: flex; gap: 8px; align-items: flex-start; text-align: left; font-size: 12px; line-height: 1.6; cursor: pointer; }
.consent input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; flex: 0 0 auto; }
.consent a { text-underline-offset: 3px; }
.lead-cover .button { justify-self: center; min-width: min(230px, 100%); }
.form-status { font-size: 13px; line-height: 1.6; }
.faq { border-top: 1px solid #e4e4e4; }
.faq details { border-bottom: 1px solid #e4e4e4; }
.faq summary { position: relative; list-style: none; font-size: clamp(16px, 2.2vw, 21px); padding: 25px 61px 25px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 3px; top: 50%; translate: 0 -50%; border-radius: 50%; background: #f5f5f5; width: 40px; height: 40px; display: grid; place-items: center; font-size: 26px; }
.faq details[open] summary::after { content: "−"; }
.faq details div { padding: 0 55px 28px 0; max-width: 900px; line-height: 1.65; }
.contacts { padding-bottom: 44px; }
.contacts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.contacts-grid p { font-size: 20px; margin-bottom: 25px; }
.contact-phone { font-size: 25px; text-decoration-color: var(--red); text-underline-offset: 4px; }
.contacts .social { margin-top: 22px; }

footer { background: var(--red); color: white; padding-block: 22px; font-size: 11px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-grid div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; }
.footer-grid a { text-decoration: none; }
.cookie-notice { position: fixed; left: 20px; bottom: 30px; z-index: 12; width: min(400px, calc(100% - 40px)); padding: 16px 34px 16px 25px; border-radius: 5px; background: white; box-shadow: 0 1px 10px #0003; font-size: 10px; font-weight: 400; }
.cookie-notice a { color: var(--red); }
.cookie-notice button, dialog [data-close] { position: absolute; top: 6px; right: 8px; padding: 1px 5px; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; }
.messenger {
  --mascot-edge: 25px;
  position: fixed; right: var(--mascot-edge); bottom: 26px; z-index: 11;
  display: flex; align-items: flex-end; gap: 3px;
}
.mascot-launcher {
  flex: 0 0 auto; width: 116px; height: 130px; padding: 0;
  border: 0; border-radius: 18px; background: transparent;
}
.mascot-image {
  width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 3px 5px #18101245);
  transform: translateY(var(--mascot-lift, 0px)) scaleX(var(--mascot-facing, 1));
  transition: transform .15s ease-out;
}
.mascot-message {
  position: relative; width: min(220px, calc(100vw - 154px)); margin-bottom: 20px;
  padding: 13px 14px 12px; border: 1px solid #f0dadd; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: 0 5px 22px #20151720;
}
.mascot-message p { padding-right: 17px; font-size: 12px; font-weight: 600; }
.mascot-dismiss {
  position: absolute; right: 3px; top: 2px; padding: 3px 6px;
  color: #4b4143; background: none; border: 0; font-size: 18px; line-height: 1;
}
.mascot-contact {
  min-height: 34px; width: 100%; margin-top: 9px; padding: 6px 9px;
  border-radius: 7px; font-size: 10px; text-transform: none;
}
.messenger:has(.mascot-launcher[aria-expanded="true"]) .mascot-message { display: none; }
.messenger-links { position: absolute; right: 0; bottom: calc(100% + 4px); background: #fff; border-radius: 8px; box-shadow: 0 2px 14px #0003; min-width: 150px; padding: 10px; }
.messenger-links a { display: block; padding: 8px; text-decoration: none; font-size: 13px; }
.messenger-links a:hover { color: var(--red); }

dialog { border: 0; border-radius: 12px; color: var(--ink); }
dialog::backdrop { background: #000a; }
.lead-dialog { width: min(560px, calc(100% - 32px)); padding: 42px; }
.lead-dialog h2 { margin-bottom: 25px; font-size: 25px; }
.image-dialog { max-width: min(1100px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 30px 10px 10px; }
.image-dialog img { max-height: calc(100dvh - 73px); width: auto; height: auto; margin: auto; }

.document { padding-block: 28px 60px; }
.document nav { margin-bottom: 40px; color: #555; font-size: 13px; }
.document article { max-width: 960px; margin-inline: auto; overflow-wrap: anywhere; font-size: 15px; line-height: 1.75; }
.thanks-cover { margin-inline: 0; min-height: 540px; text-align: center; display: grid; place-content: center; justify-items: center; gap: 30px; padding: 36px 25px; background-image: linear-gradient(#210b0b70, #000b), url("assets/thanks.png"); }
.thanks-cover h1 { font-size: clamp(28px, 5vw, 42px); }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; width: 100%; }
.catalog-card { border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.catalog-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.catalog-card-content { display: grid; gap: 12px; padding: 18px; }
.catalog-card .button { min-height: 44px; font-size: 13px; }
.basket-toggle { position: fixed; z-index: 11; top: 105px; right: 35px; width: 66px; height: 66px; padding: 12px; border: 0; border-radius: 50%; background: white; box-shadow: 0 2px 10px #0002; }
.basket-toggle img { width: 100%; }
.basket-toggle span { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: white; font-size: 12px; }
.basket-dialog ul { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 12px; }
.basket-dialog li button { margin-left: 10px; }

@media (max-width: 1050px) {
  .site-header { padding-inline: 20px; }
  .site-header nav, .header-contacts { gap: 15px; }
  .site-header nav { font-size: 13px; }
  .benefit-grid { gap: 40px 27px; }
  .benefit-grid article { grid-template-columns: 1fr 76px; }
  .benefit-grid article img { width: 76px; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 44px; }
  h2 { margin-bottom: 28px; }
  .site-header { position: relative; min-height: 118px; grid-template-columns: auto 1fr auto; gap: 8px; padding-inline: 20px; }
  .header-contacts { display: none; }
  .site-header nav .mobile-phone { display: inline-block; }
  .menu-toggle { display: grid; gap: 4px; grid-column: 3; grid-row: 1; width: 37px; height: 38px; place-content: center; color: var(--red); background: transparent; border: 0; }
  .menu-toggle span { width: 22px; height: 2px; background: currentColor; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 24px; box-shadow: 0 4px 8px #0002; }
  .site-header nav.is-open { display: grid; }
  .cover { margin: 20px; }
  .hero-layout { min-height: 0; padding-block: 80px; }
  .hero h1 { font-size: 30px; }
  .intro { margin-top: 34px; font-size: 18px; line-height: 1.45; }
  .hero-actions { margin-bottom: 32px; }
  .hero-actions .button { min-height: 60px; padding: 17px 30px; font-size: 16px; line-height: 1.45; }
  .hero-points { display: grid; gap: 38px; font-size: 14px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .countries { grid-template-columns: 1fr; gap: 20px; }
  .country div { inset: auto 16px 16px; }
  .country h3 { font-size: 17px; }
  .country p { font-size: 12px; line-height: 1.4; }
  .benefits { padding-block: 38px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 30px; }
  .benefit-grid article { grid-template-columns: 1fr 80px; gap: 22px 15px; }
  .benefit-grid article img { width: 80px; border-radius: 16px; }
  .benefit-grid p { font-size: 14px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps li { min-height: 300px; }
  .benefit-grid h3 { font-size: 18px; }
  .section-bar { padding-bottom: 24px; }
  .review { flex-basis: 100%; }
  .review img { width: 100%; height: auto; }
  .review-controls button { width: 35px; height: 35px; }
  .about, .contacts-grid { grid-template-columns: 1fr; gap: 24px; }
  .founder { grid-column: 1; grid-row: 2; height: auto; aspect-ratio: 1.39; }
  .about h2 { margin-bottom: 16px; }
  .about .button { margin-top: 36px; padding-inline: 24px; }
  .lead-cover { min-height: 0; padding-block: 55px; }
  .lead-cover .form-inputs { grid-template-columns: 1fr; }
  .faq details div { padding-right: 15px; font-size: 14px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-grid div { justify-content: flex-start; }
  .messenger { --mascot-edge: 10px; bottom: max(12px, calc(var(--cookie-notice-height, 0px) + 8px)); }
  .mascot-launcher { width: 84px; height: 94px; }
  .mascot-message { width: min(199px, calc(100vw - 113px)); margin-bottom: 7px; }
  .cookie-notice { left: 0; bottom: 0; width: 100%; border-radius: 0; }
  .lead-dialog { padding: 35px 22px 22px; }
  .basket-toggle { top: 80px; right: 15px; width: 52px; height: 52px; }
  .thanks-cover { margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :root, .review-list { scroll-behavior: auto; }
  .button-shine::after { animation: none; content: none; }
  *, *::before, *::after { transition: none !important; }
}
