/* Base reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #0b1220;
    background-color: #ffffff;
}

/* Layout wrapper */
.om-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.om-main {
    flex: 1 0 auto;
}

/* Container */
.om-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header shell and top bar */
.om-header-shell {
    position: sticky;
    top: 0;
    z-index: 60;
    background-color: #ffffff;
}

/* Top bar */
.om-topbar {
    background-color: #020617;
    color: #e5e7eb;
    font-size: 1rem;
}

.om-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.45rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.om-topbar-tagline {
    color: #e5e7eb;
}

.om-topbar-center {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.om-topbar-social {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.95rem;
    font-weight: 600;
}

.om-topbar-social:hover {
    border-color: #93c5fd;
    color: #93c5fd;
}

.om-topbar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.om-topbar-contact-label {
    font-weight: 500;
}

.om-topbar-contact-link {
    color: #e5e7eb;
    text-decoration: none;
}

.om-topbar-contact-link:hover {
    color: #93c5fd;
}

.om-topbar-separator {
    color: #6b7280;
}

/* Main header and nav */
.om-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.om-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.5rem;
    position: relative;
}

.om-header-left {
    flex-shrink: 0;
}

.om-logo-link {
    display: block;
    line-height: 0;
}

.om-logo-img {
    display: block;
    height: auto;
    max-width: 250px;
    max-height: 90px;
}

/* Desktop nav */
.om-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    position: relative;
}

.om-nav-list {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.om-nav-item {
    position: relative;
}

.om-nav-link {
    text-decoration: none;
    color: #111827;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    font-weight: 500;
    text-transform: uppercase;
}

.om-nav-link:hover {
    color: #1d4ed8;
}

.om-nav-link.is-active {
    border-color: #1d4ed8;
    color: #1d4ed8;
}

/* Services megamenu */
.om-nav-item-has-children {
    position: static;
}

.om-nav-link-has-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font: inherit;
}

.om-megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    padding: 1.75rem 2rem;
    width: min(1100px, 100vw - 2.5rem);
    display: none;
}

.om-megamenu-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 1.5rem;
}

.om-megamenu-title {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.om-megamenu-link {
    display: block;
    color: #111827;
    text-decoration: none;
    padding: 0.3rem 0;
}

.om-megamenu-link:hover {
    color: #1d4ed8;
}

@media (min-width: 900px) {
    .om-nav-item-has-children:hover .om-megamenu,
    .om-nav-item-has-children:focus-within .om-megamenu {
        display: block;
    }
}

/* Header CTA button */
.om-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d4ed8, #06b6d4);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
}

.om-nav-cta:hover {
    opacity: 0.92;
}

/* Mobile nav toggle */
.om-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
}

.om-nav-toggle-bar {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background-color: #111827;
}

/* Hero section */
.om-hero {
    position: relative;
    padding: 4.5rem 1.5rem 4.5rem;
    background-image:
        linear-gradient(115deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.78)),
        url("/assets/images/hero-background-01.jpg");
    background-size: cover;
    background-position: center;
    color: #f9fafb;
}

.om-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    justify-items: flex-start;
    min-height: 70vh;
}

.om-hero-copy {
    max-width: 40rem;
}

.om-hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #93c5fd;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

/* Hero pills */
.om-hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.om-hero-pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background-color: rgba(15, 23, 42, 0.6);
    color: #e5e7eb;
    font-weight: 500;
    font-size: 1rem;
}

.om-hero-title {
    font-size: clamp(2.6rem, 3vw + 1.4rem, 3.6rem);
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
    font-weight: 700;
}

.om-hero-text {
    color: #e5e7eb;
    max-width: 36rem;
    margin-bottom: 1.9rem;
}

.om-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Hero quiz */
.om-hero-quiz {
    width: 100%;
    max-width: 420px;
    justify-self: flex-end;
}

.om-quiz-card {
    background-color: rgba(15, 23, 42, 0.9);
    border-radius: 1.25rem;
    padding: 1.6rem 1.7rem 1.7rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 22px 60px rgba(6, 15, 33, 0.7);
    backdrop-filter: blur(16px);
    color: #f9fafb;
}

.om-quiz-header {
    margin-bottom: 1.3rem;
}

.om-quiz-title {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.om-quiz-subtitle {
    color: #e5e7eb;
    margin-bottom: 0.6rem;
}

.om-quiz-progress {
    font-weight: 500;
    color: #93c5fd;
}

/* Quiz steps */
.om-quiz-steps {
    margin-bottom: 1.3rem;
}

.om-quiz-step {
    display: none;
}

.om-quiz-step.is-active {
    display: block;
}

.om-quiz-question-title {
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.om-quiz-options {
    display: grid;
    gap: 0.6rem;
}

.om-quiz-options-columns-1 {
    grid-template-columns: minmax(0, 1fr);
}

.om-quiz-option {
    border: 1px solid rgba(148, 163, 184, 0.8);
    border-radius: 0.9rem;
    background-color: rgba(15, 23, 42, 0.7);
    color: #e5e7eb;
    padding: 0.7rem 0.9rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    cursor: pointer;
    font: inherit;
}

.om-quiz-option-main {
    font-weight: 600;
}

.om-quiz-option-tag {
    font-weight: 500;
    color: #bfdbfe;
}

.om-quiz-option.is-selected {
    border-color: #38bdf8;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(56, 189, 248, 0.9));
    color: #ffffff;
}

.om-quiz-option.is-selected .om-quiz-option-tag {
    color: #e0f2fe;
}

/* Quiz fields */
.om-quiz-fields {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.om-quiz-field {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.om-quiz-label {
    font-weight: 500;
}

.om-quiz-input,
.om-quiz-textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background-color: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    font: inherit;
}

.om-quiz-input:focus,
.om-quiz-textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

.om-quiz-textarea {
    resize: vertical;
}

/* Quiz disclaimer */
.om-quiz-disclaimer {
    margin-top: 0.8rem;
    font-size: 1rem;
    color: #cbd5f5;
}

/* Quiz footer and totals */
.om-quiz-footer {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border-top: 1px solid rgba(30, 64, 175, 0.7);
    padding-top: 0.9rem;
}

.om-quiz-totals {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.om-quiz-total-main,
.om-quiz-total-sub {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
}

.om-quiz-total-label {
    color: #cbd5f5;
    font-weight: 500;
}

.om-quiz-total-value {
    font-weight: 700;
    font-size: 1.4rem;
}

.om-quiz-total-value-sub {
    font-weight: 600;
}

/* Quiz nav buttons */
.om-quiz-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.om-quiz-btn-primary,
.om-quiz-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    border-radius: 0.7rem;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #1d4ed8, #06b6d4);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1rem;
}

.om-quiz-btn-secondary {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
}

.om-quiz-btn-secondary[disabled] {
    opacity: 0.5;
    cursor: default;
}

.om-quiz-message {
    margin-top: 0.6rem;
    min-height: 1.1rem;
    font-weight: 500;
    color: #bef264;
}

/* Shared buttons */
.om-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.7rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d4ed8, #06b6d4);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.om-btn-primary:hover {
    opacity: 0.93;
}

.om-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    color: #111827;
    text-decoration: none;
    background-color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
}

.om-btn-ghost:hover {
    border-color: #9ca3af;
}

/* Sections */
.om-section {
    padding: 3.5rem 0;
}

.om-section-alt {
    background-color: #f9fafb;
}

.om-section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.om-section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.om-section-title {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #020617;
    margin-bottom: 0.9rem;
}

.om-section-text {
    color: #4b5563;
    max-width: 40rem;
}

/* Trust bar */
.om-section-trust {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.om-trust-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    align-items: center;
    justify-content: space-between;
}

.om-trust-copy {
    min-width: 230px;
}

.om-trust-text {
    font-weight: 500;
    color: #111827;
}

.om-trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
}

.om-trust-logo-slot {
    background-color: #f3f4f6;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 70px;
}

.om-trust-logo-img {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
}

/* Grids */
.om-grid {
    display: grid;
    gap: 1.75rem;
}

.om-grid-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.om-grid-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-grid-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-grid-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards */
.om-card-service,
.om-card-minimal,
.om-card-project,
.om-card-step {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.7rem 1.8rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.om-card-minimal {
    border-style: dashed;
}

/* Service icons */
.om-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background-color: #eff6ff;
    margin-bottom: 1.1rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 34px 34px;
}

.om-card-icon-web {
    background-image: url("/assets/images/icon-web-design.png");
}

.om-card-icon-seo {
    background-image: url("/assets/images/icon-seo.png");
}

.om-card-icon-social {
    background-image: url("/assets/images/icon-social-media.png");
}

.om-card-icon-leads {
    background-image: url("/assets/images/icon-lead-systems.png");
}

.om-card-title {
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #020617;
    text-transform: uppercase;
}

.om-card-text {
    color: #4b5563;
}

.om-card-link {
    display: inline-flex;
    margin-top: 1.1rem;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.om-card-link:hover {
    text-decoration: underline;
}

/* Project cards */
.om-card-project {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.om-project-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.om-project-thumb-one {
    background-image: url("/assets/images/project-clinic-website.jpg");
}

.om-project-thumb-two {
    background-image: url("/assets/images/project-home-services.jpg");
}

.om-project-thumb-three {
    background-image: url("/assets/images/project-real-estate-leads.jpg");
}

.om-card-body {
    padding: 1.6rem 1.8rem 1.8rem;
}

/* Process steps */
.om-card-step {
    position: relative;
    padding-top: 2.9rem;
}

.om-step-number {
    position: absolute;
    top: 1.1rem;
    left: 1.8rem;
    font-weight: 700;
    color: #93c5fd;
}

/* Section center CTA */
.om-section-cta-center {
    margin-top: 2.5rem;
    text-align: center;
}

/* Final CTA band */
.om-section-cta {
    background-color: #020617;
    color: #f9fafb;
}

.om-cta-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    align-items: center;
    justify-content: space-between;
}

.om-cta-title {
    color: #f9fafb;
}

.om-cta-text {
    color: #e5e7eb;
}

.om-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* Footer */
.om-footer {
    background-color: #020617;
    color: #e5e7eb;
}

.om-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
}

.om-footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.om-footer-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.om-footer-text {
    color: #9ca3af;
    max-width: 22rem;
}

.om-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.om-footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.om-footer-link {
    display: block;
    color: #e5e7eb;
    text-decoration: none;
    padding: 0.15rem 0;
}

.om-footer-link:hover {
    color: #bfdbfe;
}

.om-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid #111827;
    padding-top: 1rem;
    color: #6b7280;
}

.om-footer-signature a {
    color: #93c5fd;
    text-decoration: none;
}

.om-footer-signature a:hover {
    text-decoration: underline;
}

/* Desktop hero grid and other tweaks */
@media (min-width: 900px) {
    .om-hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
        gap: 3rem;
    }
}

/* Responsive adjustments */
@media (max-width: 899px) {
    .om-topbar-inner {
        padding-inline: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .om-topbar-center {
        order: 3;
    }

    .om-header-inner {
        padding-inline: 1rem;
    }

    .om-nav-toggle {
        display: flex;
    }

    .om-nav {
        position: fixed;
        inset: 3.4rem 0 auto 0;
        background-color: #ffffff;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
        padding: 1rem 1.25rem 1.25rem;
        display: none;
        flex-direction: column;
        gap: 1rem;
    }

    .om-nav.is-open {
        display: flex;
    }

    .om-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .om-megamenu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 1rem 0 0.5rem;
        border-radius: 0.75rem;
        margin-top: 0.25rem;
    }

    .om-megamenu-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.5rem;
        row-gap: 1rem;
    }

    .om-nav-cta {
        align-self: flex-start;
    }

    .om-hero {
        padding: 3.2rem 1.5rem 3.25rem;
    }

    .om-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
    }

    .om-hero-quiz {
        max-width: 100%;
    }

    .om-quiz-card {
        margin-top: 0.8rem;
    }

    .om-section {
        padding: 2.5rem 0;
    }

    .om-grid-services,
    .om-grid-results,
    .om-grid-projects,
    .om-grid-process {
        grid-template-columns: minmax(0, 1fr);
    }

    .om-trust-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .om-trust-logos {
        justify-content: flex-start;
    }

    .om-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .om-footer-main {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Quote pages layout and mobile fixes */
.om-quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: flex-start;
}

.om-quote-options-grid {
    display: grid;
    gap: 1.25rem;
}

/* Slightly smaller section titles inside cards */
.om-card-title-small {
    font-size: 1.1rem;
}

/* On tablets and phones stack the layout */
@media (max-width: 900px) {
    .om-quote-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .om-quote-layout .om-quiz-card {
        margin-top: 1.5rem;
    }
}

/* Tight mobile view adjustments */
@media (max-width: 600px) {
    .om-section .om-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .om-card-service,
    .om-quiz-card {
        padding: 1.25rem 1.25rem 1.6rem;
        border-radius: 1.5rem;
    }

    .om-quiz-options-columns-1 {
        gap: 0.75rem;
    }
}
