:root {
    --color-background: #111315;
    --color-surface: #1b2026;
    --color-text: #f5f5f5;
    --color-muted: #a8adb3;
    --color-border: #363b40;
    --color-gold: #d8b474;
    --color-blue: #75b8d7;

    --layout-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--color-background);
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.site-layout {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.home-section--contact {
    padding: 70px 0 34px;
}

.home-section--contact .site-container {
    width: min(100% - 32px, var(--layout-width));
    margin: 0 auto;
}

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;

    padding: 46px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.01)
        ),
        var(--color-surface);

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px 18px 0 0;
}

.contact-section__intro {
    max-width: 380px;
}

.contact-section__eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--color-gold);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-section__intro h2 {
    margin: 0;

    color: var(--color-text);

    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.contact-section__intro p {
    margin: 18px 0 0;

    color: var(--color-muted);

    font-size: 0.95rem;
}

.contact-section__details {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-row__label {
    color: var(--color-muted);

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-row strong {
    color: var(--color-text);

    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.55;
}

.contact-row a {
    color: var(--color-text);
    text-decoration: none;

    transition: color 0.2s ease;
}

.contact-row a:hover {
    color: var(--color-gold);
}

.contact-map {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 0;
    border-radius: 0 0 18px 18px;

    background: var(--color-surface);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
    filter: none;
}

@media (max-width: 800px) {
    .home-section--contact {
        padding: 48px 0 24px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 34px;

        padding: 32px 26px;
    }

    .contact-section__intro {
        max-width: none;
    }

    .contact-row {
        grid-template-columns: 120px 1fr;
    }
}

@media (max-width: 520px) {
    .home-section--contact .site-container {
        width: min(100% - 24px, var(--layout-width));
    }

    .contact-section {
        padding: 28px 20px;

        border-radius: 14px 14px 0 0;
    }

    .contact-section__intro h2 {
        font-size: 2rem;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 5px;

        padding: 14px 0;
    }

    .contact-row__label {
        font-size: 0.68rem;
    }

    .contact-row strong {
        font-size: 0.88rem;
    }

    .contact-map {
        border-radius: 0 0 14px 14px;
    }

    .contact-map iframe {
        height: 240px;
    }
}

.home-section--services {
    padding: 72px 0;
    background: #f3f3f1;
    color: #151515;
}

.home-section--services .site-container {
    width: min(100% - 32px, var(--layout-width));
    margin: 0 auto;
}

.services-section__heading {
    margin-bottom: 34px;
}

.services-section__eyebrow {
    display: inline-block;
    margin-bottom: 10px;

    color: #6a7075;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.services-section__heading h2 {
    margin: 0;

    color: #151515;

    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    position: relative;

    min-height: 310px;

    display: flex;
    flex-direction: column;

    padding: 26px;

    background: #ffffff;

    border: 1px solid #d8d8d8;
    border-radius: 12px;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);

    border-color: #a9b7bf;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.06);
}

.service-card__offer {
    position: absolute;
    top: 18px;
    right: 18px;

    display: inline-flex;

    padding: 5px 9px;

    background: #1e2a33;
    color: #ffffff;

    border-radius: 999px;

    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.service-card__icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f5f5;

    border: 1px solid #e1e4e6;
    border-radius: 10px;

    color: #477f9a;
}

.service-card__icon svg {
    width: 29px;
    height: 29px;
}

.service-card h3 {
    margin: 0;

    color: #151515;

    font-size: 1.15rem;
    line-height: 1.3;
}

.service-card > p {
    flex: 1;

    margin: 12px 0 0;

    color: #62676b;

    font-size: 0.88rem;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;

    overflow: hidden;
}

.service-card__price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid #e6e6e6;
}

.service-card__price strong {
    color: #365f75;

    font-size: 0.95rem;
}

.service-card__old-price {
    color: #999;

    font-size: 0.78rem;
    text-decoration: line-through;
}

.service-card__discount {
    display: inline-flex;

    padding: 3px 7px;

    background: rgba(168, 121, 54, 0.1);
    color: #986d30;

    border-radius: 6px;

    font-size: 0.7rem;
    font-weight: 700;
}

@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .home-section--services {
        padding: 44px 0;
    }

    .home-section--services .site-container {
        width: min(100% - 20px, var(--layout-width));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .service-card {
        min-height: 250px;
        padding: 16px;
        border-radius: 10px;
    }

    .service-card__top {
        margin-bottom: 16px;
    }

    .service-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
    }

    .service-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .service-card h3 {
        font-size: 0.95rem;
    }

    .service-card > p {
		margin-top: 9px;
		font-size: 0.76rem;
		line-height: 1.5;

		-webkit-line-clamp: 3;
	}

    .service-card__price {
        gap: 6px;
        margin-top: 16px;
        padding-top: 14px;
    }

    .service-card__price strong {
        font-size: 0.8rem;
    }

    .service-card__old-price {
        font-size: 0.68rem;
    }

    .service-card__discount {
        font-size: 0.62rem;
    }

    .service-card__offer {
        top: 12px;
        right: 12px;
        padding: 4px 7px;
        font-size: 0.56rem;
    }
}

.service-card {
    cursor: pointer;
}

.service-card:focus-visible {
    outline: 3px solid rgba(216, 180, 116, 0.35);
    outline-offset: 3px;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.service-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.service-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.service-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 480px);

    padding: 32px;

    background: #ffffff;

    border: 1px solid #d8d8d8;
    border-radius: 18px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.28);

    transform: translateY(12px) scale(0.98);

    transition: transform 0.2s ease;
}

.service-modal.is-open .service-modal__dialog {
    transform: translateY(0) scale(1);
}

.service-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: #f3f3f1;
    color: #6a7075;

    border: 1px solid #dddddd;
    border-radius: 50%;

    font-size: 1.25rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.service-modal__close:hover {
    background: #e9e9e7;
    color: #151515;
}

.service-modal__icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    background: #f3f5f5;
    border: 1px solid #e1e4e6;
    border-radius: 14px;

    color: #477f9a;
}

.service-modal__icon svg {
    width: 34px;
    height: 34px;
}

.service-modal__offer {
    display: inline-flex;

    margin-bottom: 10px;
    padding: 5px 9px;

    background: #1e2a33;
    border: 0;
    border-radius: 999px;

    color: #ffffff;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-modal__dialog h2 {
    margin: 0;

    color: #151515;

    font-size: 1.7rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.service-modal__dialog > p {
    margin: 14px 0 0;

    color: #62676b;

    font-size: 0.92rem;
    line-height: 1.7;
}

.service-modal__price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 24px;
    padding-top: 20px;

    border-top: 1px solid #e6e6e6;
}

.service-modal__price strong {
    color: #365f75;

    font-size: 1rem;
}

.service-modal__old-price {
    color: #999;

    font-size: 0.8rem;
    text-decoration: line-through;
}

.service-modal__discount {
    padding: 4px 7px;

    background: rgba(168, 121, 54, 0.1);
    border-radius: 6px;

    color: #986d30;

    font-size: 0.7rem;
    font-weight: 700;
}

body.service-modal-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .service-modal {
        padding: 14px;
    }

    .service-modal__dialog {
        width: 100%;
        padding: 26px 20px 22px;
        border-radius: 16px;
    }

    .service-modal__icon {
        width: 50px;
        height: 50px;
    }

    .service-modal__icon svg {
        width: 30px;
        height: 30px;
    }

    .service-modal__dialog h2 {
        font-size: 1.45rem;
    }

    .service-modal__dialog > p {
        font-size: 0.88rem;
    }
}

.home-section--hero {
    position: relative;
    overflow: hidden;

    background: #111315;
}

.hero-slider {
    position: relative;

    width: 100%;
    min-height: 620px;

    overflow: hidden;
}

.hero-slider__track {
    position: relative;

    width: 100%;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.hero-slide.is-active {
    position: relative;

    opacity: 1;
    visibility: visible;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 13, 16, 0.88) 0%,
            rgba(10, 13, 16, 0.68) 38%,
            rgba(10, 13, 16, 0.28) 70%,
            rgba(10, 13, 16, 0.15) 100%
        );
}

.hero-slide__content {
    position: relative;
    z-index: 2;

    width: min(100% - 32px, var(--layout-width));
    margin: 0 auto;

    padding: 80px 0;

    color: #ffffff;
}

.hero-slide__content {
    max-width: var(--layout-width);
}

.hero-slide__eyebrow {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--color-gold);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-slide h1,
.hero-slide h2 {
    max-width: 760px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero-slide p {
    max-width: 560px;

    margin: 24px 0 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1rem;
    line-height: 1.7;
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}

.hero-slide__button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 10px;

    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.hero-slide__button--primary {
    background: var(--color-gold);
    color: #111315;
}

.hero-slide__button--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-slide__button:hover {
    transform: translateY(-1px);
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: rgba(17, 19, 21, 0.55);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    font-size: 1.6rem;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(8px);
}

.hero-slider__arrow--prev {
    left: 20px;
}

.hero-slider__arrow--next {
    right: 20px;
}

.hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 4;

    display: flex;
    gap: 7px;

    transform: translateX(-50%);
}

@media (min-width: 701px) {
    .hero-slide__background,
    .hero-slide__image {
        position: absolute;
        inset: 0;
    }

    .hero-slide__background {
        z-index: 0;

        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;

        filter: blur(28px) brightness(0.45);

        transform: scale(1.08);
    }

    .hero-slide__image {
        z-index: 1;

        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .hero-slide__overlay {
        z-index: 2;
    }

    .hero-slide__content {
        z-index: 3;
    }
}

@media (max-width: 700px) {
    .hero-slider,
    .hero-slider__track,
    .hero-slide {
        min-height: 420px;
    }

    .hero-slide__background {
        display: none;
    }

    .hero-slide__image {
        position: absolute;
        inset: 0;

        z-index: 1;

        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero-slide__overlay {
        z-index: 2;

        background:
            linear-gradient(
                180deg,
                rgba(10, 13, 16, 0.3) 0%,
                rgba(10, 13, 16, 0.72) 48%,
                rgba(10, 13, 16, 0.92) 100%
            );
    }

    .hero-slide__content {
        z-index: 3;

        width: min(100% - 24px, var(--layout-width));
        padding: 60px 0 72px;
    }

    .hero-slide h1,
    .hero-slide h2 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-slide p {
        max-width: 100%;
        font-size: 0.92rem;
    }

    .hero-slide__actions {
        margin-top: 24px;
    }

    .hero-slide__button {
        flex: 1;
        min-width: 0;
    }

    .hero-slider__arrow {
        display: none;
    }
}

.hero-slider__dot {
    width: 8px;
    height: 8px;

    padding: 0;

    background: rgba(255, 255, 255, 0.35);

    border: 0;
    border-radius: 999px;

    cursor: pointer;

    transition:
        width 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

.hero-slider__dot.is-active {
    width: 24px;

    background: var(--color-gold);
}

.hero-slider__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-slider__dot.is-active:hover {
    background: var(--color-gold);
}

@media (max-width: 700px) {
    .hero-slider__dots {
        bottom: 16px;
    }

    .hero-slider__dot {
        width: 7px;
        height: 7px;
    }

    .hero-slider__dot.is-active {
        width: 22px;
    }
}

