:root {
    --primary: #3f3f41;
    --primary-2: #2f2f31;
    --accent: #f58216;
    --accent-dark: #dc6d08;
    --accent-soft: #fff5eb;
    --text: #3f3f41;
    --muted: #6d7075;
    --line: #e7e7e7;
    --surface: #ffffff;
    --surface-soft: #f7f7f7;
    --radius: 16px;
    --shadow: 0 18px 55px rgba(29, 31, 35, 0.10);
    --container: 1440px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 88px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    transition: box-shadow .25s ease, height .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 28px;
}

.site-brand,
.site-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.site-brand img,
.site-brand .custom-logo {
    width: 190px;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    padding: 12px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transition: right .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    right: 0;
}

.header-phone {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(63, 63, 65, .16);
    transition: transform .2s ease, background .2s ease;
}

.header-phone:hover {
    transform: translateY(-2px);
    background: var(--primary-2);
}

.header-phone .icon-small {
    width: 18px;
    height: 18px;
}

.header-phone svg,
.btn svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 25px;
}

.nav-toggle svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
}

.nav-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-close {
    display: block;
}

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f4f4f4;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-office.jpg');
    background-position: center center;
    background-size: cover;
    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 31%, rgba(255,255,255,.46) 52%, rgba(255,255,255,.03) 76%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 72px 0 78px;
}

.hero-content > * {
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    color: var(--accent);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1,
.section-heading h2,
.cta-card h2,
.prose h1 {
    margin: 0;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(52px, 5vw, 78px);
    text-transform: uppercase;
}

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

.hero p {
    margin: 22px 0 0;
    color: #4d4f53;
    font-size: 17px;
    max-width: 590px;
}

.hero .hero-lead {
    margin-top: 28px;
    font-weight: 700;
    color: var(--primary);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

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

.btn > span {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(245, 130, 22, .24);
}

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

.btn-outline {
    background: rgba(255,255,255,.82);
    color: var(--primary);
    border-color: #9a9ca0;
}

.btn-outline:hover {
    background: #fff;
    border-color: var(--primary);
}

.section {
    padding: 92px 0;
}

.section-heading {
    margin-bottom: 46px;
}

.section-heading.center {
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(34px, 3vw, 48px);
    text-transform: uppercase;
}

.section-heading p {
    margin: 18px 0 0;
    color: var(--muted);
    max-width: 600px;
}

.services {
    background: #fff;
}

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

.service-card {
    position: relative;
    min-height: 500px;
    padding: 30px 24px 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(36, 36, 38, .055);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #f3cba6;
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;
    color: var(--accent);
}

.service-icon svg,
.why-icon svg,
.process-icon svg,
.cta-contact svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    min-height: 58px;
    margin: 0 0 14px;
    text-align: center;
    color: var(--primary);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.4;
    color: #56585c;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 900;
}

.why {
    padding: 76px 0;
    background: linear-gradient(180deg, #f6f6f6, #fafafa);
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}

.why .section-heading {
    margin-bottom: 34px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-grid article {
    position: relative;
    text-align: center;
    padding: 10px 38px;
}

.why-grid article + article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: #d5d5d5;
}

.why-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    color: var(--accent);
}

.why-grid h3,
.process-step h3 {
    margin: 0;
    color: var(--primary);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 900;
    text-transform: uppercase;
}

.why-grid p,
.process-step p {
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.process {
    padding-top: 78px;
    padding-bottom: 62px;
}

.process .section-heading {
    margin-bottom: 38px;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 64px 1fr 64px 1fr 64px 1fr;
    align-items: start;
    gap: 10px;
}

.process-step {
    text-align: center;
}

.process-icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    padding: 20px;
    color: var(--accent);
    border: 2px solid #f0ae71;
    border-radius: 50%;
    background: #fff;
}

.process-step > span {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

.process-step p {
    max-width: 235px;
}

.process-arrow {
    width: 38px;
    height: 38px;
    margin: 28px auto 0;
    color: var(--accent);
}

.process-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-wrap {
    padding: 0 0 78px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.35fr .8fr;
    min-height: 260px;
    border-radius: 14px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 16px 45px rgba(0,0,0,.14);
}

.cta-card::after {
    content: "";
    position: absolute;
    inset: 0 0 0 58%;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(63,63,65,.74) 20%, rgba(63,63,65,.50) 100%), url('../images/contact-cleaning.jpg') center/cover no-repeat;
    opacity: .62;
}

.cta-copy,
.cta-contact {
    position: relative;
    z-index: 2;
}

.cta-copy {
    padding: 44px 48px;
}

.cta-card h2 {
    color: #fff;
    font-size: 33px;
    text-transform: uppercase;
}

.cta-copy p {
    margin: 16px 0 18px;
    max-width: 650px;
    color: rgba(255,255,255,.82);
    line-height: 1.55;
}

.cta-copy strong {
    color: #ffb56f;
    font-size: 15px;
}

.cta-contact {
    align-self: center;
    display: grid;
    gap: 13px;
    padding: 34px 42px;
    border-left: 1px solid rgba(255,255,255,.18);
}

.cta-contact > a:not(.btn),
.cta-contact > span {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    font-size: 14px;
    font-style: normal;
}

.cta-contact > a:not(.btn) > span,
.cta-contact > span > i {
    width: 23px;
    height: 23px;
    display: inline-flex;
    color: #ffb56f;
    font-style: normal;
    flex: 0 0 auto;
}

.btn-light {
    margin-top: 7px;
    width: fit-content;
    background: var(--accent);
    color: #fff;
}

.btn-light:hover {
    background: var(--accent-dark);
}

.contact {
    padding-top: 12px;
    padding-bottom: 84px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .85fr);
    gap: 70px;
    align-items: stretch;
}

.contact-copy {
    padding: 20px 0;
}

.contact .section-heading {
    margin-bottom: 28px;
}

.contact .section-heading h2 {
    font-size: 40px;
}

.contact-form {
    display: grid;
    gap: 15px;
}

.contact-form label {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.contact-form label > span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d9dadd;
    border-radius: 7px;
    background: #fff;
    color: var(--primary);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input,
.contact-form select {
    height: 48px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    padding: 12px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245,130,22,.12);
}

.contact-form .btn {
    margin-left: 191px;
    width: fit-content;
    border: 0;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-notice {
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.form-notice.success {
    color: #2c5e37;
    background: #eaf7ed;
    border: 1px solid #c8e8ce;
}

.form-notice.error {
    color: #8a3434;
    background: #fff0f0;
    border: 1px solid #efcccc;
}

.contact-image {
    min-height: 560px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer {
    background: var(--primary-2);
    color: #fff;
}

.footer-inner {
    min-height: 112px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand img,
.footer-brand .custom-logo {
    width: 135px;
    max-height: 52px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand span {
    display: none;
    font-size: 11px;
    color: rgba(255,255,255,.64);
}

.copyright {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    text-align: center;
}

.footer-links {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    color: rgba(255,255,255,.74);
}

.footer-links a:hover {
    color: #fff;
}

.default-content {
    min-height: 60vh;
    padding: 90px 0;
}

.prose {
    max-width: 900px;
}

.prose h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.prose p,
.prose li {
    color: #5d5f63;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: 190px 1fr auto;
        gap: 18px;
    }

    .main-nav {
        gap: 22px;
    }

    .header-phone {
        padding: 0 14px;
    }

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

    .service-card {
        min-height: auto;
    }

    .process-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .process-arrow {
        display: none;
    }
}

@media (max-width: 960px) {
    .container {
        width: min(var(--container), calc(100% - 36px));
    }

    .site-header {
        height: 76px;
    }

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

    .site-brand img,
    .site-brand .custom-logo {
        width: 150px;
        max-height: 56px;
    }

    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        padding: 34px 28px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        background: #fff;
        font-size: 15px;
        box-shadow: 0 24px 35px rgba(0,0,0,.08);
    }

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

    .main-nav a {
        padding: 18px 6px;
        border-bottom: 1px solid var(--line);
    }

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

    .nav-toggle {
        display: inline-flex;
    }

    .header-phone span:last-child {
        display: none;
    }

    .header-phone {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 8px;
    }

    .hero {
        min-height: 610px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 56%, rgba(255,255,255,.20) 100%);
    }

    .hero-content > * {
        max-width: 580px;
    }

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

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }

    .why-grid article:nth-child(3)::before {
        display: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px 30px;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-card::after {
        inset: 50% 0 0 0;
        opacity: .14;
    }

    .cta-contact {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.16);
    }

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

    .contact-image {
        min-height: 420px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 28px 0;
        gap: 18px;
    }

    .footer-links {
        justify-self: auto;
    }
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 78px;
    }

    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .site-brand img,
    .site-brand .custom-logo {
        width: 132px;
    }

    .hero {
        min-height: 670px;
        align-items: flex-end;
    }

    .hero-media {
        background-position: 62% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.91) 30%, #fff 72%);
    }

    .hero-content {
        padding: 72px 0 52px;
    }

    .hero h1 {
        font-size: clamp(40px, 13vw, 56px);
    }

    .hero p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .why-grid article {
        padding: 16px 12px 34px;
    }

    .why-grid article + article::before {
        top: 0;
        left: 18%;
        right: 18%;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .why-grid article:nth-child(3)::before {
        display: block;
    }

    .process-grid {
        gap: 46px;
    }

    .process-step p {
        max-width: 330px;
    }

    .cta-copy,
    .cta-contact {
        padding: 30px 24px;
    }

    .cta-card h2 {
        font-size: 28px;
    }

    .contact .section-heading h2 {
        font-size: 32px;
    }

    .contact-form label {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .contact-form .btn {
        margin-left: 0;
        width: 100%;
    }

    .contact-image {
        min-height: 340px;
    }

    .copyright {
        max-width: 290px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

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