:root {
    --color-bg: #f7f3ed;
    --color-bg-alt: #eee7dc;
    --color-bg-dark: #27231f;
    --color-bg-card: #fbf9f5;
    --color-text: #292621;
    --color-text-light: #6d675f;
    --color-text-muted: #9a9287;
    --color-text-inverse: #faf7f1;
    --color-accent: #b6946d;
    --color-accent-light: #dcc4a5;
    --color-accent-dark: #896b4d;
    --color-border: rgba(41, 38, 33, 0.14);
    --section-pad: clamp(88px, 10vw, 148px);
}

body {
    background: var(--color-bg);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.window-mark {
    position: relative;
    display: inline-block;
    width: 27px;
    height: 31px;
    border: 1.5px solid currentColor;
    color: var(--color-text-inverse);
    transition: color var(--transition-fast);
}

.window-mark::before,
.window-mark i {
    content: "";
    position: absolute;
    background: currentColor;
}

.window-mark::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

.window-mark i {
    left: 0;
    right: 0;
    top: 43%;
    height: 1px;
}

.header.scrolled .window-mark {
    color: var(--color-text);
}

.nav-logo-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.nav-links {
    gap: clamp(20px, 2.5vw, 36px);
}

.nav-link,
.nav-cta {
    letter-spacing: 0.08em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions .nav-cta {
    padding: 11px 20px;
}

.mobile-menu-links button {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(28px, 6vw, 40px);
    color: var(--color-accent-light);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out) 0.35s;
}

.mobile-menu.active .mobile-menu-links button {
    opacity: 1;
    transform: translateY(0);
}

.header:not(.scrolled) .nav-price-trigger,
.header.scrolled .nav-price-trigger {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
}

.header:not(.scrolled) .nav-price-trigger:hover,
.header.scrolled .nav-price-trigger:hover {
    border-color: var(--color-accent-dark);
    background: var(--color-accent-dark);
}

.hero-journey .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(28, 25, 22, 0.46) 0%,
        rgba(28, 25, 22, 0.19) 43%,
        rgba(28, 25, 22, 0.58) 100%
    );
}

.hero-content {
    max-width: 940px;
}

.hero-overline {
    margin-bottom: 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

.hero-brand {
    margin-bottom: 22px;
    font-size: clamp(44px, 6.4vw, 82px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-transform: none;
    white-space: normal;
}

.hero-kicker {
    max-width: 690px;
    margin: 0 auto;
    font-size: clamp(14px, 1.55vw, 18px);
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(253, 251, 247, 0.82);
}

.hero-kicker::before,
.hero-kicker::after {
    display: none;
}

.hero-opening-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.hero-opening-actions .btn,
.hero-finale-actions .btn {
    min-width: 190px;
    justify-content: center;
}

.btn-glass,
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.btn-glass:hover,
.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hero-finale-title {
    max-width: 820px;
    font-size: clamp(34px, 5vw, 66px);
    letter-spacing: -0.025em;
}

.hero-finale-sub {
    max-width: 620px;
    font-size: clamp(15px, 1.55vw, 18px);
}

.hero-scroll span {
    letter-spacing: 0.13em;
}

.window-intro {
    background: var(--color-bg);
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(72px, 0.55fr) minmax(0, 2fr) minmax(220px, 0.85fr);
    align-items: start;
    gap: clamp(32px, 5vw, 76px);
}

.intro-index {
    padding-top: 7px;
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-accent);
}

.intro-copy .section-title {
    max-width: 720px;
    margin-bottom: 34px;
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -0.04em;
}

.intro-lead {
    max-width: 740px;
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 300;
    line-height: 1.55;
    color: var(--color-text-light);
}

.intro-note {
    margin-top: 126px;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.7;
}

.note-line {
    display: block;
    width: 52px;
    height: 1px;
    margin-bottom: 24px;
    background: var(--color-accent);
}

.tasks-section {
    background: var(--color-bg-alt);
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    align-items: end;
    gap: clamp(40px, 8vw, 120px);
    margin-bottom: clamp(52px, 7vw, 92px);
}

.split-heading .section-title {
    margin-bottom: 0;
    font-size: clamp(42px, 6vw, 72px);
    letter-spacing: -0.04em;
}

.split-heading > p {
    padding-bottom: 8px;
    font-size: 15px;
    color: var(--color-text-light);
}

.task-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(38px, 7vw, 96px);
}

.task-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    min-height: 82px;
    border-top: 1px solid var(--color-border);
    transition: color 180ms ease, padding 220ms var(--ease-out);
}

.task-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
}

.task-row span {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.task-row strong {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 400;
    line-height: 1.25;
}

.task-row i {
    font-size: 18px;
    font-style: normal;
    color: var(--color-accent-dark);
}

.task-row:hover {
    padding-left: 8px;
    color: var(--color-accent-dark);
}

.prices-section {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.prices-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(56px, 10vw, 150px);
}

.prices-heading {
    position: sticky;
    top: 120px;
    align-self: start;
}

.prices-heading .section-title {
    margin-bottom: 28px;
    color: var(--color-text-inverse);
    font-size: clamp(40px, 5.2vw, 66px);
}

.prices-heading > p {
    max-width: 380px;
    color: rgba(250, 247, 241, 0.64);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(220, 196, 165, 0.55);
    color: var(--color-accent-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.text-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.price-list {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 28px;
    min-height: 104px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.price-row span {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.1vw, 29px);
    font-weight: 400;
}

.price-row strong {
    flex: 0 0 auto;
    color: var(--color-accent-light);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.directions-section {
    background: var(--color-bg);
}

.direction-heading {
    align-items: center;
}

.direction-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(16px, 2.4vw, 32px);
}

.direction-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #c9b9a7;
}

.direction-card-wide {
    grid-column: span 7;
}

.direction-card-tall {
    grid-column: span 5;
}

.direction-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--ease-out);
}

.direction-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(22, 19, 16, 0.74) 100%);
}

.direction-card:hover img {
    transform: scale(1.025);
}

.direction-caption {
    position: absolute;
    left: clamp(24px, 3vw, 42px);
    right: clamp(24px, 3vw, 42px);
    bottom: clamp(24px, 3vw, 38px);
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 22px;
    color: #fff;
}

.direction-caption span {
    padding-bottom: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.64);
}

.direction-caption h3 {
    max-width: 520px;
    font-family: var(--font-heading);
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.1;
}

.final-cta {
    position: relative;
    background: #e8dece;
    text-align: center;
}

.final-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 54px;
    background: rgba(41, 38, 33, 0.28);
}

.final-cta-inner {
    max-width: 920px;
}

.final-cta h2 {
    margin-bottom: 28px;
    font-family: var(--font-heading);
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.final-cta-inner > p:not(.section-label) {
    max-width: 660px;
    margin: 0 auto;
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 300;
    color: var(--color-text-light);
}

.final-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
}

.final-phone {
    display: inline-block;
    margin-top: 34px;
    font-family: var(--font-heading);
    font-size: 24px;
}

.window-footer {
    padding: 32px 0;
    background: var(--color-bg-dark);
    color: rgba(250, 247, 241, 0.7);
}

.window-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.price-panel-open {
    overflow: hidden;
}

.price-dialog {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(720px, 100vw);
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: var(--color-text);
}

.price-dialog::backdrop {
    background: rgba(24, 21, 18, 0.68);
    backdrop-filter: blur(5px);
}

.price-sheet {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    box-shadow: -28px 0 90px rgba(20, 17, 14, 0.22);
    animation: price-sheet-enter 480ms var(--ease-out) both;
}

.price-sheet-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    padding: 24px clamp(28px, 5vw, 56px);
    border-bottom: 1px solid var(--color-border);
    background: rgba(247, 243, 237, 0.96);
}

.price-sheet-overline,
.minimum-visit > p:first-child {
    margin-bottom: 4px;
    color: var(--color-accent-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.price-sheet-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

.price-sheet-close {
    position: relative;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.price-sheet-close::before,
.price-sheet-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1px;
    background: currentColor;
}

.price-sheet-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.price-sheet-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.price-sheet-close:hover {
    border-color: var(--color-accent);
    background: rgba(182, 148, 109, 0.1);
    transform: rotate(4deg);
}

.price-sheet-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(30px, 5vw, 52px) clamp(28px, 5vw, 56px) calc(38px + env(safe-area-inset-bottom));
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-light) transparent;
}

.minimum-visit {
    position: relative;
    padding: clamp(28px, 4vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(137, 107, 77, 0.26);
    background: #eee4d6;
}

.minimum-visit::after {
    content: "";
    position: absolute;
    top: -44px;
    right: -44px;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(137, 107, 77, 0.24);
    border-radius: 50%;
}

.minimum-visit h3 {
    position: relative;
    z-index: 1;
    margin: 10px 0 15px;
    max-width: 520px;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.minimum-visit p:last-child {
    position: relative;
    z-index: 1;
    max-width: 555px;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.65;
}

.full-price-list {
    margin-top: 38px;
    border-top: 1px solid var(--color-border);
}

.full-price-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 28px;
    padding: 19px 0;
    border-bottom: 1px solid var(--color-border);
}

.full-price-list dt {
    max-width: 440px;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.32;
}

.full-price-list dd {
    color: var(--color-accent-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.individual-calculation {
    margin-top: 38px;
    padding: 25px 0 25px 26px;
    border-left: 2px solid var(--color-accent);
}

.individual-calculation span {
    display: block;
    margin-bottom: 8px;
    color: var(--color-accent-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.individual-calculation p {
    max-width: 560px;
    font-family: var(--font-heading);
    font-size: clamp(19px, 2.3vw, 24px);
    line-height: 1.42;
}

.price-sheet-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.price-sheet-actions .btn {
    justify-content: center;
}

@keyframes price-sheet-enter {
    from { opacity: 0; transform: translateX(32px); }
    to { opacity: 1; transform: translateX(0); }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .intro-layout {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .intro-note {
        grid-column: 2;
        margin-top: 0;
        max-width: 420px;
    }

    .split-heading,
    .prices-layout {
        grid-template-columns: 1fr;
    }

    .split-heading {
        gap: 28px;
    }

    .split-heading > p {
        max-width: 520px;
    }

    .prices-heading {
        position: static;
    }
}

@media (max-width: 680px) {
    :root {
        --section-pad: 78px;
        --container-pad: 20px;
    }

    .header {
        padding: 16px 0;
    }

    .nav-logo {
        gap: 10px;
    }

    .window-mark {
        width: 23px;
        height: 27px;
    }

    .nav-logo-text {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .mobile-menu-links {
        width: 100%;
    }

    .mobile-menu-links a,
    .mobile-menu-links button {
        font-size: clamp(25px, 7.2vw, 34px);
    }

    .mobile-price-trigger {
        font-family: var(--font-heading);
        color: var(--color-accent-light);
    }

    .hero-content {
        padding: 22px;
    }

    .hero-overline {
        margin-bottom: 16px;
        font-size: 9px;
        letter-spacing: 0.18em;
    }

    .hero-brand {
        margin-bottom: 18px;
        font-size: clamp(42px, 13vw, 58px);
        line-height: 0.98;
    }

    .hero-kicker {
        max-width: 340px;
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-opening-actions,
    .hero-finale-actions,
    .final-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-opening-actions {
        max-width: 320px;
        margin: 26px auto 0;
    }

    .hero-opening-actions .btn,
    .hero-finale-actions .btn,
    .final-actions .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .hero-finale-title {
        font-size: 39px;
    }

    .hero-finale-sub {
        max-width: 330px;
        margin-bottom: 26px;
    }

    .hero-finale-actions {
        max-width: 300px;
    }

    .hero-scroll {
        bottom: 22px;
    }

    .hero-scroll span {
        font-size: 9px;
    }

    .intro-layout {
        display: block;
    }

    .intro-index {
        margin-bottom: 34px;
    }

    .intro-copy .section-title,
    .split-heading .section-title,
    .prices-heading .section-title {
        font-size: 42px;
    }

    .intro-copy .section-title br,
    .direction-heading .section-title br {
        display: none;
    }

    .intro-lead {
        font-size: 20px;
    }

    .intro-note {
        margin-top: 42px;
    }

    .task-list {
        grid-template-columns: 1fr;
    }

    .task-row {
        min-height: 72px;
    }

    .task-row:nth-last-child(2) {
        border-bottom: 0;
    }

    .task-row:last-child {
        border-bottom: 1px solid var(--color-border);
    }

    .task-row strong {
        font-size: 21px;
    }

    .prices-layout {
        gap: 52px;
    }

    .price-row {
        display: grid;
        gap: 8px;
        min-height: 0;
        padding: 24px 0;
    }

    .price-row span {
        font-size: 22px;
    }

    .direction-grid {
        display: block;
    }

    .direction-card {
        min-height: 430px;
        margin-bottom: 16px;
    }

    .direction-card:nth-child(even) {
        min-height: 520px;
    }

    .direction-caption {
        gap: 14px;
    }

    .direction-caption h3 {
        font-size: 30px;
    }

    .final-cta h2 {
        font-size: 46px;
    }

    .final-actions {
        max-width: 320px;
        margin-right: auto;
        margin-left: auto;
    }

    .window-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .price-dialog {
        width: 100vw;
    }

    .price-sheet-header {
        min-height: 88px;
        padding: calc(18px + env(safe-area-inset-top)) 20px 18px;
    }

    .price-sheet-close {
        width: 44px;
        height: 44px;
    }

    .price-sheet-scroll {
        padding: 24px 20px calc(28px + env(safe-area-inset-bottom));
    }

    .minimum-visit {
        padding: 25px 22px;
    }

    .minimum-visit h3 {
        max-width: 300px;
        font-size: 30px;
    }

    .full-price-list {
        margin-top: 28px;
    }

    .full-price-list > div {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px 0;
    }

    .full-price-list dt {
        font-size: 19px;
    }

    .full-price-list dd {
        font-size: 12px;
    }

    .individual-calculation {
        margin-top: 28px;
        padding: 18px 0 18px 20px;
    }

    .price-sheet-actions {
        flex-direction: column;
    }

    .price-sheet-actions .btn {
        width: 100%;
    }
}

@media (hover: none) {
    .direction-card:hover img,
    .task-row:hover,
    .btn:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .direction-card img,
    .task-row,
    .btn,
    .nav-link,
    .window-mark {
        transition: none;
    }

    .price-sheet {
        animation: none;
    }
}
