:root {
    --green: #16815f;
    --green-dark: #0e5f48;
    --teal: #087f8c;
    --coral: #e76f51;
    --amber: #f2b84b;
    --ink: #17212b;
    --muted-ink: #64717f;
    --line: #dfe7e2;
    --soft: #f5f8f4;
    --white: #ffffff;
    --footer: #17212b;
    --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.9rem);
    letter-spacing: 0;
    margin-bottom: 1.1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0;
    margin-bottom: 0.9rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.narrow {
    width: min(800px, calc(100% - 32px));
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 20;
    background: var(--ink);
    color: var(--white);
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(223, 231, 226, 0.78);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0;
}

.brand-logo-wrap {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted-ink);
    font-size: 0.78rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.94rem;
    color: var(--muted-ink);
}

.nav-menu a {
    padding: 0.55rem 0;
    transition: color 160ms ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
    color: var(--green-dark);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.55rem;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 750;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(22, 129, 95, 0.18);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-secondary {
    background: var(--white);
    border-color: var(--line);
    color: var(--ink);
}

.btn-light {
    background: var(--white);
    color: var(--green-dark);
}

.btn-small {
    min-height: 40px;
    padding: 0.62rem 0.9rem;
}

.nav-cta {
    gap: 0.45rem;
    min-width: 84px;
    padding-inline: 0.78rem;
}

.nav-cta-icon,
.nav-cta-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.nav-cta-icon svg {
    fill: currentColor;
}

.btn-full {
    width: 100%;
}

.hero {
    padding: 70px 0 54px;
    background:
        linear-gradient(135deg, rgba(22, 129, 95, 0.11), rgba(242, 184, 75, 0.14)),
        var(--soft);
}

.hero-grid,
.detail-grid,
.split,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-lead,
.page-hero p,
.section-heading p,
.cta-content p {
    color: var(--muted-ink);
    font-size: 1.08rem;
}

.eyebrow {
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.7rem 0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 2rem;
}

.hero-metrics div {
    padding: 1rem;
    border: 1px solid rgba(22, 129, 95, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics span {
    color: var(--muted-ink);
    font-size: 0.86rem;
}

.hero-visual img,
.detail-hero img,
.rounded-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section,
.page-hero,
.detail-hero {
    padding: 82px 0;
}

.section-compact {
    min-height: 52vh;
    display: grid;
    align-items: center;
}

.access-denied {
    min-height: 68vh;
    display: grid;
    align-items: center;
    padding: 80px 0;
    background:
        linear-gradient(135deg, rgba(22, 129, 95, 0.1), rgba(8, 127, 140, 0.12)),
        var(--soft);
}

.access-denied-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.access-denied-copy p {
    color: var(--muted-ink);
    font-size: 1.08rem;
}

.access-denied-panel {
    display: grid;
    gap: 1rem;
}

.security-card {
    padding: 1.4rem;
    border: 1px solid rgba(22, 129, 95, 0.18);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.security-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: #eaf6ef;
    color: var(--green-dark);
    margin-bottom: 1.15rem;
    line-height: 0;
}

.security-lock-icon {
    display: block;
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.security-card strong,
.security-card span {
    display: block;
}

.security-card strong {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.security-card > span:last-child {
    color: var(--muted-ink);
}

.security-lines {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.security-lines span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(22, 129, 95, 0.22), rgba(8, 127, 140, 0.08));
}

.security-lines span:nth-child(2) {
    width: 78%;
}

.security-lines span:nth-child(3) {
    width: 52%;
}

.page-hero,
.detail-hero {
    background: var(--soft);
}

.muted {
    background: var(--soft);
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading.with-action {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.section-heading.with-action > div {
    max-width: 720px;
}

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

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

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.05);
}

.service-card {
    min-height: 210px;
}

.card-icon {
    display: inline-grid;
    place-items: center;
    min-width: 50px;
    height: 42px;
    padding-inline: 0.7rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background: #eaf6ef;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 850;
}

.feature-list {
    display: grid;
    gap: 0.85rem;
}

.feature-list div,
.info-panel,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 1.1rem;
}

.feature-list strong,
.feature-list span {
    display: block;
}

.feature-list span,
.card p,
.service-detail p,
.portfolio-row p,
.article-card p,
.detail-content p {
    color: var(--muted-ink);
}

.app-card {
    padding: 0;
    overflow: hidden;
}

.app-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--soft);
}

.card-body {
    padding: 1.2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.26rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.badge-success {
    background: #daf5e7;
    color: #0b6848;
}

.badge-info {
    background: #dff4f6;
    color: #08616a;
}

.badge-warning {
    background: #fff1cf;
    color: #8b5b00;
}

.badge-muted {
    background: #eef1f4;
    color: #5d6875;
}

.text-link,
.back-link {
    color: var(--green-dark);
    font-weight: 800;
}

.portfolio-list {
    display: grid;
    gap: 1rem;
}

.portfolio-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.3rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.portfolio-row img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
}

.meta-line {
    color: var(--muted-ink);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cta-band {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--green-dark), var(--teal));
    color: var(--white);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-content p,
.cta-band .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.service-detail-list {
    display: grid;
    gap: 1rem;
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.pill-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pill-list li {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    color: var(--muted-ink);
    background: var(--soft);
}

.check-list {
    display: grid;
    gap: 0.7rem;
}

.check-list li {
    position: relative;
    padding-left: 1.55rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--coral);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.filter-chip {
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted-ink);
    font-weight: 750;
    cursor: pointer;
}

.filter-chip.is-selected {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: start;
}

.detail-hero .badge {
    margin-top: 1rem;
}

.spec-list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
}

.spec-list dt {
    font-weight: 800;
}

.spec-list dd {
    margin: 0;
    color: var(--muted-ink);
}

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

.article-card {
    overflow: hidden;
}

.article-card-image {
    width: calc(100% + 2.4rem);
    max-width: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: -1.2rem -1.2rem 1.1rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 2rem;
    align-items: start;
}

.article-content {
    min-width: 0;
}

.article-content p {
    color: var(--muted-ink);
    font-size: 1.05rem;
}

.article-featured-image {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.6rem;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 1rem;
}

.sidebar-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 1.1rem;
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.05);
}

.sidebar-panel h2 {
    font-size: 1rem;
}

.sidebar-tags,
.sidebar-links {
    display: grid;
    gap: 0.55rem;
}

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

.sidebar-tags a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.65rem;
    color: var(--green-dark);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
}

.sidebar-links a {
    color: var(--green-dark);
    font-weight: 750;
}

.sidebar-cta p {
    color: var(--muted-ink);
}

.article-cta {
    margin-top: 2rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.contact-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.45rem;
    color: var(--ink);
    font-weight: 750;
}

.inline-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.inline-check input {
    width: auto;
    min-height: auto;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.74rem 0.85rem;
    font: inherit;
    color: var(--ink);
    background: var(--white);
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 3.2rem;
}

.password-toggle {
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--muted-ink);
    cursor: pointer;
}

.password-field input::-ms-reveal,
.password-field input::-ms-clear {
    display: none;
}

.password-toggle:hover,
.password-toggle.is-visible {
    background: var(--soft);
    color: var(--green-dark);
}

.password-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

textarea {
    resize: vertical;
}

label small {
    color: #b42318;
    font-weight: 650;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    font-weight: 750;
}

.alert-success {
    background: #daf5e7;
    color: #0b6848;
}

.site-footer {
    background: var(--footer);
    color: rgba(255, 255, 255, 0.78);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
    gap: 2rem;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin-bottom: 0.45rem;
}

.brand-footer {
    color: var(--white);
    margin-bottom: 1rem;
}

.brand-footer small,
.footer-note {
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.9rem;
}

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #20b15a;
    color: var(--white);
    box-shadow: 0 18px 30px rgba(23, 33, 43, 0.22);
}

.wa-float .nav-cta-icon,
.wa-float .nav-cta-icon svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        inset: 76px 16px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.8rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        padding: 0.78rem;
    }

    .hero-grid,
    .detail-grid,
    .split,
    .contact-grid,
    .detail-content,
    .article-layout,
    .access-denied-grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .card-grid,
    .article-grid,
    .card-grid.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 700px) {
    .container,
    .narrow {
        width: min(100% - 24px, 1120px);
    }

    .hero,
    .section,
    .page-hero,
    .detail-hero {
        padding: 54px 0;
    }

    .hero-metrics,
    .card-grid,
    .article-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading.with-action,
    .cta-content,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .portfolio-row {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .detail-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .detail-actions .btn {
        width: 100%;
    }
}
