:root {
    --bg: #101214;
    --bg-soft: #171a1d;
    --panel: #1e2226;
    --panel-light: #f4f5f2;
    --text: #f7f7f5;
    --text-dark: #181b1e;
    --muted: #aeb4ba;
    --green: #a8e600;
    --green-dark: #86b900;
    --border: #2d3237;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16, 18, 20, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.55rem;
    white-space: nowrap;
}

.brand-tech {
    color: white;
}

.brand-rescue {
    color: var(--green);
}

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

.main-nav > a,
.nav-dropbtn {
    position: relative;
    padding: 28px 0 25px;
    border: 0;
    background: none;
    color: #e9ecef;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.main-nav > a::after,
.nav-dropbtn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background: var(--green);
    transition: width 0.2s ease;
}

.main-nav > a:hover::after,
.nav-dropbtn:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: -18px;
    min-width: 245px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #171a1d;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.18s ease;
}

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

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

.dropdown-menu a:hover {
    background: #24292e;
    color: var(--green);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 100px;
    background:
        radial-gradient(circle at 80% 15%, rgba(168,230,0,0.14), transparent 30%),
        linear-gradient(145deg, #111315 0%, #191d20 60%, #101214 100%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -240px;
    border: 80px solid rgba(168,230,0,0.05);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero-lead {
    max-width: 660px;
    margin: 28px 0 0;
    color: #c9ced2;
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 900;
}

.btn-primary {
    background: var(--green);
    color: #111;
}

.btn-primary:hover {
    background: #baff00;
}

.btn-secondary {
    border: 1px solid #3d4349;
    background: #1b1f22;
    color: white;
}

.btn-secondary:hover {
    border-color: var(--green);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
    color: #c3c8cc;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-points span::first-letter {
    color: var(--green);
}

.hero-card {
    padding: 36px;
    border: 1px solid #33393e;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
        #171a1d;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.status-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    border: 3px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    font-size: 1.6rem;
    font-weight: 900;
}

.status-small {
    margin: 0;
    color: var(--green);
    font-weight: 900;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

.hero-card h2 {
    margin: 8px 0 12px;
    font-size: 2rem;
    line-height: 1.1;
}

.hero-card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.services-section {
    background: var(--panel-light);
    color: var(--text-dark);
    padding: 100px 0;
}

.section-heading {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-heading > p:last-child {
    color: #5d6469;
    font-size: 1.08rem;
}

.service-grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 235px;
    padding: 30px;
    border: 1px solid #d8dcd5;
    border-radius: 18px;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    border-radius: 13px;
    background: var(--green);
    color: #111;
    font-size: 1.55rem;
    font-weight: 900;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.service-card p {
    margin: 0;
    color: #646b70;
}

.trust-strip {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-strip > div {
    padding: 8px 30px;
    border-right: 1px solid var(--border);
}

.trust-strip > div:first-child {
    padding-left: 0;
}

.trust-strip > div:last-child {
    border-right: 0;
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    color: var(--green);
    font-size: 1.1rem;
}

.trust-strip span {
    margin-top: 3px;
    color: #aeb4ba;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #0b0d0e;
    color: #aeb4ba;
}

.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner strong {
    color: white;
}

.footer-right {
    text-align: right;
}

@media (max-width: 900px) {
    .main-nav {
        gap: 15px;
        font-size: 0.88rem;
    }

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

    .hero-card {
        max-width: 600px;
    }

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

@media (max-width: 700px) {
    .nav-wrap {
        align-items: flex-start;
        padding: 18px 0;
        flex-direction: column;
        gap: 8px;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        gap: 22px;
    }

    .main-nav > a,
    .nav-dropbtn {
        padding: 10px 0 12px;
        white-space: nowrap;
    }

    .main-nav > a::after,
    .nav-dropbtn::after {
        bottom: 5px;
    }

    .dropdown-menu {
        position: fixed;
        top: auto;
    }

    .hero {
        padding: 70px 0;
    }

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

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-strip > div {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .trust-strip > div:last-child {
        border-bottom: 0;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-right {
        text-align: left;
    }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #171a1d;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: white;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 700px) {

    .site-header {
        position: sticky;
        top: 0;
    }

    .nav-wrap {
        width: min(100% - 32px, 1180px);
        min-height: 72px;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .brand {
        font-size: 1.35rem;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 10px 20px 22px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        background: #101214;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    }

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

    .main-nav > a,
    .nav-dropbtn {
        width: 100%;
        padding: 15px 6px;
        border-bottom: 1px solid #252a2e;
        text-align: left;
        font-size: 1rem;
    }

    .main-nav > a::after,
    .nav-dropbtn::after {
        display: none;
    }

    .nav-dropbtn {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .drop-arrow {
        color: var(--green);
        transition: transform 0.2s ease;
    }

    .nav-dropdown.open .drop-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        padding: 4px 0 8px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 11px 12px;
        border-left: 2px solid #2d3237;
        border-radius: 0;
        color: #bfc5ca;
        font-size: 0.94rem;
    }

    .dropdown-menu a:hover {
        border-left-color: var(--green);
        background: transparent;
        color: var(--green);
    }

    .hero {
        padding: 64px 0 70px;
    }

    .hero-inner {
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.8rem);
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .btn {
        flex: 1 1 150px;
    }

    .hero-points {
        gap: 14px 20px;
    }
}

.services-menu {
    min-width: 280px;
}

@media (min-width: 701px) {
    .services-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
}


/* =========================================================
   TECHNICAL SERVICE CONTENT
   ========================================================= */

.tech-detail-section {
    padding: 100px 0;
    background: #15181b;
}

.tech-detail-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px;
}

.tech-copy h2 {
    margin: 0 0 25px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.tech-copy p:not(.eyebrow) {
    color: #b9bfc4;
}


.code-section {
    padding: 100px 0;
    background: #0c0e0f;
}

.code-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.code-intro h2 {
    margin: 0 0 25px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.code-intro p:not(.eyebrow) {
    color: #b9bfc4;
}


.code-window {
    overflow: hidden;
    border: 1px solid #30353a;
    border-radius: 18px;
    background: #111417;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.code-window-top {
    min-height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #292e32;
    background: #191d20;
}

.code-window-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a5055;
}

.code-window-top strong {
    margin-left: 8px;
    color: #92999f;
    font-size: 0.8rem;
    font-weight: 700;
}

.code-window pre {
    margin: 0;
    padding: 28px;
    overflow-x: auto;
}

.code-window code {
    color: #d8dde1;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.7;
}


@media (max-width: 800px) {

    .tech-detail-wrap,
    .code-wrap {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .tech-detail-section,
    .code-section {
        padding: 70px 0;
    }

    .code-window pre {
        padding: 20px;
    }

    .code-window code {
        font-size: 0.76rem;
    }
}


/* =========================================================
   PRINTER SERVICE PAGE
   ========================================================= */

.checklist-section {
    padding: 100px 0;
    background: #f4f5f2;
    color: #181b1e;
}

.checklist-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.checklist-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.checklist-heading h2 {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.checklist-heading > p:last-child {
    color: #62696e;
    font-size: 1.08rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.check-item {
    display: flex;
    gap: 22px;
    padding: 28px;
    border: 1px solid #d9ddd7;
    border-radius: 16px;
    background: white;
}

.check-item > strong {
    flex: 0 0 auto;
    color: var(--green-dark);
    font-size: 1.1rem;
}

.check-item h3 {
    margin: 0 0 7px;
    font-size: 1.15rem;
}

.check-item p {
    margin: 0;
    color: #636a70;
}


.case-study-section {
    padding: 110px 0;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(168,230,0,0.09),
            transparent 32%
        ),
        #15181b;
}

.case-study-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 75px;
}

.case-study-copy h2 {
    margin: 0 0 28px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.case-study-copy > p:not(.eyebrow) {
    color: #bac0c5;
}

.case-study-copy strong {
    color: white;
}

.case-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-top: 30px;
}

.case-points span {
    color: #c6cbd0;
    font-weight: 700;
}

.case-points span::first-letter {
    color: var(--green);
}


.case-study-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid #343a3f;
    border-radius: 22px;
    background: #0c0e0f;
    box-shadow: 0 35px 80px rgba(0,0,0,0.35);
}

.case-study-image img {
    display: block;
    width: 100%;
    height: auto;
}

.case-study-image figcaption {
    padding: 17px 20px;
    border-top: 1px solid #2b3034;
    color: #949ba0;
    font-size: 0.82rem;
}


@media (max-width: 800px) {

    .checklist-section,
    .case-study-section {
        padding: 70px 0;
    }

    .checklist-grid,
    .case-study-wrap {
        grid-template-columns: 1fr;
    }

    .case-study-wrap {
        gap: 45px;
    }

    .case-points {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   TECH-YORKS FOOTER
   ========================================================= */

.site-footer {
    background: #0b0d0e;
    border-top: 1px solid var(--border);
    color: #aeb4ba;
}

.footer-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 65px 0 55px;

    display: grid;
    grid-template-columns: 1.6fr 1fr 0.8fr;
    gap: 70px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-tagline {
    max-width: 390px;
    margin: 0 0 10px;
    color: #d1d5d8;
    font-size: 1.05rem;
}

.footer-location {
    max-width: 390px;
    margin: 0;
    color: #8f969c;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-column a {
    color: #aeb4ba;
}

.footer-column a:hover {
    color: var(--green);
}


.footer-legal {
    border-top: 1px solid #25292d;
    background: #080a0b;
}

.footer-legal-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0;

    color: #757d83;
    font-size: 0.79rem;
    line-height: 1.7;
}

.footer-legal-inner p {
    margin: 3px 0;
}

.footer-legal-inner strong {
    color: #9da4a9;
}

.legal-separator {
    padding: 0 8px;
    color: #4c5358;
}

.copyright {
    margin-top: 12px !important;
}


@media (max-width: 800px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
        padding: 50px 0;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

}


@media (max-width: 520px) {

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand-column {
        grid-column: auto;
    }

    .footer-legal-inner {
        font-size: 0.75rem;
    }

    .legal-separator {
        display: none;
    }

}


/* =========================================================
   TECH-YORKS FOOTER
   ========================================================= */

.site-footer {
    background: #0b0d0e;
    border-top: 1px solid var(--border);
    color: #aeb4ba;
}

.footer-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 65px 0 55px;

    display: grid;
    grid-template-columns: 1.6fr 1fr 0.8fr;
    gap: 70px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-tagline {
    max-width: 390px;
    margin: 0 0 10px;
    color: #d1d5d8;
    font-size: 1.05rem;
}

.footer-location {
    max-width: 390px;
    margin: 0;
    color: #8f969c;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-column a {
    color: #aeb4ba;
}

.footer-column a:hover {
    color: var(--green);
}


.footer-legal {
    border-top: 1px solid #25292d;
    background: #080a0b;
}

.footer-legal-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0;

    color: #757d83;
    font-size: 0.79rem;
    line-height: 1.7;
}

.footer-legal-inner p {
    margin: 3px 0;
}

.footer-legal-inner strong {
    color: #9da4a9;
}

.legal-separator {
    padding: 0 8px;
    color: #4c5358;
}

.copyright {
    margin-top: 12px !important;
}


@media (max-width: 800px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
        padding: 50px 0;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

}


@media (max-width: 520px) {

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand-column {
        grid-column: auto;
    }

    .footer-legal-inner {
        font-size: 0.75rem;
    }

    .legal-separator {
        display: none;
    }

}

/* Tech-Yorks wordmark */
.brand {
    gap: 0;
}

.brand-tech,
.brand-rescue {
    display: inline;
}


/* =========================================================
   COMPACT TECH-YORKS FOOTER
   ========================================================= */

.footer-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 42px;

    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr;
    gap: 70px;
}

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

.footer-tagline,
.footer-location {
    max-width: 430px;
}

.footer-tagline {
    margin: 0 0 8px;
    color: #c5cacf;
}

.footer-location {
    margin: 0;
    color: #858c92;
}


.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    width: 100%;
    margin: 0 0 14px;
    padding-bottom: 9px;

    border-bottom: 2px solid #292e32;

    color: white;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin-bottom: -11px;
    background: var(--green);
}

.footer-column a {
    display: block;
    margin: 5px 0;
    color: #aeb4ba;
}

.footer-column a:hover,
.footer-more {
    color: var(--green);
}


.footer-company {
    border-top: 1px solid #252a2e;
    border-bottom: 1px solid #252a2e;
    background: #090b0c;
}

.footer-company-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
}

.footer-company-inner p {
    margin: 5px 0;
}

.footer-company-name {
    color: #9ea5aa;
}

.footer-company-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 10px 0;

    color: #80878c;
    font-size: 0.8rem;
}

.footer-address {
    color: #6f767b;
    font-size: 0.78rem;
}


.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    color: #626a6f;
    font-size: 0.75rem;
}


@media (max-width: 700px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 28px;
        padding: 40px 0 34px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

    .footer-tagline,
    .footer-location {
        font-size: 0.93rem;
    }

    .footer-column a {
        font-size: 0.9rem;
    }

    .footer-company-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px 18px;
    }

    .footer-company-details span:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        font-size: 0.68rem;
    }

}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 100px 0;
    background: #f4f5f2;
    color: #181b1e;
}

.contact-wrap {
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.contact-intro h2 {
    margin: 0 0 20px;

    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.contact-intro p:last-child {
    color: #62696e;
}


.contact-form-card {
    padding: 35px;

    border: 1px solid #d8dcd5;
    border-radius: 20px;

    background: white;

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}


.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;

    font-weight: 800;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #cbd0ca;
    border-radius: 9px;

    background: #fafbf9;
    color: #181b1e;

    font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-dark);

    box-shadow: 0 0 0 3px rgba(168,230,0,0.15);
}

.form-error {
    display: block;
    margin-top: 5px;

    color: #a82626;
    font-size: 0.82rem;
}


.form-alert {
    margin-bottom: 25px;
    padding: 14px 17px;

    border-radius: 9px;

    font-weight: 700;
}

.form-alert.success {
    border: 1px solid #a3cb42;
    background: #eff8dd;
    color: #405b0b;
}


.contact-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}


.honeypot {
    position: absolute;
    left: -10000px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


@media (max-width: 800px) {

    .contact-section {
        padding: 70px 0;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card {
        padding: 25px;
    }

}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 100px 0;
    background: #f4f5f2;
    color: #181b1e;
}

.contact-wrap {
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.contact-intro h2 {
    margin: 0 0 20px;

    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.contact-intro p:last-child {
    color: #62696e;
}


.contact-form-card {
    padding: 35px;

    border: 1px solid #d8dcd5;
    border-radius: 20px;

    background: white;

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}


.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;

    font-weight: 800;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #cbd0ca;
    border-radius: 9px;

    background: #fafbf9;
    color: #181b1e;

    font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-dark);

    box-shadow: 0 0 0 3px rgba(168,230,0,0.15);
}

.form-error {
    display: block;
    margin-top: 5px;

    color: #a82626;
    font-size: 0.82rem;
}


.form-alert {
    margin-bottom: 25px;
    padding: 14px 17px;

    border-radius: 9px;

    font-weight: 700;
}

.form-alert.success {
    border: 1px solid #a3cb42;
    background: #eff8dd;
    color: #405b0b;
}


.contact-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}


.honeypot {
    position: absolute;
    left: -10000px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


@media (max-width: 800px) {

    .contact-section {
        padding: 70px 0;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card {
        padding: 25px;
    }

}


/* =========================================================
   COMPACT BOXED FOOTER
   ========================================================= */

.site-footer {
    background: #0b0d0e;
    border-top: 1px solid #252a2e;
}

.footer-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 18px;
}

.footer-box {
    padding: 22px;

    border: 1px solid #252a2e;
    border-radius: 14px;

    background: #101315;
}

.footer-brand-box p {
    margin: 8px 0 5px;
    color: #b9bec2;
}

.footer-brand-box small {
    color: #777f84;
}

.footer-box h3 {
    margin: 0 0 13px;
    padding-bottom: 8px;

    border-bottom: 1px solid #2c3135;

    color: white;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-box h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 8px;
    margin-bottom: -10px;
    background: var(--green);
}

.footer-box a {
    display: block;
    margin: 6px 0;

    color: #aeb4ba;
    font-size: 0.9rem;
}

.footer-box a:hover,
.footer-box .footer-more {
    color: var(--green);
}


.footer-legal-compact {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 17px 0;

    border-top: 1px solid #202428;

    color: #697176;
    font-size: 0.72rem;
    line-height: 1.55;
}

.footer-legal-compact p {
    margin: 2px 0;
}

.footer-legal-compact strong {
    color: #92999e;
}


.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 12px 0 16px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid #202428;

    color: #555d62;
    font-size: 0.68rem;
}


@media (max-width: 700px) {

    .footer-main {
        padding: 22px 0;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-brand-box {
        grid-column: 1 / -1;
        padding: 18px;
    }

    .footer-brand {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .footer-brand-box p {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .footer-brand-box small {
        display: block;
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .footer-box {
        padding: 16px;
    }

    .footer-box h3 {
        font-size: 0.7rem;
    }

    .footer-box a {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .footer-legal-compact {
        padding: 13px 0;
        font-size: 0.62rem;
        line-height: 1.45;
    }

    .footer-address {
        color: #596065;
    }

    .footer-bottom {
        padding: 10px 0 13px;
        font-size: 0.6rem;
    }

}


/* =========================================================
   MINIMAL TECH-YORKS FOOTER
   ========================================================= */

.site-footer {
    background: #0b0d0e;
    border-top: 1px solid #252a2e;
}

.footer-minimal {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0 24px;
}

.footer-brand-line {
    max-width: 680px;
}

.footer-brand-line .footer-brand {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.footer-brand-line p {
    margin: 0 0 4px;
    color: #aeb4ba;
    font-size: 0.95rem;
}

.footer-brand-line small {
    color: #727a80;
    font-size: 0.78rem;
}

.footer-divider {
    height: 1px;
    margin: 22px 0 18px;
    background: #252a2e;
}

.footer-legal-minimal {
    color: #71797e;
    font-size: 0.74rem;
    line-height: 1.55;
}

.footer-legal-minimal p {
    margin: 3px 0;
}

.footer-legal-minimal strong {
    color: #979ea3;
}

.footer-copyright {
    margin-top: 10px !important;
    color: #5f676c;
}


@media (max-width: 700px) {

    .footer-minimal {
        padding: 24px 0 20px;
    }

    .footer-brand-line .footer-brand {
        font-size: 1.05rem;
    }

    .footer-brand-line p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .footer-brand-line small {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .footer-divider {
        margin: 16px 0 14px;
    }

    .footer-legal-minimal {
        font-size: 0.64rem;
        line-height: 1.45;
    }

}


/* =========================================================
   WEBSITE DESIGN PROMO
   ========================================================= */

.website-promo {
    padding: 45px 0;
    border-top: 1px solid #292e32;
    border-bottom: 1px solid #292e32;
    background:
        linear-gradient(
            110deg,
            rgba(168,230,0,0.08),
            transparent 55%
        ),
        #101315;
}

.website-promo-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.website-promo-inner > div {
    max-width: 700px;
}

.website-promo h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.website-promo p:not(.eyebrow) {
    margin: 0;
    color: #aeb4ba;
}

.website-promo .btn {
    flex: 0 0 auto;
}

@media (max-width: 700px) {

    .website-promo {
        padding: 35px 0;
    }

    .website-promo-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .website-promo .btn {
        width: 100%;
        text-align: center;
    }

}


/* =========================================================
   SMART HOME PROJECT GALLERY
   ========================================================= */

.project-gallery-section {
    padding: 90px 0;
    background: #0d1012;
    border-top: 1px solid #252a2e;
    border-bottom: 1px solid #252a2e;
}

.project-gallery-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.project-shot {
    margin: 0;
    overflow: hidden;

    border: 1px solid #2b3034;
    border-radius: 18px;

    background: #121619;
}

.project-shot-placeholder {
    min-height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle at top,
            rgba(0,255,90,0.10),
            transparent 45%
        ),
        #090c0d;

    color: var(--green);
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-shot figcaption {
    padding: 18px 20px 22px;

    color: #9fa6ab;
    font-size: 0.88rem;
    line-height: 1.55;
}


@media (max-width: 900px) {

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-shot-placeholder {
        min-height: 260px;
    }

}

.project-shot-image {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top;
    background: #090c0d;
}

@media (max-width: 900px) {
    .project-shot-image {
        height: auto;
        max-height: 720px;
        object-fit: contain;
    }
}

/* Smart Home screenshot sizing fix */

.project-shot {
    overflow: hidden;
}

.project-shot-image {
    display: block;

    width: 100%;
    height: auto;

    max-height: 620px;

    object-fit: contain;
    object-position: top center;

    background: #090c0d;
}

@media (max-width: 900px) {

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-shot {
        width: min(100%, 520px);
        margin-left: auto;
        margin-right: auto;
    }

    .project-shot-image {
        width: 100%;
        height: auto;
        max-height: none;

        object-fit: contain;
    }

}

.project-shot {
    padding: 10px;
    background: #111416;
}

.project-shot-image {
    border-radius: 10px;
    border: 1px solid #252a2e;
}

.project-shot figcaption {
    padding: 16px 10px 8px;
}
