/* TD Realty Ohio - Complete Stylesheet */

:root {
    --navy: #0A2540;
    --navy-light: #1A3A5A;
    --gold: #D4A574;
    --gold-light: #E8C9A0;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-100: #F5F6F7;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --green: #2D7A4F;
    --green-dark: #1B5E3A;
    --red: #C1393D;

    --gray-400: #CED4DA;
    --green-light: #D9F2E3;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Wire Fraud Warning */
.wire-fraud-notice {
    background: #f8f5f0;
    border-left: 3px solid #c9a227;
    padding: 15px 20px;
    margin-top: 30px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.wire-fraud-notice strong {
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Compensation Disclosure */
.compensation-notice {
    background: #f5f5f5;
    padding: 15px 20px;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    border-radius: 4px;
}

/* Equal Housing Opportunity */
.eho-statement {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.eho-logo {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: 1.1;
}

.eho-logo svg {
    width: 40px;
    height: 40px;
}

.eho-text {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-td {
    background: var(--navy);
    color: var(--gold);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-family: 'Crimson Pro', serif;
    font-size: 1.25rem;
}

.logo-text {
    color: var(--navy);
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--gray-700);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--navy);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.skip-link {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    background: var(--white);
    color: var(--navy);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-200%);
    transition: transform 0.2s;
    z-index: 1001;
}

.skip-link:focus {
    transform: translateY(0);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: all 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 140px 20px 80px;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--gold);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 80px 20px;
}

.section-alt {
    background: var(--off-white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CARDS
   ======================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--navy);
    font-weight: 700;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

/* ========================================
   CALCULATOR
   ======================================== */

.calculator-section {
    background: var(--off-white);
    padding: 80px 20px;
}

.calculator-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.calculator-input {
    margin-bottom: 30px;
}

.calculator-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
}

.price-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.price-input-group span {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 600;
}

.price-input-group input[type="number"] {
    flex: 1;
    padding: 15px;
    font-size: 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
}

.price-input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--gold);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: var(--gray-200);
    border-radius: 4px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.toggle-group {
    background: var(--off-white);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.toggle-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.toggle-text {
    font-weight: 500;
    color: var(--navy);
}

.toggle-help {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 8px;
    margin-left: 32px;
}

.calculator-results {
    background: var(--navy);
    border-radius: 12px;
    padding: 30px;
    color: var(--white);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    color: rgba(255,255,255,0.8);
}

.result-value {
    font-size: 1.25rem;
    font-weight: 600;
}

.result-row.savings {
    background: var(--green);
    margin: 15px -30px -30px;
    padding: 20px 30px;
    border-radius: 0 0 12px 12px;
}

.result-row.savings .result-label {
    color: var(--white);
    font-weight: 600;
}

.result-row.savings .result-value {
    font-size: 1.5rem;
    color: var(--white);
}

/* ========================================
   COMMUNITIES LIST
   ======================================== */

.communities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.communities-list span {
    color: var(--gray-700);
    padding: 5px 0;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

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

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 25px 20px;
    color: var(--gray-700);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ========================================
   GREEN BENEFIT BANNER
   ======================================== */

.benefit-banner {
    background: var(--green);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.benefit-banner h2,
.benefit-banner p,
.benefit-banner strong,
.benefit-banner span {
    color: var(--white) !important;
}

.benefit-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.benefit-banner p {
    color: var(--white);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 25px;
}

.benefit-banner .btn {
    background: var(--white);
    color: var(--green);
}

.benefit-banner .btn:hover {
    background: var(--off-white);
    color: var(--green);
}

/* ========================================
   PAGE HERO
   ======================================== */

.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 140px 20px 60px;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   PRICING CARDS
   ======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--gold);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    background: var(--navy);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.pricing-rate {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Crimson Pro', serif;
}

.pricing-rate span {
    font-size: 1.5rem;
}

.pricing-body {
    padding: 30px;
}

.pricing-body ul {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-body li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.pricing-body li:last-child {
    border-bottom: none;
}

/* ========================================
   PROCESS STEPS
   ======================================== */

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.75rem;
}

.contact-item a {
    color: var(--gray-700);
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success h3 {
    color: var(--green);
    margin-bottom: 15px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    background: var(--gray-200);
    border-radius: 16px;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-700);
    margin-bottom: 15px;
}

.credentials {
    background: var(--off-white);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.credentials h4 {
    margin-bottom: 15px;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    padding: 8px 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.credentials li:last-child {
    border-bottom: none;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255,255,255,0.8);
}

.footer a:hover {
    color: var(--gold);
}

.footer p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-legal {
    margin-bottom: 15px;
}

.footer-legal p {
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: var(--navy);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-content p {
    color: var(--gray-700);
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0 15px 25px;
    color: var(--gray-700);
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-update {
    font-style: italic;
    color: var(--gray-600);
    margin-top: 40px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        padding: 25px;
    }
    
    .result-row.savings {
        margin: 15px -25px -25px;
        padding: 20px 25px;
    }
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ========================================
   MOBILE CALL BUTTON
   ======================================== */
.mobile-call-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-call-btn {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 56px;
        height: 56px;
        background: var(--green);
        color: var(--white);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(45, 122, 79, 0.4);
        z-index: 998;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .mobile-call-btn:hover {
        background: var(--green-dark);
        transform: scale(1.05);
        color: var(--white);
    }
    
    .mobile-call-btn svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
    
    /* Adjust back-to-top position on mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   PROFESSIONAL AFFILIATIONS
   ======================================== */
.affiliations {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.affiliations-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
}

.affiliation-logos {
    display: flex;
    gap: 15px;
    align-items: center;
}

.affiliation-logo {
    height: 35px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.affiliation-logo:hover {
    opacity: 1;
}

/* Placeholder for logos - shows text until images added */
.affiliation-placeholder {
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .affiliations {
        justify-content: center;
    }
}

/* ========================================
   TRUST BAR SECTION
   ======================================== */

.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 30px 20px;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.trust-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-credentials {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.trust-credentials span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .trust-items {
        gap: 30px;
    }
    
    .trust-number {
        font-size: 1.5rem;
    }
    
    .trust-credentials {
        gap: 15px;
    }
    
    .trust-credentials span {
        font-size: 0.75rem;
    }
}

/* ========================================
   CITIES GRID
   ======================================== */

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.city-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
}

.city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.city-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--navy);
}

.city-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

.all-cities-link {
    text-align: center;
    color: var(--gray-600);
}

.all-cities-link a {
    color: var(--navy);
}

.all-cities-link a:hover {
    color: var(--gold);
}

@media (max-width: 900px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .cities-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.comparison-row.header .comparison-cell {
    color: var(--white);
}

.comparison-cell {
    padding: 18px 20px;
    color: var(--gray-700);
}

.comparison-cell:first-child {
    font-weight: 500;
    color: var(--navy);
}

.comparison-cell.highlight {
    background: rgba(212, 165, 116, 0.1);
    color: var(--navy);
    font-weight: 600;
}

@media (max-width: 600px) {
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .comparison-cell {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

/* ========================================
   BLOG GRID
   ======================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--navy);
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AREA PAGES
   ======================================== */

.area-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 140px 20px 60px;
}

.area-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.area-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
}

.area-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.area-stat {
    text-align: left;
}

.area-stat-value {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.area-stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.area-content {
    max-width: 900px;
    margin: 0 auto;
}

.area-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.area-content p {
    color: var(--gray-700);
    margin-bottom: 15px;
}

.neighborhoods-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.neighborhoods-list span {
    background: var(--off-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--navy);
}

.area-calculator {
    background: var(--off-white);
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.area-calculator h3 {
    margin-bottom: 20px;
}

.savings-example {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.savings-example-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
}

.savings-example-item .price {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.savings-example-item .savings {
    color: var(--green);
    font-weight: 600;
}

.savings-example-item .label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .area-hero h1 {
        font-size: 2rem;
    }
    
    .area-stats {
        gap: 25px;
    }
    
    .savings-example {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BLOG PAGES
   ======================================== */

.blog-hero {
    background: var(--navy);
    color: var(--white);
    padding: 140px 20px 60px;
}

.blog-hero h1 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 15px;
    max-width: 800px;
}

.blog-meta {
    font-size: 0.9rem;
    opacity: 0.8;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.blog-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.blog-content p {
    color: var(--gray-700);
    margin-bottom: 15px;
    line-height: 1.7;
}

.blog-content ul, .blog-content ol {
    margin: 15px 0 15px 25px;
    color: var(--gray-700);
}

.blog-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.blog-callout {
    background: var(--off-white);
    border-left: 4px solid var(--gold);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.blog-callout p {
    margin: 0;
    font-size: 1.05rem;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.blog-table th, .blog-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.blog-table th {
    background: var(--off-white);
    font-weight: 600;
    color: var(--navy);
}

.blog-table td {
    color: var(--gray-700);
}

.related-posts {
    background: var(--off-white);
    padding: 40px;
    margin-top: 60px;
    border-radius: 12px;
}

.related-posts h3 {
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-post-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
}

.related-post-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.related-post-card h4 {
    font-size: 1rem;
    color: var(--navy);
    margin: 0;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 1.75rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ PAGE
   ======================================== */

.faq-page-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

/* ========================================
   AREAS INDEX PAGE
   ======================================== */

.areas-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.area-index-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
}

.area-index-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.area-index-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.area-index-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

@media (max-width: 900px) {
    .areas-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .areas-index-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BLOG INDEX PAGE
   ======================================== */

.blog-index-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-index-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
}

.blog-index-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.blog-index-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--navy);
    line-height: 1.4;
}

.blog-index-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0 0 10px;
    line-height: 1.5;
}

.blog-index-card .read-more {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .blog-index-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

.breadcrumb {
    padding: 15px 0;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list li::after {
    content: "›";
    color: var(--gray-400);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--navy);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list .current {
    color: var(--gray-600);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table th {
    background: var(--navy);
    color: var(--white);
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr.featured {
    background: var(--green-light);
}

.comparison-table tr.featured td {
    font-weight: 600;
}

.comparison-table .savings {
    color: var(--green);
    font-weight: 700;
    font-size: 18px;
}

.feature-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .feature-comparison {
        grid-template-columns: 1fr;
    }
}

.feature-col {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.feature-col h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list.check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    margin-bottom: 20px;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}
