:root {
    --navy-dark: #0E2B57;   /* deepest brand navy (logo bottom) */
    --navy: #14487a;
    --blue: #21A2DC;        /* bright brand blue (logo top) */
    --blue-soft: #e8f4fb;
    --green: #6cbf3f;       /* logo arrow accent */
    --green-dark: #58a531;
    --offwhite: #f5f8fb;
    --text: #2a3541;
    --muted: #5b6b78;
    --line: #e2e9f0;
    --heading-font: "Oswald", "Segoe UI", Arial, sans-serif;
    --body-font: "Open Sans", Arial, Helvetica, sans-serif;
    --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    margin: 0;
    font-family: var(--body-font);
    color: var(--text);
    line-height: 1.65;
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--navy-dark);
    line-height: 1.1;
}

a { color: var(--blue); }

.accent-text { color: var(--blue); }
.accent { color: var(--green); }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-block;
    font-family: var(--heading-font);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 11px 26px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    font-size: 0.95rem;
}
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: #fff; color: var(--navy-dark); }

/* ===================== HEADER ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy-dark);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-mark { height: 42px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a {
    color: #d7e3f0;
    text-decoration: none;
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 0;
    transition: color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a.nav-signin { color: var(--blue); }
.site-nav a.nav-signin:hover { color: #fff; }
.site-nav a.nav-cta { color: #fff; padding: 9px 22px; }
.site-nav a.nav-cta:hover { color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 26px;
    background: #fff;
    transition: 0.25s;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 45%, var(--blue) 120%);
    color: #fff;
    text-align: center;
    padding: 96px 0 120px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 15%, rgba(108,191,63,0.22), transparent 45%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }

.hero-eyebrow {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    color: var(--blue-soft);
    margin: 0 0 18px;
}
.hero-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(2.5rem, 9vw, 5.5rem);
    line-height: 0.98;
    color: #fff;
    margin: 0 0 22px;
    text-transform: uppercase;
    overflow-wrap: break-word;
}
.hero-sub {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    color: #e4eef7;
    max-width: 680px;
    margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 60px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 35%, 0 100%);
}

/* ===================== SECTION TITLES ===================== */
.section-title {
    text-align: center;
    font-size: clamp(1.9rem, 4.5vw, 2.7rem);
    letter-spacing: 0.01em;
    margin: 0 0 18px;
    text-transform: uppercase;
}
.section-title.light { color: #fff; }

.section-lead {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
    color: var(--muted);
    font-size: 1.1rem;
}
.section-lead.light { color: #d7e6f2; }

/* ===================== PITCH ===================== */
.pitch { padding: 84px 0; }
.pitch .section-title { margin-bottom: 44px; }
.pitch-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: start;
}
.pitch-copy p { margin: 0 0 20px; font-size: 1.08rem; color: #40505c; }
.pitch-copy strong { color: var(--navy-dark); }

.value-list {
    list-style: none;
    margin: 0;
    padding: 28px 30px;
    background: var(--offwhite);
    border-left: 4px solid var(--green);
    border-radius: 6px;
}
.value-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--navy-dark);
}
.value-list li:last-child { margin-bottom: 0; }
.value-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===================== FEATURES ===================== */
.features { padding: 84px 0; background: var(--offwhite); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(14, 43, 87, 0.1);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue);
    margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 600; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---- Showcase ---- */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 48px;
}
.showcase-text h3 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 16px; text-transform: uppercase; }
.showcase-text p { color: var(--muted); font-size: 1.08rem; margin: 0 0 26px; }
.showcase-media { text-align: center; }
.showcase-media img { border-radius: 10px; box-shadow: 0 18px 40px rgba(14, 43, 87, 0.16); }

/* ===================== IBEW BAND ===================== */
.ibew-band {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
    padding: 72px 0;
}
.ibew-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: center;
}
.ibew-media img {
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.35);
    display: block;
}
.ibew-text h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 18px; text-transform: uppercase; }
.ibew-text p { color: #d7e6f2; font-size: 1.1rem; margin: 0 0 16px; }
.ibew-tag {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--green) !important;
    font-weight: 600;
    font-size: 1.2rem !important;
}

/* ===================== ABOUT ===================== */
.about { padding: 84px 0; }
.about-mission {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    color: var(--blue);
    line-height: 1.35;
}
.about-lead {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
    color: #40505c;
    font-size: 1.08rem;
}
.team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.team-member {
    background: #fff;
    padding: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(14, 43, 87, 0.06);
    border-top: 4px solid var(--green);
}
.team-member h3 { margin: 0 0 4px; font-size: 1.45rem; font-weight: 600; }
.team-role { margin: 0 0 16px; color: var(--blue); font-weight: 600; font-family: var(--heading-font); text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem; }
.team-member p:last-child { color: var(--muted); margin: 0; }

/* ===================== TESTIMONIAL ===================== */
.testimonial-section {
    background: var(--offwhite);
    padding: 80px 0;
}
.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.testimonial blockquote {
    margin: 0 0 26px;
    font-family: var(--heading-font);
    font-weight: 300;
    font-size: clamp(1.3rem, 3.4vw, 2rem);
    line-height: 1.4;
    color: var(--navy-dark);
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 3px; }
.t-name { font-weight: 700; color: var(--navy-dark); font-size: 1.1rem; }
.t-role { color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; font-family: var(--heading-font); }

/* ===================== FAQ ===================== */
.faq { padding: 84px 0; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 14px;
    background: #fff;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--navy-dark);
    list-style: none;
    position: relative;
    min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--blue);
    transition: transform 0.2s;
    line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--blue); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ===================== CONTACT ===================== */
.contact {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 84px 0 96px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-form { }

/* Honeypot — hidden off-screen (not display:none so bots still fill it) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-row { display: flex; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.field { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.field.full { flex-basis: 100%; }
.field label { color: #cfe0ee; font-size: 0.92rem; margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea, .field select {
    background: rgba(255,255,255,0.06);
    border: 1px solid #40628a;
    border-radius: 5px;
    color: #fff;
    font-family: var(--body-font);
    font-size: 1rem;
    padding: 11px 12px;
    resize: vertical;
    min-height: 44px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfe0ee' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.field select option { color: #1a1a1a; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: rgba(255,255,255,0.12); }
.field input::placeholder, .field textarea::placeholder { color: #9db4cc; }

.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-note { color: #cfe0ee; margin: 0; font-size: 0.95rem; }
.form-note a { color: #fff; }

.contact-info {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 34px;
}
.contact-info h3 { color: #fff; font-size: 1.4rem; margin: 0 0 12px; text-transform: uppercase; }
.contact-info > p { color: #cfe0ee; margin: 0 0 24px; }
.contact-details { list-style: none; margin: 0 0 26px; padding: 0; }
.contact-details li { display: flex; flex-direction: column; margin-bottom: 16px; }
.ci-label { font-family: var(--heading-font); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; color: var(--blue); }
.contact-details a { color: #fff; text-decoration: none; font-size: 1.1rem; }
.contact-details a:hover { color: var(--blue); }

/* ===================== FOOTER ===================== */
.site-footer { background: #081a33; color: #b8c8d8; padding: 56px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 14px; display: block; }
.footer-tag { font-family: var(--heading-font); text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); font-weight: 600; margin: 0 0 14px; }
.footer-email { display: block; color: #b8c8d8; text-decoration: none; margin-bottom: 4px; }
.footer-email:hover { color: #fff; }
.footer-heading { font-family: var(--heading-font); text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin: 0 0 16px; font-size: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { color: #b8c8d8; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.social-row { display: flex; gap: 14px; margin-bottom: 22px; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: background 0.2s;
}
.social-link:hover { background: var(--blue); }
.footer-legal { display: flex; flex-direction: column; gap: 9px; }
.footer-legal a { color: #8ba0b5; text-decoration: none; font-size: 0.9rem; }
.footer-legal a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 24px; }
.footer-bottom p { margin: 0; font-size: 0.88rem; color: #7f95ab; text-align: center; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pitch-grid { grid-template-columns: 1fr; gap: 36px; }
    .showcase { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
    .showcase-media { order: -1; }
    .ibew-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .ibew-media { max-width: 360px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .container { padding: 0 18px; }

    /* Mobile nav — hamburger reveals a stacked menu */
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--navy-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    }
    .site-nav.open { max-height: 460px; }
    .site-nav a {
        padding: 16px 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .site-nav a.nav-cta { background: var(--green); justify-content: center; margin: 12px 24px; border-radius: 4px; padding: 14px; }
    .site-nav a.nav-cta:hover { background: var(--green-dark); }

    .hero { padding: 72px 0 90px; }
    .pitch, .features, .about, .faq { padding: 60px 0; }
    .testimonial-section, .ibew-band { padding: 60px 0; }
    .team { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { gap: 16px; }
    .btn-lg { padding: 14px 30px; }
}

@media (max-width: 420px) {
    .feature-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
}
