/* Premium Design System for New England Tax Services */

:root {
    --bg-color: #F8FAFC;
    --bg-section: #FFFFFF;
    --bg-secondary: #F1F5F9;
    --text-color: #1E293B;
    --text-muted: #64748B;
    --primary-accent: #0C4A6E;
    --primary-accent-light: #075985;
    --cta-accent: #0d6efd;
    --cta-accent-hover: #0b5ed7;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body { 
    margin: 0; 
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
    color: var(--text-color); 
    background: var(--bg-color);
    line-height: 1.65;
}

a { 
    color: var(--primary-accent); 
    text-decoration: none; 
    transition: var(--transition); 
}

a:hover {
    color: var(--primary-accent-light);
}

.container { 
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* Premium Buttons */
.btn { 
    display: inline-block; 
    background: linear-gradient(135deg, var(--cta-accent) 0%, var(--cta-accent-hover) 100%);
    color: #fff; 
    padding: 14px 28px; 
    border-radius: 10px; 
    font-weight: 600; 
    font-size: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover { 
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn.alt { 
    background: var(--white); 
    color: var(--primary-accent); 
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn.alt:hover {
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Headers */
header.head { 
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

header.head::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(12, 74, 110, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

header.head .inner {
    position: relative;
    z-index: 1;
    padding: 0;
}

h1 { 
    margin: 0 0 16px; 
    font-size: clamp(36px, 4vw, 48px); 
    line-height: 1.1; 
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 3vw, 32px);
    margin: 0 0 16px;
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 24px;
    margin: 0 0 12px;
    color: var(--text-color);
    font-weight: 600;
}

p.lead { 
    font-size: 18px; 
    color: var(--text-muted); 
    margin: 0 0 24px;
    line-height: 1.6;
}

.muted { 
    color: var(--text-muted);
    font-size: 15px;
}

/* Main Content */
main { 
    padding: 72px 0;
}

main .container {
    padding: 0 24px;
}

/* Premium Cards */
.card { 
    background: var(--white); 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-accent-light);
}

.card h2 { 
    margin: 0 0 12px; 
    font-size: 24px; 
    color: var(--text-color);
    font-weight: 600;
}

.card p {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 16px;
}

/* Grid Layouts */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 24px; 
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.section {
    margin-bottom: 32px;
}

/* Lists */
ul {
    margin: 12px 0;
    padding-left: 24px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

ul li {
    margin: 8px 0;
}

ul li::marker {
    color: var(--cta-accent);
}

/* Pills/Badges */
.pill {
    display: inline-block;
    background: rgba(12, 74, 110, 0.1);
    color: var(--primary-accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Sticky Top Bar */
.sticky-bar {
    background-color: var(--primary-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sticky-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

.sticky-bar p {
    margin: 0;
    text-align: center;
    font-size: 14px;
}

.sticky-bar a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

html {
    scroll-behavior: smooth;
}

/* Footer */
footer.site-footer { 
    background: #0F172A; 
    color: #E2E8F0;
}

footer .main-footer {
    padding: 56px 0 32px;
}

footer .footer-inner { 
    padding: 0; 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

footer .footer-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

footer .footer-col:first-child {
    /* First column (company info) is wider */
    max-width: none;
}

footer h4 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
}

footer a { 
    color: #CBD5E1;
    transition: var(--transition);
    text-decoration: none;
}

footer a:hover {
    color: #FFFFFF;
}

footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-links li {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

footer .footer-links li a {
    color: #CBD5E1;
    line-height: 1.6;
}

footer .footer-links li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

footer .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer .footer-copyright {
    color: #94A3B8;
    font-size: 14px;
}

footer .footer-nav {
    display: flex;
}

footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

footer .footer-menu li {
    margin: 0;
}

footer .footer-menu li a {
    color: #CBD5E1;
    font-size: 14px;
}

footer .footer-menu li a:hover {
    color: #FFFFFF;
}

@media (max-width: 1200px) {
    footer .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    footer .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    footer .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    footer .footer-menu {
        justify-content: center;
    }
}

/* Hero Section */
header.hero { 
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

header.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(12, 74, 110, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 48px; 
    padding: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 960px) { 
    .hero-inner { grid-template-columns: 1.3fr 1fr; } 
}

h1 { 
    margin: 0 0 20px; 
    font-size: clamp(40px, 5vw, 52px); 
    line-height: 1.1; 
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead { 
    font-size: 20px; 
    color: var(--text-muted); 
    margin: 0 0 32px;
    line-height: 1.6;
}

.bullets { 
    margin: 0; 
    padding-left: 24px; 
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.bullets li { 
    margin: 12px 0;
    position: relative;
}

.bullets li::marker {
    color: var(--cta-accent);
}

/* Sections with proper spacing */
section { 
    padding: 72px 0;
    position: relative;
}

/* Spacing before footer */
main {
    padding-bottom: 72px;
}

section.alt {
    background: var(--bg-secondary);
}

h2 { 
    font-size: clamp(32px, 3vw, 36px); 
    margin: 0 0 24px; 
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card h3 { 
    margin: 0 0 12px; 
    font-size: 24px; 
    color: var(--text-color);
    font-weight: 600;
}

.card p {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 16px;
}

/* Testimonials */
.testimonial-card {
    padding: 32px;
}

.testimonial-card .stars {
    color: #F59E0B;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 20px;
    color: var(--text-color);
    font-style: normal;
}

.file-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.file-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-accent);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

/* Testimonials 2x2 grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Centering */
    .container {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    
    /* Center all content except form inputs */
    .container > *:not(form):not(input):not(textarea):not(select) {
        text-align: center !important;
    }
    
    /* Center hero content */
    .hero-inner {
        text-align: center !important;
    }
    
    .hero-inner > div {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Center headings and text */
    h1, h2, h3, .lead, .hero-inner p,
    section h1, section h2, section h3,
    section p, section .sub {
        text-align: center !important;
    }
    
    /* Center hero actions */
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px;
    }
    
    /* Center bullets list */
    .bullets {
        text-align: left;
        margin: 0 auto;
        display: inline-block;
    }
    
    /* Center cards in grid */
    .grid {
        justify-items: center !important;
    }
    
    .card {
        text-align: center !important;
        margin: 0 auto;
    }
    
    /* Center file options container */
    .file-options-container {
        align-items: center !important;
    }
    
    /* Center testimonials */
    .testimonial-card {
        text-align: center !important;
        margin: 0 auto;
    }
    
    /* Form inputs should remain left-aligned for readability */
    form input,
    form textarea,
    form select {
        text-align: left !important;
    }
    
    /* Center buttons */
    .btn {
        margin: 0 auto;
        display: inline-block;
    }
    
    .text-center {
        text-align: center !important;
    }
    
    /* Center sections */
    section {
        text-align: center !important;
    }
    
    section > .container {
        text-align: center !important;
    }
}

/* Utility Classes for Inline Styles */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.file-options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.file-option-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.file-option-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.file-option-text {
    margin: 0;
    font-size: 15px;
}

.card-gradient {
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.03) 0%, rgba(12, 74, 110, 0.08) 100%);
    border-color: var(--primary-accent-light);
}

.card-title {
    margin: 0 0 24px;
    font-size: 22px;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.card-link {
    color: var(--primary-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-name {
    font-weight: 600;
    font-size: 16px;
}

.testimonial-author-meta {
    font-size: 14px;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

/* Location Page Specific Styles */
.location-title {
    margin: 0 0 6px;
}

.footer-muted {
    margin: 0 0 16px;
}

.loc-no-margin {
    margin-bottom: 0;
}

/* Footer Styles */
#site-footer { 
    color: #F8FAFC; 
    background: radial-gradient(1200px 700px at 20% 0%, rgba(255,255,255,.08), rgba(0,0,0,0) 55%), linear-gradient(180deg, #1A1A1A, #111827); 
}

#site-footer a { 
    color: #E5E7EB; 
    text-decoration: none; 
}

#site-footer a:hover { 
    color: #FFFFFF; 
    text-decoration: underline; 
}

#site-footer .main-footer { 
    padding: 56px 0 36px; 
}

#site-footer .container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

#site-footer .footer-inner { 
    display: grid; 
    grid-template-columns: 1.15fr 1fr 1fr; 
    gap: 56px; 
    align-items: start; 
}

#site-footer .footer-col h4 { 
    margin: 0 0 14px; 
    font-size: 16px; 
    font-weight: 700; 
    letter-spacing: .01em; 
}

#site-footer .muted { 
    color: #94A3B8; 
    font-size: 14px; 
    line-height: 1.6; 
}

#site-footer .contact-line { 
    margin: 0 0 10px; 
    font-size: 14px; 
}

#site-footer .section { 
    margin-top: 18px; 
}

#site-footer .subhead { 
    margin: 18px 0 10px; 
    font-size: 13px; 
    font-weight: 700; 
    color: #CBD5E1; 
    text-transform: uppercase; 
    letter-spacing: .04em; 
}

#site-footer .loc { 
    margin: 0 0 12px; 
    font-size: 14px; 
}

#site-footer .loc .name { 
    font-weight: 700; 
    color: #E5E7EB; 
}

#site-footer .loc .meta { 
    color: #94A3B8; 
    margin-top: 2px; 
}

#site-footer ul.link-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

#site-footer ul.link-list li { 
    margin: 10px 0; 
    font-size: 14px; 
}

#site-footer ul.link-list a::before { 
    content: "»"; 
    display: inline-block; 
    margin-right: 10px; 
    color: rgba(255,255,255,.65); 
}

#site-footer .footer-copyright { 
    font-size: 13px; 
    color: #94A3B8; 
    margin-top: 24px; 
}

#site-footer .footer-menu { 
    list-style: none; 
    padding: 0; 
    margin: 12px 0 0; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

#site-footer .footer-menu a { 
    color: #E5E7EB; 
    font-size: 14px; 
}

#site-footer .footer-menu a:hover { 
    color: #FFFFFF; 
    text-decoration: underline; 
}

#site-footer .conecta-bar { 
    border-top: 1px solid rgba(255,255,255,.1); 
    padding: 16px 0; 
    text-align: center; 
    background: rgba(0,0,0,.2); 
}

#site-footer .conecta-bar p { 
    margin: 0; 
    font-size: 13px; 
    color: #94A3B8; 
}

#site-footer .conecta-bar a { 
    color: #E5E7EB; 
    font-weight: 600; 
}

#site-footer .conecta-bar a:hover { 
    color: #FFFFFF; 
    text-decoration: underline; 
}

@media (max-width: 1024px) {
    #site-footer .footer-inner { 
        grid-template-columns: 1fr 1fr; 
        gap: 36px; 
    }
}

@media (max-width: 640px) {
    #site-footer .main-footer { 
        padding: 44px 0 28px; 
    }
    
    #site-footer .footer-inner { 
        grid-template-columns: 1fr; 
        gap: 26px; 
    }
}

/* Locations Page Specific Overrides */
.locations-page .card p.muted {
    color: var(--primary-accent);
}

.locations-page p.lead {
    color: var(--text-color);
}

.locations-page footer p {
    color: var(--text-color) !important;
}

.locations-page footer h4 {
    color: var(--text-color);
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-text-muted {
    color: #94A3B8;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.footer-paragraph {
    margin: 0 0 8px;
}

.footer-paragraph-last {
    margin: 0;
}

.footer-copyright-text {
    margin: 0;
    color: #94A3B8;
    font-size: 14px;
}

/* Common Utility Classes for All Pages */
.service-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.service-card {
    cursor: pointer;
}

.service-card-link {
    color: inherit;
    text-decoration: none;
}

.service-card-link:hover {
    color: var(--primary-accent);
}

.service-learn-more {
    color: var(--primary-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}

.service-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.service-book-btn {
    display: inline-block;
    background: var(--cta-accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-book-btn:hover {
    background: var(--cta-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.question-card {
    margin-top: 32px;
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.03) 0%, rgba(12, 74, 110, 0.08) 100%);
}

.question-title {
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
}

.question-text {
    margin: 0;
    font-size: 16px;
}

.question-link {
    font-weight: 600;
}

.back-link {
    text-align: center;
    margin-top: 32px;
}

.back-link a {
    color: var(--primary-accent);
    font-weight: 600;
    text-decoration: none;
}

/* Container Variations */
.container-narrow {
    max-width: 900px;
}

.container-medium {
    max-width: 1000px;
}

/* Margin Utilities */
.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-16 {
    margin-bottom: 16px;
}

/* List Utilities */
.list-indent {
    padding-left: 18px;
}

/* Text Utilities */
.text-normal {
    font-size: 16px;
    line-height: 1.65;
}

.text-bold {
    font-weight: 600;
}

/* Contact Page Specific */
.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-blue {
    background: #0d6efd;
}

.contact-location-margin {
    margin: 0 0 6px;
}

.contact-location-spacing {
    margin: 10px 0 6px;
}

/* Range Slider Styling */
input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-accent);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-accent);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    background: var(--primary-accent);
    border-radius: 4px;
}

input[type="range"]::-moz-range-track {
    height: 8px;
    background: var(--primary-accent);
    border-radius: 4px;
}

/* Toggle Switch Styling */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 30px;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: '';
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-accent);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Calculator Styles */
.calculator-container {
    padding: 32px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 32px;
}

.calculator-title {
    margin: 0 0 12px;
    color: var(--primary-accent);
    font-size: 32px;
}

.calculator-subtitle {
    font-size: 18px;
    margin: 0;
}

.calculator-toggle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calculator-toggle-label {
    font-weight: 600;
    color: var(--text-color);
}

.calculator-badge {
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}

.calculator-content {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-field {
    margin-bottom: 24px;
}

.calculator-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calculator-field-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.calculator-field-value {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-accent);
}

.calculator-field-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
}

.calculator-price-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border: 2px solid var(--primary-accent);
}

.calculator-price-label {
    margin-bottom: 16px;
}

.calculator-price-label-text {
    font-size: 16px;
    color: #6c757d;
    font-weight: 600;
}

.calculator-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.calculator-price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-accent);
}

.calculator-price-period {
    font-size: 20px;
    color: #6c757d;
}

.calculator-billing-text {
    margin: 0 0 24px;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.platform-title {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-48 {
    margin-top: 48px;
}

.text-sm {
    font-size: 14px;
}

.mb-6 {
    margin-bottom: 6px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* Section Styles */
.section-padding {
    padding: 32px;
}

.section-title-center {
    margin: 0 0 24px;
    color: var(--primary-accent);
    text-align: center;
}

.section-content-center {
    max-width: 800px;
    margin: 0 auto;
}

.section-divider {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* Stats/Feature Boxes */
.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 14px;
    margin: 0;
}

.stat-icon-box {
    margin: 0 auto 8px;
    width: 48px;
    height: 48px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-title {
    margin: 0 0 8px;
    font-size: 18px;
}

.step-description {
    font-size: 14px;
    margin: 0;
}

/* Content Lists */
.content-list {
    margin: 8px 0;
    padding-left: 24px;
    color: #495057;
}

.content-section {
    margin-bottom: 24px;
}

.content-section-title {
    margin: 0 0 12px;
    color: var(--text-color);
    font-size: 20px;
}

.content-section-text {
    margin: 0 0 12px;
}

/* Note Box */
.note-box {
    margin-top: 24px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-accent);
}

.note-text {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 48px;
    padding: 32px 0;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 18px;
    text-decoration: none;
    background: #0d6efd;
}

.cta-button-small {
    text-align: center;
    margin-top: 24px;
}

/* Annual Savings */
.annual-savings {
    display: none;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Footer Utility Classes */
.footer-text-muted {
    color: #94A3B8;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.footer-paragraph {
    margin: 0 0 8px;
}

.footer-paragraph-last {
    margin: 0;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-center {
    text-align: center;
}

/* ============================================
   TAX SCHOOL PAGE SPECIFIC STYLES
   Note: Tax school page uses different CSS variables.
   Add class="tax-school-page" to <html> or <body> tag
   and include variable overrides in a minimal style tag if needed.
   ============================================ */

/* Tax School Inline Style Replacements */
.tax-school-sticky-link {
    color: #fff;
    text-decoration: underline;
}

.tax-school-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tax-school-instructor-img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    display: block;
}

.tax-school-trust-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tax-school-trust-icon {
    text-align: center;
}

.tax-school-trust-icon-emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tax-school-trust-icon-label {
    font-weight: 600;
    color: var(--primary-accent);
}

.tax-school-trust-icon-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.tax-school-checkout-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.tax-school-checkout-btn {
    flex: 1 1 260px;
    text-align: center;
}

.tax-school-checkout-btn-blue {
    background-color: #0d6efd;
}

.tax-school-support-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #e7f0f7;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--primary-accent);
    font-weight: 600;
}

.tax-school-support-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.tax-school-choice-group-mt {
    margin-top: 1rem;
}

.tax-school-section-bg {
    background-color: var(--bg-color);
}

.tax-school-content-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.tax-school-content-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.tax-school-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.tax-school-error-global {
    text-align: center;
    font-size: 1rem;
    margin-top: 1.5rem;
}

.tax-school-pay-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    display: none;
}

.tax-school-helper-center {
    text-align: center;
    margin-top: 1rem;
}

.tax-school-support-badge-container {
    text-align: center;
    margin: 1.5rem 0;
}

/* Locations Section Styles */
.locations-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    font-family: inherit;
}

.location-item:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-accent);
}

.location-item.active {
    background: var(--primary-accent);
    color: var(--white);
    border-color: var(--primary-accent);
}

.location-toggle-icon {
    font-size: 20px;
    font-weight: 600;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.location-name {
    flex: 1;
}

.location-details {
    position: relative;
}

.location-detail {
    display: none;
}

.location-detail.active {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.location-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.location-info {
    background: var(--primary-accent);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.location-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 12px 0;
    margin-top: 24px;
}

.location-info h3:first-child {
    margin-top: 0;
}

.location-info p {
    margin: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
}

.location-info p:last-child {
    margin-bottom: 0;
}

.location-info a {
    color: var(--white);
    text-decoration: none;
}

.location-info a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.location-info .location-book-btn {
    margin-top: 24px;
    width: 100%;
    text-align: center;
    background: var(--white) !important;
    color: var(--primary-accent) !important;
    border: none !important;
    box-shadow: var(--shadow-md);
    padding: 14px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.location-info .location-book-btn:hover {
    background: var(--bg-secondary) !important;
    color: var(--primary-accent) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .locations-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-detail.active {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .location-map-container {
        height: 250px;
        margin-bottom: 0;
    }

    .location-info {
        padding: 1.5rem;
    }
}