/* =========================================
   CSS Custom Properties
   ========================================= */
:root {
    --bg: #0E1116;
    --text: #F2F4F7;
    --accent: #FFB020;
    --accent-2: #3DA5D9;
    --border: #272B33;

    --font-headings: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.45);

    --header-height: 60px;
    --mobile-call-bar-height: 56px;
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--accent-2);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius);
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

p {
    margin-bottom: 1rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn-accent,
.btn-accent-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
}

.btn-accent {
    background-color: var(--accent);
    color: #0E1116;
}

.btn-accent-2 {
    background-color: var(--accent-2);
    color: #0E1116;
}

.btn-accent:hover,
.btn-accent-2:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-accent:active,
.btn-accent-2:active {
    transform: translateY(0);
}

/* =========================================
   Sticky Header
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.header-phone {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 40px;
}

/* =========================================
   Mobile Sticky Call Bar
   ========================================= */
.mobile-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: var(--mobile-call-bar-height);
    background-color: var(--accent);
    color: #0E1116;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease;
}

.mobile-call-bar:hover {
    transform: translateY(-1px);
}

.mobile-call-bar:active {
    transform: translateY(0);
}

.call-bar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.call-bar-number {
    font-weight: 600;
}

/* =========================================
   Main Layout
   ========================================= */
main {
    padding-bottom: var(--mobile-call-bar-height);
}

section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   Section Placeholder Styles
   ========================================= */
.hero,
.services,
.service-area,
.reviews,
.contact,
.site-footer {
    border-top: 1px solid var(--border);
}

/* =========================================
   Hero
   ========================================= */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(242, 244, 247, 0.85);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1rem 1.75rem;
    font-size: 1.125rem;
    min-height: 56px;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid var(--accent-2);
    background-color: transparent;
    color: var(--accent-2);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    min-height: 44px;
    min-width: 44px;
}

.btn-outline:hover {
    transform: translateY(-1px);
    background-color: rgba(61, 165, 217, 0.1);
    box-shadow: var(--shadow);
}

.btn-outline:active {
    transform: translateY(0);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.875rem;
    color: rgba(242, 244, 247, 0.65);
    margin-bottom: 0;
}

.trust-divider {
    color: var(--border);
    user-select: none;
}

/* =========================================
   Services
   ========================================= */
.services h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    color: var(--text);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card h3 {
    font-family: var(--font-headings);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.service-card p {
    font-size: 0.9375rem;
    color: rgba(242, 244, 247, 0.75);
    margin-bottom: 0;
    line-height: 1.55;
}

.service-icon {
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

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

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }
}

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

/* =========================================
   Service Area
   ========================================= */
.service-area {
    text-align: center;
}

.service-area-inner {
    max-width: 680px;
    margin: 0 auto;
}

.service-area h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text);
}

.service-area p {
    color: rgba(242, 244, 247, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.area-tag {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.875rem;
    color: rgba(242, 244, 247, 0.7);
    background-color: transparent;
    line-height: 1.4;
}

/* =========================================
   Reviews
   ========================================= */
.reviews h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
    color: var(--text);
}

.reviews-rating {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.rating-score {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text);
}

.rating-star {
    color: var(--accent);
}

.rating-count {
    font-size: 0.9375rem;
    color: rgba(242, 244, 247, 0.7);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.review-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 0;
}

.review-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.review-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1rem;
}

.review-attribution {
    display: block;
    font-size: 0.875rem;
    font-style: normal;
    color: rgba(242, 244, 247, 0.6);
}

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

/* =========================================
   Contact
   ========================================= */
.contact h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
}

.quote-form label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: #14171D;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: rgba(242, 244, 247, 0.35);
}

.quote-form input:focus,
.quote-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.25);
    outline: none;
}

.quote-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
}

.form-success {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: #14171D;
    text-align: center;
}

.form-success p {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 0;
}

.call-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    height: fit-content;
}

.call-panel-heading {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 0;
}

.call-panel-note {
    font-size: 0.875rem;
    color: rgba(242, 244, 247, 0.6);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1.2fr 1fr;
    }
}

.site-footer {
    background-color: #080A0D;
    border-top: 1px solid var(--border);
    padding: 3rem 1rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-name {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(242, 244, 247, 0.65);
    margin-bottom: 0;
}

.footer-address {
    font-size: 0.9375rem;
    color: rgba(242, 244, 247, 0.7);
    margin-bottom: 0.75rem;
}

.footer-phone {
    font-size: 1.125rem;
    padding: 1rem 1.75rem;
    min-height: 52px;
    white-space: nowrap;
}

.phone-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-hours {
    font-size: 0.875rem;
    color: rgba(242, 244, 247, 0.6);
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(242, 244, 247, 0.45);
    margin-bottom: 0;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
        gap: 2rem;
    }

    .footer-details {
        text-align: center;
    }

    .footer-copyright {
        width: 100%;
        text-align: center;
        margin-top: 2rem;
    }
}

/* =========================================
   Tablet & Desktop (768px+)
   ========================================= */
@media (min-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header-inner {
        padding: 0 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .header-phone {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
    }

    section {
        padding: 5rem 2rem;
    }

    .hero-cta {
        flex-direction: row;
    }

    .btn-large {
        width: auto;
    }

    .hero-trust {
        gap: 0.35rem 0.75rem;
    }

    /* Hide mobile call bar on larger screens */
    .mobile-call-bar {
        display: none;
    }

    main {
        padding-bottom: 0;
    }
}

/* =========================================
   Desktop (1024px+)
   ========================================= */
@media (min-width: 1024px) {
    .header-inner,
    section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
