/* ═══════════════════════════════════════════════════════════════════════════
   SHARED: Section tag (image-based arrow)
═══════════════════════════════════════════════════════════════════════════ */
/* arrow image container — 15px wide, spans full height */
.section-tag__arrow {
    right: -15px;
    top: 0;
    bottom: 0;
    width: 15px;
}

body.home .section-tag__arrow img {
    position: static;
    inset: 0;
    width: 15px;
    height: 100%;
    display: block;
    max-width: none;
}

body.home .section-quote .section-tag__arrow img {
    width: auto;
}

/* dark-border variant (on image/yellow bg) */
.section-tag.section-tag--dark {
    border-left-color: var(--accent);
    background-color: var(--black-70);
}

.section-tag.section-tag--dark span {
    color: var(--accent);
}

.section-tag.section-tag--dark .section-tag__arrow {
    right: -15px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARED: Buttons
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Accent button (3-piece, 50px height) ────────────────────────────────── */

.btn-accent {
    text-decoration: none;
    border: none;
    padding: 0;
    background: none;
}

.btn-accent__left {
    width: 20px;
    height: 50px;
    flex-shrink: 0;
    position: relative;
}

.btn-accent__left img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.btn-accent__center {
    background: var(--accent);
    height: 50px;
    padding: 15px 20px;
    font-family: var(--font-plus);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    color: var(--black);
    white-space: nowrap;
}

.btn-accent__right-wrap {
    flex-shrink: 0;
}

.btn-accent__rotate {
    flex: none;
    transform: rotate(180deg);
}

.btn-accent__right {
    width: 20px;
    height: 50px;
    position: relative;
}

.btn-accent__right img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

/* Home accent buttons use the shared `.btn-skew` mechanism from
   components/button-skew.css (single element, no SVG-corner seams). The default
   variables there (accent bg, 20px/50px slant) already match this button. */

/* ─── Black button (3-piece, 50px height) ─────────────────────────────────── */

.btn-black {
    text-decoration: none;
    border: none;
    padding: 0;
    background: none;
}

.btn-black__left {
    display: block;
    width: 20px;
    height: 50px;
    flex-shrink: 0;
    position: relative;
}

.btn-black__left img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.btn-black__center {
    background: var(--black);
    height: 50px;
    padding: 15px 20px;
    font-family: var(--font-plus);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    color: var(--white);
    white-space: nowrap;
}

.btn-black__right-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-black__rotate {
    display: block;
    flex: none;
    transform: rotate(180deg);
}

.btn-black__right {
    display: block;
    width: 20px;
    height: 50px;
    position: relative;
}

.btn-black__right img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   Figma: full-width bg image + overlay, content centered, advantages below
═══════════════════════════════════════════════════════════════════════════ */

.section-hero {
    min-height: 880px;
    height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hero__image {
    inset: 0;
    z-index: 0;
}

.hero__image img {
    object-position: center top;
}

.hero__overlay {
    inset: 0;
    z-index: 1;
    background: rgba(51, 54, 57, 0.35);
}

/* centered content block */
.hero__content {
    position: relative;
    z-index: 2;
    padding: 238px 20px 151px;
    gap: 9px;
    max-width: 900px;
}

.hero__title {
    margin-bottom: 10px;
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 61px;
    line-height: normal;
    color: var(--white);
}

.hero__subtitle {
    margin-bottom: 11px;
    font-family: var(--font-plus);
    font-weight: 600;
    font-size: 31px;
    line-height: normal;
    color: var(--white);
}

.hero__desc {
    margin-bottom: 24px;
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--white);
    max-width: 850px;
}

/* advantage cards — 3 per row (2 rows = 6 cards), bg: #f4f7f5 */
.hero__advantages-list {
    margin-top: -150px;
}

.hero__advantages {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    gap: 40px;
}

.hero__advantages-scrollbar {
    display: none;
}

.advantage {
    width: calc(33.33% - 27px);
    background: var(--second-bg);
    padding: 40px 40px 42px;
    gap: 23px;
    flex-shrink: 0;
}

.advantage__head {
    gap: 20px;
}

.advantage__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.advantage__icon-part {
    inset: 0;
}

.advantage__icon-part img {
    max-width: none;
}

.advantage__title {
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 25px;
    line-height: normal;
    color: var(--black);
}

.advantage__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    color: var(--black-70);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES
   Figma: 1400px inner, padding 100px top, 4 cards in 2×2
═══════════════════════════════════════════════════════════════════════════ */

.section-services {
    padding: 160px 0 100px;
}

.section-services__inner {
    width: 1440px;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.section-services__head {
    gap: 24px;
    margin-bottom: 40px;
}

.section-services__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 49px;
    line-height: normal;
    color: var(--black);
}

.section-services__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black-70);
    max-width: 800px;
}

/* 2×2 grid */
.services-grid {
    gap: 40px;
}

.service-card {
    width: calc(50% - 20px);
    overflow: hidden;
}

.service-card--link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.service-card--link:hover {
    text-decoration: none;
}

.service-card__image {
    height: 383px;
    width: 100%;
    position: relative;
}

.service-card__image img {
    height: 383px;
    object-position: center;

    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.service-card:hover .service-card__image img {
    transform: scale(1.2);
}

.service-card__mask {
    width: 100%;
    height: 80px;
    inset: -1px 0 0 0;
    pointer-events: none;
    background-color: #fff;
    clip-path: polygon(100% 0, 0 0, 0 100%);

    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.service-card:hover .service-card__mask {
    transform: translateY(-100%);
}

.service-card__mask img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.service-card__learn-more {
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-height: 40px;
    padding: 0 14px 0 15px;
    margin-left: 30px;
    background: var(--white);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.service-card__learn-more:hover,
.service-card__learn-more:focus-visible {
    text-decoration: none;
}

.service-card__learn-more::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 15px;
    height: 40px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.service-card__learn-more span {
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    color: var(--black);
    text-transform: capitalize;
    white-space: nowrap;
}

.service-card:hover .service-card__learn-more,
.service-card:focus-within .service-card__learn-more,
.service-card__learn-more:focus-visible {
    margin-left: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.service-card__content {
    padding: 19px 40px 42px;
    gap: 15px;
    flex: 1;
    border: 1px solid rgba(51, 54, 57, 0.30);
    border-top-color: transparent;
    transition: all 0.3s ease-in-out;
}

.service-card:hover .service-card__content {
    border-color: var(--black);
}

.service-card__content--dark {
    background: var(--black);
}

.service-card__content--dark .service-card__title,
.service-card__content--dark .service-card__desc,
.service-card__content--dark .service-card__list-item p,
.service-card__content--dark .service-card__list-item p strong {
    color: var(--white);
}

.service-card__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 31px;
    line-height: 1.2;
    color: var(--black);
}

.service-card__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black-70);
}

.service-card__list {
    gap: 6px;
}

.service-card__list-item {
    gap: 12px;
}

.service-card__bullet {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-card__bullet img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.service-card__list-item p {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black-70);
}

.service-card__list-item p strong {
    color: var(--black);
    font-weight: 600;
}

.section-services__btn-wrap {
    margin-top: 40px;
}

.news-list {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QUOTE BANNER
   Figma: full-width bg image + dark gradient, centered text
═══════════════════════════════════════════════════════════════════════════ */

.section-quote {
    padding: 78px 0 535px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-quote__bg {
    inset: 0;
    z-index: 0;
}

.section-quote__gradient {
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--black-85) 0%, var(--black-70) 100%);
}

.section-quote__content {
    position: relative;
    z-index: 2;
    padding: 80px 140px;
    gap: 20px;
    max-width: 1200px;
}

.section-quote__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 49px;
    line-height: normal;
    color: var(--black);
}

.section-quote__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black-70);
    max-width: 900px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROCESS
   Figma: bg #f4f7f5, 1400px inner, 4 per row (2 rows = 8 step cards)
   Step card: h-216px, w-320px, bg #f4f7f5 — same as section bg
   Step tag: accent yellow bg + dark border + image arrow
═══════════════════════════════════════════════════════════════════════════ */

.section-process {
    padding: 126px 0;
}

.section-process__inner {
    width: 1440px;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.section-process__head {
    gap: 20px;
    margin-bottom: 47px;
}

.section-process__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 49px;
    line-height: normal;
    color: var(--black);
}

/* 4×2 grid */
.process-grid {
    gap: 40px;
}

.step-card {
    width: 320px;
    height: 216px;
    flex: 1 1 320px;
    padding: 20px 20px 40px;
    gap: 20px;
    background: var(--second-bg);
}

/* Step tag: yellow bg, dark border */
.step-card__tag {
    background: var(--accent);
    border-left: 3px solid var(--black);
    padding: 5px 5px 5px 10px;
    gap: 0;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.step-card__tag span {
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: var(--black);
    white-space: nowrap;
    text-transform: uppercase;
}

/* arrow image container — 10px wide */
.step-card__tag-arrow {
    right: -10px;
    top: 0;
    bottom: 0;
    width: 10px;
}

.step-card__tag-arrow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.step-card__body {
    gap: 5px;
}

.step-card__title {
    font-family: var(--font-onest);
    font-weight: 600;
    font-size: 25px;
    line-height: 1.2;
    color: var(--black);
}

.step-card__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black-70);
}

.section-process__btn-wrap {
    margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOWROOM
   Figma: bg #f4f7f5, image left w-680px h-600px, content right w-680px
═══════════════════════════════════════════════════════════════════════════ */

.section-showroom {
    min-height: 600px;
    margin-bottom: 100px;
}

.section-showroom__inner {
    min-height: 600px;
    gap: 40px;
}

.section-showroom__image {
    width: 680px;
    flex: 1 1 50%;
    height: 600px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.section-showroom__image-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
}

.section-showroom__image-top img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.section-showroom__image-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
}

.section-showroom__image-bottom img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.corner-top,
.corner-bottom {
    top: -1px;
    left: 0;
    width: 100%;
    height: 81px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
    background-color: var(--white);
}

.corner-bottom {
    top: auto;
    bottom: -1px;
    clip-path: polygon(100% 1%, 0% 100%, 100% 100%);
}

.section-financing .corner-top {
    bottom: -1px;
}

.section-financing .corner-top {
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.section-financing .corner-bottom {
    bottom: -1px;
    clip-path: polygon(0 100%, 0 0, 100% 100%);
}

.section-showroom__content {
    width: 680px;
    flex: 1 1 50%;
    padding: 78px 0;
    gap: 25px;
}

.section-showroom__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 49px;
    line-height: normal;
    color: var(--black);
}

.section-showroom__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black-70);
}

.section-showroom__info {
    gap: 10px;
}

.section-showroom__info-item {
    gap: 10px;
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black);
    text-decoration: none;
}

a.section-showroom__info-item:hover span,
a.section-showroom__info-item:focus-visible span {
    text-decoration: underline;
}

.section-showroom__info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
}

.section-showroom__info-icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FINANCING
   Figma: bg #fdfdfd (white), content left w-680px, image right w-680px h-600px
═══════════════════════════════════════════════════════════════════════════ */

.section-financing {
    background: var(--white);
    min-height: 600px;
    margin-bottom: 100px;
}

.section-financing__inner {
    min-height: 600px;
    gap: 40px;
}

.section-showroom .btn-accent,
.section-financing .btn-accent,
.section-area .btn-accent {
    justify-content: flex-start;
}

.section-financing__content {
    width: 680px;
    flex: 1 1 50%;
    padding: 78px 0;
    gap: 25px;
}

.section-financing__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 49px;
    line-height: normal;
    color: var(--black);
}

.section-financing__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black-70);
}

.section-financing__image {
    width: 680px;
    height: 600px;
    flex: 1 1 50%;
    overflow: hidden;
    position: relative;
}

.section-financing__image-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
}

.section-financing__image-top img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.section-financing__image-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
}

.section-financing__image-bottom img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE AREA
   Figma: bg #f4f7f5, map left w-680px h-510px, content right w-680px
═══════════════════════════════════════════════════════════════════════════ */

.section-area {
    min-height: 510px;
    margin-bottom: 60px;
}

.section-area__inner {
    min-height: 510px;
    gap: 40px;
}

.section-area__map {
    width: 680px;
    height: 510px;
    flex: 1 1 50%;
    overflow: hidden;
    position: relative;
}

.section-area__coverage {
    inset: 0;
    z-index: 1;
}

.section-area__coverage img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
}

.section-area__map-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.section-area__map-top img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.section-area__map-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.section-area__map-bottom img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.section-area__content {
    width: 680px;
    flex: 1 1 50%;
    padding: 0;
    gap: 25px;
}

.section-area__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 49px;
    line-height: normal;
    color: var(--black);
}

.section-area__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black-70);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREFOOTER
   Figma: bg #ffc85e (ACCENT YELLOW), h-665px
   Left info: at left-140px, w-560px, top-80px, gap-20px, tag dark border
   Right form card: at left-980px, top-140px, w-440px, bg white, flex-col
   Form fields: bottom border only
   Button: BLACK
═══════════════════════════════════════════════════════════════════════════ */
.section-prefooter {
    background: var(--accent);
    min-height: 665px;
    padding: 80px 140px;
    display: flex;
    align-items: flex-start;
    gap: 280px;
}

/* ─── Left: info ──────────────────────────────────────────────────────────── */

.prefooter__info {
    width: 560px;
    flex-shrink: 0;
    gap: 20px;
}

.prefooter__title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 39px;
    line-height: normal;
    color: var(--black);
}

.prefooter__desc {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--black-70);
}

.prefooter__contacts {
    gap: 10px;
}

.prefooter__contact-item {
    gap: 10px;
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black);
}

.prefooter__contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
}

.prefooter__contact-icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
}

.prefooter__contact-link {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    color: var(--black);
    text-decoration: none;
}

.prefooter__contact-link:hover {
    text-decoration: underline;
}

/* ─── Right: form card ────────────────────────────────────────────────────── */

.prefooter__form {
    width: 440px;
    flex-shrink: 0;
    background: var(--white);
    padding: 40px;
    gap: 20px;
    margin-top: 60px;
}

.prefooter__form-title {
    font-family: var(--font-plus);
    font-weight: 700;
    font-size: 31px;
    line-height: normal;
    color: var(--black);
    text-align: center;
}

.prefooter__form-subtitle {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--black-70);
    text-align: center;
}

.prefooter__fields {
    gap: 0;
    width: 100%;
}

/* fields: bottom border only */
.prefooter__field {
    width: 100%;
    border-bottom: 1px solid var(--black-30);
    padding: 20px 0;
}

.prefooter__input {
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--black-30);
    width: 100%;
}

.prefooter__input::placeholder {
    color: var(--black-30);
}

.prefooter__privacy {
    font-family: var(--font-onest);
    font-weight: 400;
    font-size: 13px;
    line-height: normal;
    color: var(--black-30);
}

.prefooter__privacy-link {
    color: var(--black-70);
    text-decoration: underline;
}

.prefooter__btn-wrap {
    width: 100%;
}

.section-quote .section-tag::after {
    display: none;
}