:root {
    --bg: #ffffff;
    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --accent: #c8a96b;
    --accent-dark: #9a7b3d;
    --shadow: 0 24px 70px rgba(15, 23, 42, .10);
    --shadow-soft: 0 14px 36px rgba(15, 23, 42, .07);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    padding-bottom: 72px;
}

body.no-scroll { overflow: hidden; }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button { cursor: pointer; }

h1,
h2,
h3 {
    font-family: Manrope, Inter, sans-serif;
    line-height: 1.04;
    letter-spacing: 0;
    color: var(--ink);
    margin: 0;
}

p { margin: 0; }

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.section-soft {
    background: var(--soft);
}

.section-head {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head.center {
    text-align: center;
    margin-inline: auto;
}

.section-head h2 {
    font-size: clamp(2rem, 5vw, 3.35rem);
}

.section-head p {
    color: var(--muted);
    font-size: 1.08rem;
}

.eyebrow {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
    border-color: rgba(226, 232, 240, .9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand strong {
    display: block;
    font-family: Manrope, Inter, sans-serif;
    font-size: .98rem;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.3;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 26px;
    color: var(--ink-2);
    font-weight: 600;
    font-size: .95rem;
}

.desktop-nav a {
    transition: color .2s ease;
}

.desktop-nav a:hover { color: var(--accent-dark); }

.header-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
}

.btn-primary:hover {
    background: var(--ink-2);
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    border-color: rgba(200, 169, 107, .55);
    box-shadow: var(--shadow-soft);
}

.btn-light {
    background: #fff;
    color: var(--ink);
}

.mobile-menu-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    gap: 0;
    padding: 12px;
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

.mobile-drawer,
.consult-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(15, 23, 42, .42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.mobile-drawer.is-open,
.consult-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100%;
    background: #fff;
    padding: 22px;
    transform: translateX(100%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 800 1.2rem Manrope, Inter, sans-serif;
}

.drawer-head button,
.modal-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 1.7rem;
    line-height: 1;
}

.drawer-nav {
    display: grid;
    gap: 8px;
    margin: 34px 0;
}

.drawer-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font: 700 1.1rem Manrope, Inter, sans-serif;
}

.drawer-actions {
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.hero {
    padding: 38px 0 72px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-media {
    position: relative;
    order: -1;
}

.hero-photo-shell {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(145deg, #f8fafc, #eef2f7);
    box-shadow: var(--shadow);
    min-height: 360px;
}

.hero-photo-shell::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px;
    height: 42%;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(15,23,42,.42));
}

.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
}

.trust-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}

.trust-card strong {
    display: block;
    font: 800 1.35rem Manrope, Inter, sans-serif;
}

.trust-card span {
    color: var(--muted);
    font-size: .86rem;
}

.trust-card.one {
    left: 14px;
    bottom: 18px;
}

.trust-card.two {
    right: 12px;
    top: 20px;
}

.hero-copy {
    display: grid;
    gap: 24px;
}

.hero h1 {
    font-size: clamp(2.45rem, 9vw, 5.65rem);
    max-width: 780px;
}

.hero-subtitle {
    color: var(--muted);
    font-size: clamp(1.08rem, 2.2vw, 1.28rem);
    max-width: 620px;
}

.hero-actions {
    display: grid;
    gap: 12px;
}

.hero-actions .btn {
    width: 100%;
}

.hero-benefits {
    display: grid;
    gap: 10px;
}

.benefit-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-2);
    font-weight: 700;
}

.benefit-pill::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(200, 169, 107, .14);
}

.stats-strip {
    margin-top: 42px;
    display: grid;
    gap: 12px;
}

.stat-card,
.service-card,
.why-card,
.case-card,
.review-card,
.faq-item,
.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.stat-card {
    padding: 22px;
}

.stat-card strong {
    font: 800 2rem Manrope, Inter, sans-serif;
    display: block;
}

.stat-card span { color: var(--muted); }

.services-grid,
.why-grid,
.cases-grid,
.reviews-grid,
.content-grid {
    display: grid;
    gap: 16px;
}

.service-card {
    min-height: 260px;
    padding: 24px;
    display: grid;
    align-content: start;
    gap: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover,
.case-card:hover,
.review-card:hover,
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(200, 169, 107, .44);
}

.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(200, 169, 107, .13);
    color: var(--accent-dark);
    font-weight: 900;
}

.service-card h3,
.why-card h3,
.case-card h3,
.review-card h3,
.content-card h3 {
    font-size: 1.25rem;
}

.service-card p,
.why-card p,
.case-card p,
.review-card p,
.content-card p {
    color: var(--muted);
}

.card-link {
    color: var(--ink);
    font-weight: 800;
    margin-top: auto;
}

button.card-link {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--ink);
    cursor: pointer;
}

.legacy-description {
    color: var(--muted);
    display: grid;
    gap: 8px;
}

.legacy-description ul,
.legacy-description ol {
    margin: 0;
    padding-left: 18px;
}

.legacy-description li {
    margin-bottom: 8px;
}

.service-list-grid {
    display: grid;
    gap: 18px;
}

.service-list-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    display: grid;
    gap: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-list-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(200, 169, 107, .44);
}

.why-card,
.case-card,
.review-card,
.content-card {
    padding: 24px;
}

.timeline {
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.timeline-item {
    position: relative;
    padding: 22px 22px 22px 70px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.timeline-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
}

.timeline-item h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.timeline-item p { color: var(--muted); }

.case-card {
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.92));
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--soft);
    color: var(--ink-2);
    padding: 7px 10px;
    font-size: .78rem;
    font-weight: 700;
}

.result {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--accent-dark);
    font-weight: 800;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
}

.stars {
    color: var(--accent-dark);
    letter-spacing: .04em;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    padding: 22px 58px 22px 22px;
    font: 800 1.05rem Manrope, Inter, sans-serif;
    position: relative;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-dark);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    padding: 0 22px 22px;
    color: var(--muted);
}

.cta-panel {
    display: grid;
    gap: 24px;
    align-items: center;
    background: var(--ink);
    color: #fff;
    border-radius: 32px;
    padding: 30px;
    overflow: hidden;
    position: relative;
}

.cta-panel::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -50%;
    width: 48%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,107,.24), rgba(200,169,107,0) 68%);
    pointer-events: none;
}

.cta-panel h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 8px 0 10px;
}

.cta-panel p:not(.eyebrow) {
    color: rgba(255,255,255,.72);
    max-width: 620px;
}

.site-footer {
    background: var(--soft);
    border-top: 1px solid var(--line);
    padding: 54px 0 28px;
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-grid h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.footer-note {
    max-width: 360px;
    margin-top: 16px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    margin-top: 38px;
    padding-top: 22px;
    font-size: .9rem;
}

.consult-modal {
    display: grid;
    place-items: center;
    padding: 18px;
}

.modal-card {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    position: relative;
    transform: translateY(16px) scale(.98);
    transition: transform .22s ease;
    box-shadow: var(--shadow);
}

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

.modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
}

.modal-card h2 {
    font-size: 2rem;
    margin: 8px 0 10px;
}

.modal-card p {
    color: var(--muted);
}

.consult-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.consult-form label {
    display: grid;
    gap: 8px;
    color: var(--ink-2);
    font-weight: 700;
}

.consult-form input {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 16px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

.consult-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(200, 169, 107, .16);
}

.consult-form small {
    color: var(--muted);
}

.mobile-bottom-nav {
    position: fixed;
    z-index: 70;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(226,232,240,.92);
    border-radius: 22px;
    padding: 8px;
    box-shadow: 0 18px 44px rgba(15,23,42,.14);
    backdrop-filter: blur(18px);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
    min-height: 44px;
    border: 0;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--ink);
    font-weight: 800;
    font-size: .86rem;
}

.mobile-bottom-nav button {
    background: var(--ink);
    color: #fff;
}

.page-hero {
    padding: 64px 0 46px;
    background: linear-gradient(180deg, #fff, var(--soft));
}

.page-hero-inner {
    display: grid;
    gap: 16px;
    max-width: 820px;
}

.page-hero h1 {
    font-size: clamp(2.3rem, 6vw, 4.6rem);
}

.page-hero p {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 700px;
}

.two-column {
    display: grid;
    gap: 18px;
}

.media-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}

.media-grid img {
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
}

.about-photo {
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.review-media {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--soft);
}

.review-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 700px) {
    body { padding-bottom: 0; }
    .section { padding: 92px 0; }
    .desktop-nav,
    .header-actions { display: flex; }
    .mobile-menu-btn,
    .mobile-bottom-nav { display: none; }
    .hero { padding: 72px 0 92px; }
    .hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
        gap: 54px;
    }
    .hero-media { order: 0; }
    .hero-actions {
        display: flex;
        align-items: center;
    }
    .hero-actions .btn { width: auto; }
    .hero-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .stats-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .why-grid,
    .cases-grid,
    .reviews-grid,
    .service-list-grid,
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .timeline {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }
    .timeline-item {
        padding: 74px 18px 22px;
    }
    .timeline-item::before {
        left: 18px;
        top: 22px;
    }
    .cta-panel {
        grid-template-columns: 1fr auto;
        padding: 44px;
    }
    .footer-grid {
        grid-template-columns: 1.35fr .75fr 1fr .7fr;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    .two-column {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .reviews-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
