/* ============================================
   Global Styles
   ============================================ */

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

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.25rem;
    color: #1a1a1a;
}

h2 {
    font-size: 1.875rem;
    color: #222;
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

p {
    margin-bottom: 1em;
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
    background-color: #0066cc;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 30px;
    width: 30px;
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: white;
    padding: 3rem 1rem;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero-text h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.ghl-form-placeholder {
    min-height: 400px;
}

.hero-form {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
}

/* ============================================
   Buttons
   ============================================ */

.cta-button {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #e55a2b;
    text-decoration: none;
}

/* ============================================
   Main Content
   ============================================ */

main {
    padding: 2rem 0;
}

section {
    padding: 3rem 1rem;
    margin-bottom: 1rem;
}

.section-light {
    background-color: #f8f9fa;
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #0066cc;
}

/* ============================================
   Grid & Cards
   ============================================ */

.grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    h1 {
        font-size: 2.75rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    nav ul {
        gap: 2rem;
    }
}

.card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 0.75rem;
}

.card a {
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
    color: #0066cc;
}

/* ============================================
   Service Icon
   ============================================ */

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* ============================================
   FAQ & Contact Info
   ============================================ */

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-answer {
    color: #555;
    line-height: 1.7;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid #ff6b35;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.contact-info h3 {
    margin-top: 0;
}

/* ============================================
   Forms
   ============================================ */

.form-section {
    background-color: #f8f9fa;
    padding: 2rem 1rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.form-embed {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-top: 1.5rem;
}

/* ============================================
   Steps & Process
   ============================================ */

.how-it-works {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    padding: 1.5rem;
    background: white;
    border-left: 4px solid #ff6b35;
    border-radius: 4px;
}

.step h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background-color: #1a1a1a;
    color: white;
    padding: 2rem 1rem;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    text-align: center;
    color: #999;
}

/* Suppress stray header-phone divs placed in footer on some pages */
.footer-bottom .header-phone {
    display: none;
}

.nap {
    font-style: italic;
    color: #ccc;
}

/* ============================================
   Pricing Cards
   ============================================ */

.pricing-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-card.pricing-featured {
    border: 2px solid #0066cc;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.15);
}

.pricing-badge {
    display: inline-block;
    background: #0066cc;
    color: white;
    font-size: 0.78rem;
    font-weight: bold;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    width: fit-content;
}

.pricing-card.pricing-featured .pricing-badge {
    background: #ff6b35;
}

.pricing-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0.25rem 0;
}

.pricing-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin: 0;
}

.pricing-desc {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.55;
    flex: 1;
    margin: 0;
}

.pricing-cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.pricing-note {
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: #666;
    font-style: italic;
}

/* ============================================
   Utility Classes for Inline Styles
   ============================================ */

.section-title-margin {
    margin-top: 2rem;
}

.list-indent {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.text-center-margin {
    text-align: center;
    margin-top: 2rem;
}

.service-list-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
}

.service-card {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
}

.service-card-orange-border {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

/* Additional utility styles for contact form */
.form-placeholder {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.phone-call-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.phone-call-section h3 {
    margin-top: 0;
}

.phone-number-large {
    font-size: 1.25rem;
    margin: 1rem 0 0 0;
}

.phone-number-large a {
    font-weight: bold;
    color: #0066cc;
}

.area-item {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid #ff6b35;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.area-item h3 {
    margin-top: 0;
}

.area-item h3 a {
    color: #0066cc;
    text-decoration: none;
}

.area-item h3 a:hover {
    text-decoration: underline;
}

/* ============================================
   Mobile Navigation
   ============================================ */

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        position: relative;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        order: 2;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: white;
        display: block;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding-top: 1rem;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav ul li a {
        display: block;
        padding: 0.75rem 0;
    }

    .header-phone {
        order: 3;
        margin-left: auto;
    }

    .header-phone a {
        color: white;
        font-weight: bold;
        text-decoration: none;
    }

    .logo {
        order: 1;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    /* Show phone as orange CTA button on desktop too */
    .header-phone {
        display: block;
    }
}

/* ============================================
   Header Phone CTA Button (all screen sizes)
   ============================================ */

header .header-phone a {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s;
    line-height: 1.4;
}

header .header-phone a:hover {
    background-color: #e55a2b;
    text-decoration: none;
}

/* ============================================
   Mobile Sticky Bottom CTA Bar
   ============================================ */

.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
    }

    .mobile-sticky-cta a {
        display: block;
        background: #ff6b35;
        color: white;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        font-weight: bold;
        text-decoration: none;
        letter-spacing: 0.01em;
    }

    .mobile-sticky-cta a:hover,
    .mobile-sticky-cta a:active {
        background: #e55a2b;
        text-decoration: none;
    }

    /* Body padding so content isn't hidden behind sticky bar */
    body {
        padding-bottom: 58px;
    }

    /* Full-width CTA buttons on mobile for easier tapping */
    .cta-button {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* Larger touch targets for nav links */
    nav ul li a {
        padding: 0.875rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}
