/* Base Variables */
:root {
    --primary-blue: #0A3663;
    --secondary-blue: #1C5D99;
    --accent-color: #D9480F; /* High contrast orange/red for CTA */
    --accent-hover: #B83B09;
    --text-dark: #2C3E50;
    --text-light: #5A6C7D;
    --bg-light: #F4F7F9;
    --bg-white: #FFFFFF;
    --bg-dark: #122335;
    
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 4px;
    --transition: all 0.2s ease-in-out;
    
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    padding-bottom: 60px; /* Space for mobile sticky CTA */
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section-pad {
    padding: var(--space-lg) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: var(--bg-white); }
.text-white h2, .text-white p { color: var(--bg-white); }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header & Nav */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid #E1E8ED;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-logo:hover {
    text-decoration: none;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--secondary-blue);
    text-decoration: none;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 260px;
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    position: relative;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--bg-white);
    padding: var(--space-xl) 0;
    text-align: center;
}

.hero h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Grids */
.warning-signs-grid, .services-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.warning-signs-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.warning-card, .service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #E1E8ED;
}

.service-card h3 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.service-card h3 a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.service-card p {
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Call to Action Box */
.cta-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid #E1E8ED;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li::after {
    content: "→";
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs li:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: var(--space-lg) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .h3 {
    color: var(--bg-white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-phone a {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.site-footer .h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

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

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

.site-footer a {
    color: rgba(255,255,255,0.7);
}

.site-footer a:hover {
    color: var(--bg-white);
}

.small-text {
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.privacy-notice {
    margin-top: 0.5rem;
    font-style: italic;
    color: rgba(255,255,255,0.5);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    text-align: center;
    padding: 1rem;
    z-index: 900;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-sticky-cta a {
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.125rem;
    display: block;
}

/* Media Queries */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
    
    .header-call {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        border-bottom: 1px solid #E1E8ED;
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        padding: 0 0 0 1rem;
        background-color: var(--bg-light);
    }

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