* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Manrope', sans-serif; background-color: #F7F5F0; color: #101418; line-height: 1.6; }
body.menu-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: 'Prata', serif; font-weight: 400; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a, button { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
:focus-visible { outline: 2px solid #B08D57; outline-offset: 2px; }
::selection { background: #B08D57; color: #F7F5F0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.rule-center { display: block; width: 48px; height: 1px; background: #B08D57; margin: 0 auto 18px; }
.rule-left { display: block; width: 48px; height: 1px; background: #B08D57; margin: 0 0 18px; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== Header ===== */
.header { position: sticky; top: 0; background: #F7F5F0; border-bottom: 1px solid #E3E1DA; z-index: 1000; padding: 15px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: 'Prata', serif; font-size: 1.5rem; color: #14263C; text-decoration: none; }
.nav { display: flex; gap: 20px; }
.nav-item { position: relative; }
.nav-item > a { color: #101418; text-decoration: none; font-size: 0.95rem; display: block; padding: 5px 0; }
.nav-item > a:hover { color: #B08D57; }
.dropdown { position: absolute; top: 100%; left: 0; background: #F7F5F0; border: 1px solid #E3E1DA; min-width: 200px; padding: 10px 0; display: none; z-index: 1001; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 15px; color: #101418; text-decoration: none; font-size: 0.9rem; }
.dropdown a:hover { background: #E3E1DA; color: #B08D57; }
.header-contacts { display: flex; align-items: center; gap: 15px; }
.messenger-links { display: flex; gap: 10px; }
.messenger-links a { color: #101418; display: flex; align-items: center; }
.messenger-links a:hover { color: #B08D57; }
.phone-link { color: #14263C; text-decoration: none; font-weight: 600; white-space: nowrap; }
.btn-calc { background: #14263C; color: #F7F5F0; padding: 10px 20px; border-radius: 2px; font-size: 0.95rem; border: none; cursor: pointer; font-family: 'Manrope', sans-serif; font-weight: 600; }
.btn-calc:hover { background: #0d1a2a; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid #E3E1DA; background: transparent; border-radius: 2px; cursor: pointer; color: #14263C; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== Мобильное меню ===== */
.menu-backdrop { position: fixed; inset: 0; background: rgba(16, 20, 24, 0.5); z-index: 1400; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.menu-backdrop.show { opacity: 1; pointer-events: auto; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 100%); background: #F7F5F0; border-left: 1px solid #E3E1DA; z-index: 1500; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu.open { transform: none; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #E3E1DA; cursor: pointer; font-weight: 600; color: #101418; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { transition: transform .2s ease; color: #B08D57; flex-shrink: 0; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav .sub { padding: 5px 0 10px; border-bottom: 1px solid #E3E1DA; }
.mobile-nav .sub a { display: block; padding: 8px 0 8px 12px; color: #666; text-decoration: none; font-size: 0.95rem; }
.mobile-nav .sub a:hover { color: #B08D57; }
.m-link { padding: 12px 0; border-bottom: 1px solid #E3E1DA; color: #101418; text-decoration: none; font-weight: 600; display: block; }
.m-link:hover { color: #B08D57; }
.mobile-menu-contacts { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.mm-btn { justify-content: center; text-align: center; width: 100%; }
.mm-mess { display: flex; gap: 10px; }
.mm-mess a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid #E3E1DA; border-radius: 2px; color: #14263C; text-decoration: none; font-weight: 600; }
.mm-mess a:hover { border-color: #B08D57; color: #B08D57; }

/* ===== Hero ===== */
.hero { padding: 80px 0 60px; border-bottom: 1px solid #E3E1DA; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero-subtitle { color: #666; font-size: 0.9rem; margin-bottom: 15px; }
.hero h1 { margin-bottom: 20px; color: #14263C; }
.hero-desc { font-size: 1.1rem; margin-bottom: 30px; max-width: 700px; }
.hero-features { list-style: none; margin-bottom: 30px; }
.hero-features li { padding: 8px 0 8px 30px; position: relative; }
.hero-features li:before {
    content: ''; position: absolute; left: 0; top: 12px; width: 20px; height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23B08D57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}
.hero-buttons { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-primary { background: #14263C; color: #F7F5F0; padding: 14px 28px; border-radius: 2px; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer; font-family: 'Manrope', sans-serif; font-size: 1rem; }
.btn-primary:hover { background: #0d1a2a; }
.btn-secondary { background: transparent; color: #14263C; padding: 14px 28px; border: 1px solid #14263C; border-radius: 2px; text-decoration: none; font-weight: 600; display: inline-block; }
.btn-secondary:hover { background: #14263C; color: #F7F5F0; }
.trust-line { display: flex; align-items: flex-start; gap: 10px; color: #666; font-size: 0.9rem; border-top: 1px solid #E3E1DA; padding-top: 15px; margin-top: 20px; }
.trust-line svg { color: #B08D57; flex-shrink: 0; margin-top: 2px; }
.express-note { color: #B08D57; font-weight: 600; margin-top: 10px; font-size: 0.95rem; }

.hero-photo { margin: 0; }
.hero-photo-frame { position: relative; border: 1px solid #E3E1DA; border-radius: 2px; background: #fff; aspect-ratio: 4 / 5; overflow: hidden; }
.hero-photo-placeholder { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; color: #E3E1DA; }
.hero-photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo-frame img.is-missing { opacity: 0; }
.hero-photo figcaption { margin-top: 12px; padding-left: 12px; border-left: 2px solid #B08D57; color: #666; font-size: 0.9rem; }

/* ===== Расчёт по фото ===== */
.photo-calc { padding: 60px 0; border-bottom: 1px solid #E3E1DA; }
.photo-calc-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid #E3E1DA; border-radius: 2px; padding: 60px 40px; text-align: center; }
.photo-calc-card h2 { color: #14263C; margin-bottom: 15px; }
.photo-calc-desc { color: #666; max-width: 640px; margin: 0 auto 30px; font-size: 1.05rem; }
.photo-calc-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 25px; }
.btn-messenger { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 2px; font-weight: 600; text-decoration: none; }
.btn-messenger.max { background: #14263C; color: #F7F5F0; }
.btn-messenger.max:hover { background: #0d1a2a; }
.btn-messenger.tg { background: #B08D57; color: #F7F5F0; }
.btn-messenger.tg:hover { background: #9a7a4a; }
.btn-messenger.call { background: transparent; color: #14263C; border: 1px solid #14263C; }
.btn-messenger.call:hover { background: #14263C; color: #F7F5F0; }
.photo-calc-note { display: inline-flex; align-items: center; gap: 8px; color: #666; font-size: 0.95rem; }
.photo-calc-note svg { color: #B08D57; flex-shrink: 0; }

/* ===== Services ===== */
.services { padding: 60px 0; border-bottom: 1px solid #E3E1DA; }
.services h2 { margin-bottom: 20px; text-align: center; }
.services-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card { border: 1px solid #E3E1DA; background: #fff; border-radius: 2px; text-align: center; display: flex; flex-direction: column; }
.service-card:hover { border-color: #B08D57; }
.service-photo { position: relative; aspect-ratio: 4 / 3; background: #F7F5F0; border-bottom: 1px solid #E3E1DA; overflow: hidden; }
.service-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-photo img.is-missing { opacity: 0; }
.service-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; color: #B08D57; opacity: 0.5; }
.service-card h4 { margin: 18px 12px 6px; color: #14263C; }
.service-card .price { color: #B08D57; font-weight: 700; margin-bottom: 14px; }
.service-card .btn-small { margin: 0 auto 20px; display: inline-block; padding: 8px 18px; border: 1px solid #14263C; color: #14263C; border-radius: 2px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.service-card .btn-small:hover { background: #14263C; color: #F7F5F0; }
.services-link { text-align: center; margin-top: 30px; }
.services-link a { color: #14263C; text-decoration: none; font-weight: 600; }
.services-link a:hover { color: #B08D57; }

/* ===== Packages ===== */
.packages { padding: 60px 0; background: #fff; border-bottom: 1px solid #E3E1DA; }
.packages h2 { margin-bottom: 20px; text-align: center; }
.packages-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 25px; }
.package-card { padding: 30px; border: 1px solid #E3E1DA; background: #F7F5F0; }
.package-card.featured { border: 2px solid #B08D57; position: relative; }
.package-card.featured::before { content: 'Выбирают чаще всего'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #B08D57; color: #F7F5F0; padding: 5px 15px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.package-card h4 { margin-bottom: 5px; color: #14263C; }
.package-subtitle { color: #666; margin-bottom: 10px; font-size: 0.9rem; }
.package-card .price { font-size: 1.5rem; font-weight: 700; color: #B08D57; margin-bottom: 20px; }
.package-card ul { list-style: none; margin-bottom: 25px; }
.package-card ul li { padding: 8px 0 8px 25px; position: relative; font-size: 0.95rem; }
.package-card ul li:before {
    content: ''; position: absolute; left: 0; top: 12px; width: 16px; height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23B08D57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}
.package-card .btn-primary { width: 100%; justify-content: center; }
.cert-card { margin-top: 25px; padding: 25px 30px; border: 1px solid #B08D57; background: #F7F5F0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cert-card h4 { margin-bottom: 6px; color: #14263C; }
.cert-card p { color: #666; max-width: 640px; font-size: 0.95rem; }

/* ===== Facts ===== */
.facts { padding: 60px 0; border-bottom: 1px solid #E3E1DA; }
.facts h2 { margin-bottom: 20px; text-align: center; }
.facts-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 30px; }
.fact-card { padding: 25px; border: 1px solid #E3E1DA; }
.fact-number { font-family: 'Prata', serif; font-size: 2.5rem; color: #B08D57; margin-bottom: 10px; }
.fact-card h4 { margin-bottom: 10px; color: #14263C; }
.fact-card p { color: #666; font-size: 0.95rem; }

/* ===== Reviews ===== */
.reviews { padding: 60px 0; border-bottom: 1px solid #E3E1DA; }
.reviews h2 { margin-bottom: 20px; text-align: center; }
.reviews-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.review-card { background: #fff; border: 1px solid #E3E1DA; border-radius: 2px; padding: 25px; margin: 0; }
.review-quote { font-family: 'Prata', serif; font-size: 2.5rem; line-height: 1; color: #B08D57; }
.review-card blockquote { margin: 10px 0 15px; color: #101418; font-size: 0.95rem; }
.review-card figcaption { color: #666; font-size: 0.9rem; }
.review-card figcaption strong { color: #14263C; }
.review-source { font-size: 0.8rem; color: #999; }
.reviews-dots { display: none; justify-content: center; gap: 8px; margin-top: 15px; }
.reviews-dot { width: 10px; height: 10px; border-radius: 50%; background: #E3E1DA; border: none; cursor: pointer; padding: 0; }
.reviews-dot.active { width: 26px; border-radius: 2px; background: #B08D57; }

/* ===== Process ===== */
.process { padding: 60px 0; background: #fff; border-bottom: 1px solid #E3E1DA; }
.process h2 { margin-bottom: 20px; text-align: center; }
.process-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 30px; }
.step { text-align: center; padding: 20px; }
.step-number { font-family: 'Prata', serif; font-size: 3rem; color: #B08D57; margin-bottom: 15px; }
.step h4 { margin-bottom: 10px; color: #14263C; }
.step p { color: #666; font-size: 0.95rem; }
.step-note { color: #B08D57; font-weight: 600; margin-top: 10px; }

/* ===== Results ===== */
.results { padding: 60px 0; border-bottom: 1px solid #E3E1DA; }
.results h2 { margin-bottom: 20px; text-align: center; }
.results-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.ba-wrap { position: relative; max-width: 900px; margin: 0 auto; }
.ba-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid #E3E1DA; border-radius: 2px; background: #fff; overflow: hidden; touch-action: pan-y; --pos: 50%; cursor: ew-resize; }
.ba-slide { position: absolute; inset: 0; display: none; }
.ba-slide.active { display: block; }
.ba-layer { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-badge { position: absolute; top: 16px; padding: 6px 14px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #F7F5F0; border-radius: 2px; }
.ba-badge-before { left: 16px; background: #B08D57; }
.ba-badge-after { right: 16px; background: #14263C; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #B08D57; pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: #F7F5F0; border: 1px solid #B08D57; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #B08D57; }
.ba-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: #F7F5F0; border: 1px solid #E3E1DA; border-radius: 2px; color: #14263C; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; }
.ba-nav:hover { border-color: #B08D57; color: #B08D57; }
.ba-prev { left: -56px; }
.ba-next { right: -56px; }
.ba-caption { text-align: center; color: #666; margin: 20px 0 15px; }
.ba-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; }
.ba-dot { width: 10px; height: 10px; border-radius: 50%; background: #E3E1DA; border: none; cursor: pointer; padding: 0; }
.ba-dot.active { width: 26px; border-radius: 2px; background: #B08D57; }
.results-link { text-align: center; }

/* ===== FAQ ===== */
.faq { padding: 60px 0; background: #fff; border-bottom: 1px solid #E3E1DA; }
.faq h2 { margin-bottom: 20px; text-align: center; }
.faq-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 25px; margin-bottom: 30px; }
.faq-item { padding: 25px; border: 1px solid #E3E1DA; background: #F7F5F0; }
.faq-h { margin: 0; }
.faq-q { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; background: none; border: none; padding: 0; cursor: pointer; font-family: 'Prata', serif; font-weight: 400; font-size: 1.15rem; line-height: 1.4; color: #14263C; text-align: left; pointer-events: none; }
.faq-chev { display: none; flex-shrink: 0; color: #B08D57; transition: transform .2s ease; }
.faq-a { margin-top: 10px; }
.faq-a p { color: #666; font-size: 0.95rem; }
.faq-a a { color: #B08D57; }
.faq-notfound { margin-bottom: 30px; }
.faq-notfound h4 { margin-bottom: 15px; color: #14263C; }
.faq-notfound p { color: #666; margin-bottom: 15px; }
.faq-messenger-links { display: flex; gap: 15px; }
.faq-messenger-links a { padding: 10px 20px; background: #14263C; color: #F7F5F0; text-decoration: none; border-radius: 2px; font-weight: 600; }
.faq-messenger-links a:hover { background: #0d1a2a; }

/* ===== CTA ===== */
.cta { padding: 70px 0; background: #14263C; color: #F7F5F0; }
.cta-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.cta-left h2 { margin-bottom: 15px; }
.cta-desc { color: rgba(247, 245, 240, 0.75); margin-bottom: 25px; max-width: 480px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 25px; }
.cta-phone-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; background: #F7F5F0; color: #14263C; border-radius: 2px; text-decoration: none; font-weight: 700; }
.cta-phone-btn:hover { background: #e8e6e0; }
.cta-messengers { display: flex; gap: 12px; }
.cta-messengers a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 1px solid rgba(247, 245, 240, 0.35); border-radius: 2px; color: #F7F5F0; text-decoration: none; font-weight: 600; }
.cta-messengers a:hover { border-color: #B08D57; color: #B08D57; }
.cta-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; max-width: 480px; }
.cta-features li { position: relative; padding-left: 26px; color: rgba(247, 245, 240, 0.85); font-size: 0.95rem; }
.cta-features li:before {
    content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23B08D57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}
.cta-form { background: #F7F5F0; color: #101418; padding: 32px; border-radius: 2px; }
.cta-form h3 { margin-bottom: 8px; text-align: center; color: #14263C; }
.form-subnote { text-align: center; color: #666; font-size: 0.9rem; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #E3E1DA; border-radius: 2px; font-family: 'Manrope', sans-serif; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #B08D57; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; font-size: 0.85rem; }
.form-checkbox input { margin-top: 3px; }
.form-checkbox a { color: #14263C; }
.cta-form .btn-primary { width: 100%; justify-content: center; }
.form-note-secondary { text-align: center; margin-top: 12px; color: #666; font-size: 0.8rem; }

/* ===== SEO Text ===== */
.seo-text { padding: 40px 0; border-bottom: 1px solid #E3E1DA; }
.seo-text h2 { margin-bottom: 20px; }
.seo-text p { margin-bottom: 15px; color: #666; line-height: 1.8; }
.seo-lead-wrap { position: relative; }
.seo-chev { display: none; }

/* ===== Footer ===== */
.footer { padding: 60px 0 30px; background: #14263C; color: #F7F5F0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-h { margin: 0 0 15px; }
.footer-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; background: none; border: none; padding: 0; cursor: pointer; font-family: 'Prata', serif; font-weight: 400; font-size: 1.25rem; color: #B08D57; text-align: left; pointer-events: none; }
.footer-toggle svg { display: none; flex-shrink: 0; color: #B08D57; transition: transform .2s ease; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #F7F5F0; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #B08D57; }
.footer-contact-item { color: #999; font-size: 0.9rem; margin-bottom: 10px; }
.footer-messenger-label { margin-top: 15px; margin-bottom: 10px; color: #999; font-size: 0.9rem; }
.footer-messengers { display: flex; gap: 10px; }
.footer-messengers a { color: #F7F5F0; display: flex; align-items: center; }
.footer-messengers a:hover { color: #B08D57; }
.footer-bottom { border-top: 1px solid rgba(227, 225, 218, 0.2); padding-top: 20px; text-align: center; color: #999; font-size: 0.9rem; }
.footer-bottom a { color: #B08D57; text-decoration: none; }

/* ===== Mobile Bar ===== */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #14263C; padding: 12px 15px calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 999; border-top: 1px solid rgba(227, 225, 218, 0.2); }
.mobile-bar-inner { display: flex; gap: 10px; }
.mobile-bar a, .mobile-bar button { flex: 1; text-align: center; padding: 12px; border-radius: 2px; font-weight: 600; font-family: 'Manrope', sans-serif; font-size: 1rem; }
.mobile-bar .btn-phone { background: #F7F5F0; color: #14263C; text-decoration: none; }
.mobile-bar .btn-calc-mobile { background: #B08D57; color: #F7F5F0; border: none; cursor: pointer; }

/* ===== Modal ===== */
.modal { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal.active { display: flex; }
.modal-content { background: #F7F5F0; padding: 40px; max-width: 500px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #101418; }
.modal h3 { margin-bottom: 20px; color: #14263C; }
.modal-desc { margin-bottom: 20px; color: #666; }
.modal-service-label { font-weight: 600; margin-bottom: 10px; color: #14263C; }
.modal-services { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.modal-services button { padding: 10px 15px; border: 1px solid #E3E1DA; background: #fff; cursor: pointer; font-family: 'Manrope', sans-serif; border-radius: 2px; }
.modal-services button.active { background: #14263C; color: #F7F5F0; border-color: #14263C; }
.modal-price { color: #B08D57; font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; }
.copy-btn { background: #B08D57; color: #F7F5F0; padding: 12px 24px; border: none; border-radius: 2px; cursor: pointer; font-weight: 600; margin-bottom: 20px; width: 100%; font-family: 'Manrope', sans-serif; }
.copy-btn:hover { background: #9a7a4a; }
.modal-messengers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.modal-messengers a { padding: 12px; background: #14263C; color: #F7F5F0; text-decoration: none; text-align: center; border-radius: 2px; font-weight: 600; }
.modal-messengers a:hover { background: #0d1a2a; }
.modal-separator { text-align: center; color: #666; font-size: 0.9rem; margin: 20px 0 10px; }

/* ===== Адаптив главной ===== */
@media (max-width: 1024px) {
    .nav { display: none; }
    .burger { display: flex; }
    .messenger-links { display: none; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ba-prev { left: 10px; }
    .ba-next { right: 10px; }
}
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-photo { max-width: 420px; }
    .cta-grid { grid-template-columns: 1fr; gap: 35px; }
    .cta-form { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .header { padding: 10px 0; }
    .hero { padding: 40px 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary { text-align: center; justify-content: center; }
    .mobile-bar { display: block; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    .photo-calc-card { padding: 40px 20px; }
    .photo-calc-buttons { flex-direction: column; align-items: stretch; }
    .btn-messenger { justify-content: center; }
    .cta { padding: 50px 0; }
    .faq-messenger-links { flex-direction: column; }
    .faq-messenger-links a { text-align: center; }
    .reviews-subtitle { margin-bottom: 25px; }
    .reviews-grid { display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .reviews-grid::-webkit-scrollbar { display: none; }
    .review-card { flex: 0 0 100%; scroll-snap-align: start; }
    .reviews-dots { display: flex; }
    .faq-grid { grid-template-columns: 1fr; gap: 15px; }
    .faq-item { padding: 20px; }
    .faq-q { pointer-events: auto; }
    .faq-chev { display: block; }
    .faq-a { display: none; }
    .faq-item.open .faq-a { display: block; }
    .faq-item.open .faq-chev { transform: rotate(180deg); }
    .seo-lead-wrap { cursor: pointer; }
    .seo-lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0; }
    .seo-text.open .seo-lead { display: block; -webkit-line-clamp: unset; overflow: visible; margin-bottom: 15px; }
    .seo-chev {
        position: absolute; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: flex-end;
        width: 48px; height: 30px; padding-left: 24px; color: #B08D57; pointer-events: none;
        background: linear-gradient(to right, rgba(247, 245, 240, 0), #F7F5F0 45%);
        transition: transform .2s ease;
    }
    .seo-text.open .seo-chev { transform: rotate(180deg); }
    .seo-rest { display: none; }
    .seo-text.open .seo-rest { display: block; }
    .footer-grid { gap: 25px; }
    .footer-h { margin-bottom: 0; }
    .footer-col.open .footer-h { margin-bottom: 15px; }
    .footer-toggle { pointer-events: auto; }
    .footer-toggle svg { display: block; }
    .footer-list { display: none; }
    .footer-col.open .footer-list { display: block; }
    .footer-col.open .footer-toggle svg { transform: rotate(180deg); }
}
@media (max-width: 560px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    .phone-link { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { display: grid; grid-template-columns: 112px 1fr; text-align: left; }
    .service-photo { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 1 / 1; border-bottom: none; border-right: 1px solid #E3E1DA; }
    .service-card h4 { margin: 14px 14px 4px; }
    .service-card .price { margin: 0 14px 10px; }
    .service-card .btn-small { margin: 0 14px 14px; align-self: start; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .cta-features { grid-template-columns: 1fr; }
    .cta-contacts { flex-direction: column; align-items: stretch; }
    .cta-phone-btn, .cta-messengers a { justify-content: center; }
    .cta-messengers { flex-direction: column; }
    .cta-form { padding: 24px 20px; }
    .photo-calc-card { padding: 32px 18px; }
    .modal-content { padding: 28px 20px; }
    .cert-card { flex-direction: column; align-items: stretch; }
    .cert-card .btn-secondary { text-align: center; }
    .ba-badge { top: 10px; left: 10px; padding: 4px 10px; font-size: 0.75rem; }
    .ba-badge-after { left: auto; right: 10px; }
    .ba-nav { width: 36px; height: 36px; }
    .ba-prev { left: 6px; }
    .ba-next { right: 6px; }
    .ba-handle { width: 38px; height: 38px; }
    .package-card.featured::before { font-size: 0.75rem; padding: 4px 10px; }
}

/* =========================================
   CSS-дополнения для внутренних страниц (Волна 1)
   (всегда идут ПОСЛЕ всех медиа-запросов главной)
   ========================================= */

/* Хлебные крошки */
.breadcrumbs { padding: 20px 0 0; font-size: 0.9rem; color: #666; }
.breadcrumbs a { color: #101418; text-decoration: none; border-bottom: 1px solid #E3E1DA; transition: border-color .2s; }
.breadcrumbs a:hover { border-bottom-color: #B08D57; }
.breadcrumbs .sep { margin: 0 8px; color: #E3E1DA; }

/* Общие отступы секций внутренних страниц */
.inner-hero, .subtypes, .price-table-section, .included, .inner-steps, .inner-photo {
    padding: 60px 0;
    border-bottom: 1px solid #E3E1DA;
}

/* Hero внутренний */
.inner-hero { padding-top: 50px; padding-bottom: 50px; }
.inner-hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.inner-hero h1 { margin-bottom: 20px; color: #14263C; }
.inner-hero .hero-desc { max-width: 700px; margin: 0 auto 10px; }
.inner-hero .price-lead { font-family: 'Prata', serif; font-size: 2rem; color: #14263C; margin: 25px 0 8px; }
.inner-hero .price-note { display: block; color: #666; font-size: 0.95rem; margin-bottom: 25px; }
.inner-hero-buttons { display: flex; gap: 15px; justify-content: center; margin-bottom: 25px; flex-wrap: wrap; }
.inner-hero-guarantees { display: flex; justify-content: center; gap: 25px; list-style: none; flex-wrap: wrap; font-size: 0.9rem; color: #666; margin: 0; padding: 0; }
.inner-hero-guarantees li { position: relative; padding-left: 22px; }
.inner-hero-guarantees li::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; border: 1.5px solid #B08D57; border-radius: 50%;
}

/* Подтипы (карточки) */
.subtypes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.subtype-card { display: block; padding: 24px; border: 1px solid #E3E1DA; background: #fff; border-radius: 2px; text-decoration: none; color: #101418; transition: border-color .2s, transform .2s; }
.subtype-card:hover { border-color: #B08D57; transform: translateY(-2px); }
.subtype-card h4 { margin: 0 0 8px; color: #14263C; }
.subtype-card p { margin: 0; font-size: 0.95rem; color: #666; line-height: 1.5; }

/* Таблица цен */
.price-table-section { background: #fff; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 1rem; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #E3E1DA; }
.price-table th { font-weight: 600; color: #14263C; background: #F7F5F0; }
.price-table td:last-child { font-weight: 700; color: #B08D57; text-align: right; white-space: nowrap; }
.price-fix-note { text-align: center; color: #666; font-size: 0.9rem; margin-top: 20px; font-style: italic; }

/* Что входит */
.included-list { list-style: none; max-width: 700px; margin: 30px auto 0; padding: 0; }
.included-list li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid #E3E1DA; font-size: 1rem; }
.included-list li::before {
    content: ''; position: absolute; left: 0; top: 18px;
    width: 16px; height: 8px;
    border-left: 2px solid #B08D57; border-bottom: 2px solid #B08D57;
    transform: rotate(-45deg);
}

/* Шаги внутренний */
.inner-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 30px; }
.step-card { text-align: center; padding: 20px; }
.step-card .step-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1.5px solid #B08D57; border-radius: 50%; font-family: 'Prata', serif; font-size: 1.75rem; color: #B08D57; margin-bottom: 15px; }
.step-card h4 { margin: 0 0 8px; color: #14263C; }
.step-card p { color: #666; font-size: 0.95rem; margin: 0; }

/* Фото */
.inner-photo-grid img { width: 100%; height: auto; border: 1px solid #E3E1DA; border-radius: 2px; margin-top: 30px; display: block; }

/* Адаптив внутренних страниц */
@media (max-width: 768px) {
    .inner-hero-buttons { flex-direction: column; align-items: stretch; }
    .inner-hero-buttons .btn-primary, .inner-hero-buttons .btn-secondary { justify-content: center; text-align: center; }
    .price-table th, .price-table td { padding: 10px 12px; font-size: 0.95rem; }
}