/* ================================================================
   ALL-PRO PHYSIO — SITE-WIDE REFINEMENTS v1.0
   Mobile-first · Real images · Spacing · Gaps · Polish
   ================================================================ */

/* ── SECTION RHYTHM ──────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── WAVE DIVIDERS between sections ──────────────────────────── */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* ── GLOBAL CARD POLISH ───────────────────────────────────────── */
.service-card,
.value-card,
.team-card,
.testimonial-card,
.contact-card,
.sidebar-widget,
.process-step {
    transition: transform .35s cubic-bezier(.34,1.15,.64,1),
                box-shadow .35s ease !important;
}

/* ── INSURANCE BANNER ENHANCEMENTS ───────────────────────────── */
.insurance-banner {
    background: linear-gradient(135deg, #071f3d 0%, #0d3b6e 60%, #1a5ba8 100%);
    padding: .85rem 0;
    overflow: hidden;
    position: relative;
}
.insurance-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,212,255,.08), transparent 70%);
}
.insurance-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.insurance-item {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    gap: .45rem;
    letter-spacing: .02em;
}
.insurance-item i { color: #4dff6e; font-size: .85rem; }
.insurance-item strong { color: #fff; }
.insurance-divider { color: rgba(255,255,255,.25); font-size: 1.2rem; }

/* ── REAL PHOTO SECTIONS ──────────────────────────────────────── */

/* ----  Why-Us image card  ---- */
.why-us-img-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 460px;
    background: none;
    padding: 0;
    box-shadow: 0 24px 80px rgba(7,22,40,.28);
}
.why-us-img-card .why-img-photo {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 28px;
    z-index: 0;
}
.why-us-img-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7,22,40,.90) 0%,
        rgba(7,22,40,.55) 45%,
        rgba(7,22,40,.15) 100%
    );
    border-radius: 28px;
    z-index: 1;
}
.why-us-img-card .why-card-content {
    position: relative;
    z-index: 2;
    padding: 2.4rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.why-us-img-card .why-card-content h3 {
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: .6rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.why-us-img-card .why-card-content p {
    color: rgba(255,255,255,.78);
    font-size: .9rem;
    line-height: 1.65;
    text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
/* Remove the old big icon (it lives above card-content) */
.why-us-img-card .why-big-icon {
    display: none;
}

/* ----  About image card  ---- */
.about-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 480px;
    padding: 0;
    background: none;
    box-shadow: 0 24px 80px rgba(7,22,40,.25);
}
.about-image-card .about-img-photo {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    border-radius: 28px;
}
.about-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7,22,40,.88) 0%,
        rgba(7,22,40,.50) 50%,
        rgba(7,22,40,.10) 100%
    );
    border-radius: 28px;
    z-index: 1;
}
.about-image-card .about-card-content {
    position: relative;
    z-index: 2;
    padding: 2.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.about-image-card .about-card-content h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-head);
    margin-bottom: .5rem;
}
.about-image-card .about-card-content p {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    margin-bottom: 1rem;
}
.about-image-card .about-badge {
    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    color: #fff !important;
    backdrop-filter: blur(8px);
}
.about-image-card .about-badge i { color: #4dff6e !important; }
/* Hide old big icon */
.about-image-card .about-icon-big { display: none; }

/* ── PROCESS STEPS — Enhanced ─────────────────────────────────── */
.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
}
/* Connector line across all steps */
.process-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: calc(12.5% + 8px);
    right: calc(12.5% + 8px);
    height: 2px;
    background: linear-gradient(90deg, #1a5ba8, #3db54a, #1a5ba8);
    background-size: 200% 100%;
    animation: connectorFlow 3s linear infinite;
    z-index: 0;
}
@keyframes connectorFlow {
    0%   { background-position: 0%   50%; }
    100% { background-position: 200% 50%; }
}
.process-step {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 22px;
    padding: 2rem 1.6rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 20px rgba(7,22,40,.07);
}
.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(7,22,40,.14);
}
.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f7faff) !important;
    color: #0d3b6e !important;
    border: 2px solid rgba(13,59,110,.14) !important;
    font-family: var(--font-head);
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
    text-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 16px rgba(7,22,40,.10), inset 0 1px 0 #fff !important;
    position: relative;
}
.process-step:hover .step-number {
    background: linear-gradient(135deg, #071f3d, #1a5ba8) !important;
    color: #ffffff !important;
    border-color: rgba(13,59,110,.34) !important;
    box-shadow: 0 10px 28px rgba(13,59,110,.32) !important;
}
/* Pulsing ring on hover */
.process-step:hover .step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(26,91,168,.4);
    animation: pulseRing .8s ease infinite;
}
@keyframes pulseRing {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
.process-step h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .5rem;
}
.process-step p {
    font-size: .87rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ── STATS SECTION — Enhanced ─────────────────────────────────── */
.stats-section {
    background: linear-gradient(135deg, #040e1a 0%, #071f3d 35%, #0d3b6e 70%, #1a5ba8 100%);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 80% at 20% 20%, rgba(0,212,255,.1) 0%, transparent 55%),
        radial-gradient(ellipse 60% 60% at 80% 80%, rgba(61,181,74,.1) 0%, transparent 55%);
}
.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0 .35rem;
}
.stat-item {
    padding: 3.5rem 1.5rem;
    text-align: center;
    position: relative;
    transition: background .3s ease;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.1);
    display: none;
}
.stat-item:hover { background: rgba(255,255,255,.05); }
.stat-icon {
    font-size: 1.8rem;
    margin-bottom: .8rem;
    color: #4dff6e;
}
.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .4rem;
}
.stat-label {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .07em;
}

/* ── TESTIMONIALS — Enhanced ──────────────────────────────────── */
.testimonial-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 24px !important;
    padding: 2.4rem !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    box-shadow: 0 8px 30px rgba(7,22,40,.08) !important;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 10rem;
    font-family: Georgia, serif;
    color: rgba(13,59,110,.05);
    line-height: 1;
    pointer-events: none;
}
.testimonial-stars {
    font-size: 1.1rem;
    color: #f5a623;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}
.testimonial-text {
    font-size: .95rem !important;
    color: var(--text-mid) !important;
    line-height: 1.8 !important;
    margin-bottom: 1.6rem !important;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #071f3d, #1a5ba8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(13,59,110,.28);
}
.author-info strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text-dark); }
.author-info span { font-size: .78rem; color: var(--text-mid); }
.author-info span i { color: #4285F4; margin-right: .2rem; }

/* ── CONTACT PAGE — Enhanced ──────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
}
.contact-info h2 {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: .6rem 0 1rem;
    letter-spacing: -.4px;
}
.contact-info > p {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.4rem 1.6rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 18px rgba(7,22,40,.07);
    transition: all .3s cubic-bezier(.34,1.15,.64,1);
}
.contact-card:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 40px rgba(13,59,110,.14);
    border-color: rgba(26,91,168,.15);
}
.contact-card > i {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1a5ba8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-card > div {
    flex: 1;
}
.contact-card strong {
    display: block;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .35rem;
}
.contact-card span { display: block; font-size: .85rem; color: var(--text-mid); line-height: 1.55; }
.contact-card span a { color: var(--text-mid); transition: color .2s; }
.contact-card span a:hover { color: #1a5ba8; }

/* Contact form wrap card */
.contact-form-wrap {
    background: #fff;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 16px 60px rgba(7,22,40,.1);
    border: 1px solid rgba(0,0,0,.06);
}
.contact-form-wrap h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: .4rem;
    letter-spacing: -.3px;
}
.contact-form-wrap > p {
    color: var(--text-mid);
    font-size: .9rem;
    margin-bottom: 2rem;
}

/* ── FORM IMPROVEMENTS ────────────────────────────────────────── */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1.2rem;
}
.contact-form label {
    font-size: .83rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: .02em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: .85rem 1.1rem;
    border: 2px solid rgba(0,0,0,.09);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: .92rem;
    color: var(--text-dark);
    background: #fafbff;
    transition: all .25s ease;
    outline: none;
    width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1a5ba8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26,91,168,.1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0aec0;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.contact-form .btn-block {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 14px;
    margin-top: .5rem;
}

/* Map section */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin: 0 0 0;
    box-shadow: 0 16px 60px rgba(7,22,40,.12);
}
.map-container iframe {
    display: block;
    border-radius: 24px;
    height: 440px;
}

/* ── APPOINTMENT PAGE ─────────────────────────────────────────── */
.appt-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.8rem;
    flex-wrap: wrap;
}
.appt-step-item {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.appt-step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1a5ba8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
    font-family: var(--font-head);
    flex-shrink: 0;
    transition: all .3s ease;
}
.appt-step-item.active .appt-step-num {
    background: linear-gradient(135deg, #071f3d, #1a5ba8);
    color: #fff;
    box-shadow: 0 6px 18px rgba(13,59,110,.3);
}
.appt-step-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-mid);
}
.appt-step-item.active .appt-step-label { color: #1a5ba8; font-weight: 700; }
.appt-step-connector {
    width: 48px; height: 2px;
    background: rgba(0,0,0,.1);
    margin: 0 .4rem;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.8rem;
    align-items: start;
}
.appointment-form-wrap {
    background: #fff;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 16px 60px rgba(7,22,40,.1);
    border: 1px solid rgba(0,0,0,.06);
}
.appointment-form-wrap h2 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: .5rem;
    letter-spacing: -.3px;
}
.appointment-form-wrap > p {
    color: var(--text-mid);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Appointment sidebar */
.appointment-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.appointment-sidebar .sidebar-widget {
    border-radius: 22px !important;
    padding: 1.8rem !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    box-shadow: 0 6px 28px rgba(7,22,40,.08) !important;
}

/* ── TEAM CARDS — Enhanced ────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.team-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 6px 28px rgba(7,22,40,.08);
    transition: all .4s cubic-bezier(.34,1.15,.64,1);
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 70px rgba(7,22,40,.18);
    border-color: transparent;
    color: var(--text-dark);
}
.team-avatar {
    height: 280px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1a5ba8;
    overflow: hidden;
    position: relative;
}
.team-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.team-card:hover .team-avatar img { transform: scale(1.05); }
/* Photo overlay on hover */
.team-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,22,40,.35) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s ease;
}
.team-card:hover .team-avatar::after { opacity: 1; }
.team-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.team-body h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: .3rem;
}
.team-title {
    font-size: .8rem;
    font-weight: 700;
    color: #1a5ba8;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .7rem;
    display: block;
}
.team-body p {
    font-size: .87rem;
    color: var(--text-mid);
    line-height: 1.7;
    flex: 1;
}

/* ── ABOUT PAGE HIGHLIGHTS ────────────────────────────────────── */
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin: 1.6rem 0 2rem;
}
.highlight {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1.1rem;
    background: linear-gradient(135deg, #f0f5ff, #e8f4ff);
    border-radius: 14px;
    border: 1px solid rgba(26,91,168,.1);
    transition: all .25s ease;
}
.highlight:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    transform: translateX(3px);
}
.highlight i {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a5ba8, #0d3b6e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.highlight span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ── WHY LIST ITEMS ───────────────────────────────────────────── */
.why-list {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: 0;
    list-style: none;
}
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 10px rgba(7,22,40,.05);
    transition: all .3s ease;
}
.why-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 28px rgba(13,59,110,.12);
    border-color: rgba(26,91,168,.14);
}
.why-item-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1a5ba8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.why-item-text strong {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .2rem;
}
.why-item-text span {
    font-size: .83rem;
    color: var(--text-mid);
}

/* ── FOOTER ENHANCEMENTS ──────────────────────────────────────── */
.footer {
    background: linear-gradient(180deg, #07111f 0%, #040c18 100%) !important;
}
.footer::before {
    display: none !important; /* remove bright accent line */
}
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: .8rem;
}
.footer-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    padding: .35rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.55);
}
.footer-hours li span:first-child { font-weight: 600; color: rgba(255,255,255,.75); }
.footer-col .contact-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    list-style: none;
    padding: 0;
}
.footer-col .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}
.footer-col .contact-list i {
    color: #3db54a;
    font-size: .9rem;
    margin-top: .1rem;
    flex-shrink: 0;
}
.footer-col .contact-list a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col .contact-list a:hover { color: #4dff6e; }

/* Footer newsletter strip */
.footer-newsletter {
    background: rgba(255,255,255,.035);
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 1.6rem 0 1.7rem;
}
.footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-newsletter-text h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .25rem;
}
.footer-newsletter-text p {
    font-size: .83rem;
    color: rgba(255,255,255,.5);
    margin: 0;
}
.footer-newsletter-form {
    display: flex;
    gap: .7rem;
    flex: 1;
    max-width: 440px;
}
.footer-newsletter-form input {
    flex: 1;
    padding: .75rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: .88rem;
    font-family: var(--font-body);
    outline: none;
    transition: all .25s ease;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-form input:focus { border-color: rgba(61,181,74,.5); background: rgba(255,255,255,.1); }
.footer-newsletter-form button {
    padding: .75rem 1.4rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2a8535, #3db54a);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
    font-family: var(--font-head);
}
.footer-newsletter-form button:hover {
    background: linear-gradient(135deg, #3db54a, #4dcc5a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61,181,74,.35);
}

/* ── ALERT / SUCCESS MESSAGES ─────────────────────────────────── */
.alert {
    padding: 1rem 1.4rem;
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1.5px solid rgba(61,181,74,.3);
    color: #065f46;
}
.alert-success::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: #3db54a;
}

/* ── PAGE HERO — Universal Orbs ──────────────────────────────── */
/* All inner page heros get orbs automatically */
.page-hero .page-hero-orbs { display: block !important; }

/* ── MOBILE NAV IMPROVEMENTS ──────────────────────────────────── */
@media (max-width: 1024px) {
    .mega-dropdown { display: none !important; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: linear-gradient(160deg, #071f3d, #0d3b6e 70%, #1a5ba8);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: .3rem;
        transition: right .4s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
        z-index: 999;
        box-shadow: -8px 0 40px rgba(7,22,40,.4);
    }
    .nav-links.open { right: 0; }
    .nav-links li a {
        display: block;
        padding: .9rem 1rem;
        color: rgba(255,255,255,.85) !important;
        border-radius: 12px;
        font-size: .95rem;
        font-weight: 500;
        transition: all .2s ease;
    }
    .nav-links li a:hover,
    .nav-links li a.active {
        background: rgba(255,255,255,.1);
        color: #fff !important;
        padding-left: 1.4rem;
    }
    .nav-links li a.active { color: #4dff6e !important; }
    .nav-links li.has-dropdown .dropdown-arrow { display: none; }
    .nav-book-btn { margin-top: 1rem !important; }
    .nav-book-btn .btn-book {
        background: linear-gradient(135deg, #3db54a, #2a8535) !important;
        color: #fff !important;
        width: 100%;
        justify-content: center;
        padding: .9rem 1.4rem !important;
        border-radius: 14px !important;
        font-weight: 700;
    }
}

/* ── RESPONSIVE BREAKPOINTS ───────────────────────────────────── */

/* Tablet: 768 - 1024 */
@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .why-us-img-card { min-height: 360px; }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .process-grid::before { display: none; }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-item:nth-child(2)::after { display: none; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .appointment-sidebar { position: static; }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .about-image-card { min-height: 360px; }

    .sd-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile: up to 768 */
@media (max-width: 768px) {
    /* Avoid blocked taps if animation class timing lags on mobile */
    [data-aos] {
        pointer-events: auto !important;
    }

    /* Hero click-layer fix: keep buttons above decorative overlays */
    .hero.hero-slider .hero-shapes,
    .hero.hero-slider .hero-grid,
    .hero.hero-slider .hero-slide-bg,
    .hero.hero-slider .hero-slide-bg::after {
        pointer-events: none !important;
    }
    .hero.hero-slider .hero-slide-inner,
    .hero.hero-slider .hero-slide-content,
    .hero.hero-slider .hero-btns,
    .hero.hero-slider .hero-btns .btn,
    .hero.hero-slider .hero-btns a {
        position: relative;
        z-index: 20 !important;
        pointer-events: auto !important;
    }

    /* Global mobile breathing room */
    .container {
        padding-left: .9rem;
        padding-right: .9rem;
    }

    /* Top bar cleanup */
    .top-bar {
        padding: .4rem 0;
    }
    .top-bar .container {
        justify-content: center;
        gap: .45rem;
    }
    .top-bar-left {
        width: 100%;
        justify-content: center;
        gap: .6rem;
    }
    .top-bar-left a {
        font-size: .76rem;
    }
    .top-bar-badge {
        font-size: .8rem;
        padding: .24rem .7rem;
    }

    /* Navbar sizing on phone */
    .navbar-inner {
        min-height: 62px;
    }
    .site-logo-nav {
        height: 38px !important;
    }

    /* Insurance strip: horizontal flow, no awkward wrapping */
    .insurance-ticker {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0 .9rem;
        scrollbar-width: none;
    }
    .insurance-ticker::-webkit-scrollbar {
        display: none;
    }
    .insurance-item {
        white-space: nowrap;
        font-size: .88rem;
    }
    .insurance-divider {
        display: none !important;
    }

    /* Keep floating buttons away from content */
    .fab-group {
        right: .75rem;
        bottom: max(.85rem, env(safe-area-inset-bottom));
        gap: .55rem;
    }
    .fab-phone,
    .fab-book,
    .fab-top {
        width: 46px;
        height: 46px;
    }

    .section { padding: 3.5rem 0; }
    .section-lg { padding: 4.5rem 0; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: .8rem; padding: 0; }
    .stat-item { padding: 2.5rem 1rem; }
    .stat-number { font-size: 2.2rem; }

    .process-grid { grid-template-columns: 1fr; }

    .team-grid { grid-template-columns: 1fr 1fr; }
    .team-avatar { height: 220px; }

    .contact-form .form-row { grid-template-columns: 1fr; gap: .9rem; }
    .contact-form-wrap { padding: 2rem 1.5rem; border-radius: 20px; }
    .appointment-form-wrap { padding: 2rem 1.5rem; border-radius: 20px; }

    .about-highlights { grid-template-columns: 1fr; }

    .footer-newsletter-inner { flex-direction: column; }
    .footer-newsletter-form { max-width: 100%; width: 100%; }

    .services-stats-bar { flex-wrap: wrap; }
    .ssb-item { flex: 0 0 50%; }

    .sd-highlights { grid-template-columns: 1fr 1fr !important; }
    .sd-card-header, .sd-body-content, .sd-cta-area {
        padding-left: 1.6rem !important;
        padding-right: 1.6rem !important;
    }

    .appt-steps { gap: .3rem; }
    .appt-step-connector { width: 28px; }
    .appt-step-label { display: none; }

    .map-container iframe { height: 320px; }

    .hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
    }

    .cta-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }
}

/* Small Mobile: up to 480 */
@media (max-width: 480px) {
    .top-bar-left a[href^="mailto:"] {
        display: none;
    }
    .top-bar-left {
        justify-content: center;
    }
    .top-bar-badge {
        font-size: .76rem;
    }

    .fab-book {
        display: none !important;
    }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item::after { display: none !important; }

    .team-grid { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 1.5rem 1.2rem; }
    .appointment-form-wrap { padding: 1.5rem 1.2rem; }

    .insurance-ticker { gap: .8rem; }
    .insurance-divider { display: none; }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .sd-highlights { grid-template-columns: 1fr !important; }

    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
    }
}

/* ── UTILITY CLASSES ──────────────────────────────────────────── */
.mt-auto { margin-top: auto; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.text-center { text-align: center; }
.no-referral-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 14px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.no-referral-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .83rem;
    font-weight: 700;
    color: #065f46;
}
.no-referral-item i { color: #3db54a; }

/* ── Mobile completeness pass (show desktop content on mobile) ── */
@media (max-width: 768px) {
    /* Keep top-bar content visible on mobile */
    .top-bar .container {
        justify-content: center !important;
        gap: .35rem !important;
    }
    .top-bar-left,
    .top-bar-right {
        width: 100%;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: .5rem !important;
    }
    .top-bar-hours,
    .top-bar-right .top-bar-socials,
    .top-bar-left a:last-of-type {
        display: inline-flex !important;
    }
    .top-bar-left a,
    .top-bar-hours {
        font-size: .74rem;
        line-height: 1.3;
    }

    /* Keep step labels/content visible in appointment flow */
    .appt-step-label {
        display: inline !important;
        font-size: .68rem;
    }

    /* Ensure mobile keeps media visible without breaking hero slide height */
    img {
        max-width: 100%;
    }
    .hero-slide-photo,
    .home-service-media img,
    .service-media-v2 img,
    .team-avatar img,
    .why-img-photo,
    .about-img-photo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Keep hero slider visible and tall enough on phones */
    .hero.hero-slider {
        min-height: 78vh !important;
    }
    .hero.hero-slider .swiper-hero,
    .hero.hero-slider .swiper-wrapper,
    .hero.hero-slider .swiper-slide,
    .hero.hero-slider .hero-slide {
        min-height: 78vh !important;
        height: 78vh !important;
    }
    .hero.hero-slider .hero-slide-photo {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Reduce overlaps from floating actions while preserving content */
    .fab-group {
        right: .6rem !important;
        bottom: max(.65rem, env(safe-area-inset-bottom)) !important;
        gap: .45rem !important;
        pointer-events: none;
    }
    .fab { pointer-events: auto; }
    .fab-book {
        display: inline-flex !important;
        min-width: auto;
        padding: .45rem .65rem !important;
        height: 42px !important;
    }
    .fab-book span {
        display: inline !important;
        font-size: .72rem;
    }
}

@media (max-width: 480px) {
    /* Keep email visible even on very small devices */
    .top-bar-left a[href^="mailto:"] {
        display: inline-flex !important;
    }

    /* Prevent text clipping in cards/widgets */
    .service-card-v2,
    .home-service-card,
    .contact-card,
    .sidebar-widget,
    .testimonial-card {
        overflow: visible;
    }
}

/* ── Launch mobile hardening pass (global) ────────────────────── */
@media (max-width: 992px) {
    .container {
        width: min(100%, 1240px);
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Normalize most two-column layouts to one column on tablets/phones */
    .why-us-grid,
    .about-grid,
    .services-layout,
    .sd-layout,
    .blog-layout,
    .contact-grid,
    .appointment-grid,
    .team-member-grid {
        grid-template-columns: 1fr !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: clip;
    }

    /* Keep sections clear from fixed/sticky overlaps */
    .section,
    .section-sm,
    .section-lg {
        scroll-margin-top: calc(var(--header-h) + 16px);
    }

    /* Stronger tap targets and readable mobile text rhythm */
    .btn,
    button,
    input,
    select,
    textarea {
        min-height: 44px;
    }
    p,
    li {
        line-height: 1.6;
    }

    /* Inline page-hero min-height styles are too tall on phones */
    .page-hero[style*="min-height"] {
        min-height: 240px !important;
    }
    .page-hero-inner {
        padding-top: 3.2rem !important;
        padding-bottom: 2.2rem !important;
    }

    /* Home/inner grids become safer at small widths */
    .services-grid,
    .values-grid,
    .photo-grid,
    .video-grid,
    .blog-grid,
    .shop-grid,
    .product-grid {
        grid-template-columns: 1fr !important;
    }

    /* Hero CTA buttons stack full width for easy tapping */
    .hero-btns,
    .cta-btns {
        width: 100%;
        align-items: stretch !important;
    }
    .hero-btns .btn,
    .cta-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile offcanvas menu should fit narrow phones */
    .nav-links {
        width: min(86vw, 320px) !important;
        padding: 4.5rem 1rem 1.25rem !important;
    }
    .nav-links > li > a {
        width: 100%;
        border-radius: 10px;
    }
    .mega-dropdown-inner {
        gap: .5rem !important;
    }

    /* Keep floating action buttons compact to avoid blocking content */
    .fab-group {
        right: .55rem !important;
        bottom: max(.55rem, env(safe-area-inset-bottom)) !important;
        gap: .4rem !important;
    }
    .fab-phone,
    .fab-book,
    .fab-top {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        justify-content: center !important;
    }
    .fab-book span {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: .8rem;
        padding-right: .8rem;
    }

    h1 { font-size: clamp(1.7rem, 7vw, 2.1rem) !important; }
    h2 { font-size: clamp(1.35rem, 6vw, 1.75rem) !important; }

    .page-hero[style*="min-height"] {
        min-height: 210px !important;
    }

    .stats-grid,
    .services-stats-bar,
    .sd-highlights {
        grid-template-columns: 1fr !important;
    }

    .fab-group {
        right: .5rem !important;
    }
}
