tema
This commit is contained in:
171
wp-content/themes/sevastopol-tort-child/assets/css/home-page.css
Normal file
171
wp-content/themes/sevastopol-tort-child/assets/css/home-page.css
Normal file
@@ -0,0 +1,171 @@
|
||||
.home-hero {
|
||||
padding: 72px 0 58px;
|
||||
}
|
||||
|
||||
.home-hero__inner,
|
||||
.home-categories__inner,
|
||||
.home-steps__inner {
|
||||
width: min(100% - 40px, var(--container));
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.home-hero__inner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
|
||||
gap: 46px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.home-hero__content {
|
||||
display: grid;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.home-hero__eyebrow {
|
||||
color: var(--color-accent);
|
||||
font-size: var(--fz-xs);
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.home-hero__title {
|
||||
max-width: 780px;
|
||||
font-size: var(--fz-xxl);
|
||||
font-weight: 800;
|
||||
line-height: var(--lh-tight);
|
||||
}
|
||||
|
||||
.home-hero__lead {
|
||||
max-width: 650px;
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-md);
|
||||
}
|
||||
|
||||
.home-hero__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.home-hero__media {
|
||||
position: relative;
|
||||
min-height: 520px;
|
||||
}
|
||||
|
||||
.home-hero__image {
|
||||
position: absolute;
|
||||
object-fit: cover;
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.home-hero__image--main {
|
||||
inset: 0 44px 44px 0;
|
||||
width: calc(100% - 44px);
|
||||
height: calc(100% - 44px);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.home-hero__image--small {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 42%;
|
||||
aspect-ratio: 1;
|
||||
border: 8px solid var(--color-bg);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.home-categories,
|
||||
.home-steps {
|
||||
padding: 70px 0;
|
||||
}
|
||||
|
||||
.home-categories__head {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.home-categories__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 22px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.home-category-card {
|
||||
position: relative;
|
||||
aspect-ratio: 1;
|
||||
overflow: hidden;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-surface-soft);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.home-category-card__image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.25s ease;
|
||||
}
|
||||
|
||||
.home-category-card:hover .home-category-card__image {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
|
||||
.home-category-card__title {
|
||||
position: absolute;
|
||||
left: 18px;
|
||||
bottom: 18px;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
color: var(--color-text);
|
||||
font-weight: 800;
|
||||
padding: 10px 16px;
|
||||
}
|
||||
|
||||
.home-steps {
|
||||
background: var(--color-surface-soft);
|
||||
}
|
||||
|
||||
.home-steps__inner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
|
||||
gap: 44px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.home-steps__content {
|
||||
display: grid;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.home-steps__list {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
counter-reset: home-steps;
|
||||
}
|
||||
|
||||
.home-steps__item {
|
||||
position: relative;
|
||||
min-height: 48px;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
padding: 0 0 14px 56px;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
.home-steps__item::before {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
counter-increment: home-steps;
|
||||
content: counter(home-steps);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-accent);
|
||||
color: #ffffff;
|
||||
font-weight: 800;
|
||||
}
|
||||
353
wp-content/themes/sevastopol-tort-child/assets/css/layout.css
Normal file
353
wp-content/themes/sevastopol-tort-child/assets/css/layout.css
Normal file
@@ -0,0 +1,353 @@
|
||||
.site-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 50;
|
||||
background: rgba(255, 248, 243, 0.94);
|
||||
backdrop-filter: blur(18px);
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.site-header__top {
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
}
|
||||
|
||||
.site-header__inner {
|
||||
width: min(100% - 40px, var(--container));
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.site-header__inner--top,
|
||||
.site-header__inner--main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.site-header__inner--top {
|
||||
min-height: 38px;
|
||||
}
|
||||
|
||||
.site-header__inner--main {
|
||||
min-height: 82px;
|
||||
}
|
||||
|
||||
.site-header__tagline,
|
||||
.site-header__phone {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-sm);
|
||||
}
|
||||
|
||||
.site-header__phone {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.site-header__logo {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.site-header__logo-image {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.site-header__logo-text {
|
||||
font-size: var(--fz-sm);
|
||||
font-weight: 800;
|
||||
line-height: 1.15;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.site-header__nav {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.site-header__menu {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.site-header__menu-link {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-sm);
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.site-header__menu-link:hover {
|
||||
color: var(--color-accent-dark);
|
||||
}
|
||||
|
||||
.site-header__cta {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 44px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-text);
|
||||
color: #ffffff;
|
||||
font-size: var(--fz-sm);
|
||||
font-weight: 800;
|
||||
padding: 0 20px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.site-header__burger {
|
||||
display: none;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-surface);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.site-header__burger-line {
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 2px;
|
||||
margin: 4px auto;
|
||||
background: var(--color-text);
|
||||
}
|
||||
|
||||
.mobile-menu {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 80;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-menu.is-open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mobile-menu__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(44, 33, 29, 0.38);
|
||||
}
|
||||
|
||||
.mobile-menu__panel {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: min(360px, 100%);
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background: var(--color-bg);
|
||||
padding: 24px;
|
||||
box-shadow: -18px 0 60px rgba(44, 33, 29, 0.18);
|
||||
}
|
||||
|
||||
.mobile-menu__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.mobile-menu__title {
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mobile-menu__close {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-surface);
|
||||
font-size: 1.8rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.mobile-menu__nav,
|
||||
.mobile-menu__contacts {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.mobile-menu__link,
|
||||
.mobile-menu__contact {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 46px;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
background: var(--color-text);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.site-footer__inner {
|
||||
width: min(100% - 40px, var(--container));
|
||||
margin: 0 auto;
|
||||
padding: 56px 0 26px;
|
||||
}
|
||||
|
||||
.site-footer__grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1.2fr repeat(3, 1fr);
|
||||
gap: 34px;
|
||||
}
|
||||
|
||||
.site-footer__logo-image {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.site-footer__text,
|
||||
.site-footer__item,
|
||||
.site-footer__copy,
|
||||
.site-footer__policy {
|
||||
color: rgba(255, 255, 255, 0.72);
|
||||
}
|
||||
|
||||
.site-footer__text {
|
||||
max-width: 280px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.site-footer__title {
|
||||
display: block;
|
||||
font-weight: 800;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.site-footer__list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.site-footer__link:hover,
|
||||
.site-footer__policy:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.site-footer__bottom {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.14);
|
||||
margin-top: 46px;
|
||||
padding-top: 24px;
|
||||
}
|
||||
|
||||
.lead-form {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-surface);
|
||||
padding: 28px;
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.lead-form__head {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.lead-form__title {
|
||||
font-size: var(--fz-lg);
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lead-form__text,
|
||||
.lead-form__label,
|
||||
.lead-form__consent-text,
|
||||
.lead-form__status {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-sm);
|
||||
}
|
||||
|
||||
.lead-form__field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.lead-form__input,
|
||||
.lead-form__textarea {
|
||||
width: 100%;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
padding: 14px 16px;
|
||||
}
|
||||
|
||||
.lead-form__textarea {
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.lead-form__consent {
|
||||
display: grid;
|
||||
grid-template-columns: 20px 1fr;
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.lead-form__checkbox {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-top: 3px;
|
||||
accent-color: var(--color-accent);
|
||||
}
|
||||
|
||||
.lead-form__consent-text a {
|
||||
color: var(--color-accent-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.lead-form__button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.lead-form__status {
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.cookie-note {
|
||||
position: fixed;
|
||||
right: 24px;
|
||||
bottom: 24px;
|
||||
z-index: 90;
|
||||
width: min(420px, calc(100% - 48px));
|
||||
}
|
||||
|
||||
.cookie-note__inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-surface);
|
||||
padding: 16px;
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.cookie-note__text {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-sm);
|
||||
}
|
||||
|
||||
.cookie-note__button {
|
||||
min-height: 42px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-text);
|
||||
color: #ffffff;
|
||||
font-weight: 800;
|
||||
padding: 0 18px;
|
||||
}
|
||||
1
wp-content/themes/sevastopol-tort-child/assets/css/normalize.min.css
vendored
Normal file
1
wp-content/themes/sevastopol-tort-child/assets/css/normalize.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}img{border-style:none}button,input,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button{overflow:visible;text-transform:none}button,[type=button],[type=submit]{-webkit-appearance:button}textarea{overflow:auto}details{display:block}summary{display:list-item}[hidden]{display:none}
|
||||
@@ -0,0 +1,60 @@
|
||||
.policy-hero {
|
||||
padding: 72px 0 46px;
|
||||
}
|
||||
|
||||
.policy-hero__inner,
|
||||
.policy-content__inner {
|
||||
width: min(100% - 40px, 900px);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.policy-hero__inner {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.policy-hero__eyebrow {
|
||||
color: var(--color-accent);
|
||||
font-size: var(--fz-xs);
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.policy-hero__title {
|
||||
font-size: var(--fz-xxl);
|
||||
font-weight: 800;
|
||||
line-height: var(--lh-tight);
|
||||
}
|
||||
|
||||
.policy-hero__lead {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-md);
|
||||
}
|
||||
|
||||
.policy-content {
|
||||
padding: 30px 0 80px;
|
||||
}
|
||||
|
||||
.policy-content__inner {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.policy-content__block {
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-surface);
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
.policy-content__title {
|
||||
font-size: var(--fz-lg);
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.policy-content__text {
|
||||
margin-top: 12px;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
1
wp-content/themes/sevastopol-tort-child/assets/css/reset.min.css
vendored
Normal file
1
wp-content/themes/sevastopol-tort-child/assets/css/reset.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body,h1,h2,h3,p,ol,ul{margin:0}ol,ul{padding:0}ul{list-style:none}a{color:inherit;text-decoration:none}button{border:0;background:transparent;padding:0;cursor:pointer}img,picture{display:block;max-width:100%;height:auto}input,textarea{border:0;border-radius:0}textarea{resize:vertical}
|
||||
@@ -0,0 +1,130 @@
|
||||
@media (max-width: 1180px) {
|
||||
.site-header__nav,
|
||||
.site-header__cta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-header__burger {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.service-hero__title,
|
||||
.policy-hero__title {
|
||||
font-size: 2.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.site-header__top {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-header__inner {
|
||||
width: min(100% - 20px, var(--container));
|
||||
}
|
||||
|
||||
.site-header__inner--main {
|
||||
min-height: 72px;
|
||||
}
|
||||
|
||||
.site-header__logo-image {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
}
|
||||
|
||||
.site-header__logo-text {
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.service-hero,
|
||||
.service-details,
|
||||
.service-process,
|
||||
.service-lead,
|
||||
.home-hero,
|
||||
.home-categories,
|
||||
.home-steps,
|
||||
.policy-hero,
|
||||
.policy-content {
|
||||
padding: 44px 0;
|
||||
}
|
||||
|
||||
.service-hero__inner,
|
||||
.service-process__inner,
|
||||
.service-lead__inner,
|
||||
.home-hero__inner,
|
||||
.home-steps__inner {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.service-details__grid,
|
||||
.home-categories__grid,
|
||||
.site-footer__grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.service-hero__inner,
|
||||
.service-details__inner,
|
||||
.service-process__inner,
|
||||
.service-lead__inner,
|
||||
.home-hero__inner,
|
||||
.home-categories__inner,
|
||||
.home-steps__inner,
|
||||
.site-footer__inner,
|
||||
.policy-hero__inner,
|
||||
.policy-content__inner {
|
||||
width: min(100% - 20px, var(--container));
|
||||
}
|
||||
|
||||
.service-hero__title,
|
||||
.home-hero__title,
|
||||
.policy-hero__title {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
.home-hero__media {
|
||||
min-height: auto;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
|
||||
.service-lead__inner {
|
||||
gap: 28px;
|
||||
}
|
||||
|
||||
.site-footer__bottom {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.cookie-note {
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
width: calc(100% - 20px);
|
||||
}
|
||||
|
||||
.cookie-note__inner {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.service-hero__actions {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.button-main,
|
||||
.button-link {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.lead-form,
|
||||
.policy-content__block {
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
.service-page {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.service-hero {
|
||||
padding: 72px 0 56px;
|
||||
}
|
||||
|
||||
.service-hero__inner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
|
||||
align-items: center;
|
||||
gap: 46px;
|
||||
width: min(100% - 40px, var(--container));
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.service-hero__content {
|
||||
display: grid;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.service-hero__eyebrow {
|
||||
color: var(--color-accent);
|
||||
font-size: var(--fz-xs);
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.service-hero__title {
|
||||
max-width: 760px;
|
||||
font-size: var(--fz-xxl);
|
||||
font-weight: 800;
|
||||
line-height: var(--lh-tight);
|
||||
}
|
||||
|
||||
.service-hero__lead {
|
||||
max-width: 680px;
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-md);
|
||||
}
|
||||
|
||||
.service-hero__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.service-hero__media {
|
||||
position: relative;
|
||||
aspect-ratio: 1;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
background: var(--color-surface-soft);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.service-hero__image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.service-details,
|
||||
.service-process,
|
||||
.service-lead {
|
||||
padding: 70px 0;
|
||||
}
|
||||
|
||||
.service-details__inner,
|
||||
.service-process__inner,
|
||||
.service-lead__inner {
|
||||
width: min(100% - 40px, var(--container));
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.service-details__content {
|
||||
display: grid;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.service-details__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 22px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.service-process {
|
||||
background: var(--color-surface-soft);
|
||||
}
|
||||
|
||||
.service-process__inner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
|
||||
gap: 42px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.service-process__content {
|
||||
display: grid;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.service-process__list {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
counter-reset: steps;
|
||||
}
|
||||
|
||||
.service-process__item {
|
||||
position: relative;
|
||||
min-height: 54px;
|
||||
border-bottom: 1px solid var(--color-line);
|
||||
padding: 0 0 16px 58px;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
.service-process__item::before {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
counter-increment: steps;
|
||||
content: counter(steps);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-accent);
|
||||
color: #ffffff;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.service-process__note {
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-text);
|
||||
color: #ffffff;
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
.service-process__note-title {
|
||||
display: block;
|
||||
font-size: var(--fz-lg);
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.service-process__note-text {
|
||||
margin-top: 14px;
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
}
|
||||
|
||||
.service-lead__inner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.68fr);
|
||||
gap: 44px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.service-lead__content {
|
||||
display: grid;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.service-lead__text {
|
||||
max-width: 560px;
|
||||
color: var(--color-muted);
|
||||
font-size: var(--fz-md);
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
@font-face {
|
||||
font-family: "Manrope";
|
||||
src: url("../fonts/Manrope-VariableFont_wght.woff2") format("woff2");
|
||||
font-weight: 200 800;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
--color-bg: #fff8f3;
|
||||
--color-surface: #ffffff;
|
||||
--color-surface-soft: #f7ebe3;
|
||||
--color-text: #2c211d;
|
||||
--color-muted: #735f57;
|
||||
--color-accent: #b94735;
|
||||
--color-accent-dark: #8f3024;
|
||||
--color-line: rgba(83, 49, 38, 0.14);
|
||||
--color-success: #2f7d4f;
|
||||
--font-main: "Manrope", Arial, sans-serif;
|
||||
--container: 1180px;
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 16px;
|
||||
--radius-lg: 28px;
|
||||
--shadow-soft: 0 22px 70px rgba(88, 53, 40, 0.12);
|
||||
--fz-xs: 0.78rem;
|
||||
--fz-sm: 0.92rem;
|
||||
--fz-base: 1rem;
|
||||
--fz-md: 1.12rem;
|
||||
--fz-lg: 1.35rem;
|
||||
--fz-xl: 2rem;
|
||||
--fz-xxl: 3.6rem;
|
||||
--lh-tight: 1.08;
|
||||
--lh-base: 1.55;
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 320px;
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
font-family: var(--font-main);
|
||||
font-size: var(--fz-base);
|
||||
font-weight: 400;
|
||||
line-height: var(--lh-base);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
body.menu-is-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.button-main,
|
||||
.lead-form__button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 52px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-accent);
|
||||
color: #ffffff;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
padding: 0 28px;
|
||||
transition: background-color 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.button-main:hover,
|
||||
.lead-form__button:hover {
|
||||
background: var(--color-accent-dark);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.button-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 52px;
|
||||
color: var(--color-accent-dark);
|
||||
font-weight: 700;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 5px;
|
||||
}
|
||||
|
||||
.section-kicker {
|
||||
display: block;
|
||||
color: var(--color-accent);
|
||||
font-size: var(--fz-xs);
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
max-width: 760px;
|
||||
font-size: var(--fz-xl);
|
||||
font-weight: 700;
|
||||
line-height: var(--lh-tight);
|
||||
}
|
||||
|
||||
.info-card {
|
||||
min-height: 220px;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-surface);
|
||||
padding: 26px;
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.info-card__number {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-surface-soft);
|
||||
color: var(--color-accent-dark);
|
||||
font-size: var(--fz-sm);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.info-card__title {
|
||||
margin-top: 24px;
|
||||
font-size: var(--fz-lg);
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.info-card__text {
|
||||
margin-top: 12px;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
Reference in New Issue
Block a user