/* =========================================================
   OPEN ROAD TAX
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    letter-spacing: .2px;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================================
   HEADER / NAVIGATION
========================================================= */

header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    min-height: 105px;
    gap: 25px;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    height: 70px;
    width: auto;
    display: block;
}

.brand-name {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #0f172a;
    white-space: nowrap;
}

.brand-name span {
    color: #c8a45d;
}


/* Navigation links */

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    margin-right: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    transition: .25s;
}

.nav-links a:hover {
    color: #c8a45d;
}


/* Buttons */

.btn {
    display: inline-block;
    background: #c8a45d;
    color: white !important;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .3px;
    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.btn:hover {
    background: #b18d48;
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(15,23,42,.06);
}


/* =========================================================
   HOMEPAGE HERO
========================================================= */

.hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(15,23,42,.88) 0%,
            rgba(15,23,42,.72) 35%,
            rgba(15,23,42,.25) 70%,
            rgba(15,23,42,.10) 100%
        ),
        url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-content {
    max-width: 650px;
}

.hero-content h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.hero-content h2 .white {
    color: white;
}

.hero-content h2 .gray {
    color: #d1d5db;
}

.hero-content h2 .gold {
    color: #c8a45d;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 45px;
    color: #e2e8f0;
}

.hero-btn {
    font-size: 1.1rem;
}


/* =========================================================
   HOMEPAGE SERVICES
========================================================= */

.services {
    padding: 140px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.6rem;
    color: #0f172a;
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(200,164,93,.45);
    box-shadow: 0 18px 45px rgba(15,23,42,.10);
}

.card h3 {
    color: #0f172a;
    margin-bottom: 15px;
}

.card p {
    color: #475569;
    line-height: 1.8;
}


/* Gold hover accent */

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 0%;
    background: #c8a45d;
    transition: .35s ease;
}

.card:hover::before {
    height: 100%;
}


/* =========================================================
   HOMEPAGE ABOUT
========================================================= */

.about-home {
    padding: 140px 0;
    background:
        url("../images/backgrounds/topography.svg"),
        #f8fafc;
    background-size: cover;
    background-position: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-home h2 {
    font-size: 2.7rem;
    color: #0f172a;
    margin-bottom: 25px;
}

.about-home p {
    margin-bottom: 25px;
    color: #475569;
    line-height: 1.9;
}

.about-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #c8a45d;
    box-shadow: 0 15px 45px rgba(15,23,42,.06);
}

.about-box h3 {
    margin-bottom: 20px;
    color: #0f172a;
}

.about-box ul {
    list-style: none;
    line-height: 2.2;
}


/* =========================================================
   HOMEPAGE WHY US
========================================================= */

.why-us {
    padding: 100px 0;
    background: white;
}

.why-us h2 {
    text-align: center;
    font-size: 2.7rem;
    color: #0f172a;
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    text-align: center;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: #c8a45d;
    box-shadow: 0 15px 45px rgba(15,23,42,.06);
}

.why-card h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.why-card p {
    color: #475569;
    line-height: 1.8;
}


/* =========================================================
   HOMEPAGE PROCESS
========================================================= */

.process {
    padding: 140px 0;
    background: #f8fafc;
}

.process h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #0f172a;
}

.section-intro {
    text-align: center;
    max-width: 650px;
    margin: 20px auto 70px;
    color: #64748b;
    font-size: 1.15rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.step {
    text-align: center;
}

.step-number {
    width: 72px;
    height: 72px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #c8a45d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.step p {
    color: #64748b;
    line-height: 1.8;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 140px 0;
    background: #0f172a;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.15rem;
}


/* =========================================================
   FADE-UP ANIMATION
========================================================= */

.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    padding: 100px 20px;
    background: #0f172a;
    color: white;
}

.page-hero .container {
    max-width: 900px;
}

.eyebrow {
    color: #c8a45d;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.page-hero p:last-child {
    max-width: 650px;
    font-size: 1.15rem;
    color: #dbe2ea;
}


/* =========================================================
   SERVICES PAGE
========================================================= */

.service-list {
    padding: 100px 20px;
    background: #f8fafc;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 18px;
}

.section-intro p:last-child {
    color: #64748b;
    font-size: 1.05rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    background: white;
    padding: 35px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: .25s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(15,23,42,.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8a45d;
    border-radius: 50%;
    color: #c8a45d;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: rgba(200,164,93,.06);
}

.service-card h3 {
    color: #0f172a;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: #64748b;
    margin-bottom: 25px;
}

.service-card a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    transition: .2s ease;
}

.service-card a:hover {
    color: #c8a45d;
}


/* =========================================================
   PRICING PAGE
========================================================= */

.pricing-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    position: relative;
    background: white;
    padding: 40px 35px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: .25s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200,164,93,.45);
    box-shadow: 0 18px 45px rgba(15,23,42,.10);
}

.pricing-card.featured {
    border: 2px solid #c8a45d;
}

.featured-label {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #c8a45d;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card h3 {
    color: #0f172a;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.pricing-description {
    color: #64748b;
    min-height: 55px;
}

.price {
    margin: 30px 0;
    color: #0f172a;
    font-size: 2.5rem;
    font-weight: 700;
}

.price span {
    display: block;
    color: #64748b;
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card li {
    padding: 9px 0;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-card li::before {
    content: "✓";
    color: #c8a45d;
    font-weight: 700;
    margin-right: 10px;
}

.pricing-note {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 30px;
    background: white;
    border-left: 4px solid #c8a45d;
    border-radius: 8px;
}

.pricing-note h3 {
    color: #0f172a;
    margin-bottom: 10px;
}

.pricing-note p {
    color: #64748b;
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.about-section {
    padding: 100px 20px;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.about-content p {
    color: #64748b;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.about-highlight {
    padding: 40px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.about-highlight h3 {
    color: #0f172a;
    margin-bottom: 12px;
}

.about-highlight p {
    font-size: .95rem;
    margin-bottom: 0;
}

.about-values {
    padding: 100px 20px;
    background: #f8fafc;
}

.about-values .section-intro {
    margin-bottom: 50px;
}

.about-values .why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-values .why-card {
    background: white;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: .25s ease;
}

.about-values .why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200,164,93,.45);
    box-shadow: 0 15px 40px rgba(15,23,42,.08);
}

.about-values .why-card h3 {
    color: #0f172a;
    margin-bottom: 12px;
}

.about-values .why-card p {
    color: #64748b;
    font-size: .95rem;
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.contact-info > p {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-detail {
    margin-top: 30px;
}

.contact-detail h3 {
    color: #0f172a;
    margin-bottom: 5px;
}

.contact-detail p {
    color: #64748b;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(15,23,42,.05);
}

.contact-form-wrapper h2 {
    color: #0f172a;
    margin-bottom: 30px;
}

.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
}

.contact-form-wrapper label {
    color: #334155;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 7px;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font: inherit;
    color: #1e293b;
    background: white;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #c8a45d;
    box-shadow: 0 0 0 3px rgba(200,164,93,.12);
}

.contact-form-wrapper textarea {
    resize: vertical;
}

.contact-form-wrapper button {
    border: none;
    cursor: pointer;
    font: inherit;
}

.contact-section + .cta {
    background: #0f172a;
}
.hidden-honeypot {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 65px 0;
    align-items: start;
}

/* Footer brand */

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 70px;
    width: auto;
    display: block;
}

.footer-brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0f172a;
    white-space: nowrap;
}

.footer-brand-name span {
    color: #c8a45d;
}

/* Footer text */

.footer p {
    color: #475569;
    line-height: 1.7;
}

/* Footer headings */

.footer h3 {
    color: #0f172a;
    margin-bottom: 15px;
}

/* Footer links */

.footer a {
    display: block;
    color: #475569;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .2s ease;
}

.footer a:hover {
    color: #c8a45d;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 92%;
        max-width: 100%;
    }


    /* Header */

    nav {
        min-height: 75px;
        flex-wrap: wrap;
        gap: 15px;
        padding: 14px 0;
    }

    .brand {
        gap: 10px;
        width: 100%;
    }

    .brand img {
        height: 45px;
        width: auto;
    }

    .brand-name {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
        margin: 0;
        font-size: .9rem;
    }

    nav > .btn {
        display: none;
    }


    /* Hero */

    .hero {
        min-height: 600px;
        padding: 80px 20px;
    }

    .hero-content h2 {
        font-size: 2.35rem;
    }

    .hero-content p {
        font-size: 1rem;
    }


    /* Page Hero */

    .page-hero {
        padding: 75px 20px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p:last-child {
        font-size: 1rem;
    }


    /* Sections */

    .services,
    .service-list,
    .pricing-section,
    .about-section,
    .about-values,
    .contact-section {
        padding: 70px 20px;
    }

    .services h2 {
        font-size: 2.2rem;
    }

    .section-intro h2,
    .about-content h2,
    .contact-info h2 {
        font-size: 2rem;
    }


    /* All major grids stack */

    .service-grid,
    .pricing-grid,
    .why-grid,
    .process-grid,
    .about-values .why-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
        min-width: 0;
    }

    .service-grid > *,
    .pricing-grid > *,
    .why-grid > *,
    .process-grid > *,
    .about-values .why-grid > * {
        min-width: 0;
        max-width: 100%;
    }


    /* About / Contact grids */

    .about-content,
    .about-grid,
    .contact-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 45px;
        width: 100%;
        min-width: 0;
    }

    .about-content > *,
    .about-grid > *,
    .contact-grid > * {
        min-width: 0;
        max-width: 100%;
    }


    /* Cards */

    .service-card,
    .pricing-card,
    .about-values .why-card {
        padding: 30px;
    }


    /* Contact */

    .contact-form-wrapper {
        padding: 30px;
    }


    /* Pricing */

    .pricing-description {
        min-height: auto;
    }


    /* Footer */

    .footer {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 0;
    }

    .footer-brand-row {
        gap: 15px;
        margin-bottom: 18px;
    }

    .footer-logo {
        height: 55px;
    }

    .footer-brand-name {
        font-size: 1.35rem;
        letter-spacing: 1.5px;
    }


    /* Images */

    img {
        max-width: 100%;
    }
    .about-home {
        padding: 65px 0;
    }

    .about-home .container {
        width: 88%;
        margin: 0 auto;
    }

    .about-home h2 {
        font-size: 2.15rem;
        line-height: 1.15;
    }

    .about-home p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .about-home .btn {
        margin-top: 10px;
    }

    .about-grid {
        width: 100%;
        grid-template-columns: 1fr !important;
        gap: 35px;
    }
}