/* ================================================
   ЕЛЕНА — ПЕРМАНЕНТНЫЙ МАКИЯЖ
   Премиальный стиль «Тихая роскошь»
   ================================================ */

/* ---------- ПЕРЕМЕННЫЕ ---------- */
:root {
    --bg: #FAF6F2;
    --bg-alt: #F3ECE4;
    --bg-dark: #3D2E2A;
    --text: #3D2E2A;
    --text-muted: #7A6660;
    --accent: #C0856F;
    --accent-a11y: #9C5F49; /* доступный по контрасту вариант акцента: 5.06:1 на белом, 4.71:1 на фоне сайта — проходит WCAG AA для текста и кнопок */
    --accent-dark: #A66B55;
    --accent-light: #E8C5BC;
    --sand: #E8DDD3;
    --white: #ffffff;
    --border: #E0D5CB;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 4px 20px rgba(61, 46, 42, 0.06);
    --shadow-md: 0 12px 40px rgba(61, 46, 42, 0.1);
    --shadow-lg: 0 24px 60px rgba(61, 46, 42, 0.15);
    --radius: 14px;
    --radius-lg: 24px;
    --max: 1200px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- СБРОС ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- СКРОЛЛБАР ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ---------- КОНТЕЙНЕР ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 999;
    padding: 12px 24px;
    background: var(--accent-a11y);
    color: var(--white);
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ---------- ТИПОГРАФИКА ---------- */
.section-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text);
}
.section-title em { font-style: italic; color: var(--accent); }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-a11y);
    margin-bottom: 12px;
    display: block;
}

.section-sub {
    color: var(--text-muted);
    max-width: 600px;
    margin: 16px auto 0;
    font-size: 1.05rem;
}

/* ---------- КНОПКИ ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 34px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent-a11y);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(192, 133, 111, 0.35);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(192, 133, 111, 0.45);
}
.btn-ghost {
    background: rgba(58,42,36,0.05);
    color: var(--text);
    border: 1.5px solid rgba(58,42,36,0.3);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(58,42,36,0.1); border-color: var(--accent-dark); color: var(--accent-dark); transform: translateY(-3px); }
.btn-outline {
    background: transparent;
    color: var(--accent-a11y);
    border: 1.5px solid var(--accent-a11y);
}
.btn-outline:hover { background: var(--accent-a11y); color: var(--white); transform: translateY(-3px); }
.btn-block { width: 100%; display: flex; }

/* ---------- СЕКЦИИ ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }

.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 60px); }
.section-head .section-title { margin-top: 4px; }

/* ================================================
   ПЛАВАЮЩИЕ КНОПКИ
   ================================================ */
.floating-buttons {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease);
    animation: floatPulse 2.5s ease-in-out infinite;
}
.float-whatsapp { background: #25D366; }
.float-telegram { background: #229ED9; animation-delay: 0.6s; }
.float-phone { background: var(--accent); animation-delay: 1.2s; }
.float-btn:hover { transform: scale(1.12) translateY(-2px); }
body.menu-open .floating-buttons { display: none; }
body.menu-open { overflow: hidden; }
@keyframes floatPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 0 0 rgba(192,133,111,0.4); }
    50% { box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 0 14px rgba(192,133,111,0); }
}

/* ================================================
   НАВИГАЦИЯ
   ================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(250, 246, 242, 0.92);
    backdrop-filter: blur(16px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.4s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(360deg); }
.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
    transition: color 0.4s;
}
.logo-text small {
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 3px;
}
.navbar.scrolled .logo-text { color: var(--text); }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s;
}
.nav-link.nav-link-gradient {
    background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 35%, var(--accent-light) 65%, #F7E9DE 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 500;
    transition: background-position 0.5s var(--ease);
}
.nav-link.nav-link-gradient:hover { background-position: right center; }
.navbar.scrolled .nav-link { color: var(--text-muted); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }
.nav-link.nav-link-gradient:hover {
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.nav-link.nav-link-gradient::after { background: var(--accent); }

.nav-cta {
    background: var(--accent-a11y);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-2px); color: var(--white) !important; }
.navbar.scrolled .nav-cta { color: var(--white) !important; }

/* Бургер */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 101; }
.burger span {
    width: 26px; height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar:not(.scrolled) .burger span { background: var(--text); }

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg-new.jpg') center/cover no-repeat;
    color: var(--text);
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, var(--bg) 0%, rgba(251,248,244,0.94) 28%, rgba(251,248,244,0.62) 46%, rgba(251,248,244,0.12) 62%, rgba(251,248,244,0) 75%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-top: 88px;
    padding-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-12vw);
}
.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--accent-dark);
    opacity: 1;
}
.hero-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 28px;
    color: var(--text);
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-subtitle {
    font-size: 1.12rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    opacity: 1;
    max-width: 560px;
    margin-bottom: 40px;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}
.hero-buttons {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.hero-buttons .btn-ghost { margin-left: 0; }

/* На больших экранах значок скролла — третий элемент в строке,
   стоит строго между кнопками благодаря flex-порядку в разметке */
.hero-scroll {
    position: relative;
    display: block;
    width: 26px;
    height: 44px;
    border: 2px solid rgba(58,42,36,0.35);
    border-radius: 20px;
    z-index: 2;
    flex-shrink: 0;
}
.hero-scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--accent-dark);
    border-radius: 2px;
    margin: 8px auto 0;
    animation: scrollWheel 1.8s infinite;
}
@keyframes scrollWheel {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ================================================
   О ЕЛЕНЕ
   ================================================ */
.about { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.about-image {
    position: relative;
    margin-bottom: 20px;
}
.about-image img {
    width: 100%;
    height: min(580px, 70vw);
    max-height: 580px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: 16px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1;
    max-width: calc(100% - 32px);
}
.badge-num {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-a11y);
}
.badge-text {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

.about-text p { margin-bottom: 18px; color: var(--text-muted); }
.about-text p strong { color: var(--text); font-weight: 500; }
.about-text .section-title { margin-bottom: 20px; }

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 36px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--accent-a11y);
    line-height: 1;
    display: inline-block;
}
.stat-num.stat-text { font-size: 1.5rem; white-space: nowrap; }
.stat { position: relative; }
.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ================================================
   УСЛУГИ
   ================================================ */
.services { background: var(--bg-alt); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 32px);
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-img { height: 280px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.08); }

.service-body { padding: clamp(24px, 3vw, 36px); flex: 1; display: flex; flex-direction: column; }
.service-body h3 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.service-desc { color: var(--text-muted); margin-bottom: 24px; }
.service-list { margin-bottom: 24px; }
.service-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.service-list li span:first-child { font-weight: 500; font-size: 0.95rem; }
.service-list li span:last-child { font-size: 0.82rem; color: var(--text-muted); text-align: right; }
.service-from {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    margin-top: auto;
}
.service-from strong { font-family: var(--serif); font-size: 1.5rem; color: var(--accent-a11y); font-weight: 600; }


/* ================================================
   ГАЛЕРЕЯ РАБОТ
   ================================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 20px);
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--sand);
    box-shadow: var(--shadow-sm);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.portfolio-item:hover img {
    transform: scale(1.06);
}

/* ================================================
   ПРОЦЕСС
   ================================================ */
.process { background: var(--bg-dark); color: var(--white); }
.process .section-title,
.process .section-sub { color: var(--white); }
.process .eyebrow { color: var(--accent-light); }
.process .section-sub { color: rgba(255,255,255,0.7); }

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
    position: relative;
}
.process-step {
    text-align: center;
    position: relative;
    padding: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}
.process-step:hover {
    background: rgba(192,133,111,0.12);
    border-color: var(--accent);
    transform: translateY(-6px);
}
.step-num {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-a11y);
    opacity: 0.5;
    line-height: 1;
}
.step-icon { font-size: 2.4rem; margin: 12px 0; }
.process-step h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.process-step p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ================================================
   ЦЕНЫ
   ================================================ */
.pricing { background: var(--bg-alt); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
    align-items: stretch;
}
.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: all 0.4s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-featured {
    border: 2px solid var(--accent);
    /* без scale — рамки на одной линии */
}
.price-featured:hover { transform: translateY(-6px); }
.price-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
    background: var(--accent-a11y);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    z-index: 1;
}
.price-head { text-align: center; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.price-head h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.price-head p { color: var(--accent-a11y); font-weight: 500; margin-top: 6px; }

.price-list {
    flex: 1;
}
.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px dashed var(--border);
    gap: 12px;
}
.price-list li span { font-size: 0.92rem; }
.price-list li strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--accent-a11y); white-space: nowrap; }
.price-note { opacity: 0.75; }
.price-card .btn { margin-top: auto; padding-top: 28px; }

.pricing-foot { text-align: center; margin-top: clamp(28px, 4vw, 40px); color: var(--text-muted); font-size: 0.92rem; }

/* ================================================
   ОТЗЫВЫ
   ================================================ */
.reviews { background: var(--bg); }
.reviews-viewport {
    overflow: hidden;
    margin-bottom: 32px;
}
.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s var(--ease);
}
.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease);
}
.stars { color: #C47F1A; font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 18px; }
.review-card p {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}
.review-author { display: flex; flex-direction: column; }
.review-author strong { font-family: var(--serif); font-size: 1.2rem; }
.review-author span { font-size: 0.82rem; color: var(--accent-a11y); }

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}
.review-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    color: var(--accent);
    font-size: 1.5rem;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-btn:hover { background: var(--accent-a11y); color: var(--white); border-color: var(--accent-a11y); }
.reviews-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}
.review-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.review-dot.active { background: var(--accent); width: 30px; border-radius: 6px; }

/* ================================================
   FAQ
   ================================================ */
.faq { background: var(--bg-alt); }
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
    font-size: 1.6rem;
    color: var(--accent-a11y);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
    line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.faq-answer p { padding: 0 28px 24px; color: var(--text-muted); }

/* ================================================
   ЗАПИСЬ / КОНТАКТЫ
   ================================================ */
.booking { background: var(--bg); }
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 48px);
    align-items: stretch;
}
.booking-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.booking-info .section-title { text-align: left; }
.booking-info .eyebrow { text-align: left; }
.booking-lead {
    color: var(--text-muted);
    margin: 16px 0 28px;
    font-size: 1.05rem;
}
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1;
    align-content: start;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.contact-card--wide {
    grid-column: 1 / -1;
}
a.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}
.contact-icon {
    font-size: 1.35rem;
    width: 42px; height: 42px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card div { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.contact-card small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.contact-card strong { font-size: 0.9rem; font-weight: 500; color: var(--text); }

/* ================================================
   КАРТА
   ================================================ */
.booking-map-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.booking-map-card {
    width: 100%;
    flex: 1 1 auto;
    min-height: 320px;
    margin-top: 48px; /* выравнивание с блоком контактов слева */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--sand);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-lg);
}
/* тёплая «рамка» в палитре сайта — без перекрытия карты */
.booking-map-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.55),
        inset 0 0 60px rgba(250, 246, 242, 0.35),
        inset 0 -40px 50px rgba(232, 221, 211, 0.25);
}
.booking-map-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    inset: 0;
    /* лёгкий тёплый тон под фон сайта, карта остаётся читаемой */
    filter: sepia(6%) saturate(92%) brightness(1.02);
}
/* адресная плашка в стиле карточек сайта */
.booking-map-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    right: auto;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: calc(100% - 20px);
}
.booking-map-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.booking-map-badge div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    min-width: 0;
}
.booking-map-badge small {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}
.booking-map-badge strong {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-map-actions {
    display: flex;
    justify-content: stretch;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.btn-map {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 14px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* пометки «дорабатывается» — тот же шрифт, чуть мягче */
.title-note {
    font: inherit;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    opacity: 0.55;
    font-size: 0.55em;
}
.eyebrow-note {
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    opacity: 0.65;
}
.section-sub-note {
    font-style: normal;
    opacity: 0.85;
    margin-top: 8px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.92rem;
    line-height: 1.45;
}


/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p { margin: 20px 0; font-size: 0.92rem; max-width: 340px; }
.logo-footer .logo-text { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-col h4 {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 18px;
    font-weight: 600;
}
.footer-col a, .footer-col span {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 8px;
}

/* ================================================
   ВСПЛЫВАЮЩЕЕ УВЕДОМЛЕНИЕ (БАННЕР)
   ================================================ */
.announcement-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(61, 46, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.announcement-overlay.show {
    opacity: 1;
    visibility: visible;
}
.announcement-modal {
    position: relative;
    max-width: 460px;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 44px 40px 40px;
    text-align: center;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s var(--ease);
}
.announcement-overlay.show .announcement-modal {
    transform: translateY(0) scale(1);
}
.announcement-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    z-index: 2;
}
.announcement-close:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: rotate(90deg);
}
.announcement-icon { font-size: 2.6rem; margin-bottom: 16px; }
.announcement-title {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.announcement-text { color: var(--text-muted); line-height: 1.7; font-size: 1.02rem; }

/* ================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================================
   АДАПТИВ — УЗКИЙ ДЕСКТОП / ШИРОКИЙ ПЛАНШЕТ
   ================================================ */
@media (max-width: 1100px) {
    .nav-menu { gap: 18px; }
    .nav-link { font-size: 0.8rem; }
    .hero-content { transform: translateX(-6vw); }
}

/* ================================================
   АДАПТИВ — ПЛАНШЕТ
   ================================================ */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image { margin-bottom: 12px; }
    .about-image img { height: 440px; max-height: 440px; }
    .about-badge { right: 16px; bottom: -16px; }
    .booking-grid { grid-template-columns: 1fr; gap: 36px; }
    .booking-info .section-title { text-align: center; }
    .booking-info .eyebrow { text-align: center; }
    .booking-lead { text-align: center; margin-left: auto; margin-right: auto; max-width: 520px; }
    .booking-map-card { min-height: 320px; height: 320px; flex: none; margin-top: 0; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .review-card { flex: 0 0 calc(50% - 12px); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-content { transform: none; max-width: 640px; }
    .service-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .service-list li span:last-child { text-align: left; }
}

/* ================================================
   АДАПТИВ — ТЕЛЕФОН
   ================================================ */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .booking-map-card { height: 260px; min-height: 260px; flex: none; margin-top: 0; }
    .booking-map-badge { left: 8px; right: auto; bottom: 8px; max-width: calc(100% - 16px); padding: 10px 14px; }
    .booking-map-badge strong { white-space: normal; }
    .btn-map { flex: 1 1 40%; min-width: 0; padding: 12px 10px; font-size: 0.72rem; }
    .booking-map-actions { gap: 8px; }
    .contact-cards { grid-template-columns: 1fr; gap: 10px; }
    .contact-card--wide { grid-column: auto; }
    .contact-card { padding: 14px 16px; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px 32px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s var(--ease);
        z-index: 100;
    }
    .nav-menu.active { right: 0; }
    .nav-link { color: var(--text) !important; font-size: 1.1rem; }
    .navbar.scrolled .nav-link { color: var(--text) !important; }
    .burger { display: flex; }

    .hero-content { padding-top: 96px; padding-bottom: 40px; transform: none; }
    .hero-title { margin-bottom: 20px; }
    .hero-subtitle { margin-bottom: 32px; font-size: 1.05rem; }
    .hero-cta { width: 100%; align-items: center; }
    .hero-buttons { flex-direction: column; align-items: stretch; width: 100%; gap: 14px; }
    .hero-buttons .btn { width: 100%; order: 1; }
    .hero-buttons .btn-primary { order: 1; }
    .hero-buttons .btn-ghost { margin-left: 0; order: 2; }
    .hero-scroll { order: 3; margin-top: 20px; align-self: center; }

    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-img { height: 220px; }

    .pricing-grid { grid-template-columns: 1fr; max-width: none; }
    .price-featured { transform: none; }
    .price-featured:hover { transform: translateY(-6px); }

    .review-card { flex: 0 0 100%; }
    .reviews-viewport { margin-bottom: 24px; }
    .reviews-nav { max-width: 220px; }

    .process-timeline { grid-template-columns: 1fr; gap: 14px; }

    .faq-question { padding: 18px 20px; font-size: 1rem; }
    .faq-answer p { padding: 0 20px 18px; }

    .footer { padding-top: 56px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .footer-social { justify-content: center; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 12px; }

    .section { padding: 56px 0; }
    .section-head { margin-bottom: 36px; }
    .about-stats { gap: 20px 24px; }
    .stat-num { font-size: 2.2rem; }
    .stat-num.stat-text { font-size: 1.25rem; }
    .about-image img { height: 360px; max-height: 360px; }
    .floating-buttons { right: 14px; bottom: 14px; gap: 10px; }
    .float-btn { width: 48px; height: 48px; }
    .announcement-modal { padding: 36px 24px 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .about-badge {
        position: relative;
        bottom: 0;
        right: 0;
        display: inline-flex;
        margin-top: 16px;
        max-width: 100%;
    }
    .about-image { margin-bottom: 0; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .section { padding: 48px 0; }
    .btn { padding: 14px 28px; }
    .price-list li strong { font-size: 1.05rem; }
}

/* ---------- Уважение к настройкам анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
