/* /assets/css/styles.css */
:root {
    --primary-blue: #005B8F;
    --primary-dark: #003F66;
    --accent-cta: #E63946;
    --accent-hover: #C52834;
    --text-main: #333333;
    --text-muted: #555555;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }

p {
    margin-bottom: 1.25rem;
    max-width: 75ch;
}

a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background-color: var(--bg-light);
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .menu-toggle {
        display: none;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    padding: 0.5rem 0;
}
.nav-link:hover {
    color: var(--primary-blue);
}

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

.dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

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

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

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

/* Mobile Menu */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 200;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-nav-panel.is-open {
    left: 0;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    min-height: 44px;
    min-width: 44px;
}

.mobile-nav-list {
    list-style: none;
    margin-top: 3rem;
    padding: 0;
}

.mobile-nav-list > li {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.5rem 0;
    min-height: 44px;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown-menu.is-open {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-muted);
    text-decoration: none;
    min-height: 44px;
}

.mobile-dropdown-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CTA Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-cta);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    min-height: 44px;
}

.btn:hover, .btn:focus {
    background-color: var(--accent-hover);
    color: var(--bg-white);
    text-decoration: none;
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: inline-flex;
    }
}

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

/* Call Box */
.call-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-cta);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
}
.call-box p { margin-bottom: 0.75rem; }
.call-box p:last-child { margin-bottom: 0; }
.call-box .btn { margin-top: 1rem; }

/* Sticky Mobile Bar */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-cta);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .sticky-mobile-bar {
        display: none;
    }
    body {
        padding-bottom: 0 !important;
    }
}

.sticky-mobile-bar a {
    color: var(--bg-white);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    min-height: 44px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--bg-white);
}

.hero p {
    color: #e0e0e0;
    margin: 0 auto 2rem auto;
    font-size: 1.125rem;
}

/* Imagery */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

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

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

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}
.faq-question {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 3rem 0;
    font-size: 0.875rem;
}

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

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

.site-footer h3 {
    color: var(--bg-white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #b0b0b0;
}

.privacy-notice {
    font-style: italic;
    color: #b0b0b0;
    margin-top: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}
.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}
