/* Global Styles */
:root {
    --primary: #141414;
    --secondary: #6c757d;
    --accent: #6c757d;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #6c757d;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: grid;
    grid-template-columns: auto 2fr auto;
    align-items: center;
    padding: 20px 0;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0 5px;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

.desktop-nav ul li {
    margin: 0 20px;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: var(--primary);
}

/* Phone Section */
.header-phone {
    text-align: center;
    padding: 0 5px;
    justify-self: end;
    line-height: 0.7;
}

.header-phone a {
    font-weight: bold;
    text-decoration: none;
    color: var(--dark);
    display: block;
}

.header-phone a:first-child {
    font-size: 1.1rem;
}

.header-phone a[href^="tel:"]:not(.phone-icon) {
    font-size: 1.5rem;
    /* desktop number size */
}

/* Desktop default: hide icon */
.header-phone .phone-icon {
    display: none !important;
}

/* Mobile Elements (Hidden on Desktop) */
.burger-menu,
.mobile-nav {
    display: none;
}

/* Overlay for mobile drawer dimming */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 999;
    /* below .mobile-nav (1000) */
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Burger base + animation to X */
.burger-menu {
    background: transparent;
    border: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform .2s ease;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: transform .25s ease, opacity .2s ease, background-color .2s ease;
    border-radius: 2px;
    display: block;
}

.burger-menu.open .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Styles */
@media (max-width: 968px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        padding: 15px 0;
        gap: 15px;
        align-items: center;
    }

    .header-phone {
        justify-self: end;
        /* right side */
        align-self: center;
        /* vertical centering in the grid cell */
        display: flex;
        align-items: center;
        line-height: 1;
    }

    /* Hide desktop nav on mobile */
    .desktop-nav {
        display: none;
    }

    /* Show burger menu */
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 1001;
    }

    /* Center logo on mobile */
    .logo {
        justify-self: center;
    }

    /* Mobile navigation drawer */
    .mobile-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: saturate(180%) blur(8px);
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 80px 30px 30px;
        overflow-y: auto;
        display: block;
    }

    .mobile-nav.active {
        left: 0;
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        list-style: none;
        padding-top: 10px;
    }

    .mobile-nav ul li {
        margin: 0 0 20px 0;
        width: 100%;
    }

    .mobile-nav ul li a {
        font-size: 1.15rem;
        padding: 14px 0;
        display: block;
        width: 100%;
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
    }

    /* Phone visibility rules on mobile */
    .header-phone a:not(.phone-icon) {
        display: none !important;
    }

    .header-phone .phone-icon {
        display: flex !important;
        width: 40px;
        height: 50px;
        background: none;
        align-items: center;
        justify-content: center;
        color: #141414;
        text-decoration: none;
        font-size: 1.8rem;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===========================
   Pricing Section
=========================== */
:root {
    --primary: #141414;
    --secondary: #6c757d;
    --accent: #6c757d;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

.pricing {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 90px 0;
    border-top: 5px solid #e2e8f0;
}

/* Grid defaults (desktop/tablet) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.price-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    text-align: left;
    /* body text left for natural wrapping */
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(2, 6, 23, .12);
    border-color: #cbd5e1;
}

.price-card.feature {
    border: 2px solid var(--primary);
    box-shadow: 0 16px 35px rgba(20, 20, 20, .18);
}

/* Card title */
.price-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--dark);
    margin: 0 0 14px 0;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* keep in one line */
    text-align: center;
}

.price-card h3 i {
    color: var(--primary);
    font-size: 1.6rem;
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(20, 20, 20, 0.80);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    transform: rotate(2deg);
    box-shadow: 0 8px 18px rgba(20, 20, 20, .25);
    pointer-events: none;
}

/* Price row */
.amount-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 6px;
}

.amount-row .currency {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--primary);
}

.amount-row .amount {
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    font-size: 3rem;
    color: var(--primary);
}

.amount-row .suffix {
    font-weight: 700;
    color: var(--gray);
    font-size: 1.1rem;
}

.muted {
    color: var(--gray);
    margin-top: 8px;
    font-size: 1rem;
}

.save-note {
    margin-top: 8px;
    color: var(--gray);
    font-size: .92rem;
}

/* Lists (custom bullets, stable wrapping) */
.price-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0;
}

.price-list li {
    display: block;
    position: relative;
    padding-left: 18px;
    margin: 8px 0;
    line-height: 1.5;
    word-break: break-word;
}

.price-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* Badges */
.service-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--dark);
}

.badge.inperson {
    background: #eef2ff;
    border-color: #dbeafe;
    color: var(--primary);
}

.badge.remote {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #6c757d;
}

/* Accent borders */
.in-person {
    border-left: 5px solid var(--primary);
}

.remote {
    border-left: 5px solid #6c757d;
}

/* Footnotes & CTA */
.pricing-footnote {
    text-align: center;
    color: var(--gray);
    margin-top: 14px;
    font-size: 1rem;
}

.pricing-cta {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-cta a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.pricing-cta a:hover {
    border-bottom-color: var(--primary);
}

/* Category headers & callouts */
.pricing-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin: 10px 0 18px;
}

.pricing-subtitle i {
    color: var(--primary);
}

.pricing-group {
    margin-bottom: 36px;
}

.business-grid {
    grid-auto-rows: 1fr;
}

.seniors-callout,
.business-callout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    margin: 0 0 20px;
    font-size: .95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
}

.seniors-callout {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.seniors-callout i {
    color: #dc2626;
}

.business-callout {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #075985;
}

.business-callout i {
    color: #0284c7;
}

.seniors-callout p,
.business-callout p {
    margin: 0;
    line-height: 1.4;
}

.seniors-callout strong,
.business-callout strong {
    font-weight: 700;
}

/* small value highlight under price */
.value-tag {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    font-weight: 700;
    font-size: .8rem;
    border-radius: 12px;
    background: #e6f4ea;
    /* soft green */
    color: #166534;
}


/* ===========================
   MOBILE VIEW (<=768px)
   Consolidated iPhone tweaks
=========================== */
@media (max-width: 768px) {

    /* Two cards side-by-side */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Smaller cards */
    .price-card {
        padding: 14px;
        border-radius: 12px;
    }

    /* Title smaller, single line */
    .price-card h3 {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        gap: 6px;
    }

    .price-card h3 i {
        font-size: 1.1rem;
    }

    /* Price text smaller */
    .amount-row .currency {
        font-size: 1rem;
    }

    .amount-row .amount {
        font-size: 1.8rem;
    }

    .amount-row .suffix {
        font-size: 0.8rem;
    }

    /* Body text smaller */
    .muted,
    .save-note {
        font-size: 0.8rem;
    }

    /* List items smaller & tighter */
    .price-list li {
        font-size: 0.85rem;
        margin: 6px 0;
        line-height: 1.4;
    }

    /* Badges smaller */
    .badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Category headings & callouts compact */
    .pricing-subtitle {
        font-size: 1rem;
    }

    .seniors-callout,
    .business-callout {
        font-size: 0.85rem;
        padding: 10px 14px;
        gap: 8px;
    }
}

/* Extra-narrow phones (<=360px) */
@media (max-width: 360px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .price-card {
        padding: 12px;
    }

    .amount-row .amount {
        font-size: 1.6rem;
    }

    .price-list li {
        font-size: 0.8rem;
    }
}


/* Footer Styling */
footer {
    background-color: #141414;
    color: #6c757d;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: white;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 90px;
    width: auto;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #6c757d;
}

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

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

.footer-col ul li a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #6c757d;
}

.footer-contact p,
.footer-hours p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #6c757d;
    font-size: 0.95rem;
}

.footer-col p i {
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive: Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #6c757d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo .logo-img {
        height: 70px;
        width: auto;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .footer-contact p,
    .footer-hours p {
        justify-content: center;
    }
}

/* Google Review Button Style */
.google-review-btn {
    display: inline-block;
    background-color: #6c757d;
    /* Google's blue color */
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    margin-bottom: 20px;
    /* Adds some space below */
    text-align: center;
}

.google-review-btn:hover {
    background-color: #6c757d;
    /* Darker blue on hover */
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .google-review-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}