/* Heart 2 Heart Mobile Medical Solutions — subpage styles (aligned with index.html) */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
    min-height: 100vh;
}

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

header {
    background: #1e40af;
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.logo-section::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo {
    width: min(140px, 28vw);
    height: min(140px, 28vw);
    max-width: 100%;
    box-sizing: border-box;
    aspect-ratio: 1;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 0 4px rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.3);
    padding: 10px;
}

.company-info .site-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.tagline { font-size: 1.2rem; font-weight: 300; opacity: 0.9; }

.contact-info { text-align: right; }
.phone { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.location { font-size: 1rem; opacity: 0.9; }

.megamenu {
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-header { display: none; padding: 1rem; justify-content: flex-end; }

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-item:last-child .nav-link { border-right: none; }
.nav-link:hover, .nav-link.active { background: #1e40af; color: white; }

main { padding: 3rem 0 4rem; }

.breadcrumb-nav {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.breadcrumb {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.9rem;
    gap: 0.25rem;
}

.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #64748b;
}

.breadcrumb-item a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-item a:hover { color: #1e3a8a; text-decoration: underline; }
.breadcrumb-item a[aria-current="page"] { color: #64748b; font-weight: 600; pointer-events: none; }

.lp-hero {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.lp-hero h1 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.lp-cross-services {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
}

.lp-lead {
    font-size: 1.15rem;
    color: #374151;
    border-left: 4px solid #1e40af;
    padding-left: 1rem;
    margin-bottom: 1.25rem;
}

.lp-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.lp-section h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.lp-section h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.lp-section p, .lp-section li {
    color: #475569;
    margin-bottom: 0.75rem;
}

.lp-section ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cluster-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #1e40af;
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cluster-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    color: #1e40af;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.city-link {
    display: block;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.city-link:hover { background: #e0e7ff; }

.internal-resource-nav {
    border: 1px solid #e2e8f0;
    border-left: 4px solid #1e40af;
}

.internal-resource-nav__title {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.internal-resource-nav p { margin-bottom: 0; color: #475569; font-size: 0.95rem; line-height: 1.65; }

.internal-resource-nav a { font-weight: 600; }

.what-to-expect-list li { margin-bottom: 0.35rem; }

.cta-banner {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.35);
}

.cta-rich__headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.cta-banner p { color: rgba(255,255,255,0.95); margin-bottom: 1rem; font-size: 1.1rem; }
.cta-phone {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}
.cta-phone:hover { text-decoration: underline; }

.faq-list details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.faq-list details[open] summary { margin-bottom: 0.5rem; }

.testimonial {
    background: #f8fafc;
    border-left: 4px solid #60a5fa;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-style: italic;
    color: #475569;
}

.testimonial cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.9rem;
    color: #64748b;
}

.phone-link, .email-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}
.phone-link:hover, .email-link:hover { color: #1e3a8a; text-decoration: underline; }

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section { flex: 1; min-width: 250px; }
.footer-section h3 { margin-bottom: 1rem; color: #60a5fa; }

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1001;
}

.back-to-top:hover { background: #1e3a8a; }
.back-to-top.show { display: flex; }

@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; }
    .contact-info { text-align: center; }
    .company-info .site-title { font-size: 2rem; }
    .nav-header { display: flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f172a;
    }
    .nav-menu.active { display: flex; }
    .nav-link { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
    .footer-content { flex-direction: column; }
    .lp-hero h1 { font-size: 1.65rem; }
}

html { scroll-behavior: smooth; }
