/* style.css — кастомные стили поверх Bootstrap для Verdantia (премиальный дизайн) */
:root {
    --primary: #2d7a4f;
    --primary-dark: #1e5740;
    --primary-light: #e5f4e9;
    --accent: #ffc857;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --bg-light: #f9fdf9;
    --bg-dark: #1f2a24;
    --font-heading: 'Segoe UI', 'Roboto', sans-serif;
    --font-body: 'Segoe UI', 'Open Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all .3s ease-in-out;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
}
h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
}
h3 {
    font-size: 1.4rem;
}
h4 {
    font-size: 1.2rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 5rem 0;
}

.bg-soft {
    background-color: var(--bg-light);
}

.text-accent {
    color: var(--accent);
}

.bg-dark-green {
    background-color: var(--bg-dark);
}

/* Кнопки */
.btn {
    font-weight: 600;
    border-radius: 50px;
    padding: .75rem 2rem;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: .02em;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}
.btn-lg {
    padding: 1rem 2.5rem;
}

/* Кастомный класс для выделения */
.highlight-title {
    position: relative;
    display: inline-block;
    padding-bottom: .5rem;
}
.highlight-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 5px;
    background: var(--accent);
}

/* Hero section с фоновым изображением */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    color: var(--text-light);
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.hero-section > .container {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.2rem;
    opacity: .95;
    max-width: 600px;
}

/* Параллакс секции — визуально */
.parallax-bg {
    background-attachment: fixed;
}

/* Слайдер (Bootsrap carousel) */
.carousel-inner {
    border-radius: var(--radius);
}
.carousel-item {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.carousel-item .carousel-caption {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(5px);
    border-radius: var(--radius);
    padding: 2rem;
    bottom: 10%;
    left: 10%;
    right: 10%;
}
.carousel-indicators [data-bs-target] {
    background-color: var(--accent);
    width: 40px;
    height: 5px;
    border-radius: 5px;
}

/* Карточки */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.card-img-top {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    height: 240px;
    object-fit: cover;
}
.card-body {
    padding: 2rem;
}
.card-title {
    font-weight: 700;
    margin-bottom: .8rem;
}
.card-text {
    color: #444;
}
.card .btn {
    margin-top: 1rem;
}

/* Icon boxes */
.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}
.icon-box:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

/* Тестimonials / отзывы */
.testimonial-card {
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
}
.testimonial-author {
    font-weight: 600;
    margin-top: 1rem;
}
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Форма */
.form-control {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: .8rem 1.2rem;
    transition: var(--transition);
}
.form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(45,122,79,0.15);
}

/* Куки баннер (динамически создается) */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background: #222;
    color: #fff;
    padding: 20px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    display: none;
}
.cookie-banner .cookie-text {
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
}

/* Анимации для AOS — усиление по умолчанию */
[data-aos] {
    will-change: transform, opacity;
}

/* Отступы для списков */
ul.list-unstyled {
    margin-bottom: 1rem;
}

/* Секция карты */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.map-wrapper iframe {
    width: 100%;
    min-height: 400px;
    border: none;
}

/* Стили для партнёров/клиентов */
.partner-logo {
    display: inline-block;
    margin: 1rem;
    opacity: 0.65;
    filter: grayscale(100%);
    transition: var(--transition);
}
.partner-logo:hover {
    opacity: 1;
    filter: none;
}

/* Футер */
footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 4rem;
    padding-bottom: 2rem;
}
footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
footer a {
    color: var(--primary-light);
}
footer a:hover {
    color: var(--accent);
}
footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    margin-right: 0.5rem;
    transition: var(--transition);
}
footer .social-icons a:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Различные утилиты */
.fw-800 {
    font-weight: 800;
}
.letter-spacing-sm {
    letter-spacing: .5px;
}
.opacity-75 {
    opacity: .75;
}
.cursor-pointer {
    cursor: pointer;
}

/* Для страницы деталей услуг */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}
.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
}

/* Кастомные разделы с фоном */
.section-bg-image {
    background-size: cover;
    background-position: center;
    position: relative;
}
.section-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.section-bg-image > .container {
    position: relative;
    z-index: 2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    .hero-section {
        min-height: 60vh;
        padding: 5rem 0;
    }
    .carousel-item {
        min-height: 350px;
    }
    .card-img-top {
        height: 200px;
    }
}

/* Прочие мелкие правки */
.navbar {
    box-shadow: var(--shadow-sm);
}
.navbar-brand img {
    filter: brightness(0) invert(0);
}
.nav-link {
    font-weight: 500;
}
.nav-link.active {
    color: var(--primary) !important;
}
.btn-fixed-width {
    min-width: 200px;
}

/* Светлая тема в шапке на прозрачном фоне */
.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,0.7);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--primary);
}
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* Окончательная подгонка */

/* Защита от слишком широких изображений */
img, video {
    max-width: 100%;
    height: auto;
}

/* Отлично, но без комментариев */
/* ===== Static visible cookie consent banner (qcCookieNotice) ===== */
#qcCookieNotice.qc-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 22px;
    background: #14453d;
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
}
#qcCookieNotice .qc-cookie-text {
    flex: 1 1 60%;
    min-width: 240px;
}
#qcCookieNotice .qc-cookie-text a {
    color: #ffc107;
    text-decoration: underline;
}
#qcCookieNotice .qc-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
#qcCookieNotice .qc-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity .2s ease;
}
#qcCookieNotice .qc-btn:hover { opacity: .9; }
#qcCookieNotice .qc-accept { background: #ffc107; color: #14453d; }
#qcCookieNotice .qc-decline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.65);
}
@media (max-width: 640px) {
    #qcCookieNotice.qc-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    #qcCookieNotice .qc-cookie-actions {
        width: 100%;
        justify-content: center;
    }
    #qcCookieNotice .qc-btn { flex: 1; }
}
