:root { --clr-general: #00071e; } * { box-sizing: border-box; } html { overflow-x: hidden; } body { font-family: 'Onest', sans-serif; font-weight: 400; font-size: 14px; color: var(--clr-general); background: #f9f7f6; overflow-x: hidden; } *[class*='__container'] { width: 100%; max-width: 1328px; margin: 0 auto; padding: 0 64px; } .flex { display: flex; } .flex-ac { align-items: center; } .flex-jcsb { justify-content: space-between; } .gap-10 { gap: 10px; } .gap-24 { gap: 24px; } .gap-42 { gap: 42px; } /* Title */ h1 { font-family: 'DIN Pro', sans-serif; font-weight: 500; font-size: 66px; line-height: 110%; letter-spacing: -0.04em; text-transform: uppercase; background: linear-gradient( 142deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 42%, rgba(255, 255, 255, 0) 100% ), var(--clr-general); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } h1 b, h1 strong { font-weight: 900; } h1 span { display: inline-flex; align-items: center; justify-content: center; padding: 0px 16px; letter-spacing: -0.02em; border-radius: 14px; background: linear-gradient( 142deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 42%, rgba(255, 255, 255, 0) 100% ), var(--clr-general); font-weight: 500; font-size: 46px; line-height: 135%; position: relative; background-clip: initial; -webkit-background-clip: initial; -webkit-text-fill-color: initial; margin-top: 6px; color: #fff; } /* Button */ .btn { display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px 0 rgba(255, 204, 0, 0.25); background: linear-gradient( 322deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 41.5%, rgba(255, 255, 255, 0) 100% ), #fc0; border: none; outline: none; font-weight: 600; font-size: 15px; line-height: 140%; color: var(--clr-general); cursor: pointer; transition: all 0.15s ease-in-out; } .btn:hover { box-shadow: 0 1px 14px 0 rgba(255, 204, 0, 0.2); transform: scale(0.98); } .btn-small { border-radius: 14px; padding: 17px 24px; } .btn-big { height: 72px; font-size: 16px; border-radius: 20px; padding: 20px 24px; } /* Header */ .header { display: flex; justify-content: center; width: 100%; } .header__container { position: absolute; top: 24px; z-index: 2; } .header__logo { max-width: 280px; } .header__logo p { font-weight: 400; font-size: 14px; line-height: 130%; opacity: 0.8; } .header__contacts { } .header__socials { } .header__socials-link { display: flex; align-items: center; justify-content: center; width: 47px; height: 47px; border-radius: 9px; box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.07); background: #fff; transition: transform 0.2s ease-in-out; } .header__socials-link:hover { transform: scale(1.1); } .header__tel { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: var(--clr-general); text-decoration: none; transition: opacity 0.2s ease-in-out; } .header__tel:hover { opacity: 0.7; } /* Hero */ .hero { padding-top: 160px; padding-bottom: 92px; position: relative; z-index: 1; } .hero::after { content: ''; width: 100%; height: 100%; background: url('../img/bg_after.webp') bottom left no-repeat; background-size: contain; position: absolute; bottom: 0; left: 0; z-index: -1; } .hero::before { content: ''; width: 220px; height: 295px; background: url('../img/bg_before.webp') center no-repeat; background-size: contain; position: absolute; bottom: 200px; left: 0; z-index: 1; animation: herobefore 6s ease-in-out infinite; } @keyframes herobefore { 0%, 100% { transform: translateY(0) translateX(0); } 40%, 60% { transform: translateY(20px) translateX(-2px); } } .hero__img { } .hero__content { display: flex; align-items: flex-start; gap: 64px; justify-content: space-between; position: relative; z-index: 1; } .hero__content::after { content: ''; position: absolute; top: -60px; right: -595px; width: 1230px; height: 830px; pointer-events: none; z-index: -1; background: url('../img/hero-img-full.webp') center no-repeat; background-size: cover; } .hero__leftside { display: flex; flex-direction: column; align-items: flex-start; gap: 42px; max-width: 590px; } .hero__title { } .hero__title h1 { } .hero__desc { display: inline-flex; align-items: center; gap: 12px; } .hero__desc p { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 18px; line-height: 130%; padding: 12px 20px 12px 18px; border-radius: 12px; border: 1px solid rgba(0, 7, 30, 0.15); box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.01); } .hero__desc p::before { display: none; content: ''; width: 24px; height: 24px; background: url('../img/i-info.svg') center no-repeat; background-size: cover; } .hero__desc p b { font-weight: 700; } .hero__price { display: flex; flex-direction: column; gap: 24px; border-radius: 28px; padding: 6px; box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.02); background: #fff; } .hero__price-header { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; margin-bottom: 4px; } .hero__price-header span { display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 14px; padding: 14px; font-weight: 600; font-size: 18px; line-height: 140%; color: #fff; width: 100%; border-right: 3px solid #54596c; border-left: 3px solid #54596c; background: linear-gradient( 329deg, rgba(255, 255, 255, 0) 9.59%, rgba(255, 255, 255, 0.1) 47.6%, rgba(255, 255, 255, 0) 100% ), var(--clr-general); } .hero__price-header span::before { content: ''; width: 22px; height: 22px; background: url('../img/i-percent.svg') center no-repeat; background-size: cover; } .hero__price-header p { font-weight: 500; font-size: 16.5px; line-height: 130%; } .hero__price-header p b { font-weight: 600; color: #ffcc02; } .hero__price-content { display: flex; align-items: center; justify-content: center; gap: 32px; } .hero__price-stock { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; } .hero__price-stock span { font-weight: 500; font-size: 20px; line-height: 140%; letter-spacing: -0.02em; text-decoration: line-through; text-align: right; opacity: 0.4; } .hero__price-stock p { font-weight: 700; font-size: 30px; line-height: 140%; letter-spacing: -0.02em; } .hero__price-unit { border-radius: 10px; padding: 7px 14px; background: linear-gradient( 322deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 41.5%, rgba(255, 255, 255, 0) 100% ), #fc0; } .hero__price-unit p { font-weight: 500; font-size: 18px; line-height: 140%; } .hero__rightside { } .hero__form { display: flex; flex-direction: column; gap: 24px; max-width: 490px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 26px; padding: 12px; padding-bottom: 32px; box-shadow: 0 10px 42px 0 rgba(0, 0, 0, 0.17); background: linear-gradient( 142deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 41.5%, rgba(255, 255, 255, 0) 100% ), #f2f2f2; } .hero__form-title { padding-left: 12px; padding-right: 12px; max-width: 320px; margin-left: auto; margin-right: auto; } .hero__form-title p { font-weight: 500; font-size: 17.5px; line-height: 130%; letter-spacing: -0.02em; text-align: center; } .hero__form-title p b { font-weight: 600; } .hero__form-action { padding-left: 24px; padding-right: 24px; } .hero__form-action form { display: flex; flex-direction: column; gap: 12px; } .hero__form-action select, .hero__form-action input { width: 100%; height: 72px; border: none; outline: none; border-radius: 20px; padding: 12px 32px; background: #fff; font-family: 'Onest', sans-serif; font-weight: 500; font-size: 16px; color: var(--clr-general); transition: color 0.15s ease-in-out; } .hero__form-action input:hover::placeholder, .hero__form-action select:hover { color: rgba(28, 27, 27, 0.75); } .hero__form-action select { color: rgba(28, 27, 27, 0.5); -webkit-appearance: none; -moz-appearance: none; text-indent: 1px; text-overflow: ''; position: relative; background: url('../img/i-select.svg') center no-repeat #fff; background-size: 18px; background-position-x: calc(100% - 32px); cursor: pointer; } .hero__form-action select::-ms-expand { display: none; } .hero__form-action select:has(option[value='']:not(:checked)) { color: var(--clr-general); } .hero__form-action input::placeholder { color: rgba(28, 27, 27, 0.5); transition: color 0.15s ease-in-out; } .hero__form-gift { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 8px; border-radius: 20px; padding: 24px 12px 24px 24px; background: linear-gradient( 130deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.24) 80%, rgba(255, 255, 255, 0) 100% ), var(--clr-general); position: relative; z-index: 1; } .hero__form-gift::after { content: ''; width: 150px; height: 105px; z-index: -1; pointer-events: none; background: url('../img/gift.webp') center no-repeat; background-size: cover; position: absolute; bottom: 0; right: 0; } .hero__form-gift p { display: inline-flex; border-radius: 90px; padding: 4px 12px; background: rgba(255, 255, 255, 0.12); font-weight: 500; font-size: 16px; line-height: 140%; text-align: center; color: #fff; } .hero__form-gift ul { list-style-type: disc; padding-left: 24px; } .hero__form-gift ul li { list-style-type: disc; font-weight: 600; font-size: 16px; line-height: 140%; color: #fff; } .hero__advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 92px; margin-top: 72px; position: relative; z-index: 1; } .hero__advantages-item { display: flex; align-items: center; justify-content: flex-start; flex-direction: column; gap: 20px; border-radius: 24px; padding: 24px 14px; box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.01); background: #fff; } .hero__advantages-item p { font-weight: 500; font-size: 16px; line-height: 140%; text-align: center; } .hero__advantages-icon { display: flex; align-items: center; justify-content: center; border-radius: 20px; min-width: 60px; width: 60px; height: 60px; background: linear-gradient( 329deg, rgba(255, 255, 255, 0) 9.59%, rgba(255, 255, 255, 0.1) 47.6%, rgba(255, 255, 255, 0) 100% ), var(--clr-general); } /* Footer */ .footer { background: linear-gradient( 329deg, rgba(255, 255, 255, 0) 9.59%, rgba(255, 255, 255, 0.02) 47.6%, rgba(255, 255, 255, 0) 100% ), var(--clr-general); padding-top: 42px; padding-bottom: 52px; color: #fff; } .footer__container { display: flex; flex-direction: column; gap: 42px; } .footer__top { display: grid; align-items: center; grid-template-columns: repeat(3, 1fr); } .footer__logo { } .footer__logo p { font-weight: 500; font-size: 13px; line-height: 140%; max-width: 210px; } .footer__address { font-weight: 500; font-size: 16px; text-align: center; } .footer__contacts { display: flex; align-items: center; justify-content: flex-end; gap: 46px; } .footer__tel { font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; transition: color 0.15s ease-in-out; } .footer__tel:hover { color: #fc0; } .footer__socials { display: flex; align-items: center; gap: 10px; } .footer__socials-link { display: flex; align-items: center; justify-content: center; border-radius: 9px; padding: 10px; width: 44px; height: 44px; box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.07); background: rgba(255, 255, 255, 0.1); transition: transform 0.2s ease-in-out; } .footer__socials-link:hover { transform: scale(1.1); } .footer__bottom { display: grid; align-items: center; grid-template-columns: repeat(3, 1fr); } .footer__bottom p, .footer__bottom a { font-weight: 500; font-size: 14px; color: #fff; text-decoration: none; } .footer__bottom a { transition: opacity 0.2s ease-in-out; } .footer__bottom a:hover { opacity: 0.5; } .footer__bottom a:nth-child(2) { text-align: center; } .footer__bottom a:nth-child(3) { text-align: right; } /* Preloader */ .preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 7, 30, 0.8); -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; opacity: 1; z-index: 200; pointer-events: none; } .preloader.hidden { opacity: 0; } .preloader.hidden .preloader__icon { opacity: 0; } .preloader__icon { position: absolute; top: 50%; left: 50%; width: 128px; height: 128px; background: url('data:image/svg+xml,'); background-size: contain; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); opacity: 1; -webkit-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } /* Modal */ #modal__bg { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 7, 30, 0.8); z-index: 155; opacity: 0; } .modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 255; padding: 42px; background: #fff; border-radius: 32px; opacity: 0; } .modal.opened, #modal__bg.opened { display: flex; opacity: 1; } .modal__close { position: absolute; top: -32px; right: -32px; width: 42px; height: 42px; background: url('../img/i-close.svg') center no-repeat; background-size: 20px; border-radius: 12px; cursor: pointer; transition: opacity 0.15s ease-in-out; } .modal__close:hover { opacity: 0.5; } .modal__content { position: relative; font-size: 16px; line-height: 145%; } .modal__content p { } .modal__content span { display: inline-flex; font-size: 18px; font-weight: 600; margin-bottom: 14px; } .modal__title { max-width: 420px; margin-left: auto; margin-right: auto; margin-bottom: 24px; } .modal__title p { font-family: 'DIN Pro', sans-serif; font-size: 26px; font-weight: 500; line-height: 130%; text-align: center; letter-spacing: -0.04em; text-transform: uppercase; background: linear-gradient( 142deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 42%, rgba(255, 255, 255, 0) 100% ), var(--clr-general); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .modal__title p b, .modal__title p strong { font-weight: 600; } .modal__form { } .modal__form form { display: flex; flex-direction: column; gap: 12px; width: 100%; } .modal__form form input { width: 100%; height: 72px; border: none; outline: none; border-radius: 20px; padding: 12px 32px; background: linear-gradient( 142deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 41.5%, rgba(255, 255, 255, 0) 100% ), #f2f2f2; font-family: 'Onest', sans-serif; font-weight: 500; font-size: 16px; color: var(--clr-general); transition: color 0.25s ease-in-out; } .modal__form form input::placeholder { color: rgba(28, 27, 27, 0.5); transition: color 0.15s ease-in-out; } .modal__form form input:hover::placeholder { color: rgba(28, 27, 27, 0.8); } /* Form */ form.sending { position: relative; } form.sending::before, form.sending::after { content: ''; position: absolute; } form.sending::after { top: 0; left: 0; width: 100%; height: 100%; background: rgb(245 245 245 / 60%); z-index: 10; } section.modal form.sending::after { background: rgb(255 255 255 / 60%); } form::before { content: ''; position: absolute; top: 50%; left: 50%; width: 128px; height: 128px; background: url('data:image/svg+xml,'); background-size: contain; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; } form.sending::before { opacity: 1; z-index: 15; } @media screen and (max-width: 1024px) and (min-width: 992px) { .hero__content { flex-direction: column; } .hero__content::after { opacity: 0.2; } .footer__socials { display: none; } }