:root {
    --blue: #065692;
    --bright: #0697fb;
    --navy: #051528;
    --slate: #7e8690;
    --light: #f6f7f8;
    --white: #ffffff;
    --border: #dfe5ea;
    --shadow: 0 18px 50px rgba(5, 21, 40, .10);
    --radius: 18px;
    --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--navy);
    background: #fff;
    line-height: 1.6;
}

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

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

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

/* Header: the logo itself has NO background, pill, filter, or shadow.
   The light glass navigation bar provides the contrast instead. */
.site-header {
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 0;
    background: #f6f7f8 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(5, 21, 40, .10);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Explicitly reset every possible source of a white logo box. */
.site-header .brand,
.site-header .header-logo-link {
    display: block !important;
    flex: 0 0 auto;
    width: fit-content;
    position: relative;
    z-index: 1001;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
}

.site-header .brand img,
.site-header .header-logo {
    width: 205px !important;
    height: auto !important;
    min-width: 205px;
    display: block !important;
    position: relative;
    z-index: 1002;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--navy);
    font-size: .92rem;
    font-weight: 700;
}

.main-nav a {
    opacity: .88;
    transition: .2s ease;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--blue);
}

.nav-cta {
    padding: 11px 17px;
    color: var(--blue) !important;
    border: 1px solid rgba(6, 86, 146, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
}

.nav-cta:hover {
    background: rgba(6, 151, 251, .10);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 28px;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 850px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    color: #fff;
    background: url("../assets/heropic.jpg") center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,21,40,.94) 0%, rgba(5,21,40,.80) 48%, rgba(5,21,40,.35) 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.hero-copy { padding: 50px 0; }

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #8fd5ff;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .76rem;
    font-weight: 800;
}

.eyebrow.dark { color: var(--bright); }

h1, h2, h3, p { margin-top: 0; }

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.055em;
}

h1 span { color: #8fd5ff; }

.hero-copy > p {
    max-width: 640px;
    font-size: 1.16rem;
    color: #d9e5ef;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 13px 21px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--bright), var(--blue));
    box-shadow: 0 10px 24px rgba(6,151,251,.25);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.06);
}

.btn-full { width: 100%; }

.card {
    background: rgba(255,255,255,.97);
    color: var(--navy);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-form { padding: 30px; }

.form-kicker {
    color: var(--blue);
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.form-heading h2 {
    margin: 5px 0 3px;
    font-size: 1.7rem;
    letter-spacing: -.03em;
}

.form-heading p {
    color: #66717c;
    margin-bottom: 20px;
}

form { display: grid; gap: 13px; }

label {
    display: grid;
    gap: 6px;
    color: #46525e;
    font-size: .78rem;
    font-weight: 750;
}

input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 12px 13px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--bright);
    box-shadow: 0 0 0 3px rgba(6,151,251,.12);
}

textarea { resize: vertical; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.alert {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: .84rem;
    margin-bottom: 12px;
}

.alert.success { background: #e9f8ef; color: #176c3a; }
.alert.error { background: #fff0f0; color: #a02a2a; }

.section { padding: 110px 0; }

.intro { background: var(--light); }

.intro-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
}

.intro h2,
.section-heading h2,
.split-copy h2,
.quote-copy h2 {
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -.05em;
    margin-bottom: 22px;
}

.lead {
    font-size: 1.13rem;
    color: #4f5b66;
}

.feature-list {
    margin-top: 32px;
    display: grid;
    gap: 18px;
}

.feature-list div {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid #d5dde4;
}

.feature-list strong { color: var(--blue); }
.feature-list span { color: #606b75; }

.services { background: #fff; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    padding: 27px;
    border: 1px solid #e2e7eb;
    border-radius: 15px;
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #9ccff0;
    box-shadow: 0 15px 35px rgba(5,21,40,.08);
}

.icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #eaf6ff;
    color: var(--blue);
}

.icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.service-card p {
    margin: 0;
    color: #68737d;
    font-size: .92rem;
}

.split { background: var(--light); }

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.split-image {
    min-height: 540px;
    border-radius: 20px;
    background: url("../assets/image1.jpg") center/cover;
    box-shadow: var(--shadow);
}

.split-copy p {
    color: #5e6872;
    font-size: 1.05rem;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bright);
    font-weight: 900;
}

.quote {
    color: #fff;
    background: var(--navy);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 80px;
    align-items: center;
}

.quote-copy h2 { color: #fff; }

.quote-copy p {
    max-width: 580px;
    color: #b9c8d5;
    font-size: 1.08rem;
}

.contact-points {
    display: grid;
    gap: 12px;
    margin-top: 35px;
    color: #dce7ef;
}

.contact-points span {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-points b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(6,151,251,.16);
    color: #8fd5ff;
    font-size: .75rem;
}

.quote-form { padding: 32px; }

.quote-form h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
}

.footer {
    padding: 45px 0 22px;
    background: #fff;
    border-top: 1px solid #e3e7ea;
}

.footer-grid {
    display: grid;
    grid-template-columns: 190px 1fr auto;
    gap: 25px;
    align-items: center;
}

.footer-logo { width: 170px; }

.footer-grid div {
    display: grid;
    gap: 2px;
}

.footer-grid div span {
    color: #727d87;
    font-size: .9rem;
}

.footer-grid > a {
    color: var(--blue);
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e7eaed;
    color: #8a9299;
    font-size: .76rem;
}

@media (max-width: 1000px) {
    .hero-grid, .quote-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero {
        min-height: auto;
        padding-top: 130px;
    }

    .hero-copy { padding: 25px 0 0; }

    .hero-form { max-width: 650px; }

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

    .intro-grid, .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-image { min-height: 400px; }
}

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

    .site-header { padding: 11px 0; }

    .site-header .brand img,
    .site-header .header-logo {
        width: 175px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 14px;
        right: 14px;
        padding: 18px;
        border-radius: 14px;
        background: var(--navy);
        color: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        box-shadow: var(--shadow);
    }

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

    .main-nav a { padding: 11px; }

    .nav-cta {
        text-align: center;
        color: #fff !important;
        border-color: rgba(143, 213, 255, .65);
        background: rgba(6,151,251,.12);
    }

    .hero {
        padding: 105px 0 55px;
    }

    .hero-overlay {
        background: rgba(5,21,40,.86);
    }

    h1 { font-size: clamp(2.65rem, 14vw, 4rem); }

    .hero-copy > p { font-size: 1rem; }

    .hero-actions { display: grid; }

    .hero-form, .quote-form { padding: 22px; }

    .field-row { grid-template-columns: 1fr; }

    .section { padding: 75px 0; }

    .feature-list div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

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

    .split-image { min-height: 300px; }

}
/* Hidden anti-spam field */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #051528;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.header-phone:hover {
    opacity: 0.75;
}

.phone-icon {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .header-phone {
        font-size: 0.9rem;
    }

    .header-phone .phone-icon {
        font-size: 1rem;
    }
}

/* =========================
   Rowkor Solutions Footer
   ========================= */

.site-footer {
    width: 100%;
    margin: 0;
    background: #051528;
    color: #f6f7f8;
}

.footer-container {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 60px 0 45px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    max-width: 390px;
}

.site-footer .footer-logo {
    width: 210px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 22px;
}

.footer-tagline {
    margin: 0;
    color: #cbd5df;
    font-size: .95rem;
    line-height: 1.7;
}

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

.footer-column h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 11px;
    padding: 0;
    color: #cbd5df;
    text-decoration: none;
    line-height: 1.5;
    transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover {
    color: #0697fb;
    transform: translateX(2px);
}

.footer-contact {
    gap: 8px;
    font-weight: 600;
}

.footer-quote {
    margin-top: 10px !important;
    color: #fff !important;
    font-weight: 700;
}

.footer-bottom {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 20px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b0;
    font-size: .82rem;
    line-height: 1.5;
}

/* Footer tablet/mobile */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1.3fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .footer-container {
        width: min(100% - 44px, 600px);
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 45px 0 35px;
    }

    .site-footer .footer-logo {
        width: 190px;
    }

    .footer-column h3 {
        margin-bottom: 14px;
    }

    .footer-column a {
        padding: 3px 0;
        margin-bottom: 7px;
    }

    .footer-bottom {
        width: min(100% - 44px, 600px);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 25px;
        gap: 7px;
    }
}
