/* ============================================================
   VINTAGEDOMA — vintage tableware & home decor
   Mobile-first, accessible, performant
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    /* Palette (из colors.jpg) */
    --warm-white:    #F2EDDE;
    --warm-white-2:  #F8F3E6;   /* чуть светлее для карточек */
    --paper:         #EBE2CD;   /* старая бумага */
    --sage:          #9C9F88;
    --sage-dark:     #7E8270;
    --sage-light:    #B5B8A2;
    --sienna:        #A4623E;
    --sienna-dark:   #8A4F2E;
    --sienna-light:  #C58358;
    --gold:          #CFB596;
    --gold-light:    #E2CFAF;
    --brown:         #3A2A1F;
    --brown-soft:    #5C4233;
    --brown-muted:   #8A6B57;

    /* Fonts */
    --font-heading: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-script:  'Prata', Georgia, serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Shadows / radii */
    --shadow-sm:  0 2px 10px rgba(58, 42, 31, 0.08);
    --shadow-md:  0 8px 28px rgba(58, 42, 31, 0.12);
    --shadow-lg:  0 18px 50px rgba(58, 42, 31, 0.18);
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;

    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --max-width:  1240px;
    --nav-height: 90px;
    --section-pad: clamp(3rem, 7vw, 6rem);
}

[x-cloak] { display: none !important; }

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.72;
    color: var(--brown);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Тонкая бумажная текстура — сетка из мелких точек */
    background-image:
        radial-gradient(rgba(58, 42, 31, 0.025) 1px, transparent 1px),
        radial-gradient(rgba(58, 42, 31, 0.018) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    background-position: 0 0, 20px 20px;
}

a { color: var(--sienna); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sienna-dark); }

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--sienna); color: var(--warm-white); }

.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    background: var(--brown);
    color: var(--warm-white);
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 0.95rem;
    font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    color: var(--brown);
    letter-spacing: -0.005em;
}

h1 { font-size: clamp(3.8rem, 11vw, 8rem); font-weight: 500; }
h2 { font-size: clamp(3rem, 7.5vw, 5.8rem); }
h3 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 600; }

em {
    font-family: var(--font-script);
    font-style: normal;
    color: var(--sienna);
    font-weight: 400;
    font-size: 1.22em;
    line-height: 0.92;
    letter-spacing: 0.01em;
    display: inline-block;
}

.dropcap {
    float: left;
    font-family: var(--font-heading);
    font-size: 3.4em;
    line-height: 0.85;
    padding: 0.18em 0.12em 0 0;
    color: var(--sienna);
    font-style: italic;
    font-weight: 600;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.8rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--sienna);
    font-weight: 400;
    margin-bottom: 0.65rem;
    position: relative;
}
.section-eyebrow.center {
    display: block;
    text-align: center;
}

.section-title {
    margin-bottom: 0.65rem;
}
.section-title.center { text-align: center; }

.section-divider {
    width: 64px;
    height: 1px;
    background: var(--gold);
    margin: 1.25rem 0 1.5rem;
    position: relative;
}
.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border: 1px solid var(--sienna);
    border-radius: 50%;
    background: var(--warm-white);
}
.section-divider.center { margin-left: auto; margin-right: auto; }

.section-subtitle {
    text-align: center;
    color: var(--brown-muted);
    font-size: clamp(1.15rem, 1.95vw, 1.32rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.72;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

section { padding: var(--section-pad) 0; }

/* ── ANIMATIONS ────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

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

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 0;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-align: center;
    min-height: 52px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--sienna);
    color: var(--warm-white);
    border-color: var(--sienna);
}
.btn-primary:hover {
    background: var(--sienna-dark);
    border-color: var(--sienna-dark);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--brown);
    border-color: var(--brown);
}
.btn-outline:hover {
    background: var(--brown);
    color: var(--warm-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.15rem 2.6rem;
    font-size: 1.05rem;
    min-height: 60px;
}

.btn-cta {
    position: relative;
    overflow: hidden;
}
.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}
.btn-cta:hover::before { transform: translateX(100%); }

/* ── HEADER / NAV ──────────────────────────────────────────── */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(46, 54, 34, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
    border-bottom: 1px solid transparent;
    color: var(--warm-white);
}

.site-header.scrolled {
    background: rgba(34, 42, 22, 0.99);
    border-bottom-color: rgba(242, 237, 222, 0.18);
    box-shadow: 0 2px 24px rgba(58, 42, 31, 0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    height: 100%;
}

/* Logo — absolutely centered */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--warm-white);
    text-decoration: none;
    white-space: nowrap;
    z-index: 1;
    transition: color var(--transition);
}
.logo:hover { color: var(--gold-light); }

.logo-mark {
    width: 30px;
    height: 30px;
    color: inherit;
    flex-shrink: 0;
    display: none;
}
.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
    font-family: var(--font-script);
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: inherit;
    line-height: 1;
}

/* Left nav — desktop only */
.header-nav-left {
    display: none;
    gap: 1.6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Right actions area */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

/* Right nav — desktop only */
.header-nav-right {
    display: none;
    gap: 1.6rem;
    align-items: center;
    margin-right: 0.5rem;
}

/* Shared nav link styles */
.header-nav-left a,
.header-nav-right a {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm-white);
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--transition);
}
.header-nav-left a::after,
.header-nav-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold-light);
    transition: width var(--transition);
}
.header-nav-left a:hover,
.header-nav-right a:hover { color: var(--gold-light); }
.header-nav-left a:hover::after,
.header-nav-right a:hover::after { width: 100%; }

.header-instagram {
    display: none;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm-white);
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(242, 237, 222, 0.45);
    transition: all var(--transition);
}
.header-instagram:hover {
    background: var(--warm-white);
    color: rgba(46, 54, 34, 1);
    border-color: var(--warm-white);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-right: -6px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 1.8px;
    background: var(--warm-white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── MOBILE DRAWER ─────────────────────────────────────────── */
.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1001;
}
.mobile-drawer.open { display: block; }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(58, 42, 31, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: overlayIn 0.3s ease forwards;
}

.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--warm-white-2);
    padding: 1.25rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(58, 42, 31, 0.22);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: panelIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 1;
    border-left: 1px solid var(--gold-light);
}

@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes panelIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--gold-light);
    margin-bottom: 0.5rem;
}
.drawer-brand {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--sienna);
    font-weight: 600;
}
.drawer-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--brown);
    border-radius: 50%;
    background: rgba(164, 98, 62, 0.1);
    transition: all var(--transition);
}
.drawer-close:hover {
    background: var(--sienna);
    color: var(--warm-white);
}

.drawer-links {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 0.5rem;
}
.drawer-links a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--brown);
    font-style: italic;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--gold-light);
    transition: color var(--transition), padding-left var(--transition);
    position: relative;
}
.drawer-links a:hover {
    color: var(--sienna);
    padding-left: 0.5rem;
}

.drawer-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gold-light);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.drawer-footer-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brown-muted);
    font-weight: 600;
}
.drawer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sienna);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    overflow: hidden;
    background: var(--warm-white);
}

/* Semi-transparent photo background */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    filter: saturate(0.3) brightness(1.15);
}

/* Hero visual column — flower art on desktop right side */
.hero-visual-col {
    display: none;
    flex: 0 0 48%;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.hero-flower-art {
    width: 100%;
    max-width: 640px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 60px rgba(164, 98, 62, 0.14));
    animation: floatFlower 14s ease-in-out infinite;
}
@keyframes floatFlower {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.hero-text-col {
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.4rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--sienna);
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
}

.hero-title {
    margin-bottom: 1.4rem;
    line-height: 1;
}

/* Line 1 — Playfair Display Black (Voguer-аналог): editorial uppercase */
.hero-title-top {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.6rem, 4.5vw, 3.5rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brown);
    line-height: 1.1;
    margin-bottom: 0.35rem;
    font-style: normal;
}

/* Line 2 — Prata (Wes-аналог): ornate Didone display */
.hero-title-bottom {
    display: block;
    font-family: 'Prata', Georgia, serif;
    font-size: clamp(22px, 4.5vw, 68px);
    font-weight: 400;
    color: var(--sienna);
    line-height: 1.1;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-desc {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    color: var(--brown-soft);
    max-width: clamp(320px, 50vw, 720px);
    margin: 0 auto 2.2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0;
    font-size: 1rem;
    color: var(--brown-soft);
    letter-spacing: 0.02em;
    font-weight: 600;
    width: 100%;
}
.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    white-space: nowrap;
}
.hero-meta-item svg { color: var(--sage-dark); flex-shrink: 0; }


.hero-scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--brown-muted);
    z-index: 2;
}
.hero-scroll-hint svg { animation: scrollDown 1.8s ease-in-out infinite; }
@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%      { transform: translateY(4px); opacity: 1; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    background: var(--warm-white);
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-images {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}
.about-img {
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}
.about-img:hover img { transform: scale(1.05); }

.about-img-1 {
    width: 86%;
    aspect-ratio: 4 / 5;
    position: relative;
    z-index: 2;
    margin-left: 0;
}
.about-img-2 {
    position: absolute;
    width: 56%;
    aspect-ratio: 3 / 4;
    bottom: -5%;
    right: 0;
    border: 6px solid var(--warm-white);
    z-index: 3;
}

.about-stamp {
    position: absolute;
    top: 5%;
    right: 0;
    width: 90px;
    height: 90px;
    border: 1px solid var(--sienna);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-12deg);
    background: rgba(242, 237, 222, 0.85);
    z-index: 4;
}
.about-stamp::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px dashed var(--sienna);
    border-radius: 50%;
}
.about-stamp-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--sienna);
    text-align: center;
    line-height: 1.1;
    font-weight: 600;
}

.about-text-col {
    max-width: 580px;
}
.about-title {
    font-size: clamp(3rem, 7.5vw, 4.4rem);
}
.about-title em {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: var(--sienna);
    white-space: nowrap;
}

.about-brand {
    color: var(--sienna);
    font-weight: 700;
    font-style: normal;
}

.about .section-divider {
    width: 160px;
}

.about-text {
    font-size: 1.18rem;
    line-height: 1.78;
    color: var(--brown-soft);
    margin-bottom: 1.2rem;
}

.about-btn {
    margin-top: 1.5rem;
}

.about-signature {
    margin-top: 1.7rem;
    font-family: var(--font-script);
    font-size: 1.85rem;
    color: var(--sage-dark);
    line-height: 1;
}

/* ============================================================
   SHOWCASE / BENTO
   ============================================================ */
.showcase {
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--warm-white-2) 100%);
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 3rem;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--paper);
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    margin: 0;
}
.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(58, 42, 31, 0.55) 100%);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity var(--transition);
}
.bento-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.bento-item:hover img { transform: scale(1.05); }

.bento-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    z-index: 2;
}
.bento-tag {
    font-family: var(--font-script);
    font-size: 1.7rem;
    color: var(--warm-white);
    font-weight: 400;
    line-height: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.bento-hint {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-white);
    background: rgba(164, 98, 62, 0.88);
    padding: 0.32rem 0.55rem;
    border-radius: 2px;
    font-weight: 600;
    flex-shrink: 0;
}

.showcase-cta {
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}
.showcase-cta p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.25rem, 2.7vw, 1.55rem);
    color: var(--brown-soft);
    line-height: 1.5;
    margin-bottom: 1.6rem;
}

/* ============================================================
   ADVANTAGES — editorial why-list
   ============================================================ */
.advantages {
    background:
        linear-gradient(rgba(242, 237, 222, 0.90), rgba(242, 237, 222, 0.90)),
        url('../../images/lilies.jpg') center/cover no-repeat;
    position: relative;
}
.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* Title above, 4-column row */
.advantages-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-intro .section-eyebrow {
    font-size: clamp(3rem, 6vw, 5rem);
    display: block;
    margin-bottom: 0.4rem;
}

.advantages-intro .section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.advantages-intro .section-title em {
    display: block;
    font-family: 'Prata', Georgia, serif;
    font-size: clamp(3.6rem, 6vw, 6rem);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--sienna);
    line-height: 1.05;
    margin-top: 0.1em;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(58, 42, 31, 0.28);
}

.why-card {
    padding: 2.75rem 2rem;
}

.why-card:not(:last-child) {
    border-right: 1px solid rgba(58, 42, 31, 0.28);
}

.why-card:nth-child(odd) {
    border-right: 1px solid var(--gold-light);
}

.why-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--gold-light);
}

.why-num {
    font-family: var(--font-script);
    font-size: 5.5rem;
    color: var(--sienna);
    line-height: 1.1;
    display: block;
    margin-bottom: 0.55rem;
    opacity: 0.75;
    font-weight: 400;
}

.why-title {
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    margin-bottom: 0.6rem;
    color: var(--brown);
    font-family: var(--font-heading);
    font-weight: 600;
}

.why-text {
    color: var(--brown-muted);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.7;
}

/* ============================================================
   HOW TO ORDER — steps list
   ============================================================ */
.how-section {
    background: var(--sage-dark);
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}
.how-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(242, 237, 222, 0.4), transparent);
}
.how-section .section-eyebrow { color: rgba(242, 237, 222, 0.75); }
.how-section .section-title   { color: var(--warm-white); }
.how-section .section-subtitle { color: rgba(242, 237, 222, 0.82); }
.how-section .section-divider  { background: rgba(242, 237, 222, 0.35); }
.how-section .section-divider::after { border-color: rgba(242, 237, 222, 0.35); background: var(--sage-dark); }
.how-section .step-item       { border-color: rgba(242, 237, 222, 0.2); }
.how-section .step-item:first-child { border-top-color: rgba(242, 237, 222, 0.2); }
.how-section .step-num        { color: rgba(242, 237, 222, 0.45); }
.how-section .step-title      { color: var(--warm-white); }
.how-section .step-text       { color: rgba(242, 237, 222, 0.82); }
.how-section em               { color: var(--warm-white); }

.steps-list {
    max-width: 820px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.step-item {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--gold-light);
}
.step-item:first-child { border-top: 1px solid var(--gold-light); }

.step-num-wrap {
    flex-shrink: 0;
    width: 68px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 0.1rem;
}

.step-num {
    font-family: var(--font-script);
    font-size: 4.2rem;
    color: var(--sienna);
    line-height: 0.82;
    font-weight: 400;
    opacity: 0.82;
}

.step-content {
    flex: 1;
    padding-top: 0.3rem;
}

.step-title {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    margin-bottom: 0.45rem;
    font-family: var(--font-heading);
    color: var(--brown);
    font-weight: 600;
}

.step-text {
    color: var(--brown-muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background:
        linear-gradient(rgba(65, 70, 55, 0.88), rgba(65, 70, 55, 0.88)),
        url('../../images/back.jpg') center/cover no-repeat;
    color: var(--warm-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(242, 237, 222, 0.12), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(207, 181, 150, 0.12), transparent 50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-ornament {
    color: var(--warm-white);
    margin: 0 auto 1.25rem;
    width: 90px;
    opacity: 0.8;
}
.cta-ornament svg { width: 100%; height: auto; }

.cta-title {
    color: var(--warm-white);
    margin-bottom: 1.25rem;
    font-size: clamp(2.2rem, 5.5vw, 3.3rem);
    font-style: italic;
    font-weight: 500;
}

.cta-text {
    color: rgba(242, 237, 222, 0.94);
    font-size: clamp(1.15rem, 2.1vw, 1.32rem);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-primary {
    background: var(--warm-white);
    color: var(--sienna);
    border-color: var(--warm-white);
    border-radius: 8px;
}
.cta-banner .btn-primary:hover {
    background: var(--sienna);
    color: var(--warm-white);
    border-color: var(--warm-white);
}

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts {
    background: var(--warm-white);
    position: relative;
}
.contacts .section-title {
    font-size: clamp(3.2rem, 7vw, 6rem);
    white-space: nowrap;
}
.contacts .section-title em {
    display: inline;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.contacts-legal {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--brown-muted);
    line-height: 1.9;
    border-top: 1px solid rgba(58,42,31,0.12);
    padding-top: 1.75rem;
}
.contacts-legal p { margin: 0; }
.contacts-legal a { color: var(--brown-muted); text-decoration: underline; text-underline-offset: 2px; }

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.4rem 1.75rem;
    background: var(--warm-white-2);
    border: 1px solid var(--gold-light);
    border-radius: var(--radius-sm);
    color: var(--brown);
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}
.contact-card:hover:not(.contact-card-static) {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--sienna);
    color: var(--brown);
}
.contact-card-static { cursor: default; }

.contact-card-primary {
    background: linear-gradient(160deg, var(--warm-white-2) 0%, var(--paper) 100%);
    border-color: var(--gold);
}
.contact-card-primary::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: var(--sienna);
    border-radius: 0 0 4px 4px;
}

.contact-card-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--warm-white);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sienna);
    margin-bottom: 1.1rem;
    transition: all var(--transition);
    flex-shrink: 0;
}
.contact-card:hover:not(.contact-card-static) .contact-card-icon {
    background: var(--sienna);
    color: var(--warm-white);
    border-color: var(--sienna);
    transform: scale(1.05);
}

.contact-card-label {
    font-size: 0.92rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brown-muted);
    font-weight: 600;
    margin-bottom: 0.65rem;
}
.contact-card-value {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4.2vw, 2.6rem);
    font-weight: 400;
    color: var(--sienna);
    margin-bottom: 0.7rem;
    line-height: 1;
    word-break: break-word;
}
.contact-card-hint {
    font-size: 1.1rem;
    color: var(--brown-muted);
    line-height: 1.6;
    max-width: 340px;
}
.contact-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sienna);
    padding: 0.65rem 1.2rem;
    border: 1px solid var(--sienna);
    transition: all var(--transition);
}
.contact-card-primary:hover .contact-card-cta {
    background: var(--sienna);
    color: var(--warm-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--brown);
    color: rgba(242, 237, 222, 0.85);
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

.footer-ornament {
    color: var(--gold);
    width: 220px;
    margin: 0 auto 1.5rem;
    opacity: 0.6;
}
.footer-ornament svg { width: 100%; height: auto; display: block; }

.footer-brand {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2.5rem;
    color: var(--warm-white);
    margin-bottom: 0.45rem;
    font-weight: 600;
}

.footer-tagline {
    color: rgba(242, 237, 222, 0.78);
    font-size: 1.55rem;
    margin-bottom: 1.85rem;
    font-family: var(--font-script);
    line-height: 1;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--warm-white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid rgba(242, 237, 222, 0.4);
    border-radius: 0;
    transition: all var(--transition);
    margin-bottom: 1.85rem;
}
.footer-instagram:hover {
    background: var(--warm-white);
    color: var(--brown);
    border-color: var(--warm-white);
}

.footer-bottom {
    font-size: 0.88rem;
    color: rgba(242, 237, 222, 0.5);
    padding-top: 1.4rem;
    border-top: 1px solid rgba(242, 237, 222, 0.12);
    letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE — SMALL TABLET (≥600px)
   ============================================================ */
@media (min-width: 600px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .bento-tall   { grid-row: span 2; aspect-ratio: 4 / 7; }
    .bento-wide   { aspect-ratio: 4 / 5; }
    .bento-square { aspect-ratio: 1 / 1; }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .why-item { gap: 2rem; padding: 2rem 0; }
    .why-num  { font-size: 4.5rem; width: 80px; }
    .step-item { gap: 2rem; }
    .step-num  { font-size: 5rem; }
    .step-num-wrap { width: 80px; }
}

/* ============================================================
   RESPONSIVE — TABLET (≥768px)
   ============================================================ */
@media (min-width: 768px) {
    body { font-size: 20px; }
    :root { --section-pad: clamp(4rem, 8vw, 6.5rem); }

    .container { padding: 0 1.75rem; }

    .hero-eyebrow { font-size: 2.1rem; }
    .section-eyebrow { font-size: 2.7rem; }

    .header-nav-left  { display: flex; }
    .header-nav-right { display: flex; }
    .hamburger { display: none; }

    /* Hero — centered, full-width */
    .hero { padding-bottom: 5rem; }
    .hero-inner { padding-bottom: 2rem; }
    .hero-text-col { max-width: 100%; }

    /* About */
    .about-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
    .about-images { max-width: none; }

    /* Bento — 4 columns variable layout */
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 220px;
        grid-auto-flow: dense;
        gap: 1rem;
    }
    .bento-item { aspect-ratio: auto; }
    .bento-tall   { grid-column: span 1; grid-row: span 2; }
    .bento-wide   { grid-column: span 2; grid-row: span 1; }
    .bento-square { grid-column: span 1; grid-row: span 1; }

    /* Steps */
    .step-item { gap: 2.5rem; padding: 2.5rem 0; }
    .step-num  { font-size: 5.5rem; }
    .step-num-wrap { width: 88px; }

    /* Advantages — 2×2 на планшете */
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card:nth-child(odd)  { border-right: 1px solid rgba(58, 42, 31, 0.28); }
    .why-card:nth-child(-n+2) { border-bottom: 1px solid rgba(58, 42, 31, 0.28); }
    .why-card:not(:last-child) { border-right: none; }
}

/* ============================================================
   RESPONSIVE — DESKTOP (≥1024px)
   ============================================================ */
@media (min-width: 1024px) {
    body { font-size: 21px; }

    .container { padding: 0 2rem; }

    /* Fit hero entirely within 1080px viewport (including header) */
    .hero {
        height: 95vh;
        min-height: 700px;
        padding-top: calc(var(--nav-height) + 1rem);
        padding-bottom: 2rem;
    }
    .hero-inner { padding-bottom: 0.75rem; }

    .bento-grid { grid-auto-rows: 240px; }

    .about-grid { gap: 5rem; }

    /* Advantages — 4×1 на десктопе */
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .why-card:nth-child(odd)  { border-right: none; }
    .why-card:nth-child(-n+2) { border-bottom: none; }
    .why-card:not(:last-child) { border-right: 1px solid rgba(58, 42, 31, 0.28); }
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP (≥1280px)
   ============================================================ */
@media (min-width: 1280px) {
    .bento-grid { grid-auto-rows: 280px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (<400px)
   ============================================================ */
@media (max-width: 399px) {
    :root { --nav-height: 60px; }
    .container { padding: 0 1rem; }

    .logo-text { font-size: 2rem; }
    .advantages-intro .section-eyebrow { font-size: clamp(2.2rem, 5vw, 3.5rem); }

    .hero-actions { flex-direction: column; align-items: stretch; gap: 0.7rem; }
    .hero-actions .btn { width: 100%; }

    .hero-meta { gap: 0; }
    .hero-meta-item { font-size: 0.8rem; padding: 0.3rem 0.65rem; }

    .about-stamp { width: 72px; height: 72px; }
    .about-stamp-text { font-size: 0.88rem; }

    .why-grid { grid-template-columns: 1fr 1fr; }
    .why-card:not(:last-child) { border-right: none; }
    .why-card:nth-child(-n+2) { border-bottom: 1px solid rgba(58, 42, 31, 0.28); }
    .why-num { font-size: 2.4rem; }
    .step-num { font-size: 3.4rem; }
    .step-num-wrap { width: 56px; }
}

/* ============================================================
   FLORAL DECOR — углы страницы + секционные акценты
   ============================================================ */

/* 4 цветочных угла на всём сайте (absolute, привязаны к body) */
.page-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.page-corner {
    position: absolute;
    pointer-events: none;
    user-select: none;
    width: clamp(110px, 22vw, 240px);
    height: auto;
    opacity: 0.7;
    filter: drop-shadow(0 4px 14px rgba(58, 42, 31, 0.08));
}

.page-corner-tl {
    top: -3%;
    left: -6%;
    transform: rotate(180deg);
}
.page-corner-tr {
    top: -3%;
    right: -6%;
    transform: rotate(180deg) scaleX(-1);
}
.page-corner-bl {
    bottom: -2%;
    left: -6%;
    transform: rotate(0deg);
}
.page-corner-br {
    bottom: -2%;
    right: -6%;
    transform: scaleX(-1);
}

/* About — цветочный акцент в углу секции */
.about {
    overflow: hidden;
}
.about-flower {
    position: absolute;
    width: clamp(160px, 26vw, 320px);
    top: 8%;
    right: -6%;
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transform: rotate(12deg);
    filter: drop-shadow(0 4px 12px rgba(58, 42, 31, 0.06));
}

/* About container выше декора */
.about > .container { position: relative; z-index: 1; }

/* CTA banner — два цветочных акцента по бокам */
.cta-banner { overflow: hidden; }
.cta-flower {
    position: absolute;
    width: clamp(240px, 36vw, 460px);
    pointer-events: none;
    user-select: none;
    opacity: 0.42;
    z-index: 0;
    filter: brightness(1.05) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}
.cta-flower-1 {
    top: -8%;
    left: -5%;
    transform: rotate(-15deg);
}
.cta-flower-2 {
    bottom: -8%;
    right: -5%;
    transform: rotate(165deg);
}

/* CTA inner поверх цветов */
.cta-banner .container { position: relative; z-index: 1; }

/* Body нужен relative для абсолютных углов */
body { position: relative; }

/* Контент и шапка поверх углов */
main, .site-header, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 100; }

/* ============================================================
   FLORAL DECOR — мобильный адаптив
   ============================================================ */

/* На очень маленьких экранах углы уменьшаем и делаем менее заметными,
   чтобы не отвлекали от контента */
@media (max-width: 599px) {
    .page-corner {
        width: 100px;
        opacity: 0.45;
    }
    .page-corner-tl, .page-corner-tr {
        top: -2%;
    }
    .page-corner-tl { left: -10%; }
    .page-corner-tr { right: -10%; }
    .page-corner-bl, .page-corner-br {
        bottom: -1%;
    }
    .page-corner-bl { left: -10%; }
    .page-corner-br { right: -10%; }

    .about-flower {
        width: 140px;
        top: 4%;
        right: -10%;
        opacity: 0.4;
    }
    .cta-flower { width: 190px; opacity: 0.42; }
    .cta-flower-1 { top: -4%; left: -8%; }
    .cta-flower-2 { bottom: -4%; right: -8%; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card:not(:last-child) { border-right: none; }
    .why-card:nth-child(-n+2) { border-bottom: 1px solid rgba(58, 42, 31, 0.28); }
    .why-card:nth-child(2) { border-right: none; }
    .why-card:nth-child(odd) { border-right: 1px solid var(--gold-light); }

    .why-card { padding: 1.5rem 1rem; }
    .why-num { font-size: 3rem; }
    .why-title { font-size: 1.35rem; }
    .why-text { font-size: 0.95rem; }

    .contacts .section-title { white-space: normal; font-size: clamp(2rem, 8vw, 3.2rem); }
    .advantages-intro .section-title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
    .advantages-intro .section-title em { font-size: clamp(2.4rem, 8vw, 3rem); }

    .hero-actions { flex-direction: column; align-items: stretch; gap: 0.7rem; }
    .hero-actions .btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE — SMALL TABLET GAP (600px–767px)
   ============================================================ */
@media (min-width: 600px) and (max-width: 767px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card:not(:last-child) { border-right: none; }
    .why-card:nth-child(odd) { border-right: 1px solid var(--gold-light); }
    .why-card:nth-child(-n+2) { border-bottom: 1px solid var(--gold-light); }
    .why-card { padding: 2rem 1.5rem; }
    .why-num { font-size: 3.8rem; }
}

/* На больших экранах углы крупнее и заметнее */
@media (min-width: 1280px) {
    .page-corner {
        width: 280px;
        opacity: 0.65;
    }
    .hero-flower-art { max-width: 720px; }
}
