:root {
    --primary: #0f5c4f;
    --secondary: #6fad55;
    --accent: #e9f6f2;
    --text: #2e3b3a;
    --muted: #6c757d;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

.top-bar {
    background: #f3fbf8;
    color: var(--primary);
    font-size: 14px;
    padding: 10px 0;
}

.top-bar-link {
    color: var(--primary);
    text-decoration: none;
}

.top-bar-link:hover {
    color: var(--secondary);
}

.navbar {
    padding: 22px 0;
}

.navbar-brand img {
    max-height: 100px;
}

.nav-link {
    color: #263837;
    margin-left: 28px;
    font-weight: 500;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    border-bottom: 3px solid var(--secondary);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
    background:
        radial-gradient(circle at 80% 30%, rgba(111, 173, 85, 0.15), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -55px;
    height: 120px;
    background: rgba(15, 92, 79, 0.06);
    border-radius: 50% 50% 0 0;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: var(--primary);
    font-size: 56px;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero-text h1::first-line {
    color: var(--primary);
}

.hero-text p {
    font-size: 21px;
    line-height: 1.7;
    max-width: 570px;
    color: #4e5b5a;
}

.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-main {
    background: linear-gradient(135deg, var(--primary), #10a77f);
    color: #fff;
    border-radius: 40px;
    padding: 14px 28px;
    font-weight: 700;
    border: none;
}

.btn-main:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-main {
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 40px;
    padding: 12px 28px;
    font-weight: 700;
    background: transparent;
}

.btn-outline-main:hover {
    background: var(--primary);
    color: #fff;
}

.hero-points {
    margin-top: 35px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    color: var(--primary);
    font-weight: 500;
}

.hero-points i {
    margin-right: 7px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    opacity: 0.92;
}

.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-section h2,
.why-section h2 {
    text-align: center;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 18px;
    min-height: 250px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(15, 92, 79, 0.10);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.icon-circle {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    font-size: 34px;
    color: var(--primary);
}

.service-card h5 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 15px;
    color: #4f5d5c;
    line-height: 1.6;
}

.why-section {
    padding: 75px 0;
    background: linear-gradient(180deg, #f6fbf9, #eef8f4);
}

.why-box {
    text-align: center;
    padding: 20px 25px;
}

.why-box i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 18px;
}

.why-box h5 {
    color: var(--primary);
    font-weight: 800;
}

.why-box p {
    color: #536260;
    line-height: 1.6;
}

.about-section {
    padding: 90px 0;
    background: #fff;
}

.about-section h2 {
    color: var(--primary);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
}

.about-section h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    background: var(--secondary);
    margin-top: 12px;
}

.about-section p {
    line-height: 1.8;
    color: #4d5b5a;
}

.about-illustration {
    width: 420px;
    height: 300px;
    max-width: 100%;
    margin: auto;
    border-radius: 40px;
    background: radial-gradient(circle, #e3f5ef, #f7fbf9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.about-illustration i {
    font-size: 90px;
    color: rgba(15, 92, 79, 0.45);
}

.footer {
    background: #f4fbf8;
    padding: 65px 0 25px;
    border-top: 3px solid var(--primary);
}

.footer-logo {
    max-width: 260px;
}

.footer h5 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.footer p {
    color: #52605f;
    margin-bottom: 10px;
}

.footer a {
    display: block;
    color: #52605f;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer a:hover {
    color: var(--primary);
}

.footer-contact-link {
    color: #52605f;
    text-decoration: none;
}

.footer-contact-link:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(15, 92, 79, 0.14);
    margin-top: 45px;
    padding-top: 20px;
    text-align: center;
    color: #667574;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 42px;
    height: 42px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Page intro section */
.page-intro-section {
    padding: 70px 0 55px;
    background: linear-gradient(180deg, #f4fbf8 0%, #fff 100%);
}

.page-intro-section h1 {
    color: var(--primary);
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 30px;
}

.page-intro-section h1::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    background: var(--secondary);
    margin-top: 12px;
}

.page-intro-section p {
    font-size: 17px;
    line-height: 1.8;
    color: #4d5b5a;
    max-width: 860px;
}

/* Contact section */
.contact-section {
    padding: 60px 0 90px;
    background: #fff;
}

.contact-info-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(15, 92, 79, 0.10);
    height: 100%;
}

.contact-info-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.contact-info-card .icon-wrap i {
    font-size: 28px;
    color: var(--primary);
}

.contact-info-card h5 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info-card p {
    color: #536260;
    margin: 0;
    line-height: 1.7;
}

.phone-card {
    border: 2px solid var(--secondary);
}

.phone-link {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.phone-link:hover {
    color: var(--secondary);
}

.viber-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #7360f2;
    color: #fff;
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.viber-badge:hover {
    background: #5d4cd6;
    color: #fff;
}

.map-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 92, 79, 0.10);
    height: 100%;
    min-height: 380px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contact-form-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 10px 35px rgba(15, 92, 79, 0.10);
}

.contact-form-wrap h4 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 24px;
}

.form-label {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    border: 1.5px solid #d6e8e4;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 15px;
    color: var(--text);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 92, 79, 0.12);
}

.alert-success-custom {
    background: #e9f6f2;
    color: var(--primary);
    border-radius: 12px;
    padding: 16px 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 92, 79, 0.2);
}

.alert-error-custom {
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 12px;
    padding: 16px 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(185, 28, 28, 0.2);
}

/* Price section */
.price-section {
    padding: 60px 0 90px;
    background: #fff;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.price-table thead th {
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 24px 10px;
    border-bottom: 2px solid var(--secondary);
}

.price-table thead th:last-child {
    text-align: right;
}

.price-table tbody tr {
    background: #fff;
    box-shadow: 0 6px 24px rgba(15, 92, 79, 0.08);
    border-radius: 14px;
    transition: 0.2s ease;
}

.price-table tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 92, 79, 0.14);
}

.price-table tbody td {
    padding: 18px 24px;
    vertical-align: middle;
}

.price-table tbody td:first-child {
    border-radius: 14px 0 0 14px;
    width: 52px;
    color: var(--muted);
    font-size: 14px;
}

.price-table tbody td:last-child {
    border-radius: 0 14px 14px 0;
    text-align: right;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    white-space: nowrap;
}

.price-table .service-name {
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
}

.price-cta {
    margin-top: 50px;
    text-align: center;
}

.price-note {
    font-size: 14px;
    color: var(--muted);
    margin-top: 14px;
}

/* Team section */
.team-section {
    padding: 60px 0 90px;
    background: #fff;
}

.team-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 92, 79, 0.10);
    transition: 0.25s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-img-wrap {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-img-placeholder i {
    font-size: 90px;
    color: rgba(15, 92, 79, 0.20);
}

.team-info {
    padding: 20px 22px 24px;
}

.team-info h5 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 6px;
    font-size: 16px;
}

.team-specialty {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.team-info p {
    font-size: 14px;
    color: #536260;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-image {
        margin-top: 45px;
    }

    .nav-link {
        margin-left: 0;
        padding: 12px 0;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .team-img-wrap {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .team-img-wrap {
        height: 260px;
    }
}

@media (max-width: 575px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .navbar-brand img {
        max-height: 85px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-main,
    .btn-outline-main {
        width: 100%;
        text-align: center;
    }

    .hero-points {
        flex-direction: column;
        gap: 12px;
    }
}