:root {
    --navy: #05235b;
    --blue: #0a66dc;
    --sky: #eaf5ff;
    --ink: #142039;
    --muted: #667085;
    --white: #ffffff;
    --line: #d9e2ef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================
   HEADER / NAVIGATION
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav-wrap {
    height: 84px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand img {
    width: 260px;
    max-height: 70px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.main-nav a,
.footer-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: white;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(5, 35, 91, 0.16);
}

.btn-small {
    padding: 10px 15px;
}

.btn-outline {
    background: white;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-bright {
    background: linear-gradient(135deg, #0873ef, #19a7ff);
}

.btn-light {
    background: var(--blue);
}

/* =========================
   HERO
   ========================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        radial-gradient(circle at 15% 15%, #d9efff 0, transparent 30%),
        radial-gradient(circle at 90% 40%, #dceeff 0, transparent 35%),
        linear-gradient(#ffffff, #f5faff);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 0 44%,
        rgba(10, 102, 220, 0.05) 44% 45%,
        transparent 45% 100%
    );
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 55px;
    align-items: center;
}

.eyebrow,
.kicker,
.section-heading span {
    font-size: 13px;
    letter-spacing: 0.17em;
    font-weight: 900;
    color: var(--blue);
}

h1 {
    font-size: 64px;
    line-height: 0.98;
    margin: 16px 0;
    color: var(--navy);
}

h1 span {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--blue);
}

.hero-sub {
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 800;
}

.lead {
    font-size: 20px;
    line-height: 1.6;
    color: #42516a;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.delivery-callout {
    display: flex;
    gap: 16px;
    align-items: center;
    border-left: 5px solid var(--blue);
    padding: 14px 18px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.delivery-callout strong {
    color: var(--blue);
    text-transform: uppercase;
}

/* =========================
   HERO CARD
   ========================= */

.hero-card {
    background: linear-gradient(145deg, var(--navy), #0a4aa5);
    color: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(5, 35, 91, 0.25);
}

.hero-card-top {
    font-size: 23px;
    font-weight: 900;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 18px;
}

.hero-card-top em {
    color: #5fc3ff;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}

.hero-stat-grid div {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
}

.hero-stat-grid strong,
.hero-stat-grid span {
    display: block;
}

.hero-stat-grid span {
    font-size: 13px;
    margin-top: 6px;
    color: #d7e8ff;
}

.hero-address {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: white;
    color: var(--navy);
    padding: 18px;
    border-radius: 14px;
}

/* =========================
   GENERAL SECTIONS
   ========================= */

.section {
    padding: 82px 0;
}

.section-light {
    background: #f7faff;
}

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

.section-heading h2 {
    font-size: 40px;
    margin: 8px 0 10px;
    color: var(--navy);
}

.section-heading p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.55;
}

/* =========================
   SERVICES
   ========================= */

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

.card,
.team-card,
.project-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(5, 35, 91, 0.06);
}

.service-card {
    padding: 25px;
}

.service-icon {
    font-size: 34px;
}

.service-card h3 {
    color: var(--navy);
}

.service-card p,
.team-card p,
.project-copy p {
    color: var(--muted);
    line-height: 1.55;
}

/* =========================
   BLUE BAND / DELIVERY
   ========================= */

.blue-band {
    background: linear-gradient(120deg, var(--navy), #0752b6);
    color: white;
}

.blue-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.blue-band h2 {
    font-size: 40px;
    margin: 8px 0;
}

.delivery-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    background: white;
    color: var(--ink);
    padding: 24px;
    border-radius: 18px;
}

.delivery-icon {
    font-size: 40px;
}

/* =========================
   PROJECTS / TEAM / BRANDS
   ========================= */

.project-grid,
.team-grid,
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    overflow: hidden;
}

.project-placeholder {
    height: 230px;
    background: linear-gradient(135deg, #dbeeff, #f7fbff);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.project-copy {
    padding: 20px;
}

.team-card {
    padding: 26px;
}

.avatar-placeholder {
    height: 230px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeeff, #eef6ff);
    display: grid;
    place-items: center;
    color: #7a8ca8;
    font-weight: 900;
}

.team-card h3 {
    margin-bottom: 4px;
    color: var(--navy);
}

.role {
    color: var(--blue);
    font-weight: 800;
}

/* =========================
   BRAND FAMILY
   ========================= */

.brand-family {
    background: linear-gradient(135deg, #041b46, #07357d);
    color: white;
}

.section-heading-light h2,
.section-heading-light p {
    color: white;
}

.brand-card {
    background: white;
    color: var(--ink);
    padding: 28px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.brand-card.featured {
    box-shadow: 0 0 0 3px rgba(68, 167, 255, 0.5);
}

.brand-card > img,
.brand-logo-wrap img {
    max-width: 100%;
    max-height: 145px;
    object-fit: contain;
}

.brand-logo-wrap {
    width: 100%;
    min-height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}

.light-logo {
    background: #ffffff;
}

.dark-logo {
    background: #07152b;
}

.brand-card p {
    line-height: 1.5;
    color: #58667b;
}

/* Marco Island Technology logo */
.marco-brand {
    background: #ffffff;
}

.marco-logo {
    width: 120%;
    max-width: 450px;
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
}

/* =========================
   CONTACT
   ========================= */

.contact-section {
    background: #f3f8ff;
}

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

.contact-actions {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: var(--navy);
}

.contact-item span {
    font-size: 30px;
}

.contact-item small,
.contact-item strong {
    display: block;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    padding: 34px 0;
    background: #031634;
    color: white;
}

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

.footer-grid img {
    max-width: 230px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: white;
}

/* =========================
   RESPONSIVE - TABLET
   ========================= */

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .blue-band-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .project-grid,
    .team-grid,
    .brand-grid {
        grid-template-columns: 1fr;
    }

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

    .delivery-box {
        grid-template-columns: auto 1fr;
    }

    .delivery-box .btn {
        grid-column: 1 / -1;
    }

    h1 {
        font-size: 48px;
    }
}

/* =========================
   RESPONSIVE - MOBILE
   ========================= */

@media (max-width: 560px) {
    .brand img {
        width: 205px;
    }

    .nav-wrap > .btn {
        display: none;
    }

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

    .hero {
        padding: 58px 0;
    }

    .section {
        padding: 58px 0;
    }

    h1 {
        font-size: 42px;
    }

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 23px;
    font-weight: 900;
}

.simplified-script {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: inline-block;

    /* Make the blue script white on this dark background */
    filter: brightness(0) invert(1);
}