/*
 * CARMONA FACILITY MAINTENANCE
 * Organized stylesheet — formatting only; original rules and order preserved.
 */

/* ============================================================
   01. GLOBAL VARIABLES & BASE STYLES
   ============================================================ */

:root {
    --navy: #0E1B35;
    --deep: #0d1830;
    --brand: #e52535;
    --ink: #0E1B35;
    --muted: #68758b;
    --light: #f3f5f7;
    --border: #dfe4ea;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    background: white;
}

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

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

.container {
    width: min(1160px,calc(100% - 40px));
    margin: auto;
}

.wide {
    width: min(1440px,calc(100% - 40px));
    margin: auto;
}

.display {
    font-family: Arial Black,Arial,sans-serif;
    text-transform: uppercase;
    letter-spacing: -.035em;
}

/* ============================================================
   02. HEADER & NAVIGATION
   ============================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    height: 52px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    color: rgba(255,255,255,.74);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.nav a:hover,.nav a.active {
    color: white;
}

.nav-group {
    position: relative;
}

.dropdown {
    position: absolute;
    display: none;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    background: var(--navy);
    border-top: 2px solid var(--brand);
    padding: 8px;
    box-shadow: 0 14px 35px rgba(0,0,0,.28);
}

.nav-group:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 11px 12px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    background: var(--brand);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
}

.cta:hover {
    filter: brightness(1.08);
}

.outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,.5);
}

.mobile-btn {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 26px;
}

.mobile-menu {
    display: none;
    background: var(--navy);
    padding: 0 20px 20px;
}

.mobile-menu a {
    display: block;
    color: rgba(255,255,255,.82);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 13px 0;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .1em;
}

.mobile-menu .cta {
    display: inline-flex;
    margin-top: 15px;
    padding: 0 18px;
    border: 0;
}

/* ============================================================
   03. HOMEPAGE HERO
   ============================================================ */

.hero {
    min-height: calc(100vh - 76px);
    position: relative;
    display: flex;
    align-items: center;
    background: var(--deep);
    overflow: hidden;
}

.hero-bg,.pagehero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(13,24,48,.98) 0%,rgba(13,24,48,.78) 48%,rgba(13,24,48,.05) 100%);
}

.hero-content {
    position: relative;
    padding: 70px 0;
}

.hero h1 {
    font-size: clamp(42px,6vw,74px);
    line-height: .92;
    color: white;
    margin: 0;
    max-width: 850px;
}

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

.hero p {
    max-width: 530px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    font-size: 20px;
    margin: 26px 0 0;
}

.btnrow {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ============================================================
   04. TRUST SECTION
   ============================================================ */

.trust {
    padding: 60px 0;
    text-align: center;
}

.stars {
    color: var(--brand);
    letter-spacing: 5px;
    font-size: 50px;
}

.trust h2 {
    font-size: 24px;
    margin: 10px 0;
}

.trustlinks {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    te-transform: uppercase;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .14em;
    color: #60708a;
}

.trustlinks span+span:before {
    content: "•";
    color: var(--brand);
    margin-right: 18px;
}

/* =========================================
  05.  HOMEPAGE - FEATURED SERVICE CARDS
========================================= */

.homepage-services {
    padding: 80px 0;
    background: #f3f5f7;
}

/* Section heading */

.services-heading {
    text-align: center;
    margin-bottom: 48px;
}

.services-eyebrow {
    display: block;
    color: #e52535;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .2em;
    margin-bottom: 12px;
}

.services-heading h2 {
    color: #0E1B35;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    margin: 0;
}

.services-heading p {
    color: #68758b;
    font-size: 16px;
    line-height: 1.6;
    margin: 18px auto 0;
    max-width: 750px;
}

/* Three-column card layout */

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Individual cards */

.service-feature-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #0E1B35;
    color: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(13,24,48,.15);
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.service-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(13,24,48,.22);
}

/* Taller photo areas */

.service-feature-photo {
    height: 320px;
    overflow: hidden;
    background: #172840;
}

.service-feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Individual photo positioning */

.service-feature-photo .floor-care-photo {
    object-position: center 45%;
}

.service-feature-photo .janitorial-photo {
    object-position: center 45%;
}

.service-feature-photo .facility-photo {
    object-position: center 55%;
}

/* Navy panel with diagonal red accent */

.service-feature-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0E1B35;
    padding: 28px 28px 32px;
}

.service-feature-content::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -32px;
    height: 34px;
    background: #e52535;
    clip-path: polygon(0 88%, 100% 0, 100% 100%, 0 100%);
}

.service-feature-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -27px;
    height: 30px;
    background: #0E1B35;
    clip-path: polygon(0 95%, 100% 0, 100% 100%, 0 100%);
}

.service-feature-content h3 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: clamp(23px, 2.4vw, 32px);
    line-height: 1.05;
    margin: 0 0 22px;
    letter-spacing: -.025em;
}

/* Service checklists */

.service-feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.service-feature-content li {
    position: relative;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.5;
    padding-left: 29px;
    margin-bottom: 13px;
}

.service-feature-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    background: #e52535;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

/* Learn More buttons */

.service-feature-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 12px;
    min-height: 45px;
    margin-top: auto;
    padding: 0 18px;
    border: 2px solid white;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    transition: background .2s ease,
                border-color .2s ease;
}

.service-feature-button span {
    color: #e52535;
    font-size: 21px;
}

.service-feature-button:hover {
    background: #e52535;
    border-color: #e52535;
}

.service-feature-button:hover span {
    color: white;
}

/* =========================================
   HOMEPAGE SERVICES - TABLET
========================================= */

@media (max-width: 900px) {
    .services-card-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
        gap: 28px;
    }

    .service-feature-photo {
        height: 350px;
    }

    .service-feature-content h3 {
        font-size: 30px;
    }
}

/* =========================================
   HOMEPAGE SERVICES - MOBILE
========================================= */

@media (max-width: 600px) {
    .homepage-services {
        padding: 55px 0;
    }

    .services-heading {
        margin-bottom: 32px;
    }

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

    .services-heading p {
        font-size: 15px;
    }

    .service-feature-photo {
        height: 320px;
    }

    .service-feature-content {
        padding: 26px 24px 30px;
    }

    .service-feature-content h3 {
        font-size: 28px;
    }

    .service-feature-content li {
        font-size: 14px;
    }
}

/* ============================================================
   06. SPLIT LAYOUT & BEFORE/AFTER
   ============================================================ */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.split .copy {
    padding: 70px max(40px,8vw);
}

.split img {
    height: 100%;
    min-height: 370px;
    object-fit: cover;
    width: 100%;
}

.bigtitle {
    font-size: clamp(30px,4vw,45px);
    line-height: 1.02;
    margin: 0;
}

.darkchecks li {
    color: rgba(255,255,255,.78);
}

.ba {
    position: relative;
    height: 520px;
    overflow: hidden;
    max-width: 1000px;
    margin: auto;
}

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

.ba .after {
    clip-path: inset(0 50% 0 0);
}

.ba .line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: white;
    box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}

.ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

/* ============================================================
   07. INDUSTRIES & TESTIMONIALS
   ============================================================ */

.industries {
    display: grid;
    grid-template-columns: repeat(6,1fr);
}

.industry {
    text-align: center;
    padding: 26px 8px;
    border-right: 1px solid var(--border);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.industry:last-child {
    border: 0;
}

.industry b {
    display: block;
    font-size: 31px;
    margin-bottom: 10px;
}

.quotes {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.quote {
    background: white;
    padding: 28px;
}

.quote p {
    color: #66758b;
    line-height: 1.7;
    font-size: 14px;
}

.quote figcaption {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.6;
}

/* ============================================================
   08. CALL TO ACTION & FOOTER
   ============================================================ */

.ctaband {
    padding: 50px 0;
}

.cta-inner {
    background: var(--navy);
    color: white;
    padding: 30px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cta-inner h2 {
    margin: 0;
    font-size: 30px;
}

.cta-inner p {
    margin: 7px 0 0;
    color: rgba(255,255,255,.65);
    font-size: 14px;
}

.footer {
    background: var(--deep);
    color: white;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer p,.footer li {
    color: rgba(255,255,255,.56);
    font-size: 14px;
    line-height: 1.6;
}

.footer h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.footer li {
    margin: 8px 0;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px;
    text-align: center;
    color: rgba(255,255,255,.38);
    font-size: 12px;
}

/* ============================================================
   09. INNER PAGE HERO & SERVICES
   ============================================================ */

.pagehero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    padding: 90px 0;
}

.pagehero-bg {
    opacity: .26;
}

.pagehero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(13,24,48,.98),rgba(13,24,48,.72),transparent);
}

.pagehero .container {
    position: relative;
    z-index: 2;
}

.pagehero h1 {
    font-size: clamp(38px,5vw,62px);
    line-height: .96;
    color: white;
    margin: 0;
    max-width: 780px;
}

.pagehero p {
    color: rgba(255,255,255,.66);
    max-width: 600px;
    line-height: 1.6;
}

.service-block {
    display: grid;
    grid-template-columns: 38% 1fr;
    background: white;
    margin-bottom: 24px;
}

.service-block img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.service-copy {
    padding: 34px;
}

.service-copy h2 {
    margin: 0;
    text-transform: uppercase;
}

.checkgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 38%;
}

.service-list {
    padding: 60px max(25px,7vw);
}

.benefits {
    padding: 60px max(25px,6vw);
    background: var(--navy);
    color: white;
}

.lineitem {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.diamond {
    width: 12px;
    height: 12px;
    background: var(--brand);
    transform: rotate(45deg);
    margin-top: 6px;
    flex: 0 0 auto;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.benefit .round {
    border: 1px solid rgba(255,255,255,.2);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--brand);
    font-size: 20px;
}

/* ============================================================
   10. ABOUT PAGE
   ============================================================ */

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--deep);
}

.about-hero .copy {
    padding: 80px max(25px,7vw);
    color: white;
}

.about-hero img {
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.pillars,.values {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 35px;
}

.mini {
    text-align: center;
}

.mini b.iconish {
    display: block;
    font-size: 30px;
    margin-bottom: 15px;
}

.mini h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.mini p {
    font-size: 14px;
    color: #66758b;
    line-height: 1.5;
}

/* ============================================================
   11. GALLERY & PRICING
   ============================================================ */

.galleryfilters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter {
    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.76);
    min-height: 40px;
    padding: 0 18px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    cursor: pointer;
}

.filter.active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

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

.gallery figure {
    margin: 0;
}

.gallery img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.gallery figcaption {
    margin-top: 10px;
    color: rgba(255,255,255,.8);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 45px;
}

.plan {
    background: white;
    color: var(--ink);
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan.pop {
    border-top: 4px solid var(--brand);
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.popular {
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    background: var(--brand);
    color: white;
    text-align: center;
    padding: 7px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

.price {
    font-size: 52px;
    font-weight: 900;
    margin: 20px 0;
}

.price small {
    font-size: 14px;
    color: #7b8799;
    font-weight: 400;
}

.plan .cta {
    margin-top: auto;
}

/* ============================================================
   12. CONTACT FORM & OTHER
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    line-height: 1.7;
}

.contact-info a {
    color: white;
}

.formbox {
    background: white;
    padding: 34px;
    color: var(--ink);
}

.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field.full {
    grid-column: 1/-1;
}

.field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 900;
    color: #65738a;
}

.field input,.field select,.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    padding: 13px;
    margin-top: 8px;
    font: inherit;
    color: var(--ink);
    background: white;
}

.field textarea {
    resize: vertical;
}

.send {
    grid-column: 1/-1;
    border: 0;
    cursor: pointer;
}

.note {
    font-size: 12px;
    color: #68758b;
    margin-top: 12px;
}

.404 {
    text-align: center;
    padding: 100px 20px;
}

/* ============================================================
   13. TABLET RESPONSIVE STYLES (900px)
   ============================================================ */

@media(max-width:900px) {

    .nav,.header .desktop-cta {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .cards3,.quotes,.plans {
        grid-template-columns: 1fr;
    }

    .split,.about-hero,.two-col,.contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .pillars,.values {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .service-block img {
        min-height: 240px;
    }

    .ba {
        height: 400px;
    }

    .about-hero img {
        min-height: 300px;
    }
}

/* ============================================================
   14. MOBILE RESPONSIVE STYLES (600px)
   ============================================================ */

@media(max-width:600px) {

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

    .header-inner {
        min-height: 68px;
    }

    .logo img {
        height: 46px;
    }

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-overlay {
        background: linear-gradient(90deg,rgba(13,24,48,.96),rgba(13,24,48,.76));
    }

    .section {
        padding: 48px 0;
    }

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

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

    .footer-grid,.pillars,.values,.formgrid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .send {
        grid-column: auto;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

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

    .ba {
        height: 310px;
    }

    .pagehero {
        padding: 70px 0;
    }

    .about-hero .copy {
        padding: 60px 22px;
    }

    .service-copy,.formbox {
        padding: 24px;
    }
}

/* ============================================================
   15. EXISTING NAVIGATION COLOUR OVERRIDE
   ============================================================ */

/* Carmona navigation colour override */

.header,
.site-header,
.mobile-menu {
    background-color: #0E1B35 !important;
}
