:root {
    --font-heading: "Cormorant Garamond", serif;
    --font-body: "Inter", sans-serif;
    --background: #f8f5ef;
    --foreground: #29231f;
    --card: #eee8df;
    --muted: #81766d;
    --border: #ded4c9;
    --accent: #b08970;
    --accent-strong: #956f58;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(41, 35, 31, 0.12);
    --champagne: #f1dcc2;
    --porcelain: #fbf7ef;
    --smoke: #e6ded2;
    --ink-soft: rgba(41, 35, 31, 0.72);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    padding: 22px 0;
    background: rgba(248, 245, 239, 0.96);
    border-bottom: 1px solid rgba(41, 35, 31, 0.12);
    box-shadow: 0 10px 35px rgba(41, 35, 31, 0.06);
    backdrop-filter: blur(18px);
    transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    padding: 12px 0;
    background: rgba(248, 245, 239, 0.96);
    box-shadow: 0 10px 35px rgba(41, 35, 31, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(100% - 48px, 1280px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
}

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

.nav a,
.header-cta,
.mobile-cta {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav a {
    color: var(--muted);
    transition: color 0.25s ease;
}

.nav a:hover {
    color: var(--foreground);
}

.header-cta,
.mobile-cta {
    padding: 12px 22px;
    color: var(--background);
    background: var(--foreground);
    transition: background 0.25s ease, transform 0.25s ease;
}

.header-cta:hover,
.mobile-cta:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    color: var(--foreground);
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    margin: 6px auto;
    background: currentColor;
    transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: none;
    padding: 110px 32px 40px;
    background: rgba(248, 245, 239, 0.96);
    backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu a:not(.mobile-cta) {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
}

.mobile-cta {
    width: fit-content;
    margin-top: 10px;
}

.hero {
    margin-top: 68px;
    min-height: 0;
    height: min(640px, calc(100vh - 68px));
    min-height: 560px;
    display: flex;
}

.hero-media {
    width: 54%;
    min-height: 0;
    height: 100%;

    padding: 0;

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

    overflow: hidden;

    background: transparent;

    line-height: 0;
}
.hero-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transform: scale(0.92);
}

.hero-copy {
    width: 46%;
    min-height: 0;
    height: 100%;
    padding: clamp(84px, 12vh, 110px) 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0;
}

h1 {
    margin-bottom: 28px;
    font-size: clamp(58px, 7vw, 108px);
    line-height: 0.96;
}

h2 {
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1;
}

h3 {
    font-size: 34px;
    line-height: 1;
}

.hero-text {
    max-width: 470px;
    margin: 0 0 26px;
    color: var(--muted);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: 1px solid var(--foreground);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

.button-primary {
    color: var(--background);
    background: var(--foreground);
}

.button-primary:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
}

.button-outline {
    color: var(--foreground);
    background: transparent;
}

.button-outline:hover {
    color: var(--background);
    background: var(--foreground);
}

.button-accent {
    border-color: var(--accent);
    color: var(--background);
    background: var(--accent);
}

.button-accent:hover {
    border-color: var(--background);
    color: var(--foreground);
    background: var(--background);
}

.section {
    padding: 82px 24px;
}

.section-grid,
.training-inner,
.footer {
    width: min(100% - 24px, 1120px);
    margin: 0 auto;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 54px;
}

.prose {
    max-width: 620px;
    margin-top: 28px;
    color: var(--muted);
}

.prose p {
    margin: 0 0 18px;
}

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

.about-visual {
    display: grid;
    gap: 24px;
}

.work-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--card);
}

.stats article,
.review-card {
    background: var(--card);
}

.stats article {
    min-height: 172px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stats span {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
}

.stats p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.services,
.reviews {
    background: rgba(238, 232, 223, 0.5);
}

.section-heading {
    width: min(100%, 680px);
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading > p:not(.eyebrow) {
    margin: 18px auto 0;
    color: var(--muted);
}

.service-grid,
.review-grid,
.portfolio-grid,
.portfolio-rows {
    width: min(100% - 24px, 1120px);
    margin: 0 auto;
    display: grid;
}

.drag-scroll {
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    overflow: hidden;
    background: var(--card);
}

.service-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(41, 35, 31, 0.46), transparent 62%);
}

.service-image h3 {
    position: absolute;
    z-index: 1;
    left: 24px;
    bottom: 24px;
    color: var(--white);
    font-size: 42px;
}

.service-toggle {
    width: 100%;
    min-height: 58px;
    padding: 18px 24px;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.service-toggle::after {
    content: "+";
    color: var(--foreground);
    font-size: 20px;
    font-weight: 300;
}

.service-toggle[aria-expanded="true"]::after {
    content: "-";
}

.service-toggle:hover,
.service-toggle[aria-expanded="true"] {
    color: var(--foreground);
}

.service-panel {
    display: none;
    padding: 0 24px 26px;
}

.service-card.is-open .service-panel {
    display: block;
}

.service-panel dl {
    margin: 0 0 22px;
}

.service-panel h4 {
    margin: 20px 0 8px;
    color: var(--foreground);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-panel h4:first-of-type {
    margin-top: 10px;
}

.price-note {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.service-panel dl div {
    padding: 14px 0;
    border-top: 1px solid rgba(41, 35, 31, 0.12);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.service-panel dt,
.service-panel dd {
    margin: 0;
    font-size: 14px;
}

.service-panel dt {
    color: var(--foreground);
}

.service-panel dd {
    flex-shrink: 0;
    color: var(--muted);
}

.service-panel a {
    display: inline-flex;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.price-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
}

.portfolio-rows {
    display: grid;
    gap: 24px;
}

.portfolio-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.portfolio-row > p {
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.portfolio-marquee {
    overflow: hidden;
    cursor: grab;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.portfolio-marquee.is-dragging,
.reviews-marquee.is-dragging {
    cursor: grabbing;
}

.portfolio-track {
    width: max-content;
    display: flex;
    gap: 18px;
    animation: portfolio-scroll 44s linear infinite;
}

.portfolio-row:nth-child(2) .portfolio-track {
    animation-duration: 42s;
}

.portfolio-row:nth-child(3) .portfolio-track {
    animation-duration: 39s;
}

.portfolio-marquee.is-dragging .portfolio-track,
.reviews-marquee.is-dragging .reviews-track {
    animation-play-state: paused;
}

@keyframes portfolio-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--marquee-offset, calc(-50% - 8px)));
    }
}

.portfolio-item {
    position: relative;
    width: 330px;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: var(--white);
    background: var(--card);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(41, 35, 31, 0.48), rgba(41, 35, 31, 0.02) 60%);
}

.portfolio-item span {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 18px;
    left: 18px;
    font-size: 14px;
    text-align: left;
}

.training {
    padding: 82px 24px;
    color: var(--background);
    background: var(--foreground);
}

.training-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
}

.training h2 {
    color: var(--background);
}

.training-copy > p:not(.eyebrow) {
    max-width: 680px;
    margin: 22px 0 30px;
    color: rgba(248, 245, 239, 0.72);
}

.tariffs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 28px;
}

.tariffs article {
    min-height: 260px;
    padding: 28px;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(248, 245, 239, 0.16);
    background: rgba(248, 245, 239, 0.06);
}

.tariffs span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.tariffs h3 {
    color: var(--background);
    font-size: 36px;
}

.tariffs p {
    margin: 0;
    color: rgba(248, 245, 239, 0.74);
    font-size: 14px;
}

.training-cta {
    width: 100%;
}

.program {
    margin: 34px 0;
}

.program h3 {
    margin-bottom: 18px;
    color: rgba(248, 245, 239, 0.58);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

.program li {
    position: relative;
    padding-left: 28px;
    color: rgba(248, 245, 239, 0.84);
    font-size: 14px;
}

.program li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.reviews {
    overflow: hidden;
}

.reviews-marquee {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.reviews-track {
    width: max-content;
    display: flex;
    gap: 20px;
    animation: reviews-scroll 48s linear infinite;
}

@keyframes reviews-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--marquee-offset, calc(-50% - 10px)));
    }
}

.review-card {
    width: 350px;
    min-height: 330px;
    padding: 22px;
    flex: 0 0 auto;
}

.review-photo {
    width: 100%;
    height: 132px;
    margin-bottom: 18px;
    object-fit: cover;
    background: var(--background);
}

.review-card p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 15px;
    font-style: italic;
}

.review-card footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card strong {
    font-size: 14px;
    font-weight: 600;
}

.review-card span {
    color: var(--muted);
    font-size: 12px;
}

.contact-box {
    width: min(100%, 760px);
    margin: 0 auto;
    text-align: center;
}

.contact-box > p:not(.eyebrow) {
    width: min(100%, 470px);
    margin: 22px auto 46px;
    color: var(--muted);
}

.contact-actions {
    justify-content: center;
}

.contact-button {
    border: 0;
    color: var(--white);
    box-shadow: none;
}

.contact-button.button {
    border: 0;
}

.contact-button.telegram {
    background: #229ed9;
}

.contact-button.instagram {
    background: linear-gradient(135deg, #feda75 0%, #fa7e1e 28%, #d62976 58%, #962fbf 78%, #4f5bd5 100%);
}

.contact-button.phone {
    background: #2fa86b;
}

.contact-button:hover {
    border-color: transparent;
    color: var(--white);
    filter: saturate(1.04) brightness(0.96);
}

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.maker-badge {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border: 1px solid rgba(41, 35, 31, 0.1);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(251, 247, 239, 0.74);
    box-shadow: 0 12px 32px rgba(41, 35, 31, 0.08);
    font-size: 12px;
    line-height: 1;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.maker-badge:hover {
    border-color: rgba(176, 137, 112, 0.36);
    box-shadow: 0 16px 36px rgba(41, 35, 31, 0.12);
    transform: translateY(-1px);
}

.maker-badge img {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px rgba(41, 35, 31, 0.1);
}

.maker-badge strong {
    color: #d54a2f;
    font-weight: 600;
}

.lightbox {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(41, 35, 31, 0.86);
    backdrop-filter: blur(12px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(100%, 1100px);
    max-height: 82vh;
    object-fit: contain;
    box-shadow: var(--shadow);
}

.lightbox p {
    position: fixed;
    right: 24px;
    bottom: 18px;
    left: 24px;
    margin: 0;
    color: var(--background);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 0;
    color: var(--background);
    background: transparent;
    font-size: 36px;
    line-height: 1;
}

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

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

/* Premium art direction layer */
body {
    background:
        radial-gradient(circle at 20% 0%, rgba(176, 137, 112, 0.12), transparent 28rem),
        linear-gradient(180deg, var(--porcelain) 0%, var(--background) 52%, #f2eadf 100%);
}

.site-header {
    background: rgba(251, 247, 239, 0.88);
    border-bottom: 1px solid rgba(41, 35, 31, 0.1);
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(251, 247, 239, 0.94);
}

.hero {
    position: relative;
    min-height: 690px;
    height: min(820px, calc(100vh - 68px));
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(238, 220, 196, 0.86) 0%, rgba(244, 226, 203, 0.58) 44%, rgba(248, 245, 239, 0.92) 74%),
        radial-gradient(circle at 70% 18%, rgba(176, 137, 112, 0.18), transparent 28rem);
}

.hero::before {
    content: "MS. ADEL";
    position: absolute;
    right: -2vw;
    bottom: 7vh;
    z-index: -1;
    color: rgba(41, 35, 31, 0.035);
    font-family: var(--font-heading);
    font-size: clamp(92px, 15vw, 260px);
    font-weight: 300;
    line-height: 0.8;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 78%, rgba(248, 245, 239, 0.92) 100%);
    pointer-events: none;
}

.hero-media {
    position: relative;
    width: 58%;
    padding: 0;
    background: transparent;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(41, 35, 31, 0.03), rgba(176, 103, 41, 0.18) 45%, rgba(248, 245, 239, 0.34) 100%),
        radial-gradient(circle at 44% 22%, rgba(255, 235, 210, 0.32), transparent 22rem);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.hero-media::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(248, 245, 239, 0.88));
    pointer-events: none;
}

.hero-media img {
    transform: none;
    filter: saturate(0.9) contrast(1.04) brightness(1.02);
    object-fit: cover;
    object-position: 50% 42%;
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: 42%;
    padding: clamp(104px, 15vh, 150px) clamp(24px, 3vw, 52px) 56px clamp(22px, 3vw, 44px);
}

.hero-copy::before {
    content: "";
    width: 72px;
    height: 1px;
    margin-bottom: 28px;
    display: block;
    background: rgba(41, 35, 31, 0.42);
}

h1 {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: clamp(60px, 5.8vw, 108px);
    line-height: 0.9;
    text-wrap: balance;
}

.hero-text {
    max-width: 460px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.75;
}

.hero-note {
    margin-top: auto;
    padding-top: 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    color: rgba(41, 35, 31, 0.52);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.button {
    border-radius: 0;
}

.section {
    position: relative;
}

.about {
    background: linear-gradient(180deg, var(--porcelain), var(--background));
}

.portfolio {
    background:
        linear-gradient(180deg, #efe5d8 0%, #f8f2e9 100%);
    overflow: hidden;
}

.services {
    background:
        radial-gradient(circle at 15% 5%, rgba(176, 137, 112, 0.12), transparent 22rem),
        #f5efe6;
}

.reviews {
    background: #eee4d8;
}

.contacts {
    background: linear-gradient(180deg, var(--background), var(--porcelain));
}

.work-photo,
.service-card,
.review-card,
.tariffs article {
    box-shadow: 0 22px 60px rgba(41, 35, 31, 0.08);
}

.work-photo,
.service-card,
.portfolio-item,
.review-card,
.tariffs article {
    border: 1px solid rgba(41, 35, 31, 0.08);
}

.work-photo {
    filter: saturate(0.92) contrast(1.03);
}

.service-card,
.review-card {
    background: rgba(251, 247, 239, 0.74);
}

.service-card {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(41, 35, 31, 0.13);
}

.service-image::after {
    background: linear-gradient(to top, rgba(41, 35, 31, 0.56), rgba(41, 35, 31, 0.05) 68%);
}

.portfolio-marquee,
.reviews-marquee {
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.portfolio-track {
    gap: 20px;
    animation-duration: 58s;
}

.portfolio-row:nth-child(2) .portfolio-track {
    animation-duration: 64s;
}

.portfolio-row:nth-child(3) .portfolio-track {
    animation-duration: 61s;
}

.portfolio-item {
    width: 380px;
    box-shadow: 0 24px 60px rgba(41, 35, 31, 0.14);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    filter: saturate(1.04);
}

.portfolio-item img,
.review-photo,
.service-image img {
    filter: saturate(0.92) contrast(1.04);
}

.tariffs {
    align-items: stretch;
}

.tariffs article {
    background: linear-gradient(180deg, rgba(248, 245, 239, 0.08), rgba(248, 245, 239, 0.035));
    transition: transform 0.42s ease, border-color 0.42s ease, background 0.42s ease;
}

.tariffs article:hover {
    transform: translateY(-6px);
    border-color: rgba(176, 137, 112, 0.48);
    background: linear-gradient(180deg, rgba(248, 245, 239, 0.13), rgba(248, 245, 239, 0.05));
}

.review-card {
    background: rgba(251, 247, 239, 0.78);
}

.contact-button.button {
    border: 0;
    box-shadow: 0 16px 36px rgba(41, 35, 31, 0.12);
}

.contact-button:hover {
    transform: translateY(-3px);
}

.location-section {
    padding: clamp(64px, 6vw, 92px) 24px;
    overflow: clip;
    background:
        radial-gradient(circle at 8% 18%, rgba(176, 137, 112, 0.16), transparent 28rem),
        linear-gradient(135deg, #fbf7ef 0%, #f5eee4 46%, #eee1d2 100%);
}

.location-section::before {
    content: "";
    position: absolute;
    inset: 36px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 137, 112, 0.42), transparent);
}

.location-shell {
    width: min(100% - 24px, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.72fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}

.location-gallery {
    min-width: 0;
}

.location-kicker {
    max-width: 690px;
    margin-bottom: clamp(24px, 3vw, 34px);
}

.location-kicker h2 {
    max-width: 660px;
    font-size: clamp(46px, 5vw, 74px);
    line-height: 0.96;
}

.location-kicker > p:not(.eyebrow) {
    max-width: 520px;
    margin: 18px 0 0;
    color: rgba(41, 35, 31, 0.68);
    font-size: 15px;
    line-height: 1.7;
}

.location-photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.78fr);
    grid-template-rows: repeat(2, minmax(170px, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
}

.location-photo {
    position: relative;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 26px;
    background: #efe5da;
    box-shadow: 0 22px 64px rgba(64, 49, 39, 0.13);
    isolation: isolate;
    transform: translate3d(0, var(--location-parallax, 0px), 0);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
        linear-gradient(0deg, rgba(34, 28, 24, 0.16), transparent 54%);
    opacity: 0.62;
    pointer-events: none;
}

.location-photo:hover {
    box-shadow: 0 28px 78px rgba(64, 49, 39, 0.18);
    transform: translate3d(0, calc(var(--location-parallax, 0px) - 5px), 0);
}

.location-photo img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.04) brightness(1.02);
    transform: scale(1.02);
    transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.location-photo:hover img {
    filter: saturate(0.98) contrast(1.06) brightness(1.04);
    transform: scale(1.075);
}

.location-photo-large {
    grid-row: 1 / span 2;
    min-height: 470px;
    border-radius: 30px;
}

.location-photo-small {
    min-height: 215px;
}

.location-photo-offset {
    margin-top: 26px;
}

.location-map-column {
    position: relative;
    top: auto;
    min-width: 0;
    align-self: start;
    padding-top: clamp(122px, 10.2vw, 150px);
}

.location-map-card {
    position: relative;
    overflow: visible;
    max-width: 410px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 252, 247, 0.94), rgba(239, 228, 216, 0.84)),
        #f5eee6;
    box-shadow: 0 26px 78px rgba(64, 49, 39, 0.14);
}

.location-address-panel {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 2.4vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: inherit;
    background: rgba(251, 247, 239, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(22px);
}

.location-address-panel .eyebrow {
    margin-bottom: 12px;
}

.location-address-panel h3 {
    font-size: clamp(31px, 3.1vw, 42px);
    line-height: 0.95;
}

.location-address-panel dl {
    margin: 22px 0 0;
    display: grid;
    gap: 14px;
}

.location-address-panel dl div {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding-top: 14px;
    border-top: 1px solid rgba(41, 35, 31, 0.09);
}

.location-address-panel dt {
    color: rgba(41, 35, 31, 0.48);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.location-address-panel dd {
    margin: 0;
    color: rgba(41, 35, 31, 0.78);
    font-size: 14px;
}

.location-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.map-button.button {
    position: relative;
    width: 100%;
    justify-content: center;
    padding-right: 58px;
    padding-left: 58px;
    border: 0;
    border-radius: 999px;
    color: #fffaf2;
    background-clip: padding-box;
    box-shadow: 0 14px 30px rgba(41, 35, 31, 0.12);
    overflow: hidden;
    transform: translateZ(0);
}

.map-button.button::before {
    position: absolute;
    left: 36px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #29231f;
    background: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.map-button.button:hover {
    color: #fbf7ef;
    transform: translateY(-2px);
}

.map-button-google::before {
    content: "G";
}

.map-button-google {
    background:
        linear-gradient(135deg, #4285f4 0%, #34a853 46%, #fbbc05 72%, #ea4335 100%);
}

.map-button-yandex::before {
    content: "Я";
}

.map-button-yandex {
    background: linear-gradient(135deg, #ff3b30 0%, #d71920 58%, #8f1117 100%);
}

.location-link {
    color: rgba(41, 35, 31, 0.66);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: color 0.25s ease;
}

.location-link:hover {
    color: var(--foreground);
}

.location-contact-strip {
    margin-top: 18px;
    padding: 16px 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    background: rgba(251, 247, 239, 0.54);
    box-shadow: 0 18px 50px rgba(64, 49, 39, 0.08);
    backdrop-filter: blur(18px);
}

.location-contact-strip a {
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(41, 35, 31, 0.66);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.25s ease, background 0.25s ease;
}

.location-contact-strip a:hover {
    color: var(--foreground);
    background: rgba(255, 255, 255, 0.56);
}

.reveal {
    transform: translateY(42px);
    transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 980px) {
    .nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 0;
        height: auto;
        flex-direction: column;
    }

    .hero-media {
        width: 100%;
        min-height: 0;
        height: 58vh;
    }

    .hero-media::after {
        right: 0;
        left: 0;
        top: auto;
        width: auto;
        height: 34%;
        background: linear-gradient(180deg, transparent, rgba(248, 245, 239, 0.92));
    }

    .hero-copy {
        width: 100%;
        min-height: 0;
        padding: 42px 32px 64px;
    }

    .hero-copy::before {
        margin-bottom: 22px;
    }

    h1 {
        font-size: clamp(62px, 15vw, 104px);
    }

    .section,
    .training {
        padding: 68px 24px;
    }

    .section-grid,
    .training-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tariffs {
        grid-template-columns: 1fr;
    }

    .location-shell {
        grid-template-columns: 1fr;
        width: min(100% - 24px, 860px);
    }

    .location-map-column {
        position: relative;
        top: auto;
        padding-top: 0;
    }

    .location-map-card {
        max-width: 520px;
    }
}

@media (max-width: 680px) {
    .header-inner,
    .section-grid,
    .training-inner,
    .footer,
    .service-grid,
    .portfolio-grid,
    .portfolio-rows,
    .review-grid {
        width: min(100% - 32px, 1120px);
    }

    .brand {
        font-size: 25px;
    }

    .hero-media {
        height: 54vh;
        padding: 0;
    }

    .hero-copy {
        padding: 34px 28px 58px;
    }

    h1 {
        font-size: clamp(46px, 14vw, 58px);
        line-height: 0.94;
        text-wrap: balance;
    }

    h2 {
        font-size: 44px;
    }

    .hero-actions,
    .contact-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .stats,
    .service-grid,
    .service-grid-three,
    .portfolio-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .stats article {
        min-height: 138px;
    }

    .service-image {
        height: 250px;
    }

    .portfolio-item {
        width: 260px;
        aspect-ratio: 1 / 1;
    }

    .portfolio-item span {
        transform: translateY(0);
    }

    .portfolio-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .review-card {
        padding: 28px;
    }

    .review-card {
        width: 300px;
    }

    .location-section {
        padding: 72px 16px;
    }

    .location-shell {
        width: 100%;
        gap: 32px;
    }

    .location-kicker {
        margin-bottom: 28px;
    }

    .location-kicker h2 {
        font-size: clamp(42px, 13vw, 58px);
        line-height: 0.96;
    }

    .location-kicker > p:not(.eyebrow) {
        font-size: 15px;
    }

    .location-photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 16px;
    }

    .location-photo,
    .location-photo-large {
        min-height: 0;
        aspect-ratio: 1 / 1.08;
        border-radius: 28px;
    }

    .location-photo-large {
        grid-row: auto;
    }

    .location-photo-offset {
        margin-top: 0;
    }

    .location-map-card {
        max-width: none;
        border-radius: 28px;
    }

    .location-address-panel {
        border-radius: 24px;
    }

    .location-address-panel dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .location-actions,
    .location-contact-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .location-contact-strip {
        border-radius: 24px;
    }

    .location-contact-strip a {
        text-align: center;
    }

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

    .footer-meta {
        flex-direction: column;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
