/* =========================
   BASE
========================= */

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 70px;
    font-weight: 600;
}


/* =========================
   NAV
========================= */

.site-nav {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 30px;
}

    .site-nav a {
        color: white;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 4px;
    }

        .site-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0%;
            height: 2px;
            background: #2f8cff;
            transition: width 0.25s ease;
        }

        .site-nav a:hover::after,
        .site-nav a.active::after {
            width: 100%;
        }

body.inner .site-nav {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

    body.inner .site-nav a {
        color: #222;
    }

.nav-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
    z-index: 6;
}

.nav-links {
    display: flex;
    gap: 30px;
}

body.home .nav-links,
body.inner .nav-links {
    background: transparent;
    box-shadow: none;
}

    body.home .nav-links a {
        color: white;
    }

    body.inner .nav-links a {
        color: #222;
    }

body.home .nav-toggle {
    color: white;
}

body.inner .nav-toggle {
    color: #222;
}


/* =========================
   HERO
========================= */

.hero {
    height: 80vh;
    width: 100%;
    background: url('/images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.4));
        z-index: 1;
    }

.hero-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 250px;
    height: auto;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1100px;
    width: 100%;
    padding: 0 40px;
}

.hero-stagger {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    line-height: 1.1;
    margin: 0;
}

    .hero-title .highlight {
        color: #2f8cff;
    }

.hero-right p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-right .btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2f8cff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 80px 10%;
}

    .section.dark {
        background: #0f1720;
        color: white;
        text-align: center;
    }

        .section.dark h2 {
            margin-bottom: 40px;
        }

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7c8f;
}


/* =========================
   SPLIT SECTIONS
========================= */

.split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

    .split.reverse {
        grid-template-columns: 1fr 1.2fr;
    }

        .split.reverse .split-image {
            order: -1;
        }

.split-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.split-text p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.split-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}


/* =========================
   ABOUT
========================= */

.about-split {
    background: #f7f8fa;
}

.about-text h2 {
    margin-bottom: 20px;
    max-width: 520px;
}

.about-text p {
    max-width: 600px;
}

.about-image-card {
    position: relative;
    height: 350px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.about-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.about-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}

.about-image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
    font-size: 14px;
    font-weight: 600;
}


/* =========================
   GRID AND CARDS
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

.section.dark .card {
    background: #1b2530;
    color: white;
}


/* =========================
   IMAGE BANNER
========================= */

.image-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .banner-overlay h2 {
        color: white;
        font-size: 28px;
    }


/* =========================
   FEATURES
========================= */

.feature-list {
    margin-top: 15px;
    padding-left: 20px;
}

    .feature-list li {
        margin-bottom: 8px;
    }


/* =========================
   MAINTENANCE ENHANCED
========================= */

.maintenance-enhanced .lead {
    font-size: 17px;
    color: #444;
    margin-bottom: 20px;
}

.maintenance-enhanced .feature-list {
    list-style: none;
    padding-left: 0;
}

    .maintenance-enhanced .feature-list li {
        position: relative;
        padding-left: 22px;
    }

        .maintenance-enhanced .feature-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 7px;
            width: 8px;
            height: 8px;
            background: #2f8cff;
            border-radius: 50%;
        }


/* =========================
   ADDITIONAL SERVICES
========================= */

.additional-enhanced {
    background: #f7f8fa;
    text-align: center;
}

    .additional-enhanced .container {
        max-width: 1300px;
    }

    .additional-enhanced .enhanced-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    .additional-enhanced .enhanced-card {
        border: 1px solid #e5e7eb;
        box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    }


/* =========================
   CTA
========================= */

.cta {
    background: #0f1720;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

    .cta .btn {
        display: inline-block;
        margin-top: 20px;
        padding: 12px 25px;
        background: #2f8cff;
        color: white;
        border-radius: 5px;
        text-decoration: none;
    }


/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #aaa;
}


/* =========================
   PERSONNEL PAGE
========================= */

.personnel-page {
    padding: 80px 20px;
    background: #f9fafb;
}

.person-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
    padding-bottom: 70px;
    border-bottom: 1px solid #e5e7eb;
}

    .person-row:last-child {
        border-bottom: none;
    }

    .person-row.reverse {
        grid-template-columns: 1fr 260px;
    }

        .person-row.reverse .person-image {
            order: 2;
        }

        .person-row.reverse .person-content {
            order: 1;
        }

.person-image {
    display: flex;
    justify-content: center;
}

    .person-image img {
        width: 240px;
        height: 300px;
        object-fit: cover;
        object-position: center top;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    }

.person-content {
    max-width: 600px;
}

    .person-content h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .person-content .role {
        color: #007bff;
        font-weight: 600;
        margin-bottom: 15px;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1.4px;
    }

    .person-content p {
        color: #4b5563;
        line-height: 1.75;
        font-size: 15px;
    }


/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    padding: 100px 20px;
    background: #f5f7fa;
}

    .contact-page .container {
        max-width: 1000px;
    }

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.contact-details {
    padding-top: 10px;
}

    .contact-details h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

.contact-address {
    line-height: 1.7;
    margin-bottom: 30px;
    color: #444;
}

.contact-info {
    margin-bottom: 30px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

    .contact-info p {
        margin: 10px 0;
        font-size: 15px;
    }

    .contact-info strong {
        display: inline-block;
        width: 75px;
        color: #111;
    }

.contact-note {
    margin-top: 25px;
    color: #555;
    line-height: 1.7;
    max-width: 380px;
    font-size: 14px;
}

.contact-form-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

    .contact-form-card h2 {
        margin-bottom: 25px;
        font-size: 20px;
        font-weight: 600;
    }

.contact-form {
    max-width: 100%;
}

    .contact-form .form-row {
        margin-bottom: 18px;
    }

    .contact-form input,
    .contact-form textarea {
        width: calc(100% + 2px);
        margin-left: -1px;
        padding: 14px 16px;
        border-radius: 8px;
        border: 1px solid #dcdfe4;
        font-size: 14px;
        font-family: inherit;
        background: #fafafa;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }

        .contact-form input:hover,
        .contact-form textarea:hover {
            border-color: #c9ced6;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #2f8cff;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(47,140,255,0.12);
        }

    .contact-form textarea {
        resize: vertical;
        min-height: 120px;
    }

    .contact-form button {
        width: 100%;
        padding: 15px;
        background: linear-gradient(135deg, #2f8cff, #1f6fe0);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.3px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .contact-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(47,140,255,0.3);
        }

        .contact-form button:active {
            transform: translateY(0);
            box-shadow: none;
        }


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .section {
        padding: 60px 20px;
    }

    .hero {
        height: auto;
        padding: 120px 0 80px;
    }

    .hero-logo {
        width: 140px;
        left: 20px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-stagger {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 34px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 20px;
        border-radius: 10px;
        flex-direction: column;
        gap: 15px;
        display: none;
    }

        .nav-links a {
            font-size: 14px;
        }

        .nav-links.active {
            display: flex;
        }

    body.home .nav-links.active {
        background: rgba(0,0,0,0.9);
    }

        body.home .nav-links.active a {
            color: white;
        }

    body.inner .nav-links.active {
        background: white;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

        body.inner .nav-links.active a {
            color: #222;
        }

    .about-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-card {
        width: 100%;
        height: 260px;
    }

    section.maintenance-enhanced {
        display: flex;
        flex-direction: column;
    }

        section.maintenance-enhanced .split-image {
            order: 0;
            width: 100%;
            height: 220px;
            margin-bottom: 20px;
        }

        section.maintenance-enhanced .split-text {
            order: 1;
            width: 100%;
        }

    .split-image {
        height: 250px;
    }

    .image-banner {
        height: 220px;
    }

    .additional-enhanced .enhanced-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-note {
        max-width: 100%;
    }

    .person-row {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        padding-bottom: 50px;
        margin-bottom: 50px;
    }

        .person-row.reverse {
            grid-template-columns: 1fr;
        }

            .person-row.reverse .person-image,
            .person-row.reverse .person-content {
                order: unset;
            }

    .person-image img {
        width: 200px;
        height: 260px;
    }

    .person-content {
        max-width: 100%;
        margin: 0 auto;
    }

        .person-content h2 {
            font-size: 22px;
        }

        .person-content p {
            font-size: 14px;
            line-height: 1.7;
        }

        .person-content .role {
            margin-bottom: 12px;
        }
}

@media (max-width: 600px) {

    .hero-title {
        font-size: 28px;
    }

    .hero-right .btn,
    .cta .btn {
        width: 100%;
        text-align: center;
    }
}
