:root {
    --bg: #f3f5f4;
    --surface: #fffdf9;
    --surface-muted: #edf2ef;
    --surface-contrast: #10252b;
    --card: #ffffff;
    --text: #1a2428;
    --muted: #5e6f75;
    --primary: #0f5961;
    --primary-strong: #0b454b;
    --secondary: #87a997;
    --line: #d7e0dc;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 8px 18px rgba(16, 34, 38, 0.06);
    --shadow-lg: 0 20px 42px rgba(16, 34, 38, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 90% 0%, rgba(111, 160, 142, 0.12), transparent 30%),
        radial-gradient(circle at 0% 65%, rgba(15, 89, 97, 0.08), transparent 35%),
        var(--bg);
    line-height: 1.65;
}

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

img {
    max-width: 100%;
    display: block;
    border-radius: 14px;
}

h1,
h2,
h3,
h4 {
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin-top: 0;
    margin-bottom: 12px;
    color: #132128;
}

h1 {
    font-size: clamp(36px, 5.2vw, 58px);
    font-weight: 750;
}

h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 720;
}

h3 {
    font-size: clamp(20px, 2.3vw, 26px);
    font-weight: 680;
}

p {
    margin: 0 0 14px;
}

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 82px 0;
}

.section-soft {
    background: linear-gradient(180deg, #eef3f1 0%, #f7f9f8 100%);
    border-top: 1px solid #e0e7e3;
    border-bottom: 1px solid #e0e7e3;
}

.section-lead {
    color: var(--muted);
    max-width: 760px;
    font-size: 18px;
    margin-bottom: 28px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 14px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 11px;
    border: 1px solid #dce7e2;
    background: #fff;
    padding: 7px;
}

.brand-text strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link,
.dropdown-link {
    color: #18252a;
    font-size: 15px;
    font-weight: 620;
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link::after,
.dropdown-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.dropdown-link:hover::after,
.has-dropdown:hover .dropdown-link::after {
    transform: scaleX(1);
}

.chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease;
}

.has-dropdown {
    position: relative;
}

.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 12px;
}

.has-dropdown:hover .chevron,
.has-dropdown.is-open .chevron {
    transform: rotate(-135deg) translateY(-1px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -10px;
    width: 310px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid #d8e5e0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 60;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    font-weight: 600;
    color: #24353a;
}

.dropdown-menu a:hover {
    background: #eef6f3;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    box-shadow: 0 10px 20px rgba(11, 69, 75, 0.22);
}

.menu-toggle,
.mobile-submenu {
    display: none;
}

.breadcrumb-bar {
    background: #ebf0ed;
    border-bottom: 1px solid #dce4e0;
    font-size: 14px;
    padding: 9px 0;
}

.breadcrumb-bar nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb-bar a {
    color: #4a6169;
}

.hero {
    padding: 76px 0 52px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #0d5561;
    background: #d9ebe7;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-trust span {
    background: #eef4f1;
    border: 1px solid #d8e4de;
    color: #35505a;
    font-size: 13px;
    border-radius: 999px;
    padding: 7px 11px;
    font-weight: 600;
}

.hero-image-wrap {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #dbe6e2;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-image {
    width: 100%;
    height: clamp(330px, 40vw, 520px);
    object-fit: cover;
}

.hero-image-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(12, 31, 36, 0.84);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border: 1px solid transparent;
    box-shadow: 0 10px 22px rgba(12, 67, 72, 0.22);
}

.btn-primary:hover {
    filter: brightness(1.03);
}

.btn-ghost {
    border: 1px solid #c7d8d2;
    color: var(--primary-strong);
    background: rgba(255, 255, 255, 0.8);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    border: 1px solid #dce6e2;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #c7d8d1;
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    margin-bottom: 14px;
}

.card p {
    color: var(--muted);
    margin-bottom: 14px;
}

.micro-cta-row {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.benefit-item {
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid #dbe5e1;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.benefit-item h3 {
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--muted);
    margin: 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.service-layout {
    grid-template-columns: 1.3fr 0.7fr;
}

ul,
ol {
    margin: 0;
    padding-left: 20px;
}

li + li {
    margin-top: 8px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

blockquote {
    margin: 0;
    background: #fff;
    border: 1px solid #dbe6e2;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

blockquote p {
    margin: 0 0 8px;
}

blockquote footer {
    font-size: 14px;
    color: var(--muted);
}

.partner-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.partner-item {
    background: #fff;
    border: 1px solid #dce6e1;
    border-radius: 12px;
    min-height: 84px;
    display: grid;
    place-items: center;
    padding: 10px;
}

.partner-item img {
    max-height: 46px;
    width: auto;
    border-radius: 0;
}

.faq-list details {
    background: #fff;
    border: 1px solid #d8e2de;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.faq-list summary {
    font-weight: 700;
    cursor: pointer;
}

.cta {
    color: #fff;
    background:
        radial-gradient(circle at right top, rgba(136, 173, 155, 0.2), transparent 40%),
        linear-gradient(140deg, #10262c, #1a4348);
}

.cta-wrap {
    max-width: 860px;
    text-align: center;
}

.cta-wrap p {
    color: #d4e1de;
}

.cta .btn-primary {
    background: linear-gradient(130deg, #bfe6d5, #98cfb8);
    color: #0e2a2f;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.contact-form {
    background: #fff;
    border: 1px solid #d8e3de;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #ccd9d3;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid rgba(15, 89, 97, 0.16);
    border-color: #8eb2a4;
}

.contact-form textarea,
.contact-form button {
    grid-column: 1 / -1;
}

.error {
    color: #aa2d2d;
    font-size: 13px;
    margin-top: -4px;
}

.page-hero {
    padding: 58px 0;
    background: linear-gradient(180deg, #e9efec, #f7faf8);
    border-bottom: 1px solid #dfe8e3;
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--muted);
    font-size: 18px;
    max-width: 840px;
}

.prose {
    max-width: 860px;
}

.prose p,
.prose li {
    color: #26363d;
}

.service-media,
.service-image {
    border-radius: 18px;
    border: 1px solid #dce7e1;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.service-media img,
.service-image {
    width: 100%;
    height: clamp(300px, 38vw, 480px);
    object-fit: cover;
}

.service-content ul {
    color: #314248;
}

.service-cta-card {
    border: 1px solid #d2dfda;
    border-radius: 14px;
    background: #f8fbf9;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.service-mini-contact {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.service-mini-contact a {
    font-size: 14px;
    font-weight: 600;
}

.related-cards .card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.meta-card {
    margin-top: 14px;
    border: 1px solid #dbe6e2;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.project-image {
    aspect-ratio: 4/3;
}

.blog-layout {
    align-items: start;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #dbe6e1;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.sidebar-card ul {
    margin: 0;
    padding-left: 18px;
}

.meta {
    color: #6a7f87;
    font-size: 14px;
}

.article img {
    margin: 22px 0;
    border: 1px solid #dbe7e2;
}

.site-footer {
    margin-top: 40px;
    background: linear-gradient(150deg, #0f2329, #1d353c);
    color: #d7e4e0;
    padding-top: 58px;
    padding-bottom: 114px;
}

.footer-grid.premium {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr;
    gap: 24px;
}

.footer-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 14px;
    background: #fff;
    padding: 8px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li + li {
    margin-top: 8px;
}

.footer-links a,
.footer-social a,
.site-footer a {
    color: #9ad4c0;
}

.footer-cta-text {
    color: #bfd4cc;
    margin-bottom: 12px;
}

.footer-cta {
    margin-bottom: 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-meta {
    margin-bottom: 8px;
    color: #c8d9d2;
}

.footer-bottom {
    margin-top: 24px;
    border-top: 1px solid rgba(204, 230, 218, 0.16);
    padding: 16px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-mini-links {
    display: flex;
    gap: 14px;
    font-size: 14px;
}

.service-link-list {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.service-link-list a {
    font-weight: 600;
}

.contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
}

.response-badge {
    margin: 12px 0;
    display: inline-block;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid #d2e0da;
    background: #eef5f2;
    font-size: 14px;
    color: #355058;
    font-weight: 600;
}

.quick-contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.map-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe6e1;
    min-height: 360px;
    box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
}

.google-review-card {
    border: 1px solid #d5e2dc;
    background: #f5f9f7;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

.google-review-card p {
    color: var(--muted);
    margin-bottom: 12px;
}

.contact-form.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form.compact input,
.contact-form.compact button {
    grid-column: auto;
}

.contact-form.compact button {
    grid-column: 1 / -1;
}

.cookie-consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(370px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #d7e3dd;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 80;
}

.cookie-content {
    padding: 14px;
    position: relative;
}

.cookie-content h4 {
    margin: 0 28px 6px 0;
    font-size: 16px;
}

.cookie-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}

.cookie-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #d2ddd8;
    background: #f7faf8;
    color: #2f434a;
    font-size: 18px;
    line-height: 1;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

.cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.cookie-actions button,
.cookie-options button {
    border: 1px solid #ceddd6;
    border-radius: 12px;
    padding: 8px 10px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    color: #274149;
    text-align: center;
}

.cookie-actions button:first-child,
.cookie-options button {
    background: linear-gradient(130deg, var(--primary), var(--primary-strong));
    color: #fff;
    border-color: transparent;
}

.cookie-actions button[data-cookie-action="customize"] {
    grid-column: 1 / -1;
}

.cookie-options {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #d9e4de;
    display: grid;
    gap: 8px;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c444c;
    font-size: 14px;
}

.cookie-content details {
    margin-top: 10px;
    color: #435962;
}

.mobile-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 55;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mobile-sticky-cta a {
    text-align: center;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(130deg, var(--primary), var(--primary-strong));
    box-shadow: 0 10px 20px rgba(11, 69, 75, 0.25);
}

.alert {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid;
}

.alert-success {
    background: #e1f6e8;
    border-color: #bae6c6;
    color: #12552f;
}

.alert-error {
    background: #ffe7e7;
    border-color: #f2c3c3;
    color: #7a1e1e;
}

.center {
    text-align: center;
}

@media (max-width: 1160px) {
    .cards,
    .testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .service-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid.premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
        border: 1px solid #c7d9d2;
        background: #fff;
        border-radius: 10px;
        padding: 9px 14px;
        font-weight: 700;
        color: #1f343b;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        padding: 16px;
        background: #fff;
        border-top: 1px solid #dce6e1;
        border-bottom: 1px solid #dce6e1;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .main-nav.open {
        display: flex;
    }

    .has-dropdown {
        display: none;
    }

    .mobile-submenu {
        display: block;
        width: 100%;
        border: 1px solid #d8e4df;
        border-radius: 10px;
        overflow: hidden;
    }

    .mobile-submenu-toggle {
        width: 100%;
        border: 0;
        background: #f4f8f6;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        font: inherit;
        font-weight: 700;
        color: #1e3239;
    }

    .mobile-submenu-toggle .chevron {
        width: 8px;
        height: 8px;
        border-right: 2px solid #1e3239;
        border-bottom: 2px solid #1e3239;
        transform: rotate(45deg);
        margin-top: -3px;
        transition: transform 0.2s ease;
    }

    .mobile-submenu-toggle.is-open .chevron {
        transform: rotate(-135deg);
        margin-top: 2px;
    }

    .mobile-submenu-list {
        display: none;
        padding: 10px 12px;
        background: #fff;
        border-top: 1px solid #e0e9e5;
    }

    .mobile-submenu-list.open {
        display: grid;
        gap: 8px;
    }

    .cards,
    .benefit-grid,
    .testimonials,
    .footer-grid.premium,
    .partner-strip {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form textarea,
    .contact-form button {
        grid-column: auto;
    }

    .section {
        padding: 58px 0;
    }

    .section:last-of-type {
        padding-bottom: 72px;
    }

    .contact-form {
        padding: 18px;
    }

    .site-footer {
        padding-top: 52px;
        padding-bottom: 152px;
    }

    .mobile-sticky-cta {
        display: grid;
    }

    .hero-trust {
        gap: 6px;
    }

    .hero-trust span {
        font-size: 12px;
        padding: 6px 9px;
    }

    .footer-grid.premium > div {
        padding-bottom: 8px;
    }

    .footer-bottom {
        margin-top: 14px;
        padding-top: 14px;
        row-gap: 10px;
    }

    .cookie-consent {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 88px;
        border-radius: 14px 14px 10px 10px;
    }

    .cookie-actions {
        grid-template-columns: 1fr;
    }

    .cookie-actions button[data-cookie-action="customize"] {
        grid-column: auto;
    }

    .cookie-options button {
        width: 100%;
    }
}
