:root {
    --ink: #112638;
    --ink-soft: #34495b;
    --paper: #fffdfb;
    --warm: #f8f1ed;
    --line: #eadbd3;
    --coral: #e6533f;
    --coral-dark: #bf3f31;
    --peach: #f2a186;
    --teal: #173f50;
    --teal-dark: #102f3e;
    --amber: #e8ad55;
    --sage: #6f8f88;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(17, 38, 56, .12);
}

* {
    letter-spacing: 0;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

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

a:hover {
    color: var(--coral-dark);
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 9999;
    background: var(--ink);
    color: var(--white);
    padding: .65rem .9rem;
    border-radius: 8px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 251, .94);
    border-bottom: 1px solid rgba(234, 219, 211, .84);
    backdrop-filter: blur(16px);
}

.navbar {
    padding: .85rem 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--ink);
    min-width: 0;
}

.brand-mark:hover {
    color: var(--ink);
}

.brand-symbol {
    display: block;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
}

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

.brand-mark strong {
    font-size: 1rem;
    line-height: 1.1;
}

.brand-mark small {
    color: var(--ink-soft);
    font-size: .78rem;
}

.nav-link {
    color: var(--ink);
    font-weight: 650;
}

.nav-link.active,
.nav-link:hover {
    color: var(--coral-dark);
}

.btn {
    border-radius: 8px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.btn-primary {
    --bs-btn-bg: var(--coral);
    --bs-btn-border-color: var(--coral);
    --bs-btn-hover-bg: var(--coral-dark);
    --bs-btn-hover-border-color: var(--coral-dark);
    --bs-btn-active-bg: var(--coral-dark);
    --bs-btn-active-border-color: var(--coral-dark);
}

.btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: rgba(17, 38, 56, .35);
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
}

.btn-outline-light {
    --bs-btn-color: var(--white);
    --bs-btn-border-color: rgba(255, 255, 255, .7);
}

.nav-cta {
    min-height: 40px;
}

.hero-home {
    position: relative;
    min-height: min(720px, calc(100svh - 116px));
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center right;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(17, 38, 56, .92) 0%, rgba(17, 38, 56, .74) 42%, rgba(17, 38, 56, .24) 74%, rgba(17, 38, 56, .08) 100%),
        linear-gradient(0deg, rgba(17, 38, 56, .28), rgba(230, 83, 63, .08));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 4rem 1rem;
}

.hero-kicker,
.section-kicker {
    margin-bottom: .85rem;
    color: var(--coral);
    font-size: .84rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hero-home h1 {
    max-width: 720px;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: .95;
    margin-bottom: 1.25rem;
    color: var(--white);
    text-shadow: 0 6px 26px rgba(0, 0, 0, .34);
}

.hero-lead {
    max-width: 690px;
    color: rgba(255, 255, 255, .94);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    margin-bottom: 1.8rem;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .28);
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.section-padding {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro-section,
.values-section,
.local-seo-section,
.faq-section {
    background: var(--warm);
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 850;
    line-height: 1.08;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
    font-size: 1.18rem;
}

.lead {
    color: var(--ink-soft);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.section-heading p:not(.section-kicker) {
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
}

.service-card,
.value-item,
.metric,
.contact-panel,
.contact-form,
.empty-state {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 38px rgba(17, 38, 56, .06);
}

.service-card,
.value-item {
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--coral);
}

.service-card::before,
.value-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, rgba(230, 83, 63, .13), rgba(17, 38, 56, 0));
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.service-card,
.value-item,
.metric {
    height: 100%;
    padding: 1.5rem;
}

.service-card h3,
.value-item h3,
.metric strong {
    margin-top: 1rem;
}

.service-card p,
.value-item p,
.metric p {
    color: var(--ink-soft);
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
}

.service-number {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--coral);
    font-size: .86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-number::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: var(--coral);
}

.services-preview .row > div:nth-child(2) .service-number,
.service-detail:nth-child(even) .service-number,
.values-section .row > div:nth-child(2) .service-number {
    color: var(--teal);
}

.services-preview .row > div:nth-child(2) .service-number::after,
.service-detail:nth-child(even) .service-number::after,
.values-section .row > div:nth-child(2) .service-number::after {
    background: var(--teal);
}

.method-section {
    background: var(--paper);
}

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

.process-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.25rem;
    padding: 1.35rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.process-item > span {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: var(--teal);
    color: var(--white);
    font-weight: 850;
}

.process-item p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.metric span,
.metric strong {
    display: block;
}

.metric span {
    color: var(--coral-dark);
    font-weight: 850;
    text-transform: uppercase;
}

.metric strong {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -35% 48%;
    height: 320px;
    background: linear-gradient(135deg, rgba(230, 83, 63, .44), rgba(17, 63, 80, .48));
    transform: rotate(-6deg);
    border-radius: 8px;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    max-width: 950px;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.page-hero p:not(.section-kicker) {
    max-width: 760px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.12rem;
}

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

.service-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-detail p,
.check-list {
    color: var(--ink-soft);
}

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

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .85rem;
}

.check-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: .1rem;
    color: var(--teal);
}

.accordion-item {
    border-color: var(--line);
}

.accordion-button {
    font-weight: 800;
}

.portrait-panel {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(23, 63, 80, .2), rgba(230, 83, 63, .2)),
        var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.portrait-photo-panel {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    padding: 0;
    background: var(--ink);
}

.portrait-photo-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-photo-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 38, 56, .78), rgba(17, 38, 56, .04) 62%);
}

.portrait-photo-panel > div {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    color: var(--white);
}

.portrait-panel span,
.portrait-panel strong {
    display: block;
}

.portrait-panel span {
    color: var(--coral);
    font-weight: 850;
    text-transform: uppercase;
}

.portrait-photo-panel strong {
    color: var(--white);
}

.timeline {
    display: grid;
    gap: 1.2rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 1.1rem;
}

.timeline-item > span {
    width: 16px;
    height: 16px;
    margin-top: .4rem;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 8px rgba(230, 83, 63, .13);
}

.timeline-item p {
    color: var(--ink-soft);
}

.empty-state {
    padding: 2rem;
    text-align: center;
}

.contact-panel,
.contact-form {
    padding: 1.5rem;
}

.contact-panel {
    position: sticky;
    top: 104px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 1rem;
}

.contact-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: .8rem;
}

.contact-list i {
    color: var(--coral-dark);
}

.contact-list span,
.contact-list small {
    display: block;
}

.contact-list small {
    color: var(--ink-soft);
}

.form-label {
    font-weight: 750;
}

.form-control,
.form-select {
    border-color: #d8ccc2;
    border-radius: 8px;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 .2rem rgba(23, 63, 80, .16);
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.45rem;
}

.footer-cta {
    background: var(--teal);
    color: var(--white);
    padding: 3rem 0;
}

.footer-cta .section-kicker,
.footer-cta h2 {
    color: var(--white);
}

.footer-cta h2 {
    margin-bottom: 0;
    max-width: 760px;
}

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

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .76);
    padding: 4rem 0 2rem;
}

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

.site-footer a,
.footer-brand {
    color: var(--white);
}

.site-footer .brand-symbol {
    background: transparent;
}

.site-footer .brand-mark small {
    color: rgba(255, 255, 255, .66);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .55rem;
}

.footer-contact li {
    display: flex;
    gap: .5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .56);
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
    }

    .nav-cta {
        width: 100%;
        margin-top: .5rem;
    }

    .hero-home {
        min-height: auto;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(17, 38, 56, .92), rgba(17, 38, 56, .56));
    }

    .hero-content {
        padding: 5rem 1rem 4rem;
    }

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

    .contact-panel {
        position: static;
    }

    .footer-cta-inner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .brand-mark {
        gap: .55rem;
    }

    .brand-symbol {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .brand-mark strong {
        font-size: .92rem;
    }

    .brand-mark small {
        font-size: .72rem;
    }

    .hero-actions .btn,
    .inline-actions .text-link,
    .footer-cta .btn {
        width: 100%;
    }

    .service-detail,
    .process-item,
    .contact-panel,
    .contact-form {
        padding: 1.1rem;
    }

    .process-item {
        grid-template-columns: 1fr;
    }

}
