:root{--outer:#cdd9e3;--bg:#071b33;--bg2:#0c2a4d;--text:#ffffff;--muted:#c5dcee;--accent:#8be9ff;--accent2:#d8f7ff;--line:#3fb7d6;--cta1:#ff8a2a;--cta2:#e0560a;--ctatext:#ffffff;--pill1:#8be9ff;--pill2:#d8f7ff;--pilltext:#06213b;--pa:#cfe0ec;--pb:#e0560a;--pc:#8be9ff;--pat:#0b2a4a;--pbt:#ffffff;--pct:#06213b;--badge1:#ff8a2a;--badge2:#e0560a;--htext:#ffffff;--radius:0px;--glow:rgba(139,233,255,.2);--pattern:url("../images/pattern.svg")}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { min-width: 480px; background: var(--outer); color: var(--text); font-family: Montserrat, Arial, sans-serif; }
.container { margin: 0 auto; width: 480px; background: var(--bg) var(--pattern) repeat-y; overflow: hidden; }
a { color: inherit; }

.button_big, .form__button {
  display: flex; justify-content: center; align-items: center; text-align: center; text-decoration: none; border: 0;
  background: linear-gradient(156deg, var(--cta1) 3%, var(--cta2) 65%); color: var(--ctatext);
  border-radius: 100px; font-family: Montserrat; font-weight: 900; font-size: 28px; line-height: 118.7%; text-transform: uppercase;
  height: 76px; width: 435px; margin: 0 auto;
}

/* header */
.header { position: relative; height: 642px; margin-bottom: 50px; }
.header__img { position: absolute; left: 0; top: 162px; width: 480px; height: 480px; object-fit: cover; z-index: 0; }
.header::before { content: ""; position: absolute; z-index: 1; left: 0; top: 160px; width: 340px; height: 82px;
  background: linear-gradient(90deg, var(--pill1), var(--pill2)); border-radius: 0 20px 20px 0; transform: rotate(-3.58deg); }
.header::after { content: "-50%"; position: absolute; z-index: 2; right: 8px; top: 172px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--badge1), var(--badge2)); box-shadow: 0 0 30px var(--glow);
  color: #fff; font: 900 36px/140px Montserrat, sans-serif; text-align: center; }
.header__title { position: absolute; z-index: 2; top: 40px; left: 0; right: 0; text-align: center; color: var(--htext);
  font-weight: bold; font-size: 30px; line-height: 37px; text-shadow: 0 4px 4px rgba(0,0,0,.25); }
.header__text__top { position: absolute; z-index: 2; top: 180px; left: 20px; font-style: italic; font-weight: 600; font-size: 27px; line-height: 34px;
  color: var(--pilltext); transform: rotate(-3.58deg); }
.header__text__size { position: absolute; z-index: 2; top: 252px; left: 80px; font-weight: bold; font-size: 17px; line-height: 118.7%;
  color: #000; padding: 6px 16px; background: rgba(255,255,255,.85); border-radius: 12px; }
.price { position: absolute; z-index: 3; left: 0; right: 0; bottom: -80px; height: 100px; display: flex; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.p_child { flex: 1; height: 100px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: bold; font-size: 16px; line-height: 1.3; }
.p_child:nth-child(1) { background: var(--pa); color: var(--pat); padding-right: 24px; flex: 1.15; }
.p_child:nth-child(2) { background: var(--pb); color: var(--pbt); flex: .9; margin: 0 -24px; z-index: 1; padding: 0 24px; clip-path: polygon(24px 0, 100% 0, calc(100% - 24px) 100%, 0 100%); }
.p_child:nth-child(3) { background: var(--pc); color: var(--pct); padding-left: 24px; flex: 1.15; }
.p_child s { opacity: .8; }

/* cards */
.about1, .about2 { padding-top: 10px; }
.about1__item, .about2__item { position: relative; margin-bottom: 36px; }
.about1__item img, .about2__item img { width: 440px; height: 440px; object-fit: cover; display: block; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 0 25px var(--glow); }
.pill { display: block; width: 250px; margin-top: 14px; padding: 16px 24px; font-weight: bold; font-size: 17px; line-height: 22px; text-align: center; text-transform: uppercase;
  color: var(--pilltext); background: linear-gradient(90deg, var(--pill1), var(--pill2)); }
.pill--right { border-radius: 25px 0 0 25px; margin-left: auto; }
.pill--left { border-radius: 0 25px 25px 0; margin-right: auto; }

.about3__text { font-weight: 300; font-size: 19px; line-height: 1.35; color: var(--text); padding: 0 25px; text-align: center; }
.about3__text__top { margin: 20px 0 30px; }
.about3__text__bottom { margin: 30px 0 30px; }
.about3 { padding: 0 20px; }
.about3 img { width: 100%; height: 440px; object-fit: cover; display: block; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 0 25px var(--glow); }

.specs { padding: 20px; }
.specs__title, .gallery__title, .reviews__title, .howtobuy__title { font-weight: 800; font-size: 28px; line-height: 35px; text-align: center; color: var(--accent); }
.specs__title { margin-bottom: 24px; color: var(--text); }
.specs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.specs__item { padding: 16px; border: 1px solid var(--line); border-radius: calc(var(--radius) * .75); background: var(--bg2); font-size: 16px; line-height: 1.4; color: var(--text); }
.specs__item span { font-weight: 700; color: var(--accent); }
.specs__text__bottom { font-weight: 300; font-size: 15px; line-height: 1.35; text-align: center; color: var(--text); padding: 10px 30px 24px; }

.about4 { padding: 10px 0 30px; }
.about4__item { width: 400px; margin-bottom: 24px; font-size: 15px; line-height: 21px; text-transform: none; }
.about4__item.pill--right { margin-left: auto; }
.about4__item.pill--left { margin-right: auto; }

.gallery { margin-bottom: 70px; }
.gallery__title { margin: 50px 0 40px; text-transform: uppercase; color: var(--text); font-weight: 500; }
.gallery__content img { width: 100%; height: 480px; object-fit: cover; display: block; }

.howtobuy__title { margin-bottom: 24px; }
.howtobuy__content { padding: 0 20px 30px; }
.howtobuy__item { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding: 20px; border: 1px solid var(--line); border-radius: calc(var(--radius) * .9);
  background: var(--bg2); box-shadow: 0 0 22px var(--glow); font-size: 15px; line-height: 20px; color: var(--text); }
.howtobuy__item svg { flex: none; width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.howtobuy__item span { display: block; font-weight: 700; font-size: 17px; color: var(--accent); margin-bottom: 2px; }

.reviews__title { text-transform: uppercase; color: var(--text); margin: 70px 0 50px; }
.reviews__content { padding: 0 20px; }
.reviews__header { display: flex; justify-content: space-between; margin-bottom: 30px; }
.reviews__header__left { display: flex; }
.avatar { width: 67px; height: 67px; margin-right: 20px; border-radius: 50%; background: var(--accent); color: var(--bg); font: 800 30px/67px Montserrat, sans-serif; text-align: center; flex: none; }
.reviews__header__left__name_and_age { display: flex; flex-flow: column; justify-content: center; }
.reviews__header__left__name { font-weight: bold; font-size: 24px; line-height: 1.6; color: var(--text); }
.reviews__header__left__age { font-weight: 300; font-size: 17px; color: var(--muted); }
.reviews__header__right { display: flex; align-items: center; justify-content: center; flex-flow: column; }
.stars { color: #ffc83d; font-size: 22px; letter-spacing: 2px; margin-bottom: 3px; }
.reviews__header__right__date { font-weight: 300; font-size: 16px; letter-spacing: .05em; color: var(--muted); }
.reviews__text { padding-right: 30px; font-weight: 300; font-size: 18px; line-height: 1.2; color: var(--text); margin-bottom: 10px; }

.form { width: 90%; margin: 90px auto 50px; padding: 40px 30px 0; }
.form__title { font-weight: bold; font-size: 28px; line-height: 35px; color: var(--text); margin-bottom: 10px; text-align: center; }
.form__subtitle { font-weight: 500; font-size: 19px; line-height: 24px; color: var(--muted); margin-bottom: 40px; text-align: center; }
input[type="text"], .form input[type="tel"] { width: 100%; height: 46px; display: block; margin: 0 auto 20px; border: 1px solid var(--text); border-radius: 20px;
  background-color: transparent; padding-left: 20px; color: var(--text); font-family: inherit; }
.form__button { width: 100%; margin: 20px 0 60px; height: 54px; font-size: 22px; border-radius: 20px; cursor: pointer; }
::placeholder { color: #aaa; }

.footer { padding: 0 20px 40px; font-size: 16px; line-height: 1.5; text-align: center; color: var(--text); }
.footer .doclinks { margin-top: 10px; font-size: 13px; }
.footer .doclinks a { color: var(--accent); text-decoration: underline; }
.footer .nocookies { margin-top: 10px; font-size: 12px; font-weight: 300; opacity: .75; }

.slick-dots { list-style: none; display: flex; justify-content: center; margin-top: 20px; }
.slick-dots li { margin-right: 20px; }
.slick-dots li button { width: 15px; height: 15px; font-size: 0; border-radius: 50%; border: 0; background-color: var(--text); opacity: .5; }
.slick-dots li:last-child { margin-right: 0; }
.slick-active button { opacity: 1 !important; }

.button_big, .form__button { border-radius: 0; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); text-transform: uppercase; letter-spacing: .05em; }
.form__button { border-radius: 0; }
.header::before { border-radius: 0; transform: none; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); top: 168px; height: 76px; }
.header__text__top { transform: none; top: 183px; font-style: normal; font-weight: 800; text-transform: uppercase; font-size: 20px; }
.header::after { border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); box-shadow: none; }
.pill { border-radius: 0 !important; clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%); text-align: center; }
.about1__item img, .about2__item img, .about3 img { border-radius: 0; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); border: 0; box-shadow: none; }
.specs__item, .howtobuy__item, .legal__item { border-radius: 0; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.specs__title, .gallery__title, .reviews__title, .howtobuy__title, .form__title { text-transform: uppercase; letter-spacing: .1em; }
.avatar { border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
input[type="text"], .form input[type="tel"] { border-radius: 0; }
