:root {
    --navy: #071a35;
    --navy-light: #102b50;
    --gold: #f5b400;
    --gold-dark: #d99700;
    --white: #ffffff;
    --light: #f5f7fa;
    --text: #172033;
    --muted: #687386;
    --border: #e5e9ef;
    --success: #16844b;
    --shadow: 0 12px 35px rgba(7, 26, 53, 0.10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

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

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

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

/* NAVIGATION */

.navbar {
    background: var(--navy);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,.15);
}

.nav-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--gold);
}

.logo-sub {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: #dbe4f1;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 700;
    color: #eef3f9;
}

.nav-links a:hover {
    color: var(--gold);
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 30px;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 9px;
    font-weight: 800;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .2s;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: #ffc62e;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: white;
}

/* HERO */

.hero {
    background:
        linear-gradient(90deg, rgba(7,26,53,.98) 0%, rgba(7,26,53,.92) 48%, rgba(7,26,53,.48) 100%),
        url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=85")
        center/cover;
    color: white;
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    padding: 80px 0;
}

.badge {
    display: inline-block;
    background: rgba(245,180,0,.15);
    border: 1px solid rgba(245,180,0,.5);
    color: var(--gold);
    padding: 7px 13px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 20px;
    color: #e4ebf5;
    max-width: 620px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* SECTIONS */

.section {
    padding: 80px 0;
}

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

.section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
}

/* CARDS */

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

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.icon {
    width: 55px;
    height: 55px;
    background: #fff4d2;
    color: var(--gold-dark);
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 25px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
}

/* HOW IT WORKS */

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

.step {
    text-align: center;
}

.step-number {
    width: 52px;
    height: 52px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    font-size: 20px;
    font-weight: 900;
}

/* CTA */

.cta {
    background: var(--navy);
    color: white;
    padding: 65px 0;
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 12px;
}

.cta p {
    color: #d6e0ec;
    max-width: 650px;
    margin: 0 auto 25px;
}

/* PAGE HERO */

.page-hero {
    background: var(--navy);
    color: white;
    padding: 75px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 60px);
    margin-bottom: 12px;
}

.page-hero h1 span {
    color: var(--gold);
}

.page-hero p {
    color: #dbe4ef;
    max-width: 720px;
    margin: auto;
}

/* FILTER */

.filter-area {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.search-box {
    flex: 1;
    min-width: 230px;
    padding: 15px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
}

.filter-btn {
    padding: 13px 18px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--navy);
    color: white;
}

/* TRADESPERSON CARDS */

.trade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.trade-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.trade-photo {
    height: 210px;
    background:
        linear-gradient(rgba(7,26,53,.15),rgba(7,26,53,.15)),
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=900&q=80")
        center/cover;
}

.trade-photo.plumber {
    background-image:
        linear-gradient(rgba(7,26,53,.15),rgba(7,26,53,.15)),
        url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=900&q=80");
}

.trade-photo.roofer {
    background-image:
        linear-gradient(rgba(7,26,53,.15),rgba(7,26,53,.15)),
        url("https://images.unsplash.com/photo-1632759145351-1d592919f522?auto=format&fit=crop&w=900&q=80");
}

.trade-content {
    padding: 24px;
}

.trade-content h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.trade-type {
    color: var(--gold-dark);
    font-weight: 800;
    font-size: 14px;
}

.location {
    color: var(--muted);
    margin: 10px 0;
    font-size: 14px;
}

.trade-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 15px 0;
}

.trade-tag {
    background: var(--light);
    border-radius: 50px;
    padding: 5px 9px;
    font-size: 12px;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--success);
    font-size: 12px;
    font-weight: 800;
    margin: 8px 0;
}

/* VERIFICATION */

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

.verify-list {
    display: grid;
    gap: 18px;
}

.verify-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.verify-number {
    flex: 0 0 42px;
    height: 42px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.verify-item h3 {
    margin-bottom: 5px;
}

.verify-item p {
    color: var(--muted);
    font-size: 14px;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
}

.contact-info {
    background: var(--navy);
    color: white;
    border-radius: var(--radius);
    padding: 35px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info p {
    color: #d7e0eb;
}

.contact-item {
    margin-top: 25px;
}

.contact-item strong {
    display: block;
    color: var(--gold);
}

.contact-form {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d7dce4;
    border-radius: 9px;
    font: inherit;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* FOOTER */

footer {
    background: #041225;
    color: white;
    padding: 45px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 35px;
}

footer p {
    color: #aebbd0;
    font-size: 14px;
}

footer h3 {
    margin-bottom: 13px;
}

.footer-links {
    display: grid;
    gap: 8px;
    color: #c7d2e2;
    font-size: 14px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    color: #8c9ab0;
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 850px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 10px;
    }

    .menu-btn {
        display: block;
    }

    .grid,
    .trade-grid,
    .steps,
    .verify-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }

    .section {
        padding: 60px 0;
    }

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

    .cta h2 {
        font-size: 32px;
    }
}