:root {
    --primary: #0a1e2b;
    --secondary: #c0a062;
    --light: #f8f9fa;
    --dark: #051016;
    --gray: #5d6a75;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --gold-gradient: linear-gradient(135deg, #c0a062 0%, #e8d9b5 50%, #c0a062 100%);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: #fff;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 30, 43, 0.95);
    padding: 18px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(192, 160, 98, 0.15);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.logo {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    position: relative;
}

.logo span {
    color: var(--secondary);
    margin-left: 5px;
    font-weight: 500;
}

.logo-icon {
    margin-right: 12px;
    font-size: 24px;
    color: var(--secondary);
}

.logo::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.logo-img {
    display: block;
    height: 100px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    transition: var(--transition);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 35px;
    position: relative;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
    position: relative;
    letter-spacing: 0.5px;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}

.mobile-menu-btn:hover {
    color: var(--secondary);
}

.service-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(10, 30, 43, 0.95);
    border-bottom: 1px solid rgba(192, 160, 98, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.service-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.service-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex: 0 0 auto;
    max-width: 360px;
    min-width: 0;
}

.service-logo__text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-logo__text span,
.service-footer__logo span {
    color: var(--secondary);
}

.service-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex: 1 1 auto;
}

.service-nav a,
.service-phone {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    padding-bottom: 5px;
    white-space: nowrap;
}

.service-nav a::after,
.service-phone::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.25s ease;
}

.service-nav a:hover,
.service-phone:hover {
    color: var(--secondary);
}

.service-nav a:hover::after,
.service-phone:hover::after {
    width: 100%;
}

.hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5, 16, 22, 0.9), rgba(10, 30, 43, 0.74)),
        var(--hero-image, url("../img/hero.png")) center / cover;
}

.hero-inner {
    min-height: 560px;
    display: grid;
    align-content: center;
    max-width: 830px;
    padding: 180px 0 82px;
}

.breadcrumbs {
    margin-bottom: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1.15;
    margin: 0;
}

h1 {
    max-width: 900px;
    font-size: clamp(42px, 6vw, 70px);
}

.lead {
    margin: 24px 0 0;
    max-width: 760px;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.88);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--secondary);
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn:hover {
    background: #a8894d;
    border-color: #a8894d;
}

.btn-outline {
    background: transparent;
    color: #fff;
}

.section {
    padding: 82px 0;
}

.section.alt {
    background: var(--light);
}

.grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
}

.section h2 {
    margin-bottom: 24px;
    color: var(--primary);
    font-size: clamp(34px, 4vw, 48px);
}

.content p {
    margin: 0 0 18px;
    color: var(--gray);
}

.list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.list li {
    position: relative;
    padding-left: 28px;
    color: var(--gray);
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
}

.panel {
    padding: 30px;
    border: 1px solid rgba(10, 30, 43, 0.1);
    background: #fff;
}

.panel h3 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 28px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    padding: 20px;
    border-top: 3px solid var(--secondary);
    background: #fff;
}

.step strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
}

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

.service-link {
    display: block;
    min-height: 118px;
    padding: 22px;
    border: 1px solid rgba(10, 30, 43, 0.1);
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s ease;
}

.service-link:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.service-link span {
    display: block;
    margin-top: 8px;
    color: var(--gray);
    font-size: 14px;
}

.faq {
    display: grid;
    gap: 16px;
}

.faq details {
    padding: 20px 24px;
    border: 1px solid rgba(10, 30, 43, 0.1);
    background: #fff;
}

.faq summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
}

.faq p {
    margin: 12px 0 0;
    color: var(--gray);
}

.cta {
    padding: 62px 0;
    background: var(--primary);
    color: #fff;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta h2 {
    font-size: clamp(32px, 4vw, 46px);
}

.cta p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.service-footer {
    position: relative;
    padding: 82px 0 34px;
    background: var(--primary);
    color: #fff;
}

.service-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-gradient);
}

.service-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
}

.service-footer__logo {
    margin-bottom: 18px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
}

.service-footer p,
.service-footer a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    text-decoration: none;
}

.service-footer a:hover {
    color: var(--secondary);
}

.service-footer__col,
.service-footer__contacts {
    display: grid;
    align-content: start;
    gap: 10px;
}

.service-footer h4 {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
}

.service-footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.service-footer__contacts p {
    margin: 0;
}

.service-footer__bottom {
    margin-top: 50px;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .service-nav {
        gap: 16px;
    }

    .service-phone {
        display: none;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 40px;
    }

    .service-header {
        padding: 10px 0;
    }

    .service-header__inner {
        min-height: 64px;
    }

    .service-logo {
        font-size: 23px;
    }

    .service-nav {
        display: none;
    }

    .hero-inner {
        min-height: 560px;
        min-height: min(620px, 82svh);
        align-content: start;
        max-width: 100%;
        padding: 92px 0 44px;
        text-align: center;
    }

    .breadcrumbs {
        margin-bottom: 16px;
        font-size: 13px;
    }

    h1 {
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 1.16;
    }

    .lead {
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.5;
    }

    .actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 24px;
    }

    .actions .btn {
        width: 100%;
        max-width: 280px;
        min-height: 44px;
        padding: 0 18px;
    }

    .actions .btn-outline {
        margin: 0;
    }

    .grid,
    .steps,
    .services,
    .service-footer__grid {
        grid-template-columns: 1fr;
    }

    .cta-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 25px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 20px;
    }

    .service-logo__text {
        display: none;
    }

    .service-logo {
        max-width: 64px;
    }

    .hero {
        background-position: center top;
    }

    .hero-inner {
        min-height: 520px;
        min-height: min(560px, 80svh);
        padding: 86px 0 38px;
    }

    .breadcrumbs {
        margin-bottom: 12px;
        font-size: 12px;
    }

    h1 {
        font-size: 24px;
        line-height: 1.16;
    }

    .lead {
        font-size: 14px;
        line-height: 1.5;
    }

    .actions {
        margin-top: 20px;
    }

    .actions .btn {
        width: 100%;
        min-height: 42px;
    }
}
