You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
template-for-verstka/assets/scss/gp-style-mobile.scss

1166 lines
16 KiB

:root {
--fs-general: 15;
}
body {
overflow-x: hidden;
}
*[class*=__container]:not(.fancybox__container) {
padding-left: 32px;
padding-right: 32px;
}
.btn {
&--icon {
gap: 10px;
padding: 26px 40px;
}
}
.cases .section__container::after,
.why .section__container::after,
.steps .section__container::after,
.services .section__container::after,
.quiz .section__container::after,
.reviews .section__container::after,
.team .section__container::after {
width: 490px;
height: 490px;
top: -40px;
opacity: 0.2;
}
.cases .section__container::after,
.why .section__container::after,
.steps .section__container::after {
right: -90px;
}
.services .section__container::after,
.quiz .section__container::after,
.reviews .section__container::after,
.team .section__container::after {}
main.page {
padding-top: 140px;
}
.breadcrumbs {
margin-bottom: 24px;
}
header.header {
.header__socials {
display: none;
margin: 0;
}
}
.header {
padding: 24px 0;
&__container {
gap: 12px;
padding-right: 95px !important;
}
&__socials {
// display: none;
// margin: 0;
}
&__tel {
flex-direction: row;
align-items: center;
gap: 20px;
a {
font-size: calc((var(--fs-general) + 4) * 1px);
}
button {
display: flex;
align-items: center;
justify-content: center;
min-width: 36px;
width: 36px;
height: 36px;
border-radius: 6px;
background: var(--clr-blue);
border-radius: 40px;
margin-top: 0;
p,
&::after {
display: none;
}
&::before {
content: '';
display: inline-block;
width: 20px;
height: 20px;
background: url('../icons/i-tel.svg') center no-repeat;
background-size: cover;
}
}
}
&__nav {
&-burger {
width: 42px;
height: 42px;
padding: 14px 10px;
right: 32px;
top: 2px;
}
}
}
h1,
.section__title-46 h1 {
font-size: calc((var(--fs-general) + 17)* 1px);
}
h2,
.section__title p {
font-size: calc((var(--fs-general) + 11)* 1px);
}
section.section.section--nopadding.single {
padding-bottom: 62px !important;
}
.section {
&:not(.hero) {
padding-top: 62px;
padding-bottom: 62px;
}
&:last-child {
padding-bottom: 62px !important;
}
&__pagenavi {
margin-top: 42px;
}
&__header {
margin-bottom: 32px;
&--jcsb {
gap: 24px;
}
}
&__grid {
gap: 10px;
}
&__links {
margin-top: 32px;
}
}
.hero {
padding-top: 130px;
&__content {
gap: 32px;
}
&__title {
// max-width: 320px;
max-width: 360px;
}
&__desc {
max-width: 280px;
&::before {
width: 24px;
min-width: 24px;
height: 24px;
background-size: cover;
}
}
&__btn {
p {
font-size: calc((var(--fs-general) - 1) * 1px);
max-width: 210px !important;
}
a,
button {
margin-top: 14px;
}
}
&__bg {
width: 340px;
height: 440px;
bottom: 245px;
right: -12vw;
&::after {
width: 465px;
height: 465px;
}
img {
width: auto;
height: 100%;
}
}
&__expert {
right: 42px;
left: initial;
bottom: 60px;
padding: 12px 20px;
width: 190px;
border-radius: 10px;
display: none;
p {
font-size: calc((var(--fs-general) + 2) * 1px);
}
}
&__privilege {
flex-wrap: wrap;
margin-top: 46px;
&-item {
width: 46%;
&:nth-child(1) {
p {
display: flex;
flex-direction: column;
}
}
img {
width: 32px;
height: 32px;
}
}
}
}
.privilege {
.section__grid {
grid-template-columns: repeat(2, 1fr);
}
&__item {
// flex-wrap: wrap;
// flex-direction: row;
// gap: 14px 18px;
gap: 12px;
padding: 24px;
img {
width: 32px;
height: 32px;
}
p {
// align-content: center;
br {
// content: '';
// padding: 0 2px;
}
}
}
}
.services {
.section__grid {
grid-template-columns: repeat(2, 1fr);
}
&__rows {
margin-top: 46px;
}
&__row {
&:not(:last-child) {
padding-bottom: 20px;
margin-bottom: 20px;
}
&-item {
position: relative;
img {
width: auto;
&:not(.services__row-img) {
height: 16px;
}
&.services__row-img {
height: 30px;
}
}
}
}
&__item {
&-content {
p {
font-size: calc(var(--fs-general) * 1px);
}
}
&-btn {
width: 26px;
min-width: 26px;
height: 26px;
position: absolute;
top: 24px;
right: 24px;
border-radius: 4px;
&::after {
width: 12px;
height: 12px;
background-size: cover;
}
}
}
}
.why {
.section__grid {
display: flex;
flex-direction: column;
}
&__item {
&-content {
gap: 16px;
padding: 20px 12px;
}
}
}
.why {
&__partners {
flex-direction: column;
text-align: center;
gap: 20px;
padding: 24px 32px;
&-logo {
justify-content: center;
}
}
}
.cases {
&__header {
&-number {
span {
font-size: calc((var(--fs-general) + 25) * 1px);
}
}
}
}
.cases {
&__content {
gap: 12px !important;
margin-top: 24px;
}
&__item {
gap: 24px;
}
&__top {
align-items: center;
gap: 32px;
}
&__img {
width: 135px;
min-width: 135px;
margin-top: 0;
}
&__bottom {
flex-direction: column;
gap: 4px;
&>div {
flex-direction: row;
justify-content: space-between;
}
}
}
.reviews {
&__header {
margin-bottom: 24px;
position: relative;
justify-content: center;
}
&__btns {
width: 100%;
&-item {
width: calc((100% / 3) - 10px);
button {
width: 100%;
min-width: auto;
padding-left: 6px;
padding-right: 6px;
}
}
&-info {
gap: 6px;
span {
font-size: calc((var(--fs-general) + 1) * 1px);
}
}
}
&__nav {}
}
.steps {
&__item {
padding: 24px;
gap: 14px;
&-title {
gap: 12px;
span {
&::after {
width: 10px;
height: 46px;
background-size: cover !important;
background-position: right !important;
}
}
}
}
}
.cta {
.section__container {
// background-position: right;
// position: relative;
// overflow: hidden;
background-position: 100% 130%;
position: relative;
overflow: hidden;
// padding-bottom: 290px;
// background-size: 920px;
padding-bottom: 320px;
background-size: 960px;
&::before {
// content: '';
// position: absolute;
// top: 0;
// left: 0;
// width: 100%;
// height: 100%;
// background: var(--clr-bg-grey);
// opacity: 0.9;
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 340px;
background: linear-gradient(180deg, #f5f5f5 10%, transparent 35%);
}
}
.section__header {
text-align: center;
position: relative;
z-index: 2;
}
.section__desc {
max-width: 320px;
margin-left: auto;
margin-right: auto;
}
&__form {
position: relative;
z-index: 2;
form {
max-width: 100%;
}
}
}
.team {
&__item {
&-img {
height: 320px;
}
&-content {
padding: 6px;
}
}
}
.socials {
&__content {
gap: 32px;
}
&__channel {
&-info {
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
}
&-icon {
min-width: 42px;
width: 42px;
height: 42px;
}
}
&__chats {
gap: 24px !important;
&-links {
display: flex;
flex-direction: column;
}
}
&__chat {
flex-direction: row;
align-items: center;
justify-content: flex-start;
span {
margin-left: auto;
}
&-logo {
height: 24px;
}
p {
display: inline-block;
width: 100%;
max-width: 160px;
font-size: calc((var(--fs-general) - 1) * 1px);
}
}
}
.faq {
&__item {
margin-bottom: 10px;
}
&__question {
p {
padding: 20px 24px;
padding-right: 90px;
}
}
}
.footer {
padding-top: 42px;
&__container {
gap: 42px;
}
&__logo {
img {
width: auto;
height: 46px;
}
}
&__address {
max-width: 100%;
}
&__info {
max-width: 100%;
}
&__contacts {
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
&__navigations {
flex-direction: row;
justify-content: space-between;
width: calc(100% - 24px);
}
&__socials {
a {
width: 32px;
height: 32px;
}
}
&__bottom {
gap: 12px;
}
&__agency {
padding-top: 14px;
padding-bottom: 14px;
a {
img {
width: auto;
height: 20px;
}
}
}
}
.modal__title p {
font-size: calc((var(--fs-general) + 16)* 1px);
}
.modal__desc p {
font-size: calc((var(--fs-general) - 2)* 1px);
}
.modal__close {
top: 20px;
right: 20px;
}
.privilege__item p br {
content: "";
display: inline-flex;
padding: 0 2px;
}
.page__hero .section__title {
margin-bottom: 24px;
}
.section__thumbnail {
height: 240px;
}
.awards__wrapper {
gap: 24px;
}
.awards__content {
gap: 20px;
}
.awards__desc {
margin: 0;
}
.awards__img {
height: 240px;
}
.contacts__section {
padding: 14px;
}
.breadcrumbs__wrapper {
padding: 10px 16px;
a,
span,
p {}
}
.blog__author {
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 32px;
gap: 14px;
padding: 24px;
}
.blog__author-img {
width: 92px;
min-width: 92px;
height: 92px;
}
.blog__author-job {
max-width: 220px;
margin-left: auto;
margin-right: auto;
}
.breadcrumbs__wrapper {
justify-content: center;
}
.single {
margin-top: 32px;
}
.single h2,
.single h3,
.single h4,
.single h5,
.single h6 {
margin-bottom: 20px;
}
.single h2 {
font-size: calc((var(--fs-general) + 17)* 1px);
}
.single h3 {
font-size: calc((var(--fs-general) + 15)* 1px);
}
.single h4,
.single h5,
.single h6 {
font-size: calc((var(--fs-general) + 13)* 1px);
}
.single blockquote {
margin-top: 16px;
&:has(+*) {
margin-bottom: 16px;
}
}
.single__wrapper {
gap: 42px;
}
.single blockquote.blockquote__warning,
.single blockquote.blockquote__info,
.single blockquote.blockquote__check {
padding: 24px;
padding-left: 24px;
padding-top: 72px;
&::before {
width: 32px;
height: 32px;
left: 24px;
top: 24px;
transform: none;
}
}
.single__title {
padding: 24px;
min-height: 240px;
height: auto;
h1 {
font-size: calc((var(--fs-general) + 10)* 1px);
}
}
.single__gallery {
margin-top: 24px;
margin-bottom: 24px;
}
.single__meta {
justify-content: space-between;
padding: 14px 20px;
}
.single__min,
.single__count {
display: none !important;
margin-left: 0;
}
.single__slider-nav button {
width: 42px;
height: 42px;
background-size: 7px;
}
.single__slider-prev {
left: -12px;
}
.single__slider-next {
right: -12px;
}
.single__content p:not(:last-child) {
margin-bottom: 24px;
}
.articles__slider {
margin-bottom: 16px;
}
.similar {
.section__header {
justify-content: center;
align-items: center;
}
}
.header__nav-list ul li.current-menu-item a::after {
bottom: 10px;
}
@media screen and (max-width: 620px) {
.steps__item-highlight {
background: var(--clr-blue);
}
.page__blog {
.section__title {
max-width: 360px !important;
h1 {
font-size: calc((var(--fs-general) + 15)* 1px);
}
}
}
}
@media screen and (max-width: 529px) {
.hero__title {
max-width: initial;
}
}
@media screen and (max-width: 490px) {
.privilege .section__grid,
.services .section__grid {
grid-template-columns: 1fr;
}
.privilege {
&__item {
flex-wrap: wrap;
flex-direction: row;
gap: 14px 18px;
img {
margin: auto 0;
}
p {
align-content: center;
max-width: 220px;
}
}
}
.hero__bg {
width: 290px;
height: 320px;
bottom: 255px;
right: -10vw;
}
.cases__top {
flex-direction: column;
}
.reviews__btns-item button {
padding-top: 16px;
padding-bottom: 16px;
}
.cta .section__container {
background-position: 100% 115%;
position: relative;
overflow: hidden;
padding-bottom: 290px;
background-size: 810px;
}
.footer__navigations {
flex-direction: column;
}
.socials__chat p {
display: none;
}
.socials__channel {
gap: 12px;
padding: 12px 20px;
}
.socials__channel-icon {
min-width: 32px;
width: 32px;
height: 32px;
}
.socials__chats-info::before {
width: 32px;
height: 32px;
background-size: cover;
left: 12px;
}
.hero__privilege {
gap: 16px 12px;
padding: 24px;
border-radius: 16px;
}
header.header {
.header__tel a {
display: none;
}
}
.header__tel a {
// display: none;
}
.hero__btn p {
max-width: 190px !important;
}
.why__item-number::before {
width: 120px;
height: 120px;
}
.why__item-header {
height: 170px;
padding: 20px 12px;
}
.why__item-title p {
font-size: calc((var(--fs-general) + 3)* 1px);
}
.why__item-number p {
font-size: calc((var(--fs-general) + 10)* 1px);
}
.why__item-content::before {
display: none;
}
.cta .section__container {
background-position: 95% 115%;
}
.socials__channel-info p {
font-size: calc((var(--fs-general) - 1)* 1px);
}
.socials__channel-info span {
min-width: 125px;
width: 125px;
}
}
@media screen and (max-width: 440px) {
.section:not(.hero) {
padding-top: 46px;
padding-bottom: 46px;
}
.section:last-child {
padding-bottom: 46px !important;
}
section.section.section--nopadding.single {
padding-bottom: 46px !important;
}
h2,
.section__title p {
font-size: 24px;
}
.hero__privilege-item {
width: 100%;
flex-direction: row;
align-items: center;
text-align: left;
}
.hero__bg {
// width: 245px;
// height: 260px;
bottom: 205px;
right: -10vw;
}
.hero__privilege-item:nth-child(1) p {
display: inline-block;
}
*[class*=__container]:not(.fancybox__container) {
padding-left: 24px;
padding-right: 24px;
}
.header__container {
padding-right: 80px !important;
}
.header__nav-burger {
right: 24px;
}
.cases__bottom>div {
flex-direction: column;
}
.reviews__btns {
width: 100%;
flex-wrap: nowrap;
overflow: scroll;
}
.reviews__btns-item {
width: 140px;
min-width: 140px;
}
.hero {
padding-top: 110px;
}
.section__links {
gap: 20px 24px;
}
.privilege__item {
flex-direction: column;
p {
max-width: initial;
}
}
.hero__privilege-item p {
max-width: 240px;
}
}
@media screen and (max-width:420px) {
.hero__bg {
width: 255px;
height: 300px;
bottom: 205px;
right: -10vw;
}
.article__item-img {
height: 140px;
}
.article__item-content {
padding: 18px 14px;
gap: 12px;
}
.article__item-btn {
padding: 14px;
}
}
@media screen and (max-width: 390px) {
.page__blog {
.section__title {
max-width: 320px !important;
h1 {
font-size: calc((var(--fs-general) + 11)* 1px);
}
}
}
.section__grid {
display: flex;
flex-direction: column;
}
.article__item-min {
display: none !important;
}
}
@media screen and (max-width: 370px) {
.hero__bg {
width: 245px;
height: 260px;
// bottom: 205px;
// right: -10vw;
}
.page__blog {
.section__title {
h1 {
font-size: calc((var(--fs-general) + 9)* 1px);
}
}
}
h1,
.section__title-46 h1 {
font-size: calc((var(--fs-general) + 13)* 1px);
}
h2,
.section__title p {
font-size: calc((var(--fs-general) + 9)* 1px);
}
.hero__bg {
bottom: 235px;
right: -17vw;
}
.hero__privilege-item {
max-width: 260px;
}
}