/* ================================================================
   Staunch Properties — Service & Service Area Landing Pages
   Shared styles for /services.html, /services/*.html, /service-areas/*.html
   ================================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #018C24; text-decoration: none; transition: color 0.2s; }
a:hover { color: #4ade80; text-decoration: underline; }

/* === Site Header (shared with index.html visual language) === */
.site-header {
    background: #000;
    border-bottom: 3px solid #018C24;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.site-header .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.site-header .logo-link img { height: 50px; width: auto; }
.site-header .brand-text {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.site-header .brand-text span { color: #018C24; }
.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.nav-menu a {
    color: #ccc;
    font-size: 15px;
    font-weight: 500;
}
.nav-menu a:hover, .nav-menu a.active { color: #018C24; text-decoration: none; }
.header-cta {
    background: #018C24;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
}
.header-cta:hover { background: #016919; color: #fff !important; text-decoration: none; }

/* === Breadcrumbs === */
.breadcrumbs {
    background: #111;
    padding: 12px 20px;
    border-bottom: 1px solid #222;
    font-size: 14px;
}
.breadcrumbs .container {
    max-width: 1200px;
    margin: 0 auto;
    color: #888;
}
.breadcrumbs a { color: #018C24; }
.breadcrumbs .separator { margin: 0 8px; color: #555; }

/* === Hero Section === */
.page-hero {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-bottom: 3px solid #018C24;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-bg, none) center/cover;
    opacity: 0.25;
    z-index: 0;
}
.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.2;
}
.page-hero h1 span.accent { color: #018C24; }
.page-hero .lead {
    font-size: clamp(16px, 2vw, 20px);
    color: #ddd;
    margin-bottom: 28px;
}
.page-hero .hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary {
    background: #018C24;
    color: #fff;
    border-color: #018C24;
}
.btn-primary:hover { background: #016919; border-color: #016919; color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover { background: #fff; color: #018C24; text-decoration: none; }

/* === Trust Bar === */
.trust-bar {
    background: #018C24;
    color: #fff;
    padding: 18px 20px;
    text-align: center;
}
.trust-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 600;
}
.trust-bar span i { margin-right: 6px; }

/* === Content Sections === */
.content-section {
    padding: 60px 20px;
}
.content-section .container {
    max-width: 1100px;
    margin: 0 auto;
}
.content-section h2 {
    color: #fff;
    font-size: clamp(24px, 3.5vw, 34px);
    margin-bottom: 20px;
    line-height: 1.3;
}
.content-section h2 .accent { color: #018C24; }
.content-section h3 {
    color: #018C24;
    font-size: 22px;
    margin: 30px 0 12px;
}
.content-section p {
    color: #ccc;
    margin-bottom: 16px;
    font-size: 16px;
}
.content-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.content-section ul li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: #ddd;
}
.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #018C24;
    font-weight: 900;
    font-size: 18px;
}
.section-alt { background: #111; }

/* === Feature Grid === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-left: 4px solid #018C24;
    border-radius: 8px;
    padding: 24px;
}
.feature-card .icon {
    font-size: 32px;
    color: #018C24;
    margin-bottom: 12px;
}
.feature-card h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 8px;
}
.feature-card p {
    color: #aaa;
    font-size: 14px;
    margin: 0;
}

/* === Image Gallery === */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 30px 0;
}
.image-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #222;
    transition: border-color 0.2s;
}
.image-grid img:hover { border-color: #018C24; }

/* === Pricing Table === */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}
.pricing-table th, .pricing-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #2d2d2d;
}
.pricing-table th {
    background: #018C24;
    color: #fff;
    font-weight: 700;
}
.pricing-table td { color: #ddd; }
.pricing-table tr:last-child td { border-bottom: none; }

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, #018C24 0%, #016919 100%);
    padding: 60px 20px;
    text-align: center;
}
.cta-banner h2 {
    color: #fff;
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 14px;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: 26px;
}
.cta-banner .btn-outline {
    border-color: #fff;
    color: #fff;
}
.cta-banner .btn-outline:hover { background: #fff; color: #018C24; }

/* === FAQ === */
.faq-section { padding: 60px 20px; background: #0a0a0a; }
.faq-section .container { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: #1a1a1a;
    border-left: 4px solid #018C24;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
}
.faq-item h3 {
    color: #018C24;
    font-size: 17px;
    margin-bottom: 10px;
}
.faq-item p { color: #ccc; font-size: 15px; margin: 0; }

/* === Footer === */
.site-footer {
    background: #000;
    color: #888;
    padding: 40px 20px 20px;
    border-top: 3px solid #018C24;
}
.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-grid h4 { color: #fff; margin-bottom: 12px; font-size: 16px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { padding: 4px 0; }
.footer-grid ul li a { color: #aaa; font-size: 14px; }
.footer-grid ul li a:hover { color: #018C24; }
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* === Service-area locator list === */
.service-areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.service-areas-list a {
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    padding: 14px 18px;
    color: #ddd;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-areas-list a:hover {
    background: #018C24;
    color: #fff;
    border-color: #018C24;
    text-decoration: none;
    transform: translateY(-2px);
}
.service-areas-list a i { color: #018C24; }
.service-areas-list a:hover i { color: #fff; }

/* === Mobile === */
@media (max-width: 768px) {
    .site-header .container { justify-content: center; }
    .nav-menu { width: 100%; justify-content: center; }
    .page-hero { padding: 50px 20px; }
    .trust-bar .container { gap: 16px; font-size: 14px; }
    .content-section { padding: 40px 20px; }
}
