:root {
    --ink: #102131;
    --ink-soft: #20384b;
    --paper: #f6f3ed;
    --surface: #ffffff;
    --muted: #62717e;
    --line: #dce2e6;
    --accent: #c9473f;
    --accent-dark: #a93631;
    --shadow: 0 18px 55px rgba(16, 33, 49, 0.10);
    --radius: 1.25rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

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

a {
    color: var(--accent-dark);
}

a:hover {
    color: var(--accent);
}

h1,
h2,
h3 {
    color: var(--ink);
    letter-spacing: -0.025em;
}

h1 {
    max-width: 920px;
    font-size: clamp(2.5rem, 6vw, 5.35rem);
    line-height: 0.98;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: .75rem 1rem;
    color: #fff;
    background: var(--ink);
    border-radius: .5rem;
}

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

.site-nav {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(16, 33, 49, .08);
    backdrop-filter: blur(14px);
}

.brand-logo {
    width: min(270px, 58vw);
    height: auto;
}

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

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-dark);
}

.btn {
    border-radius: 999px;
    font-weight: 750;
    padding: .8rem 1.2rem;
}

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

.btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 9rem) 0 5rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(201, 71, 63, .22), transparent 28rem),
        linear-gradient(145deg, #ffffff 0%, #f7f4ef 52%, #edf1f2 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -9rem;
    bottom: -11rem;
    z-index: -1;
    width: 33rem;
    height: 33rem;
    border: 1px solid rgba(16, 33, 49, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 4rem rgba(16, 33, 49, .035),
        0 0 0 8rem rgba(16, 33, 49, .025);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.3rem;
    color: var(--accent-dark);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 2.5rem;
    height: 2px;
    content: "";
    background: currentColor;
}

.hero-copy {
    max-width: 760px;
    color: var(--ink-soft);
    font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.trust-strip {
    position: relative;
    z-index: 5;
    margin-top: -1.5rem;
}

.trust-panel {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.trust-item {
    min-height: 100%;
    padding: 1.25rem 1.4rem;
}

.trust-item strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.trust-item span {
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-label {
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-intro {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.08rem;
}

.service-card,
.feature-card {
    height: 100%;
    padding: 1.7rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(16, 33, 49, .045);
}

.service-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 71, 63, .4);
    box-shadow: var(--shadow);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1.25rem;
    color: #fff;
    background: var(--ink);
    border-radius: .8rem;
    font-weight: 850;
}

.service-card h3,
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.service-card ul {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.service-card li {
    margin-bottom: .55rem;
    padding-left: .2rem;
}

.dark-section {
    background:
        radial-gradient(circle at 10% 15%, rgba(201, 71, 63, .18), transparent 25rem),
        var(--ink);
    color: #fff;
}

.dark-section h2,
.dark-section h3 {
    color: #fff;
}

.dark-section .section-label {
    color: #ef8f87;
}

.dark-section .section-intro,
.dark-section p {
    color: rgba(255, 255, 255, .74);
}

.process-step {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.process-step:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.process-index {
    color: #ef8f87;
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform .25s ease, filter .25s ease;
}

.gallery-button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 9px 24px rgba(16, 33, 49, .09);
}

.gallery-button:hover .project-image,
.gallery-button:focus-visible .project-image {
    transform: scale(1.025);
    filter: contrast(1.03);
}

.gallery-button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

@media (min-width: 992px) {
    .gallery-col {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
}

.cta-panel {
    padding: clamp(2rem, 5vw, 4rem);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .96), rgba(247, 244, 239, .96)),
        var(--surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + .4rem);
    box-shadow: var(--shadow);
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.25rem;
    padding: 0;
    margin: 1.25rem 0 0;
    list-style: none;
}

.contact-list a {
    font-weight: 750;
    text-decoration: none;
}

footer {
    padding: 2.5rem 0;
    color: rgba(255, 255, 255, .68);
    background: #0b1722;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.modal-content {
    background: #0c1823;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
}

.modal-header {
    color: #fff;
    border-color: rgba(255, 255, 255, .15);
}

.modal-header .btn-close {
    filter: invert(1);
}

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

    .hero {
        padding-top: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}