/* ==========================================================================
   Design System (based on the provided mock)
   - RTL friendly
   - Flex only (no grid in containers)
   - BEM naming
   - Responsive-first
   ========================================================================== */

/* 1) ROOT TOKENS (palette + typography + spacing) */
:root {
    /* Brand palette (white / soft rose / gold accent) */
    --c-bg: #ffffff;
    --c-surface: #ffffff;
    --c-surface-2: #fbf6f7; /* very light blush */
    --c-surface-rose: rgba(247, 233, 235, 0.55); /* very light rose */
    --c-surface-gold: rgba(214, 177, 91, 0.12); /* very light gold */

    --c-surface-inner-rose: radial-gradient(
            1700px 720px at 15% 15%,
            rgba(247, 233, 235, 0.85),
            rgba(255, 255, 255, 0) 70%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.92),
            rgba(255, 255, 255, 0.86)
        );

    --c-suface-inner-gold: radial-gradient(
            1700px 720px at 15% 15%,
            rgba(214, 177, 91, 0.22),
            rgba(255, 255, 255, 0) 70%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.92),
            rgba(255, 255, 255, 0.86)
        );

    --c-rose-50: #f7e9eb; /* soft rose wash */
    --c-rose-100: #f3d9de; /* slightly stronger rose */
    --c-rose-200: #e8bfc6; /* rose accent (subtle) */
    --c-rose-300: #dca4ab; /* deeper rose (buttons/icons) */
    --c-rose-400: #b06b74; /* main rose */
    --c-gold-400: #d6b15b; /* main gold (buttons/icons) */
    --c-gold-500: #c79a3b; /* deeper gold for hover */
    --c-gold-300: #e6d1a1; /* gold highlight/border */

    /* Neutrals (text) */
    --c-text: #2b2b2f; /* main text */
    --c-text-1: #4c4c53; /* secondary */
    --c-text-2: #5e5e67; /* muted */
    --c-text-3: #8b8b95; /* lighter muted */
    --c-line: rgba(32, 32, 40, 0.1); /* hairline */
    --c-line-2: rgba(32, 32, 40, 0.06);

    /* Shadows (soft, premium) */
    --sh-1: 0 10px 26px rgba(20, 20, 24, 0.1);
    --sh-2: 0 18px 40px rgba(20, 20, 24, 0.12);
    --sh-3: 0 26px 60px rgba(20, 20, 24, 0.16);

    /* Radius */
    --r-xs: 10px;
    --r-sm: 14px;
    --r-md: 18px;
    --r-lg: 22px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Layout */
    --container: 1500px;
    --gutter: 20px;

    /* Typography scale (strategic sizes) */
    --ff: "Heebo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

    /* Typography scale (REM-based, enlarged for desktop comfort) */
    --fs-12: 0.8125rem; /* 13px */
    --fs-13: 0.875rem; /* 14px */
    --fs-14: 0.9375rem; /* 15px */
    --fs-15: 1rem; /* 16px */
    --fs-16: 1.0625rem; /* 17px */
    --fs-18: 1.1875rem; /* 19px */
    --fs-20: 1.3125rem; /* 21px */
    --fs-24: 1.625rem; /* 26px */
    --fs-28: 1.875rem; /* 30px */
    --fs-34: 2.25rem; /* 36px */
    --fs-42: 2.75rem; /* 44px */
    --fs-48: 3rem; /* 48px */
    --fs-56: 3.5rem; /* 56px */

    --lh-compact: 1.15;
    --lh-base: 1.65;
    --lh-loose: 1.8;

    /* Spacing scale */
    --sp-2: 2px;
    --sp-4: 4px;
    --sp-6: 6px;
    --sp-8: 8px;
    --sp-10: 10px;
    --sp-12: 12px;
    --sp-14: 14px;
    --sp-16: 16px;
    --sp-18: 18px;
    --sp-20: 20px;
    --sp-24: 24px;
    --sp-28: 28px;
    --sp-32: 32px;
    --sp-40: 40px;
    --sp-48: 48px;
    --sp-56: 56px;
    --sp-64: 64px;

    /* Motion */
    --t-fast: 160ms;
    --t-base: 220ms;
    --t-slow: 360ms;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Focus ring */
    --focus: 0 0 0 3px rgba(214, 177, 91, 0.28);
}

/* 2) GLOBAL RESET + BEHAVIOR */
*,
*::before,
*::after {
    box-sizing: border-box; /* required */
}

html {
    scroll-behavior: smooth; /* pleasant anchor navigation */
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--ff);
    color: var(--c-text);
    background: radial-gradient(
            1200px 560px at 20% 0%,
            rgba(247, 233, 235, 0.95),
            rgba(255, 255, 255, 0) 60%
        ),
        radial-gradient(
            900px 520px at 90% 35%,
            rgba(251, 246, 247, 0.95),
            rgba(255, 255, 255, 0) 62%
        ),
        var(--c-bg);
    line-height: var(--lh-base);
    overflow-x: hidden;
    font-size: var(--fs-16);
    line-height: var(--lh-base); /* 1.65 */
}

/* Global anchor offset for fixed header */
:where([id]) {
    scroll-margin-top: 90px; /* подставь реальную высоту хедера */
}

.skip-link {
    position: absolute;
    top: var(--sp-12);
    right: var(--sp-12);
    padding: var(--sp-10) var(--sp-14);
    background: var(--c-text);
    color: var(--c-bg);
    border-radius: var(--r-pill);
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform var(--t-fast) var(--ease);
    z-index: 9999;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: none;
    box-shadow: var(--focus);
}

h1,
h2,
h3 {
    line-height: var(--lh-compact); /* 1.15 */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}

img,
svg {
    height: auto;
    display: block;
}

.brand__logo img {
    width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.installAppBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-10, 10px);
    white-space: nowrap;
}

.installHint {
    margin-top: var(--sp-10, 10px);
    color: var(--c-text-2, #666);
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus);
    border-radius: 10px;
}

/* 3) LAYOUT HELPERS */
.container {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: var(--sp-16);
}

.row {
    display: flex;
    align-items: center;
    gap: var(--sp-12);
}

.row--between {
    justify-content: space-between;
}

.muted {
    color: var(--c-text-2);
}

.hr {
    height: 1px;
    background: var(--c-line-2);
    border: 0;
    margin: 0;
}

/* 4) TYPOGRAPHY (H1–H4 + body + labels + small) */
.h1,
h1 {
    font-size: clamp(var(--fs-34), 4vw, var(--fs-56));
    line-height: 0.8;
    letter-spacing: 0.2px;
    margin: 0;
    font-weight: 800;
    color: #2c2c33;
}

.h2,
h2 {
    font-size: clamp(var(--fs-20), 2.1vw, var(--fs-28));
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
    color: #2c2c33;
}

.h3,
h3 {
    font-size: var(--fs-18);
    line-height: 1.35;
    margin: 0;
    font-weight: 700;
    color: #2c2c33;
}

.h4,
h4 {
    font-size: var(--fs-16);
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
    color: #2c2c33;
}

.p,
p {
    margin: 0;
    font-size: var(--fs-15);
    color: var(--c-text-2);
}

.small {
    font-size: var(--fs-13);
    color: var(--c-text-3);
}

.label {
    font-size: var(--fs-12);
    color: var(--c-text-3);
    letter-spacing: 0.3px;
}

/* 5) LINKS (sizes + states) */
.link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-8);
    color: var(--c-text-2);
    font-size: var(--fs-14);
    padding: var(--sp-6) var(--sp-10);
    border-radius: var(--r-pill);
    transition: background var(--t-base) var(--ease),
        color var(--t-base) var(--ease);
}

.link:hover {
    background: rgba(247, 233, 235, 0.75);
    color: var(--c-text);
}

.link--gold {
    color: #9d7a27;
}

.link--gold:hover {
    background: rgba(214, 177, 91, 0.14);
}

/* 6) BUTTONS (2 types like mock: gold filled + light outline) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-10);
    height: 44px; /* strategic: consistent tap target */
    padding: 0 var(--sp-18);
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    transition: transform var(--t-fast) var(--ease),
        box-shadow var(--t-base) var(--ease),
        background var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
    font-size: var(--fs-14);
    line-height: 1;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(0);
}

/* Primary gold (filled) */
.btn--primary {
    background: linear-gradient(135deg, var(--c-gold-400), var(--c-gold-500));
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(199, 154, 59, 0.22);
    width: 100%;
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(199, 154, 59, 0.26);
    color: var(--c-text);
}
.btn--rose {
    background: var(--c-rose-400);
    box-shadow: 0 14px 26px rgba(199, 154, 59, 0.22);
}
.btn--rose:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(199, 154, 59, 0.26);
    color: var(--c-text);
}

.btn--secondary_rose {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--c-rose-400);
    color: var(--c-rose-400);
    box-shadow: 0 10px 18px rgba(20, 20, 24, 0.06);
}
.btn--secondary_rose:hover {
    transform: translateY(-1px);
    border-color: rgba(176, 107, 116, 0.45);
    box-shadow: 0 16px 28px rgba(20, 20, 24, 0.1);
    color: var(--c-text);
}

/* Secondary (light, subtle outline) */
.btn--secondary {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(32, 32, 40, 0.14);
    color: var(--c-text-2);
    box-shadow: 0 10px 18px rgba(20, 20, 24, 0.06);
}

.btn--secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 177, 91, 0.45);
    box-shadow: 0 16px 28px rgba(20, 20, 24, 0.1);
    color: var(--c-text);
}

/* Optional sizes */
.btn--sm {
    height: 38px;
    padding: 0 var(--sp-14);
    font-size: var(--fs-13);
}
.btn--lg {
    height: 50px;
    padding: 0 var(--sp-22);
    font-size: var(--fs-15);
}

/* 7) PAGE BLOCKS (BEM) */

/* --- Page wrapper --- */
.page {
    min-height: 100vh;
}

/* --- Header (like mock: white bar, logo right, nav center, CTA left) --- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-line-2);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-16);
    padding: var(--sp-14) 0;
}

/* Brand (logo + title) */
.brand {
    display: flex;
    align-items: center;
    gap: var(--sp-12);
}

.brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--c-gold-400), var(--c-gold-500));
    box-shadow: 0 12px 22px rgba(199, 154, 59, 0.2);
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.brand__name {
    font-size: var(--fs-16);
    font-weight: 700;
    color: var(--c-rose-400);
    line-height: 1.1;
}

.brand__tagline {
    font-size: var(--fs-12);
    color: var(--c-text-3);
    line-height: 1.2;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: var(--sp-12);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--sp-12);
    padding: var(--sp-6) var(--sp-10);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--c-line-2);
}

.nav__item {
    display: flex;
}

.nav__link {
    font-size: var(--fs-14);
    color: var(--c-text-2);
    padding: var(--sp-6) var(--sp-10);
    border-radius: var(--r-pill);
    transition: background var(--t-base) var(--ease),
        color var(--t-base) var(--ease);
}

.nav__link:hover {
    background: rgba(247, 233, 235, 0.9);
    color: var(--c-text);
}

.nav__link--active {
    background: rgba(214, 177, 91, 0.14);
    color: #7a5c18;
}

/* Header actions (left side in RTL) */
.header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-10);
}
.header__actions a > img {
    border: 1px solid var(--c-gold-500);
    border-radius: 8px;
    padding: 6px;
    transition: background var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease),
        transform var(--t-fast) var(--ease);
}

.header__actions a:hover {
    transform: translateY(-1.1px);
}

/* --- Hero --- */
.hero {
    width: 100%;
}
.section-wave {
    display: none;
}
.hero__wrap {
    position: relative;
    background: var(--c-bg);
    border: 1px solid var(--c-line-2);
    /* box-shadow: var(--sh-3); */
    overflow: hidden;
    z-index: 10;
}
.page--home .hero__wrap,
.page--contact .hero__wrap {
    display: flex;
    align-items: center;
    height: 90vh;
    border-bottom: 0;
}

/* Desktop hero background image (Home + Contact use different images) */
.page--home .hero__wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    /* left: -12%; */
    right: 0;
    width: 100%;
    background-image: url("/images/home-page/hero1.webp");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.page--contact .hero__wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    /* left: -12%; */
    right: 0;
    width: 100%;
    background-image: url("/images/contact-page/גילי-סיני-צור-קשר.png");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* Home page only: dark overlay for readability (like the reference) */
.page--home .hero__wrap::after,
.page--contact .hero__wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(247, 233, 235, 0) 0%,
        color-mix(in srgb, var(--c-surface) 40%, transparent) 35%,
        color-mix(in srgb, var(--c-surface) 75%, transparent) 70%,
        color-mix(in srgb, var(--c-surface) 75%, transparent) 75%,
        var(--c-surface) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--sp-24);
    padding: clamp(var(--sp-24), 4vw, var(--sp-48));
}

/* Ensure hero content stays above ::before background */
.page--home .hero__inner,
.page--contact .hero__inner {
    margin-top: auto;
    position: relative;
    z-index: 2;
    justify-content: flex-start;
    align-items: center;
}

.page--home .hero__wrap > .section-wave,
.page--contact .hero__wrap > .section-wave {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: clamp(56px, 7vw, 120px);
    display: block;
    z-index: 1;
    pointer-events: none;
    bottom: -2px;
}

/* Home only: prevent 1px seam between hero wave and next section */
.page--home .hero + .section {
    background: var(--c-surface);
    margin-top: -2px;
    position: relative;
    z-index: 2;
}

.page--home .section-wave path {
    position: relative;
    z-index: 1;
    fill: var(--c-surface);
    stroke: var(--c-gold-400);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    paint-order: stroke fill;
}

.page--contact .section-wave path {
    position: relative;
    z-index: 1;
    fill: var(--c-surface);
    stroke: var(--c-gold-400);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    paint-order: stroke fill;
}

/* Contact: prevent 1px seam under wave without overriding section background */
.page--contact .hero + .section {
    margin-top: -2px;
    position: relative;
    z-index: 2;
}

/* Left text area (RTL: it will appear on the right unless you control order) */
.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--sp-10);
    flex: 1 1 54%;
    min-width: 200px;
    z-index: 3;
}

/* Home page only: dark translucent content card + light text for readability */
.page--home .hero__content {
    display: inline-flex;
    align-self: flex-start;
    flex: 0 1 auto;
    width: fit-content;
    max-width: 62ch;
    /* background: rgba(255, 255, 255, 0.86); */

    border-radius: var(--r-lg);
    padding: clamp(var(--sp-16), 2vw, var(--sp-24));
}

.page--contact .hero__content {
    display: inline-flex;
    align-self: flex-start;
    flex: 0 1 auto;
    width: fit-content;
    max-width: 62ch;
    border-radius: var(--r-lg);
    padding: clamp(var(--sp-16), 2vw, var(--sp-24));
}

.page--home .hero__title,
.page--contact .hero__title {
    /* line-height: 1.1; */
    letter-spacing: -0.015em;

    color: var(--c-rose-400); /* тёплый графит */
    margin-bottom: var(--sp-12);
}
.hero__title span {
    display: inline-block;
    font-size: 0.6em; /* меньше на ~22% */
    font-weight: 500; /* чуть легче, чем имя */
    letter-spacing: -0.01em;
    color: var(--c-gold-500);
}
.hero__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: var(--sp-14);
    border-radius: 999px;
    background: linear-gradient(
        270deg,
        var(--c-gold-400),
        rgba(214, 177, 91, 0)
    );
}
.hero__kicker-wrap {
    display: flex;
    width: 100%;
    align-self: center;
    gap: var(--sp-12);
}
.hero__kicker {
    flex: 1 1 auto;
}
.hero__kicker {
    font-size: var(--fs-34);
    color: var(--c-text-1);
    font-weight: 600;
    line-height: 1.4;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--sp-10);
    /* padding: var(--sp-10) var(--sp-16); */
    max-width: 100%;
    /* background: rgba(255, 255, 255, 0.86); */
    backdrop-filter: blur(6px);
    /* border: 1px solid var(--c-line-2); */
    /* border-right: 3px solid rgba(214, 177, 91, 0.28); */
    /* border-radius: var(--r-xl); */
    /* box-shadow: var(--sh-1); */
}

.hero__kicker::before {
    content: "";
    width: var(--sp-2);
    height: var(--sp-56);
    /* border-radius: 999px; */
    background: var(--c-gold-400);
    /* box-shadow: 0 0 0 2px rgba(214, 177, 91, 0.16); */
    flex: 0 0 auto;
}

.hero__kicker::after {
    content: none;
}

.hero__kicker--intro {
    display: block;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--c-text-2);
    font-weight: 400;
    font-size: var(--fs-20);
}

.hero__kicker--intro::before {
    content: none;
}

.page--home .hero__lead {
    color: var(--c-text);
}

/* Soft badge like the mock’s calm emphasis */
.hero__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-8);
    padding: var(--sp-8) var(--sp-12);
    border-radius: var(--r-pill);
    background: rgba(247, 233, 235, 0.85);
    border: 1px solid rgba(232, 191, 198, 0.45);
    color: #7a3b46;
    font-size: var(--fs-13);
}

.page--home .hero__badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

/* Hero title/subtitle colors similar to mock (rose headline) */
.hero__title {
    color: var(--c-rose-400); /* rose headline */
}

.hero__lead {
    font-size: var(--fs-15);
    color: var(--c-text-2);
    max-width: 62ch;
}

/* CTA row */
.hero__ctas {
    display: flex;
    align-items: center;
    gap: var(--sp-12);
    flex-wrap: wrap;
    margin-top: var(--sp-8);
}
.hero__ctas .btn {
    flex-grow: 1;
}

/* Hero visual (portrait area placeholder) */
.hero__media {
    flex: 0 1 40%;
    min-width: 260px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.8) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Home only: hero media image is mobile-first; desktop uses background image */
.page--home .hero__media,
.page--contact .hero__media {
    display: none;
}

/* Use this for an image container (round corner, soft shadow) */
.hero__photo {
    width: min(360px, 100%);
    aspect-ratio: 4/5;
    border-radius: 26px;
    border: 1px solid var(--c-line-2);
    background: radial-gradient(
            220px 220px at 40% 30%,
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0) 60%
        ),
        linear-gradient(
            180deg,
            rgba(247, 233, 235, 0.9),
            rgba(255, 255, 255, 0.92)
        );
    box-shadow: var(--sh-2);
    overflow: hidden;
}

/* Floating info card (bottom like mock) */
.hero__float {
    position: absolute;
    left: var(--sp-24);
    bottom: var(--sp-24);
    width: min(340px, 92%);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--c-line-2);
    box-shadow: var(--sh-2);
    padding: var(--sp-16);
    display: flex;
    flex-direction: column;
    gap: var(--sp-8);
}

.hero__floatTitle {
    font-size: var(--fs-16);
    font-weight: 700;
    color: var(--c-rose-400);
}

.hero__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    color: var(--c-text-2);
    font-size: var(--fs-13);
}

.hero__bullets li {
    display: flex;
    align-items: baseline;
    gap: var(--sp-10);
}

.hero__bullets li::before {
    content: "•";
    color: var(--c-gold-500);
    font-weight: 700;
}

/* --- Section (generic) --- */
.section {
    padding: var(--sp-48) 0;
}
.aboutTeaser__inner {
    position: relative;
    transform: translateY(-1.1px);
    /* margin-top: 3px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(var(--sp-16), 3vw, var(--sp-48));
}

.aboutTeaser__content {
    flex: 1 1 58%;
    max-width: 70ch;
}

.aboutTeaser__media {
    flex: 0 1 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutTeaser__logo {
    width: min(400px, 100%);
    height: auto;
    object-fit: contain;
    border-radius: 999px;

    -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 100%);
    mask-image: radial-gradient(circle, #000 55%, transparent 100%);
}

.aboutTeaser__more.link {
    padding: 0;
    border-radius: 0;
    align-self: flex-start;
    border-bottom: 2px solid currentColor;
    padding-bottom: 4px;
}

.aboutTeaser__more.link:hover {
    background: transparent;
}

.section-rose {
    background-color: var(--c-surface-rose);
    background: var(--c-surface-inner-rose);
}
.section-gold {
    background: var(--c-suface-inner-gold);
}
.section__head {
    display: flex;
    flex-direction: column;
    gap: var(--sp-10);
    align-items: center;
    text-align: center;
    margin-bottom: var(--sp-24);
}

.section__title {
    color: var(--c-gold-500);
    font-size: clamp(var(--fs-24), 2.8vw, var(--fs-34));
}

.section__subtitle {
    max-width: 70ch;
}

/* ================= EXPERTISE (4 cards) ================= */
.expertise__list {
    display: flex;
    align-items: stretch;
    gap: var(--sp-16);
    flex-wrap: wrap;
}

/* Card */
.expertiseCard {
    flex: 1 1 260px;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--c-line-2);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-fast) var(--ease),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
    text-align: center;
}

.expertiseCard:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 177, 91, 0.35);
    box-shadow: var(--sh-2);
}
.expertiseCard__title {
    font-size: var(--fs-18);
    font-weight: 700;
    color: var(--c-rose-400);
    margin: 0;
}
/* Fixed media top */
.expertiseCard__media {
    height: clamp(150px, 11vw, 170px);
    background: rgba(247, 233, 235, 0.45);
    border-bottom: 1px solid var(--c-line-2);
}

.expertiseCard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body: keeps button pinned to bottom */
.expertiseCard__body {
    padding: var(--sp-18);
    display: flex;
    flex-direction: column;
    gap: var(--sp-10);
    flex: 1;
}
.expertiseCard__body .btn {
    margin-top: auto;
}

/* 2 lines max (visual consistency) */
.expertiseCard__text {
    font-size: var(--fs-14);
    color: var(--c-text-2);
    line-height: var(--lh-base);
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* ensures equal height even with shorter text */
    min-height: calc(2 * 1.65em);
}

/* Button pinned to bottom */
.expertiseCard__more {
    margin-top: auto;
    align-self: flex-start;
}

/* ================= PROCESS (steps with image) ================= */
.process__row {
    display: flex;
    align-items: stretch;
    gap: clamp(20px, 3vw, 44px);
}

/* Left column */
.process__content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right column */
.process__media {
    flex: 1 1 auto;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
}

.process__img {
    width: 80%;
    height: 90%;
    justify-self: center;
    border-radius: 999px;
    object-fit: cover;
    display: block;

    -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 100%);
    mask-image: radial-gradient(circle, #000 50%, transparent 100%);
}

/* Steps: no grid, just flex column */
.process__steps {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: step;
}

.process__step {
    counter-increment: step;
    position: relative;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(6px);
}

.process__step::before {
    content: counter(step);
    position: absolute;
    inset-inline-start: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--c-text);
    border: 1px solid var(--c-rose-400);
    background: none;
}

.process__stepTitle {
    margin: 0;
    padding-inline-start: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-rose-400);
}

.process__stepText {
    margin: 8px 0 0;
    padding-inline-start: 48px;
    opacity: 0.9;
    line-height: 1.6;
}

.process__cta {
    margin-top: 18px;
}

/* Principles section layout (image left, text right) */
.principles__row {
    display: flex;
    align-items: stretch;
    gap: clamp(20px, 3vw, 44px);
}

/* Left column (image) */
.principles__media {
    flex: 1 1 auto;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    border-radius: 999px;
    -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 100%);
    mask-image: radial-gradient(circle, #000 50%, transparent 100%);
}

.principles__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right column (content) */
.principles__content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Principles list */
.principles__list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.principles__item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(6px);
    position: relative;
}

/* Small accent dot (subtle, fits rose/gold) */
.principles__item::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    position: absolute;
    inset-inline-start: 14px;
    top: 18px;
    border: 2px solid var(--c-rose-400);
    background: rgba(255, 255, 255, 0.85);
}
.principles__content .section__title {
    text-align: center;
}
.principles__content .section__subtitle {
    text-align: center;
    margin-bottom: 24px;
}
.principles__itemTitle {
    margin: 0;
    padding-inline-start: 22px; /* space for dot */
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-rose-400);
}

.principles__itemText {
    margin: 8px 0 0;
    padding-inline-start: 22px;
    opacity: 0.9;
    line-height: 1.6;
}

.principles__cta {
    margin-top: 18px;
}

/* TESTIMONIALS */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}
.testimonials-slider {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border: 1px solid var(--c-gold-500);
    border-radius: var(--r-xl);
    touch-action: pan-y;
}

.testimonials-slider__nav {
    position: absolute;
    inset-inline: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    z-index: 3;
    pointer-events: none;
}

.testimonials-slider__btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--c-gold-500);
    background: rgba(255, 255, 255, 0.92);
    color: var(--c-rose-400);
    box-shadow: var(--sh-2);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
    user-select: none;
}

.testimonials-slider__btn:hover {
    background: rgba(255, 255, 255, 1);
}

.testimonials-slider__btn:focus-visible {
    outline: 3px solid rgba(214, 177, 91, 0.55);
    outline-offset: 2px;
}

@media (max-width: 680px) {
    .testimonials-slider__nav {
        inset-inline: 6px;
    }
    .testimonials-slider__btn {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

/* Базовое состояние */
.tcard {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(100%); /* ждёт за правым краем */
    transition: transform 0.6s ease, opacity 0.6s ease;
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--r-xl);
    background: var(--c-surface);
    box-shadow: var(--sh-2);
    pointer-events: none;
    cursor: pointer;
}

/* Активная на экране */
.tcard.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

/* Уходит влево */
.tcard.leave-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

/* Вариант для RTL-направления (заезд слева, уход вправо) */
.tcard.enter-from-left {
    transform: translateX(-100%);
}
.tcard.leave-right {
    transform: translateX(100%);
}

/* Звёзды */
.stars {
    color: var(--c-gold-500);
    font-size: 1.2rem;
    margin: 0.5rem 0 0.8rem 0;
    letter-spacing: 2px;
    text-align: center;
}
.tcard p {
    margin: 0 0 0.6rem;
    color: var(--c-text-2);
}
.tcard__author {
    font-weight: 700;
    color: var(--c-rose-400);
}

/* ================= FAQ ================= */

/* Контейнер и фон c использованием ваших переменных */
.faq {
    padding: clamp(2rem, 4vw, 4rem) var(--gutter);
    box-shadow: var(--shadow-md);
}

.faq__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
}

.faq__header {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25rem;
}

.faq__title {
    font-size: var(--fs-h2);
    line-height: var(--lh-tight);
    color: #a9863e;
    margin: 0 0 0.5rem 0;
}

.faq__lead {
    font-size: var(--fs-lead);
    color: var(--color-gray);
    margin: 0;
}

/* список — flex (не grid) */
.faq__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.faq__item {
    background: var(--c-bg);
    border: 1px solid rgba(200, 167, 92, 0.25);
    border-radius: var(--r-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    text-align: right;
    padding: 1rem 3rem 1rem 1rem;
    font-size: var(--fs-h4);
    line-height: var(--lh-base);
    background: linear-gradient(
        180deg,
        rgba(246, 229, 238, 0.35) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    border: 0;
    cursor: pointer;
    position: relative;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.faq__question:hover,
.faq__question:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 167, 92, 0.25);
}

.faq__icon {
    display: inline-block; /* КЛЮЧЕВО */
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--c-gold-500);
    border-radius: 2px;

    /* плавность */
    transition: transform 220ms ease, opacity 220ms ease;
    transform-origin: center;
}

/* горизонтальная линия (минус) */
.faq__icon::before {
    transform: translate(-50%, -50%) scaleX(1);
}

/* вертикальная линия (для плюса) */
.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(1);
}

/* Открыто: превращаем плюс в минус (убираем вертикальную) */
.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
    opacity: 0;
}

/* (опционально) немного “подсветить” активный заголовок */
.faq__question[aria-expanded="true"] {
    background: linear-gradient(
        180deg,
        rgba(214, 177, 91, 0.12) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

/* Плавное открытие блока ответа через max-height */
.faq__answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    will-change: max-height;
    background: radial-gradient(
        120% 120% at 100% 0%,
        rgba(230, 183, 210, 0.12) 0%,
        rgba(255, 255, 255, 1) 70%
    );
    border-top: 1px dashed rgba(200, 167, 92, 0.35);
}

.faq__answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: var(--fs-p);
    color: var(--color-black);
}

/* ================= CONTACT (site style) ================= */

.contact {
    display: flex;
    align-items: stretch;
    gap: clamp(18px, 2.5vw, 34px);
}

/* Left form */
.contact__form {
    flex: 0 0 56%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--c-line-2);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-2);
    padding: clamp(16px, 2.2vw, 26px);
}

/* Right info + map */
.contact__info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(214, 177, 91, 0.24);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-1);
    padding: 18px 18px;
}

.info-card__title {
    margin: 0 0 10px 0;
    color: var(--c-text);
}

.info-card__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.info-card__row {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--c-text-2);
}
.info-card__value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.info-card__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    text-decoration: none;
}

.info-card__nav img {
    display: block;
}
.info-card__label {
    color: var(--c-text-3);
    min-width: 62px;
}

.info-card__link {
    color: var(--c-text);
    text-decoration: none;
    border-bottom: 1px dashed rgba(214, 177, 91, 0.55);
}

.info-card__link:hover {
    color: var(--c-gold-500);
}

.info-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Map */
.map-container {
    overflow: hidden;
    border-radius: var(--r-xl);
    border: 1px solid rgba(214, 177, 91, 0.22);
    box-shadow: var(--sh-1);
    background: rgba(255, 255, 255, 0.55);
}

.map-container iframe {
    display: block;
}

/* Form styling (если у тебя уже есть — этот блок будет просто “в тему”) */
.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.form__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form__label {
    font-size: var(--fs-13);
    color: var(--c-text-3);
}

.form__input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--r-md);
    border: 1px solid rgba(32, 32, 40, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--c-text);
    transition: box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
}

.form__input:focus {
    outline: none;
    box-shadow: var(--focus);
    border-color: rgba(214, 177, 91, 0.45);
}

.form__checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--c-text-2);
    font-size: var(--fs-14);
}

.form__checkbox a {
    color: #9d7a27;
}

.form__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.contact__quick {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-grow: 1;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- Marquee (logos) --- */
.marquee {
    --marquee-h: 104px;

    background: var(--c-surface);
    border-top: 1px solid var(--c-line-2);
    border-bottom: 1px solid var(--c-line-2);
}

.marquee__viewport {
    height: var(--marquee-h);
    overflow: hidden;
    display: flex;
    align-items: center;
    direction: ltr;
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 44px);
    padding: 0 var(--sp-16);
    width: max-content;

    --marquee-distance: 0px;

    animation: marquee-scroll var(--marquee-duration, 28s) linear infinite;
    will-change: transform;
}

.marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee__img {
    height: calc(var(--marquee-h) - 36px);
    width: auto;
    object-fit: contain;
    filter: saturate(1.02);
}

/* RTL: move content right-to-left */
@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--marquee-distance)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none;
    }
}

@media (max-width: 980px) {
    .marquee {
        --marquee-h: 92px;
    }
    .marquee__track {
        gap: 26px;
        padding: 0 var(--sp-12);
    }
    .marquee__img {
        height: calc(var(--marquee-h) - 34px);
    }
}

@media (max-width: 560px) {
    .marquee {
        --marquee-h: 78px;
    }
    .marquee__track {
        gap: 20px;
        padding: 0 var(--sp-10);
    }
    .marquee__img {
        height: calc(var(--marquee-h) - 30px);
    }
}

/* --- Footer --- */
/* ================= FOOTER (Gili) ================= */
.site-footer {
    border-top: 1px solid var(--c-line-2, rgba(0, 0, 0, 0.08));
    background: var(--c-surface-rose);
    padding: clamp(20px, 3vw, 34px) 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

/* Top row */
.footer__top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    text-decoration: none;
}
.footer__brand .brand__logo {
    width: 200px;
    height: auto;
    display: block;
    box-shadow: none;
}

.footer__brand .brand__logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Socials: reuse header icons but refine for footer */
.footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__social a:hover {
    transform: translateY(-1px);
    box-shadow: var(--sh-2, 0 12px 30px rgba(0, 0, 0, 0.12));
}

.footer__social img {
    display: block;
}

/* Nav rows */
.footer__nav,
.footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--c-text-2, rgba(0, 0, 0, 0.7));
}

.footer__nav a,
.footer__links a {
    color: var(--c-text, #111);
    text-decoration: none;
    border-bottom: 1px dashed rgba(214, 177, 91, 0.55);
}

.footer__nav a:hover,
.footer__links a:hover {
    color: var(--c-gold-500, #a9863e);
}

.footer__nav span,
.footer__links span {
    color: rgba(0, 0, 0, 0.35);
}

/* Copy + credit */
.footer__copy {
    margin: 4px 0 0;
    color: var(--c-text-2, rgba(0, 0, 0, 0.7));
    font-size: var(--fs-14, 14px);
}

.footer__credit {
    margin: 0;
    color: var(--c-text-3, rgba(0, 0, 0, 0.55));
    font-size: var(--fs-14, 14px);
}

.footer__credit a {
    color: var(--c-gold-500, #a9863e);
    text-decoration: none;
    border-bottom: 1px dashed rgba(214, 177, 91, 0.55);
}

/* 8) RESPONSIVE (priority) */

/* Tablet */
@media (max-width: 980px) {
    :root {
        --gutter: 18px;
    }
    .header__actions {
        display: none;
    }

    /* Header: hide pill nav, keep brand + primary CTA */
    .nav__list {
        display: none;
    }

    .header__inner {
        gap: var(--sp-12);
    }

    /* Hero stacks */
    .hero__inner {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        z-index: 3;
    }

    .aboutTeaser__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .aboutTeaser__inner .link {
        align-self: center;
    }

    .aboutTeaser__media {
        flex: 0 1 200px;
        order: 1;
        padding: 0;
        height: fit-content;
    }

    .aboutTeaser__content {
        order: 2;
        max-width: none;
    }
    .page--home .hero__wrap,
    .page--contact .hero__wrap {
        flex-direction: column-reverse;
        height: auto;
    }
    .hero__media {
        display: flex;
        order: 2;
        justify-content: flex-end;
        align-items: center;
    }

    .hero__float {
        position: static;
        width: 100%;
        margin-top: var(--sp-16);
    }

    .hero__photo {
        position: relative;
        width: min(350px, 100%);
    }
    .process__row {
        flex-direction: column;
    }

    .process__media {
        order: -1;
        min-height: 220px;
    }

    .process__content {
        flex-basis: auto;
    }
    .principles__row {
        flex-direction: column;
    }

    .principles__media {
        order: -1;
        min-height: 220px;
    }

    .principles__content {
        flex-basis: auto;
    }
    .faq__question {
        padding: 0.95rem 2.75rem 0.95rem 0.95rem;
        font-size: var(--fs-p);
    }
    .contact {
        flex-direction: column;
    }
    .contact__form {
        flex-basis: auto;
    }

    .section__lead {
        text-align: center;
    }

    .footer__brand .brand__logo img {
        width: 100%;
    }
    .footer__social a {
        width: 38px;
        height: 38px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    :root {
        --gutter: 14px;
    }

    .header__actions {
        gap: var(--sp-8);
    }

    .btn {
        height: 42px;
        padding: 0 var(--sp-14);
    }

    .brand__logo {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding: var(--sp-32) 0 var(--sp-24);
    }

    .hero__inner {
        margin-top: -2.5rem;
        padding: var(--sp-20);
    }

    .hero__ctas {
        gap: var(--sp-10);
    }

    .services__wrap {
        border-radius: var(--r-lg);
    }

    .serviceCard {
        padding: var(--sp-18);
    }

    .footer {
        padding: var(--sp-32) 0;
    }
}

/* 9) OPTIONAL: SIMPLE MOBILE NAV (BEM, if you want) */
.mobileNav {
    display: none;
}

@media (max-width: 980px) {
    .mobileNav {
        display: flex;
        align-items: center;
        gap: var(--sp-10);
    }

    .mobileNav__btn {
        width: 44px;
        height: 44px;
        border-radius: var(--r-pill);
        border: 1px solid rgba(32, 32, 40, 0.12);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 10px 18px rgba(20, 20, 24, 0.06);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform var(--t-fast) var(--ease),
            border-color var(--t-base) var(--ease);
    }

    .mobileNav__btn:hover {
        transform: translateY(-1px);
        border-color: rgba(214, 177, 91, 0.4);
    }
}

/* 10) UTILITIES FOR SPACING (optional but practical) */
.mt-8 {
    margin-top: var(--sp-8);
}
.mt-12 {
    margin-top: var(--sp-12);
}
.mt-16 {
    margin-top: var(--sp-16);
}
.mt-24 {
    margin-top: var(--sp-24);
}
.mb-8 {
    margin-bottom: var(--sp-8);
}
.mb-12 {
    margin-bottom: var(--sp-12);
}
.mb-16 {
    margin-bottom: var(--sp-16);
}
.mb-24 {
    margin-bottom: var(--sp-24);
}

/* ===== Mobile Nav (Burger + Overlay) ===== */

.burger {
    width: 20px;
    height: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger__line {
    height: 2px;
    width: 100%;
    background: rgba(43, 43, 47, 0.78);
    border-radius: 999px;
    transition: transform var(--t-base) var(--ease),
        opacity var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

/* show burger container only on tablet/mobile (already in your CSS, keep it) */
@media (max-width: 600px) {
    .header__actions {
        display: none;
    }
    .mobileNav {
        display: flex;
    }
    .hero {
        margin-top: 0;
        padding-top: 0;
        height: auto;
    }

    .hero .hero__inner .hero__content .hero__title {
        text-align: right;
    }
    .section__title {
        text-align: center;
    }

    .page--home .hero .hero__wrap .hero__inner,
    .page--contact .hero .hero__wrap .hero__inner {
        justify-self: center;
        align-items: flex-end;
        padding: 0;
    }

    .hero__kicker {
        font-size: var(--fs-20);
        gap: var(--sp-10);
    }
    .hero__kicker::before {
        height: var(--fs-28);
    }

    .hero__kicker--intro {
        font-size: var(--fs-16);
        padding: 0;
        gap: 0;
    }

    .page--home .hero__media .section-wave path,
    .page--contact .hero__media .section-wave path {
        stroke: none;
    }

    /* Home only: mobile uses a real <img> for predictable wave placement */
    .page--home,
    .page--contact {
        --home-wave-h: clamp(48px, 9vw, 96px);
    }

    .page--home .hero__media,
    .page--contact .hero__media {
        display: block;
        position: relative;
        width: 100%;
        min-width: 0;
        margin-top: -2rem;
    }

    .page--home .hero__photo,
    .page--contact .hero__photo {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: left center;
        border-radius: 0;
        border: 0;
        box-shadow: none;
        background: none;
        display: block;
    }

    /* Disable desktop background image/overlay on mobile (img replaces it) */
    .page--home .hero__wrap::before,
    .page--home .hero__wrap::after,
    .page--contact .hero__wrap::before,
    .page--contact .hero__wrap::after {
        content: none;
    }

    /* Use the wave attached to the image; hide the desktop wave on mobile */
    .page--home .hero__wrap > .section-wave,
    .page--contact .hero__wrap > .section-wave {
        display: none;
    }

    .page--home .hero__media .section-wave,
    .page--contact .hero__media .section-wave {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        width: 100%;
        height: var(--home-wave-h);
        display: block;
        z-index: 1;
        pointer-events: none;
    }
}

@media (max-width: 560px) {
    .page--home,
    .page--contact {
        --home-wave-h: clamp(80px, 25vw, 92px);
    }

    .hero {
        height: 70vh;
        height: 70svh;
    }

    /* Home only: allow hero to grow (avoid overlap with next section) */
    .page--home .hero {
        height: auto;
    }

    /* Contact: allow hero to grow (avoid overlap with next section) */
    .page--contact .hero {
        height: auto;
    }
}

/* Overlay shell */
.mnav {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--t-slow) var(--ease);
}

/* Dark + soft overlay */
.mnav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 24, 0.4);
    backdrop-filter: blur(6px);
}

/* Slide panel (from right in RTL) */
.mnav__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 86vw);
    background: radial-gradient(
            900px 360px at 20% 0%,
            rgba(247, 233, 235, 0.95),
            rgba(255, 255, 255, 0) 60%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96),
            rgba(255, 255, 255, 0.92)
        );
    border-left: 1px solid var(--c-line-2);
    box-shadow: var(--sh-3);
    transform: translateX(18px);
    transition: transform var(--t-slow) var(--ease);
    display: flex;
    flex-direction: column;
    gap: var(--sp-16);
    padding: var(--sp-18);
}
.mnav__social-links {
    display: flex;

    align-items: center;
    justify-content: space-evenly;
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid rgba(32, 32, 40, 0.12);
}

/* top row */
.mnav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-12);
}

.mnav__close {
    width: 44px;
    height: 44px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(32, 32, 40, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 18px rgba(20, 20, 24, 0.06);
    cursor: pointer;
    transition: transform var(--t-fast) var(--ease),
        border-color var(--t-base) var(--ease);
}

.mnav__close:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 177, 91, 0.4);
}

/* links */
.mnav__nav {
    display: flex;
    flex-direction: column;
    gap: var(--sp-10);
    padding-top: var(--sp-6);
}

.mnav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--r-md);
    border: 1px solid rgba(32, 32, 40, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: var(--c-text);
    font-size: var(--fs-15);
    transition: transform var(--t-fast) var(--ease),
        background var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
}

.mnav__link:hover {
    transform: translateY(-1px);
    background: rgba(247, 233, 235, 0.85);
    border-color: rgba(232, 191, 198, 0.4);
}

.mnav__link--gold {
    border-color: rgba(214, 177, 91, 0.28);
    background: rgba(214, 177, 91, 0.1);
    color: #7a5c18;
}
.mnav__link--rose {
    border-color: rgba(214, 100, 140, 0.28);
    background: rgba(214, 100, 140, 0.1);
    color: #8b374e;
}
.nav__link--rose {
    border-color: rgba(214, 100, 140, 0.28);
    background: rgba(214, 100, 140, 0.1);
    color: #8b374e;
}

.link--dashed {
    text-decoration: underline dashed var(--c-gold-400);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-skip-ink: none;
}

.mnav__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-10);
}

.mnav__fine {
    margin: 0;
}

/* OPEN STATE */
.mnav.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mnav.is-open .mnav__panel {
    transform: translateX(0);
}

/* Burger -> X */
.mobileNav__btn.is-open .burger__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background: rgba(43, 43, 47, 0.85);
}

.mobileNav__btn.is-open .burger__line:nth-child(2) {
    opacity: 0;
}

.mobileNav__btn.is-open .burger__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: rgba(43, 43, 47, 0.85);
}

/* Prevent background scroll when menu is open */
body.is-locked {
    overflow: hidden;
}

@media (min-width: 1024px) {
    html {
        font-size: 17px;
    }
}

@media (min-width: 1440px) {
    html {
        font-size: 20px;
    }
}
