/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #0A2342;       /* Deep Navy */
    --secondary: #4A6FA5;     /* Slate Blue */
    --accent: #C9A84C;        /* Warm Gold */
    --accent-hover: #D8B75E;  /* Lighter Gold for hover */
    --bg-white: #FFFFFF;      /* Crisp White */
    --bg-light: #F4F7FA;      /* Off White / Light Slate */
    --text-main: #2D2D2D;     /* Charcoal */
    --text-light: #666666;    /* Light text */
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(10, 35, 66, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 35, 66, 0.12);
    --shadow-lg: 0 16px 32px rgba(10, 35, 66, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Layout */
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1100;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    border-radius: 6px;
}

.skip-link:focus {
    top: 16px;
}

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

/* Visible keyboard focus for all interactive elements */
:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Higher-contrast ring on dark backgrounds */
.hero :focus-visible,
.contact :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible {
    outline-color: var(--accent);
}

ul {
    list-style: none;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; font-weight: 600; color: var(--secondary); margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn-massive {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
    border-left: 4px solid var(--accent);
    padding-left: 0.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

/* Nav items must never wrap or compress — they collapse to the mobile menu instead */
.nav-links > a,
.nav-dropdown-toggle,
.nav-cta .phone-link,
.nav-cta .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta {
    flex-shrink: 0;
}

.logo {
    flex-shrink: 0;
}

.nav-links > a,
.nav-dropdown-toggle {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.nav-links > a:hover,
.nav-dropdown-toggle:hover {
    color: var(--primary);
}

.nav-links > a::after,
.nav-dropdown.is-active .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after,
.nav-dropdown.is-active .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
    width: 100%;
}

.nav-links > a[aria-current="page"],
.nav-dropdown.is-active .nav-dropdown-toggle {
    color: var(--primary);
    font-weight: 600;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown-toggle i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 260px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 500;
    white-space: nowrap;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: transparent;
}

.phone-link:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    background: transparent;
    border: none;
    padding: 0.25rem;
    line-height: 1;
}

.mobile-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-links.active {
    display: flex;
}

.mobile-links > a,
.mobile-dropdown-toggle {
    padding: 0.75rem 0;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    color: var(--text-main);
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.mobile-dropdown.is-open .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: grid;
    gap: 0.15rem;
    padding: 0.35rem 0 0.75rem 0.85rem;
}

.mobile-dropdown-menu[hidden] {
    display: none;
}

.mobile-dropdown-menu a {
    padding: 0.55rem 0;
    font-size: 1rem;
    color: var(--text-light);
    border-bottom: none;
}

.mobile-dropdown-menu a:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: calc(var(--nav-height) + 100px) 0 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle Geometric Pattern Overlay */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: repeating-linear-gradient(45deg, var(--bg-white) 0, var(--bg-white) 1px, transparent 1px, transparent 24px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 1;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 6vw, 56px);
}

.hero-subhead {
    font-size: 1.25rem;
    color: #A3B8CC; /* Lighter Slate */
    margin-bottom: 0;
    max-width: 650px;
    font-weight: 400;
}

.hero-local {
    font-size: 0.95rem;
    color: var(--accent);
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
    justify-content: center;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--bg-white);
    opacity: 0.8;
    flex-wrap: wrap;
}

.hero-badge i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-light);
    border-bottom: 2px solid var(--accent);
}

.trust-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 32px 60px;
    max-width: 100%;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    white-space: normal;
    flex: 1;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 4rem;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
}

.about-image {
    border-radius: 12px;
    height: 400px;
    max-width: 360px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.about-nameplate {
    background-color: #FBF5E6;
    border-left: 4px solid #C9A84C;
    padding: 12px 16px;
    margin-top: 1rem;
    border-radius: 0 8px 8px 0;
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.about-nameplate strong {
    color: var(--primary);
    font-size: 16px;
}

.about-nameplate span {
    color: #64748b;
    font-size: 13px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.ea-badge {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background-color: #FBF5E6;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 0 4px 4px 0;
}

/* EA Standalone Section */
.ea-standalone {
    background-color: #EEF2F8;
    padding: 48px 0;
}

.ea-standalone-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background-color: #FBF5E6;
    border-left: 4px solid #C9A84C;
    padding: 32px 40px;
    border-radius: 0 8px 8px 0;
    max-width: 780px;
    margin: 0 auto;
}

.ea-standalone-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ea-standalone-title i {
    color: var(--accent);
    font-size: 2rem;
}

.ea-standalone-title h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0;
}

.ea-standalone-text {
    width: 100%;
}

.ea-standalone-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #2D2D2D;
}

/* Credentials Bar */
.credentials-bar {
    background-color: #EEF2F8;
    padding: 48px 0;
    border-top: 1px solid #D0D9E8;
    border-bottom: 1px solid #D0D9E8;
}

.credentials-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credential-item i {
    font-size: 2.5rem;
    color: var(--primary);
}

.credential-text {
    display: flex;
    flex-direction: column;
}

.credential-text strong {
    color: var(--primary);
    font-size: 1rem;
}

.credential-text span {
    color: #6B7A8D;
    font-size: 12px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.text-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--primary);
}

/* Local landing page */
.local-intro {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.local-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}

.local-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.local-intro-aside {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #E0E6EF;
}

.local-intro-aside h3 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.local-area-list li {
    margin-bottom: 0.75rem;
}

.local-area-list i {
    color: var(--accent);
}

.local-intro-note {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.local-faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E8EDF4;
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card h4 {
    color: var(--accent);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background-color: #EEF2F8;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 2rem;
}

.service-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(10, 35, 66, 0.05);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Community Section */
.community {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.community-header {
    margin-bottom: 3rem;
}

.community-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.community-column h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.check-list li i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.15rem;
}

.community-quote {
    text-align: center;
    color: var(--primary);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.testimonials-preview {
    background-color: var(--bg-white);
}

.testimonials-preview .section-subtitle {
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2rem 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E8EDF4;
    border-left: 4px solid var(--accent);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonials-page .testimonial-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    transition: var(--transition);
}

.testimonial-category {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background-color: rgba(10, 35, 66, 0.06);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.testimonial-quote {
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.testimonial-quote p {
    margin: 0;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    margin: 0;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    font-style: normal;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--bg-white);
}

.contact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.contact-header h2 {
    color: var(--bg-white);
}

.contact-header p {
    color: #A3B8CC;
    font-size: 1.2rem;
}

.contact-divider {
    width: 60px;
    height: 2px;
    background-color: #C9A84C;
    margin: 24px auto;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.contact-cta {
    text-align: right;
}

.contact-cta .btn {
    min-width: 300px;
    padding: 18px 36px;
}

.contact-direct {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.huge-phone {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.1;
}

.huge-phone:hover {
    color: var(--accent);
}

.phone-subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.contact-form-embed {
    width: 100%;
    max-width: 780px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
}

.contact-form-embed iframe {
    width: 100%;
    height: 656px;
    border: none;
    border-radius: 12px;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-main);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.25);
}

/* Footer */
.footer {
    background-color: #061829; /* very dark navy */
    color: var(--bg-white);
    padding: 3rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.footer-brand {
    text-align: right;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-heading {
    color: var(--bg-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col-links a {
    color: #94A3B8;
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-col-links a:hover {
    color: var(--accent);
}

.footer-phone {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg-white);
    margin: 0.75rem 0 0;
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-disclaimer {
    color: #94A3B8;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid var(--accent);
    padding: 1.5rem 0;
    text-align: center;
    color: #94A3B8;
    font-size: 0.85rem;
}

/* Responsive Design */
/* The nav carries more items than the 1200px content container can hold,
   so it gets a wider track of its own. */
.nav-container {
    max-width: 1400px;
}

@media (max-width: 1400px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-cta {
        gap: 1rem;
    }

    /* Phone stays reachable via the sticky CTA, footer, and mobile menu */
    .nav-cta .phone-link {
        display: none;
    }
}

/* Collapse to the mobile menu while items still fit comfortably */
@media (max-width: 1200px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

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

@media (max-width: 992px) {
    .nav-links, .nav-cta {
        display: none;
    }

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

    .about-grid,
    .community-grid,
    .local-intro-grid,
    .services-grid,
    .service-detail-grid,
    .contact-next-steps,
    .contact-service-links,
    .testimonials-grid,
    .testimonials-grid-preview {
        grid-template-columns: 1fr;
    }

    body {
        padding-bottom: 72px;
    }

    .sticky-cta {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: var(--bg-white);
        box-shadow: 0 -4px 20px rgba(10, 35, 66, 0.15);
    }

    .sticky-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
        font-weight: 700;
        text-align: center;
    }

    .sticky-cta-call {
        background: var(--bg-light);
        color: var(--primary);
    }

    .sticky-cta-book {
        background: var(--accent);
        color: var(--primary);
    }

    .ea-standalone-container {
        padding: 1.5rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-options {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-cta, .contact-direct {
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.75rem;
    }

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

    .footer-col-links {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .tax-month-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem 1.5rem;
    }

    .tax-entry {
        grid-template-columns: 48px 1fr;
        gap: 0.85rem;
    }

    .tax-entry-day {
        font-size: 1.15rem;
    }

    .trust-container {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: calc(var(--nav-height) + 4rem) 0 5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* Footer Legal Links */
.footer-legal-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-legal-links a {
    font-size: 12px;
    color: #8899AA;
}

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

/* SMS Consent Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 12px;
    color: #6B7A8D;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.checkbox-group label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Shared page / legal heroes */
.page-hero,
.legal-hero {
    background-color: var(--primary);
    padding: calc(var(--nav-height) + 60px) 0 60px;
    text-align: center;
}

.page-hero h1,
.legal-hero h1 {
    color: var(--bg-white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.page-hero p,
.legal-hero p {
    color: #A3B8CC;
    font-size: 1rem;
    margin: 0;
}

.page-hero-kicker {
    color: var(--accent) !important;
    font-weight: 700;
    font-size: 0.85rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem !important;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(10, 35, 66, 0.06);
    transform: translateY(-2px);
}

.service-detail {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}

.service-detail-icon {
    width: 64px;
    height: 64px;
    background-color: #EEF2F8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-detail-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-detail-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 1.25rem 0 2rem;
}

.service-detail-main h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail-list {
    margin-bottom: 0.5rem;
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.service-aside-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}

.service-aside-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

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

.aside-phone {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.aside-phone:hover {
    color: var(--accent);
}

.related-services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.related-services a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    background: var(--bg-white);
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary);
}

.related-services a:hover {
    color: var(--accent);
}

.related-services i {
    font-size: 1.25rem;
}

.cta-band.contact {
    padding-bottom: 4rem;
}

.cta-band .contact-header {
    margin-bottom: 2.5rem;
}

.cta-band .contact-options {
    margin-bottom: 0;
    gap: 3rem;
}

.cta-band-options {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-next-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto 3rem;
}

.contact-next-steps li {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    text-align: left;
}

.contact-next-steps strong {
    display: block;
    color: var(--accent);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.contact-next-steps span {
    color: #A3B8CC;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-crosslinks {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-service-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

.contact-service-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--bg-white);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-service-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-service-link i {
    font-size: 1.4rem;
}

.home-services-actions,
.services-help {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.services-help {
    flex-direction: column;
    padding-top: 1rem;
}

.services-help p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.footer-location {
    color: #8899AA;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
}

.sticky-cta {
    display: none;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent);
}

/* Tax Due Dates */
.tax-calendar {
    padding: 80px 0;
    background: var(--bg-white);
}

.tax-calendar-container {
    max-width: 860px;
}

.tax-year-label {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.tax-month-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 0.35rem 2.5rem;
    margin-bottom: 2rem;
}

.tax-month-grid a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.05rem;
}

.tax-month-grid a:hover {
    color: var(--accent);
}

.tax-disclaimer {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E6EBF2;
}

.tax-month {
    margin-bottom: 3.5rem;
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

.tax-month h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.tax-day-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8A8070;
    margin-bottom: 0.75rem;
    padding-left: 0.15rem;
}

.tax-entries {
    list-style: none;
}

.tax-entry {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.25rem;
    padding: 1.15rem 0;
    border-top: 1px solid #E6EBF2;
}

.tax-entry:last-child {
    border-bottom: 1px solid #E6EBF2;
}

.tax-entry-day {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.tax-entry-body {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.65;
}

.tax-entry-body strong {
    color: var(--text-main);
}

.tax-calendar-cta {
    margin-top: 1rem;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.tax-calendar-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.tax-calendar-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tax-calendar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Book List */
.book-list-page {
    padding: 80px 0;
    background: var(--bg-white);
}

.book-list-container {
    max-width: 860px;
}

.book-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E6EBF2;
}

.book-category-nav a {
    color: var(--secondary);
    font-weight: 600;
}

.book-category-nav a:hover {
    color: var(--accent);
}

.book-category {
    margin-bottom: 2.75rem;
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

.book-category h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.book-items {
    list-style: none;
    display: grid;
    gap: 0;
}

.book-items li {
    padding: 0.85rem 0;
    border-bottom: 1px solid #E6EBF2;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.5;
}

.book-list-cta {
    margin-top: 1rem;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.book-list-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.book-list-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Blog */
.blog-crumb {
    background: var(--bg-light);
    padding: calc(var(--nav-height) + 18px) 0 18px;
    border-bottom: 1px solid #E6EBF2;
}

.blog-crumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.blog-crumb a {
    color: var(--secondary);
    font-weight: 600;
}

.blog-crumb a:hover {
    color: var(--accent);
}

.blog-index {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.blog-card-grid-main {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-card p {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--primary);
}

.blog-card:hover .blog-card-link {
    color: var(--accent);
}

.blog-related {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.blog-related-header h2 {
    font-size: 1.6rem;
    margin: 0;
}

.article-page {
    padding: 64px 0 80px;
    background: var(--bg-white);
}

.article-container {
    max-width: 920px;
}

.article-toc {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
}

.article-toc h2 {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.article-toc ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.article-toc a {
    color: var(--secondary);
    font-weight: 600;
}

.article-toc a:hover {
    color: var(--accent);
}

.article-body h2 {
    font-size: 1.7rem;
    margin: 2.5rem 0 1rem;
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

.article-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    color: var(--primary);
}

.article-body p,
.article-body li {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-body ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-bottom: 1.25rem;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0 2rem;
    border: 1px solid #E6EBF2;
    border-radius: 10px;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.article-body th,
.article-body td {
    text-align: left;
    vertical-align: top;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #E6EBF2;
    font-size: 0.95rem;
    line-height: 1.55;
}

.article-body th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
}

.article-body td {
    color: var(--text-light);
}

.article-body tr:last-child td {
    border-bottom: none;
}

.article-cta {
    margin-top: 3rem;
    padding: 2.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.article-cta h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.article-cta p {
    margin-bottom: 1.25rem;
}

/* Blog posts already have page-hero; tighten crumb spacing above hero */
.blog-crumb + .page-hero {
    padding-top: 60px;
}

.legal-content-wrapper {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.back-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

.back-link:hover {
    text-decoration: underline;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 1rem;
}

.legal-content h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background-color: var(--accent);
    margin-top: 0.75rem;
}

.legal-content p {
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content strong {
    color: var(--primary);
}

/* Calculators page */
body.calculators-page {
    padding-bottom: 0;
}

.calculators-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.calculators-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    padding-top: var(--nav-height);
    background: var(--bg-light);
}

.calculators-frame {
    display: block;
    flex: 1;
    width: 100%;
    min-height: 0;
    border: none;
    background: var(--bg-light);
}

.calculators-footnote {
    flex-shrink: 0;
    margin: 0;
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-light);
    text-align: center;
    background: var(--bg-white);
    border-top: 1px solid #DFE6EE;
}

.calculators-footnote a {
    color: var(--secondary);
    text-decoration: underline;
    white-space: nowrap;
}

.calculators-footnote a:hover {
    color: var(--accent);
}
