/* =========================================
   BILED23 — СВЕТЛАЯ ТЕМА (на базе OTKID)
   Stand-alone лендинг, без Bootstrap, без CMS
   ========================================= */

/* ---------- ПЕРЕМЕННЫЕ ---------- */
:root {
    --bg: #f8f9fb;
    --bg-2: #ffffff;
    --bg-3: #eef1f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f7fa;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --white: #ffffff;
    --blue: #08405f;        /* Основной акцент biled23 */
    --blue-2: #166284;
    --blue-bright: #00b4ff;
    --blue-light: #c6eff5;
    --green: #25d366;
    --yellow: #fbbb1b;
    --red: #ef4444;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(8, 64, 95, 0.12);
    --transition: 0.3s ease;
    --font-head: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Ubuntu', 'Segoe UI', sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--blue-bright); }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 8px; }
strong { color: var(--blue); font-weight: 700; }

/* ---------- ТИПОГРАФИКА ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--blue);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.accent-blue   { color: var(--blue); }
.accent-bright { color: var(--blue-bright); }
.text-muted    { color: var(--text-muted); }

/* ---------- КОНТЕЙНЕР ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   HEADER (упрощённая шапка без меню)
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98); /* Плотнее, без blur */
    /* Убрать: backdrop-filter: blur(12px); */
    /* Убрать: -webkit-backdrop-filter: blur(12px); */
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    transition: box-shadow var(--transition);
    font-family: var(--font-body);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    height: 70px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; height: 100%; }
.logo-img { height: 44px; width: auto; display: block; transition: transform var(--transition); }
.logo:hover .logo-img { transform: scale(1.05); }

.header-phone {
    color: var(--blue);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    margin-right: auto;
    white-space: nowrap;
    height: 100%;
    text-decoration: none;
    flex-shrink: 0;
}
.header-phone:hover { color: var(--blue-bright); }
.header-phone i { color: var(--blue-2); }

.header-hours {
    color: var(--text-muted);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.header-social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    color: var(--white);
    transition: transform var(--transition), background var(--transition);
    flex-shrink: 0;
}
.header-social.wa { background: var(--green); }
.header-social.vk { background: #447bba; }
.header-social:hover { transform: translateY(-2px); color: var(--white); }

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    flex-shrink: 0;
}

/* =========================================
   HERO / СЛАЙДЕР
   ========================================= */
.hero {
    position: relative;
    padding: 50px 0 70px;
    background: linear-gradient(135deg, #f0f5fa 0%, #e6eff7 100%);
    overflow: hidden;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.hero-content { text-align: left; }
.hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(8, 64, 95, 0.08);
    border: 1px solid rgba(8, 64, 95, 0.15);
    border-radius: 30px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-title { margin-bottom: 20px; }
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Слайдер (CSS scroll-snap) */
.slider-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: var(--bg-3);
}
.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
}
.slider-slide a { display: block; }
.slider-slide img {
    width: 100%;
    aspect-ratio: 3 / 1;  /* ← пропорции как у исходных картинок */
    object-fit: cover;
    display: block;
}
.slider-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    padding: 0;
}
.slider-dot.active { background: var(--white); }

/* =========================================
   КНОПКИ
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn i { font-size: 1.1em; }

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 4px 16px rgba(8, 64, 95, 0.25);
}
.btn-primary:hover {
    background: var(--blue-bright);
    border-color: var(--blue-bright);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 180, 255, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-wa {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover {
    background: #1da851;
    border-color: #1da851;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.btn-vk {
    background: #447bba;
    color: var(--white);
    border-color: #447bba;
}
.btn-vk:hover {
    background: #356399;
    border-color: #356399;
    color: var(--white);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* =========================================
   СЕКЦИИ
   ========================================= */
.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head {
    text-align: center;
    margin-bottom: 50px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(8, 64, 95, 0.08);
    border: 1px solid rgba(8, 64, 95, 0.15);
    border-radius: 30px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 16px; }
.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

/* =========================================
   УСЛУГИ (карточки, сетка 4×2)
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-bright);
}
.service-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.3;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-card .price {
    font-family: var(--font-head);
    color: var(--blue);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.service-card .btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--blue);
    color: var(--white);
    border-radius: 30px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition);
}
.service-card .btn-card:hover { background: var(--blue-bright); color: var(--white); }

/* =========================================
   КОНТЕНТ-ГРИД (текст + картинка)
   ========================================= */
.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 40px;
}
.content-grid.reverse { grid-template-columns: 1fr 1.2fr; }
.content-grid.reverse .content-text { order: 2; }
.content-grid.reverse .content-image { order: 1; }
.content-text p { font-size: 1.02rem; margin-bottom: 1.1em; text-align: justify; }
.content-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.content-image.double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.content-image.double img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* =========================================
   ПЛАШКА С ТЕЛЕФОНОМ (CTA)
   ========================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    color: var(--white);
    margin: 32px 0;
    box-shadow: var(--shadow-lg);
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.cta-banner .cta-phone {
    display: inline-block;
    color: var(--white);
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    transition: color var(--transition);
}
.cta-banner .cta-phone:hover { color: var(--blue-bright); }
.cta-banner .btn-primary {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}
.cta-banner .btn-primary:hover {
    background: var(--blue-bright);
    border-color: var(--blue-bright);
    color: var(--white);
}

/* =========================================
   ПРОЕКТЫ (карточки)
   ========================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-bright);
}
.project-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .project-card-img { transform: scale(1.05); }
.project-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.project-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex: 1;
}
.project-card .btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--blue);
    color: var(--white);
    border-radius: 30px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition);
}
.project-card .btn-card:hover { background: var(--blue-bright); color: var(--white); }

/* =========================================
   КОНТАКТЫ (на главной)
   ========================================= */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: stretch;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.contact-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}
.contact-item i {
    color: var(--blue);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 4px;
    width: 32px;
    text-align: center;
}
.contact-item h4 {
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-body);
}
.contact-item p {
    color: var(--text);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--blue-bright); }
.contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 420px;
    box-shadow: var(--shadow);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: #1a1a1a;
    color: #a0a0a0;
    padding: 50px 0 0;
    margin-top: 60px;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: var(--blue-bright);
    border-radius: 2px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: #a0a0a0;
    font-size: 0.92rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--blue-bright); }
.footer-col p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.footer-col .footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.footer-col .footer-phone i { color: var(--blue-bright); }
.footer-bottom {
    background: #0f0f0f;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #707070;
    border-top: 1px solid #2a2a2a;
}
.footer-bottom a { color: #909090; }
.footer-bottom a:hover { color: var(--blue-bright); }

/* =========================================
   МОДАЛЬНОЕ ОКНО
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
    background: var(--bg-2);
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    padding: 40px 32px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-3);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.modal-close:hover { background: var(--red); color: var(--white); }
.modal h3 { text-align: center; margin-bottom: 8px; font-size: 1.5rem; }
.modal-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.modal-form input[type="text"],
.modal-form input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition), background var(--transition);
}
.modal-form input:focus {
    outline: none;
    border-color: var(--blue-bright);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.1);
}
.modal-form input::placeholder { color: var(--text-muted); }
.modal-form .btn { width: 100%; margin-top: 6px; }
.agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    cursor: pointer;
}
.agreement input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--blue);
    cursor: pointer;
}
.agreement a { color: var(--blue-2); text-decoration: underline; }
.form-message {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    display: none;
}
.form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #15803d;
}
.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}

/* =========================================
   ПЛАВАЮЩИЕ КНОПКИ
   ========================================= */
.float-btn {
    position: fixed;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    z-index: 999;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); color: var(--white); }
.float-call { bottom: 96px; background: var(--blue); }
.float-call:hover { box-shadow: 0 8px 32px rgba(8, 64, 95, 0.5); }
.float-wa { bottom: 24px; background: var(--green); }
.float-wa:hover { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5); }

/* =========================================
   COOKIE-БАННЕР
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--blue);
    padding: 16px 24px;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}
.cookie-banner.show { display: flex; animation: slideUp 0.4s ease both; }
.cookie-banner p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text);
    max-width: 900px;
    line-height: 1.5;
}
.cookie-banner a { color: var(--blue); text-decoration: underline; }
.cookie-btn {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.cookie-btn:hover { background: var(--blue-bright); transform: translateY(-1px); }
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* =========================================
   ВНУТРЕННИЕ СТРАНИЦЫ (услуги, проекты)
   ========================================= */
.inner-hero {
    position: relative;
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #f0f5fa 0%, #e6eff7 100%);
    overflow: hidden;
    text-align: center;
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.inner-hero .breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.inner-hero .breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.inner-hero .breadcrumbs a:hover { color: var(--blue-bright); }
.inner-hero .breadcrumbs .sep { opacity: 0.5; }
.inner-hero .breadcrumbs .current { color: var(--blue); font-weight: 500; }

.inner-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 0 70px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text);
}
.inner-content h2, .inner-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--blue);
}
.inner-content h3 {
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}
.inner-content p { margin-bottom: 1.1em; text-align: justify; }
.inner-content ul, .inner-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}
.inner-content li { margin-bottom: 10px; line-height: 1.65; }
.inner-content a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.inner-content a:hover { color: var(--blue-bright); }
.inner-content strong { color: var(--blue); }
.inner-content img {
    display: block;
    max-width: 90%;
    margin: 20px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.inner-content video {
    display: block;
    max-width: 90%;
    margin: 20px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.inner-content .note {
    background: var(--blue-light);
    border-left: 4px solid var(--blue-2);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    font-size: 0.98rem;
}
.inner-content .note strong { color: var(--blue-2); }

/* =========================================
   СТРАНИЦА УСЛУГИ (сетка «фото + инфо»)
   ========================================= */
.service-hero {
    padding: 40px 0 30px;
    background: linear-gradient(135deg, #f0f5fa 0%, #e6eff7 100%);
}
.service-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.service-hero-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.service-hero-info h1 { margin-bottom: 16px; }
.service-hero-price {
    font-family: var(--font-head);
    color: var(--blue);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.service-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.service-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 20px 0;
    flex-wrap: wrap;
}
.service-breadcrumbs a { color: var(--text-muted); }
.service-breadcrumbs a:hover { color: var(--blue-bright); }

/* =========================================
   АДАПТИВ — ПЛАНШЕТ (≤ 992px)
   ========================================= */
@media (max-width: 992px) {
    .section { padding: 60px 0; }
    .header-hours { display: none; }
    .header-phone { font-size: 14px; }

    .hero { padding: 40px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .slider-slide img { height: 300px; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }

    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .content-grid.reverse .content-text,
    .content-grid.reverse .content-image { order: initial; }

    .contacts-grid { grid-template-columns: 1fr; }
    .contact-map { min-height: 320px; }
    .contact-map iframe { min-height: 320px; }

    .footer-inner { grid-template-columns: 1fr; gap: 30px; }

    .service-hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .service-hero-info { text-align: center; }
    .service-hero-actions { justify-content: center; }
}

/* =========================================
   АДАПТИВ — МОБИЛЬНЫЙ (≤ 640px)
   ========================================= */
@media (max-width: 640px) {
    body { font-size: 15px; line-height: 1.65; }
    .container { padding: 0 16px; }
    .section { padding: 50px 0; }
    .section-head { margin-bottom: 32px; }

    .site-header { padding: 10px 0; }
    .header-inner { height: 60px; gap: 8px; }
    .logo-img { height: 32px; }
    .header-phone { font-size: 12px; gap: 4px; }
    .header-social { width: 32px; height: 32px; font-size: 14px; }
    .header-nav { gap: 6px; }

    .hero { padding: 30px 0 50px; }
    .hero-title { font-size: 1.9rem; }
    .hero-desc { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .slider-slide img {
        aspect-ratio: 3 / 1; /* Оставляем как у десктопа */
        height: auto;
    }

    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .projects-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card-img, .project-card-img { height: 200px; }

    .content-image.double { grid-template-columns: 1fr; }

    .btn { padding: 12px 22px; font-size: 0.9rem; letter-spacing: 0.06em; }

    .contact-item { padding: 16px; }
    .contact-buttons { flex-direction: column; }
    .contact-buttons .btn { width: 100%; }

    .float-btn { width: 52px; height: 52px; font-size: 1.35rem; right: 16px; }
    .float-call { bottom: 84px; }
    .float-wa { bottom: 20px; }

    .modal { padding: 28px 20px; }
    .modal h3 { font-size: 1.25rem; }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    .cookie-banner p { font-size: 0.82rem; }
    .cookie-btn { width: 100%; padding: 12px 20px; }

    .inner-hero { padding: 30px 0 25px; }
    .inner-content { padding: 30px 0 50px; }
    .inner-content img, .inner-content video { max-width: 100%; }

    .service-hero { padding: 25px 0 20px; }
    .service-hero-price { font-size: 1.6rem; }
}

/* =========================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }