/* ═══════════════════════════════════════════════════════════════════════════
   TYPES OF HEARING AIDS — 2026 CLINICAL GUIDE DESIGN SYSTEM
   Wickramarachchi Hearing Care — Diagnostic Audiology
   Scoped strictly under .tha-page to harmonize perfectly with the website theme
   ═══════════════════════════════════════════════════════════════════════════ */

.tha-page {
    /* ── Website Brand Design Tokens (Wickramarachchi 2026) ── */
    --tha-bg: #fbfaf8;                /* Warm Luxury Ivory / Cream */
    --tha-surface: #ffffff;           /* Clean Surface Card */
    --tha-surface-card: #ffffff;
    --tha-surface-subtle: #f5f2ee;     /* Warm Sand White */
    --tha-surface-dark: #25221e;      /* Deep Dark Espresso Charcoal */
    --tha-surface-dark-card: #2e2a24; /* Warm Dark Bronze Card */
    --tha-surface-dark-card-hover: #37322b;

    /* Typography Ink Colors */
    --tha-ink: #37332d;               /* Deep Warm Dark Espresso */
    --tha-ink-secondary: #56493e;     /* Warm Mocha / Body Text */
    --tha-ink-muted: #8c8278;         /* Warm Sand Gray / Captions */
    --tha-ink-light: #ffffff;         /* Crisp White for Dark Cards */
    --tha-ink-light-muted: rgba(255, 255, 255, 0.80);

    /* Website Signature Luxury Bronze Palette */
    --tha-primary: #a47d5c;           /* Signature Luxury Bronze / Gold */
    --tha-primary-hover: #8c6849;     /* Deep Rich Bronze */
    --tha-primary-dark: #464138;      /* Deep Espresso */
    --tha-primary-soft: rgba(164, 125, 92, 0.10);
    --tha-primary-glow: rgba(164, 125, 92, 0.35);

    --tha-sand: #cdc2b8;              /* Warm Sand / Champagne */
    --tha-sand-soft: rgba(205, 194, 184, 0.20);

    /* Harmonious Style Accents */
    --tha-accent-bte: #a47d5c;        /* Warm Bronze */
    --tha-accent-rite: #b88b58;       /* Amber Gold (Most Popular) */
    --tha-accent-ite: #6c5643;        /* Warm Mocha */
    --tha-accent-itc: #757b64;        /* Discreet Olive-Bronze */
    --tha-accent-cros: #9e5a47;       /* Warm Terracotta */

    /* Borders & Outlines */
    --tha-border: rgba(70, 65, 56, 0.12);
    --tha-border-light: rgba(205, 194, 184, 0.22);
    --tha-border-strong: rgba(70, 65, 56, 0.22);
    --tha-border-hover: rgba(164, 125, 92, 0.40);

    /* Elevation & Shadows */
    --tha-shadow-sm: 0 4px 16px rgba(55, 51, 45, 0.05);
    --tha-shadow-md: 0 12px 36px rgba(55, 51, 45, 0.08);
    --tha-shadow-lg: 0 24px 60px rgba(55, 51, 45, 0.12);
    --tha-shadow-glow: 0 10px 25px rgba(164, 125, 92, 0.35);

    /* Radii */
    --tha-radius-sm: 10px;
    --tha-radius-md: 18px;
    --tha-radius-lg: 24px;
    --tha-radius-xl: 32px;
    --tha-radius-pill: 9999px;

    /* Fonts & Motion */
    --tha-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --tha-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --tha-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    font-family: var(--tha-font);
    color: var(--tha-ink);
    background-color: var(--tha-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
}

.tha-page *,
.tha-page *::before,
.tha-page *::after {
    box-sizing: border-box;
}

/* ── Container ─────────────────────────────────────────── */
.tha-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .tha-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* ── Typography & Section Headers ──────────────────────── */
.tha-section {
    padding-top: clamp(60px, 8vw, 100px);
    padding-bottom: clamp(60px, 8vw, 100px);
    position: relative;
}

.tha-section-hdr {
    max-width: 820px;
    margin: 0 auto clamp(36px, 5vw, 60px) auto;
}

.tha-section-h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.22;
    color: var(--tha-ink);
    letter-spacing: -0.025em;
    margin-top: 14px;
    margin-bottom: 16px;
}

.tha-section-lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--tha-ink-secondary);
    line-height: 1.7;
    margin: 0 auto;
}

/* Pill Badges */
.tha-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(164, 125, 92, 0.12);
    border: 1px solid rgba(164, 125, 92, 0.28);
    border-radius: var(--tha-radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tha-primary-hover);
    line-height: 1;
}

.tha-badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--tha-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(164, 125, 92, 0.6);
    display: inline-block;
}

/* Pill badge on dark surfaces */
.tha-pill-badge.tha-badge-light {
    background: rgba(164, 125, 92, 0.20);
    border: 1px solid rgba(164, 125, 92, 0.35);
    color: var(--tha-sand);
}

.tha-pill-badge.tha-badge-light .tha-badge-dot {
    background-color: #d4a574;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.8);
}

/* Base Buttons */
.tha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--tha-radius-pill);
    text-decoration: none !important;
    transition: var(--tha-transition);
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}

.tha-btn-primary {
    background: var(--tha-primary);
    color: #ffffff !important;
    border: 1px solid var(--tha-primary);
    box-shadow: 0 10px 25px rgba(164, 125, 92, 0.35);
}

.tha-btn-primary:hover {
    background: var(--tha-primary-hover);
    border-color: var(--tha-primary-hover);
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px rgba(164, 125, 92, 0.50);
}

.tha-btn-secondary {
    background: transparent;
    color: var(--tha-ink) !important;
    border: 1.5px solid rgba(70, 65, 56, 0.25);
}

.tha-btn-secondary:hover {
    background: rgba(164, 125, 92, 0.08);
    border-color: var(--tha-primary);
    color: var(--tha-primary) !important;
    transform: translateY(-3px);
}

.tha-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--tha-radius-pill);
    text-decoration: none !important;
    transition: var(--tha-transition);
}

.tha-btn-outline {
    background: transparent;
    color: var(--tha-primary) !important;
    border: 1.5px solid rgba(164, 125, 92, 0.35);
}

.tha-btn-outline:hover {
    background: var(--tha-primary);
    color: #ffffff !important;
    border-color: var(--tha-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(164, 125, 92, 0.25);
}

/* ═══════════════════════════════════════════════════════════
   1. HERO SECTION
════════════════════════════════════════════════════════════ */
.tha-hero {
    position: relative;
    padding-top: calc(76px + clamp(44px, 5vw, 76px));
    padding-bottom: clamp(48px, 6vw, 80px);
    background: var(--tha-bg);
    overflow: hidden;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .tha-hero {
    padding-top: calc(76px + 32px + clamp(44px, 5vw, 76px));
}
@media (max-width: 782px) {
    body.admin-bar .tha-hero {
        padding-top: calc(76px + 46px + clamp(36px, 4vw, 56px));
    }
}

/* Subtle grid overlay matching homepage */
.tha-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(70, 65, 56, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 65, 56, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* Warm Luxury Radial Glow */
.tha-hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(164, 125, 92, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.tha-hero .tha-container {
    position: relative;
    z-index: 1;
}

/* Breadcrumbs */
.tha-breadcrumbs {
    margin-bottom: 24px;
}

.tha-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--tha-ink-muted);
}

.tha-breadcrumbs a {
    color: var(--tha-ink-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.tha-breadcrumbs a:hover {
    color: var(--tha-primary);
}

.tha-bc-sep {
    color: var(--tha-sand);
    font-size: 0.95rem;
}

.tha-breadcrumbs .active span {
    color: var(--tha-primary);
    font-weight: 700;
}

/* Hero Grid Layout */
.tha-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

@media (min-width: 992px) {
    .tha-hero-grid {
        grid-template-columns: 1.15fr 0.95fr;
    }
}

.tha-hero-content {
    max-width: 640px;
}

.tha-hero-h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.03em;
    color: var(--tha-ink);
    margin-top: 18px;
    margin-bottom: 16px;
}

.tha-hero-h1 .tha-highlight {
    color: var(--tha-primary);
    display: inline-block;
    position: relative;
}

.tha-hero-subtitle {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--tha-ink-secondary);
    margin-bottom: 22px;
}

.tha-hero-prose {
    font-size: 1.025rem;
    line-height: 1.75;
    color: var(--tha-ink-secondary);
    margin-bottom: 30px;
}

.tha-hero-prose p {
    margin-bottom: 12px;
}

.tha-hero-prose a {
    color: var(--tha-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.tha-hero-prose a:hover {
    color: var(--tha-primary-hover);
}

.tha-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}


/* Hero Visual Column */
.tha-hero-visual-col {
    position: relative;
}

.tha-hero-card {
    position: relative;
    border-radius: var(--tha-radius-lg);
    overflow: visible;
}

.tha-hero-img-wrap {
    position: relative;
    border-radius: var(--tha-radius-lg);
    overflow: hidden;
    box-shadow: var(--tha-shadow-lg);
    border: 1px solid rgba(70, 65, 56, 0.10);
    aspect-ratio: 16 / 10;
    background-color: var(--tha-surface-subtle);
}

.tha-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--tha-ease);
}

.tha-hero-card:hover .tha-hero-img {
    transform: scale(1.03);
}

.tha-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(37, 34, 30, 0.45) 100%);
    pointer-events: none;
}

/* Floating Card on Hero Visual — Matches Dark Luxury Card */
.tha-hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    background: rgba(37, 34, 30, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(205, 194, 184, 0.25);
    border-radius: var(--tha-radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

@media (min-width: 576px) {
    .tha-hero-floating-card {
        left: -20px;
        right: auto;
        max-width: 380px;
    }
}

.tha-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--tha-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(164, 125, 92, 0.4);
}

.tha-float-title {
    display: block;
    font-size: 0.925rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.tha-float-desc {
    display: block;
    font-size: 0.78rem;
    color: var(--tha-sand);
    line-height: 1.4;
}

/* Quick Jump Sticky Bar */
.tha-quick-nav-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(70, 65, 56, 0.12);
    border-radius: var(--tha-radius-pill);
    box-shadow: 0 4px 18px rgba(55, 51, 45, 0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
    position: sticky;
    top: 86px;
    z-index: 40;
}

.tha-quick-nav-bar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.tha-qnav-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tha-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tha-qnav-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tha-qnav-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.tha-qnav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--tha-ink-secondary);
    text-decoration: none !important;
    border-radius: var(--tha-radius-pill);
    transition: var(--tha-transition);
}

.tha-qnav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--tha-sand);
    transition: background-color 0.2s;
}

.tha-qnav-link:hover {
    color: var(--tha-primary);
    background: rgba(164, 125, 92, 0.08);
}

.tha-qnav-link.active {
    background: var(--tha-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(164, 125, 92, 0.35);
}

.tha-qnav-link.active .tha-qnav-dot {
    background-color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   2. AUDIOLOGIST QUOTE SECTION
════════════════════════════════════════════════════════════ */
.tha-quote-section {
    padding-top: 0;
    padding-bottom: clamp(40px, 6vw, 70px);
}

.tha-quote-card {
    background: #ffffff;
    border: 1px solid rgba(164, 125, 92, 0.22);
    border-radius: var(--tha-radius-lg);
    box-shadow: 0 8px 28px rgba(55, 51, 45, 0.05);
    padding: clamp(28px, 4vw, 44px);
    position: relative;
    overflow: hidden;
}

.tha-quote-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .tha-quote-inner {
        flex-direction: row;
        align-items: center;
        gap: 36px;
    }
}

.tha-quote-avatar-col {
    flex-shrink: 0;
}

.tha-avatar-frame {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    background: #ffffff;
    border: 2px solid rgba(164, 125, 92, 0.35);
    box-shadow: 0 8px 24px rgba(164, 125, 92, 0.15);
}

.tha-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    display: block;
}

.tha-avatar-check {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    background: var(--tha-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tha-quote-text-col {
    position: relative;
    flex: 1;
}


.tha-quote-body {
    margin: 0 0 16px 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.tha-quote-body p {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.65;
    color: var(--tha-ink);
    margin: 0;
}

.tha-quote-body a {
    color: var(--tha-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-style: normal;
}

.tha-quote-body a:hover {
    color: var(--tha-primary-hover);
}

.tha-quote-author-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tha-author-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--tha-ink);
}

.tha-author-role {
    font-size: 0.85rem;
    color: var(--tha-ink-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tha-author-role::before {
    content: '•';
    color: var(--tha-sand);
}

.tha-clinic-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--tha-primary);
    text-decoration: none;
    margin-left: auto;
}

.tha-clinic-link:hover {
    color: var(--tha-primary-hover);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   3. WHAT ARE THE TYPES? (4 PILLARS & OTC BANNER)
════════════════════════════════════════════════════════════ */
.tha-pillars-section {
    background-color: #ffffff;
    border-top: 1px solid var(--tha-border);
    border-bottom: 1px solid var(--tha-border);
}

/* OTC vs Prescription Banner */
.tha-otc-banner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(24px, 3.5vw, 36px);
    background: linear-gradient(135deg, rgba(205, 194, 184, 0.20) 0%, rgba(164, 125, 92, 0.10) 100%), #ffffff;
    border: 1px solid rgba(164, 125, 92, 0.25);
    border-radius: var(--tha-radius-lg);
    box-shadow: var(--tha-shadow-sm);
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .tha-otc-banner {
        flex-direction: row;
        align-items: flex-start;
    }
}

.tha-otc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--tha-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(164, 125, 92, 0.35);
}

.tha-otc-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--tha-ink);
    margin: 0 0 8px 0;
}

.tha-otc-desc {
    font-size: 0.95rem;
    color: var(--tha-ink-secondary);
    line-height: 1.65;
    margin: 0;
}

.tha-otc-desc a {
    color: var(--tha-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* 4 Pillars Grid */
.tha-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .tha-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .tha-pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tha-pillar-card {
    background: #ffffff;
    border: 1px solid rgba(70, 65, 56, 0.10);
    border-radius: var(--tha-radius-md);
    padding: 28px 24px;
    position: relative;
    transition: var(--tha-transition);
    display: flex;
    flex-direction: column;
}

.tha-pillar-card:hover {
    border-color: var(--tha-primary);
    transform: translateY(-5px);
    box-shadow: var(--tha-shadow-md);
}

.tha-pillar-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(164, 125, 92, 0.20);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.tha-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(164, 125, 92, 0.10);
    color: var(--tha-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--tha-transition);
}

.tha-pillar-card:hover .tha-pillar-icon {
    background: var(--tha-primary);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(164, 125, 92, 0.35);
}

.tha-pillar-h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tha-ink);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.tha-pillar-p {
    font-size: 0.9rem;
    color: var(--tha-ink-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   4. VISUAL OVERVIEW (5 EAR CARDS CROPPED FROM INFOGRAPHIC)
════════════════════════════════════════════════════════════ */
.tha-overview-section {
    background: var(--tha-bg);
}

.tha-ears-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2.5vw, 16px);
}

@media (min-width: 768px) {
    .tha-ears-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (min-width: 992px) {
    .tha-ears-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

.tha-ear-card {
    background: #ffffff;
    border: 1px solid rgba(70, 65, 56, 0.10);
    border-radius: var(--tha-radius-md);
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: var(--tha-transition);
    box-shadow: var(--tha-shadow-sm);
}

.tha-ear-card:hover {
    border-color: var(--tha-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(164, 125, 92, 0.16);
}

.tha-ear-img-wrap {
    position: relative;
    padding: clamp(14px, 2.5vw, 22px) clamp(10px, 2vw, 16px);
    background: #fbfaf8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(120px, 20vw, 180px);
    border-bottom: 1px solid rgba(70, 65, 56, 0.08);
}

.tha-ear-img-wrap img {
    max-width: 100%;
    height: auto;
    max-height: clamp(90px, 16vw, 145px);
    object-fit: contain;
    transition: transform 0.4s var(--tha-ease);
}

.tha-ear-card:hover .tha-ear-img-wrap img {
    transform: scale(1.06);
}

.tha-ear-info {
    padding: clamp(12px, 2vw, 18px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tha-ear-tag {
    display: inline-block;
    width: fit-content;
    font-size: clamp(0.65rem, 1.1vw, 0.72rem);
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(164, 125, 92, 0.10);
    border: 1px solid rgba(164, 125, 92, 0.22);
    color: #8c6849;
    border-radius: var(--tha-radius-pill);
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    white-space: nowrap;
}

.tha-ear-title {
    font-size: clamp(0.85rem, 1.4vw, 0.975rem);
    font-weight: 700;
    color: var(--tha-ink);
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.tha-ear-acronym {
    font-size: clamp(0.72rem, 1.1vw, 0.8rem);
    font-weight: 700;
    color: var(--tha-primary);
    margin-bottom: 10px;
}

.tha-ear-arrow {
    font-size: clamp(0.72rem, 1.1vw, 0.8rem);
    font-weight: 700;
    color: var(--tha-primary);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s;
}

.tha-ear-card:hover .tha-ear-arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   5. IN-DEPTH PROFILES: 5 HEARING AID STYLES
════════════════════════════════════════════════════════════ */
.tha-details-section {
    background-color: #ffffff;
    border-top: 1px solid var(--tha-border);
}

.tha-style-detail-card {
    background: #ffffff;
    border: 1px solid rgba(70, 65, 56, 0.12);
    border-radius: var(--tha-radius-lg);
    box-shadow: var(--tha-shadow-sm);
    padding: clamp(24px, 4vw, 44px);
    margin-bottom: clamp(32px, 5vw, 50px);
    scroll-margin-top: 140px;
    transition: var(--tha-transition);
}

.tha-style-detail-card:hover {
    box-shadow: var(--tha-shadow-md);
    border-color: rgba(164, 125, 92, 0.35);
}

.tha-style-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
}

@media (min-width: 992px) {
    .tha-style-grid {
        grid-template-columns: 320px 1fr;
        align-items: center;
    }

    #style-cros .tha-style-grid {
        grid-template-columns: 360px 1fr;
        align-items: flex-start;
    }
}

/* Media Column (Left) */
.tha-style-media-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

#style-cros .tha-style-media-col {
    justify-content: flex-start;
}

.tha-ear-fit-box {
    background: #fbfaf8;
    border: 1px solid rgba(70, 65, 56, 0.10);
    border-radius: var(--tha-radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(55, 51, 45, 0.03);
}

.tha-fit-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tha-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.tha-fit-img-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin-bottom: 12px;
}

.tha-fit-img-frame img {
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
    transition: transform 0.4s var(--tha-ease);
}

.tha-style-detail-card:hover .tha-fit-img-frame img {
    transform: scale(1.05);
}

.tha-fit-caption {
    font-size: 0.825rem;
    color: var(--tha-ink-secondary);
    line-height: 1.5;
}

.tha-device-preview-box img {
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 8px;
    transition: transform 0.4s var(--tha-ease);
}

.tha-style-detail-card:hover .tha-device-preview-box img {
    transform: scale(1.08) translateY(-4px);
}

.tha-dev-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tha-ink-secondary);
    letter-spacing: 0.04em;
}

/* Content Column (Right) */
.tha-style-content-col {
    display: flex;
    flex-direction: column;
}

.tha-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.tha-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--tha-radius-pill);
    letter-spacing: 0.04em;
}

.tha-badge-blue {
    background: rgba(164, 125, 92, 0.12);
    color: #8c6849;
    border: 1px solid rgba(164, 125, 92, 0.28);
}

.tha-badge-teal {
    background: rgba(184, 139, 88, 0.15);
    color: #8a6236;
    border: 1px solid rgba(184, 139, 88, 0.32);
}

.tha-badge-purple {
    background: rgba(108, 86, 67, 0.12);
    color: #564434;
    border: 1px solid rgba(108, 86, 67, 0.25);
}

.tha-badge-green {
    background: rgba(117, 123, 100, 0.14);
    color: #535944;
    border: 1px solid rgba(117, 123, 100, 0.28);
}

.tha-badge-crimson {
    background: rgba(158, 90, 71, 0.14);
    color: #7d3f2f;
    border: 1px solid rgba(158, 90, 71, 0.28);
}

.tha-badge-gold {
    background: linear-gradient(135deg, rgba(184, 139, 88, 0.20) 0%, rgba(164, 125, 92, 0.12) 100%);
    color: #8a6236;
    border: 1px solid rgba(184, 139, 88, 0.40);
    font-weight: 800;
}

.tha-badge-outline {
    background: transparent;
    color: var(--tha-ink-secondary);
    border: 1px solid rgba(70, 65, 56, 0.20);
}

.tha-style-h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: var(--tha-ink);
    margin: 0 0 16px 0;
    line-height: 1.25;
}

.tha-style-body .tha-desc-p {
    font-size: 1rem;
    color: var(--tha-ink-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

/* Inline Quote Block */
.tha-inline-quote {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(164, 125, 92, 0.06);
    border-left: 3px solid var(--tha-primary);
    border-radius: 0 var(--tha-radius-sm) var(--tha-radius-sm) 0;
    margin-bottom: 20px;
}

.tha-quote-icon {
    color: var(--tha-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tha-inline-quote blockquote {
    margin: 0;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--tha-ink);
    line-height: 1.6;
}

/* Dexterity / Consideration Box */
.tha-consideration-box {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #faf8f5;
    border: 1px solid rgba(205, 194, 184, 0.40);
    border-radius: var(--tha-radius-sm);
    margin-bottom: 24px;
}

.tha-consid-icon {
    color: var(--tha-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tha-consid-text {
    font-size: 0.875rem;
    color: var(--tha-ink-secondary);
    line-height: 1.6;
}

.tha-consid-text strong {
    color: var(--tha-ink);
    display: block;
    margin-bottom: 4px;
}


/* CROS Routing Flow Box */
.tha-routing-flow-box {
    background: #faf8f5;
    border: 1px solid rgba(70, 65, 56, 0.12);
    border-radius: var(--tha-radius-md);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tha-flow-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tha-primary);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(70, 65, 56, 0.08);
}

.tha-flow-step {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tha-flow-step-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tha-ink-muted);
}

.tha-flow-device {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: #ffffff;
    border: 1px solid rgba(70, 65, 56, 0.12);
    border-radius: var(--tha-radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--tha-ink);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.tha-flow-device.active {
    background: rgba(164, 125, 92, 0.08);
    border-color: rgba(164, 125, 92, 0.4);
    color: #8c6849;
}

.tha-device-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tha-sand);
    flex-shrink: 0;
}

.tha-device-dot.active {
    background: var(--tha-primary);
    box-shadow: 0 0 8px rgba(164, 125, 92, 0.6);
}

.tha-flow-stream {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2px 0;
}

.tha-stream-line {
    flex: 1;
    height: 1px;
    background: dashed rgba(164, 125, 92, 0.35);
    border-top: 1px dashed rgba(164, 125, 92, 0.45);
}

.tha-stream-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(164, 125, 92, 0.12);
    border-radius: var(--tha-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--tha-primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.tha-cros-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .tha-cros-breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tha-cros-type-card {
    background: #faf8f5;
    border: 1px solid rgba(205, 194, 184, 0.35);
    border-radius: var(--tha-radius-sm);
    padding: 16px;
}

.tha-cros-type-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--tha-ink);
    margin: 0 0 6px 0;
}

.tha-cros-type-p {
    font-size: 0.85rem;
    color: var(--tha-ink-secondary);
    line-height: 1.55;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════
   7. DECISION GUIDE & BRAIN HEALTH (DARK LUXURY CARD)
════════════════════════════════════════════════════════════ */
.tha-decision-section {
    background-color: #ffffff;
    border-top: 1px solid var(--tha-border);
    border-bottom: 1px solid var(--tha-border);
}

.tha-decision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 60px);
}

@media (min-width: 992px) {
    .tha-decision-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
    }
}

.tha-decision-left {
    display: flex;
    flex-direction: column;
}

.tha-factors-h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--tha-ink);
    margin: 24px 0 16px 0;
}

.tha-factors-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tha-factors-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tha-factor-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(164, 125, 92, 0.12);
    color: var(--tha-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.tha-factor-info strong {
    display: block;
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--tha-ink);
    margin-bottom: 3px;
}

.tha-factor-info span {
    font-size: 0.875rem;
    color: var(--tha-ink-secondary);
    line-height: 1.55;
}

/* Right Column: Brain Health Card (Dark Luxury Design) */
.tha-decision-right {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .tha-decision-right {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.tha-health-card {
    background: linear-gradient(135deg, #2e2a24 0%, #221f1b 100%);
    border: 1px solid rgba(205, 194, 184, 0.22);
    border-radius: var(--tha-radius-lg);
    padding: clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(205, 194, 184, 0.15);
    color: #ffffff;
    width: 100%;
}

.tha-health-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(164, 125, 92, 0.20);
    border: 1px solid rgba(164, 125, 92, 0.35);
    border-radius: var(--tha-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tha-sand);
    width: fit-content;
    margin-bottom: 20px;
}

.tha-health-h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.tha-health-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.7;
    margin-bottom: 24px;
}

.tha-health-desc a {
    color: #d4a574;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tha-health-desc a:hover {
    color: #ffffff;
}

.tha-health-callout {
    background: rgba(205, 194, 184, 0.08);
    border: 1px solid rgba(205, 194, 184, 0.16);
    border-radius: var(--tha-radius-md);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tha-callout-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.tha-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #d4a574;
    line-height: 1;
    text-shadow: 0 0 24px rgba(212, 165, 116, 0.45);
}

.tha-stat-label {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--tha-sand);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tha-callout-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0;
}

.tha-health-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #d4a574;
    text-decoration: none !important;
    margin-bottom: 24px;
    transition: var(--tha-transition);
}

.tha-health-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.tha-health-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(205, 194, 184, 0.15);
}

.tha-doc-signature {
    display: flex;
    flex-direction: column;
}

.tha-doc-sig-name {
    font-size: 0.925rem;
    font-weight: 700;
    color: #ffffff;
}

.tha-doc-sig-tag {
    font-size: 0.78rem;
    color: var(--tha-sand);
}

/* ═══════════════════════════════════════════════════════════
   8. FREQUENTLY ASKED QUESTIONS (FAQ ACCORDION)
════════════════════════════════════════════════════════════ */
.tha-faq-section {
    background: var(--tha-bg);
}

.tha-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tha-faq-item {
    background: #ffffff;
    border: 1px solid rgba(70, 65, 56, 0.10);
    border-radius: var(--tha-radius-md);
    overflow: hidden;
    transition: var(--tha-transition);
}

.tha-faq-item:hover {
    border-color: rgba(164, 125, 92, 0.40);
    box-shadow: var(--tha-shadow-sm);
}

.tha-faq-item.active {
    border-color: var(--tha-primary);
    box-shadow: 0 8px 24px rgba(164, 125, 92, 0.08);
}

.tha-faq-toggle {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}

.tha-faq-toggle:hover {
    background-color: rgba(164, 125, 92, 0.03);
}

.tha-faq-q {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tha-ink);
    line-height: 1.4;
}

.tha-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(164, 125, 92, 0.10);
    color: var(--tha-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: var(--tha-transition);
}

.tha-faq-item.active .tha-faq-icon {
    background: var(--tha-primary);
    color: #ffffff;
    transform: rotate(45deg);
}

.tha-faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--tha-ink-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.tha-faq-answer p {
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   9. CONCLUDING CONSULTATION CTA SECTION
   (Matches .hp-footer-cta-card from website screenshot)
════════════════════════════════════════════════════════════ */
.tha-cta-section {
    background: var(--tha-bg);
    padding-top: clamp(40px, 6vw, 60px);
    padding-bottom: clamp(60px, 8vw, 90px);
}

.tha-cta-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(70, 65, 56, 0.12);
    border-radius: 24px;
    padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
    box-shadow: 0 12px 36px rgba(55, 51, 45, 0.06);
    overflow: hidden;
}

.tha-cta-card-bg-glow {
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(164, 125, 92, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.tha-cta-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.tha-cta-h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--tha-ink);
    line-height: 1.25;
    margin: 18px 0 14px 0;
    letter-spacing: -0.025em;
}

.tha-cta-desc {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--tha-ink-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.tha-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.tha-btn-cta-primary {
    background: var(--tha-primary);
    color: #ffffff !important;
    border: 1px solid var(--tha-primary);
    border-radius: var(--tha-radius-pill);
    box-shadow: 0 10px 25px rgba(164, 125, 92, 0.35);
}

.tha-btn-cta-primary:hover {
    background: var(--tha-primary-hover);
    border-color: var(--tha-primary-hover);
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px rgba(164, 125, 92, 0.50);
}

.tha-btn-cta-secondary {
    background: transparent;
    color: var(--tha-ink) !important;
    border: 1.5px solid rgba(70, 65, 56, 0.25);
    border-radius: var(--tha-radius-pill);
}

.tha-btn-cta-secondary:hover {
    background: rgba(164, 125, 92, 0.08);
    border-color: var(--tha-primary);
    color: var(--tha-primary) !important;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   10. MOBILE & TABLET RESPONSIVE REFINEMENTS
════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
    .tha-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .tha-btn {
        width: 100%;
    }


    .tha-quote-card {
        padding: 24px 18px;
    }

    .tha-quote-inner {
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .tha-avatar-frame {
        width: 80px;
        height: 80px;
    }

    .tha-quote-body p {
        font-size: 1.025rem;
        line-height: 1.6;
    }

    .tha-quote-author-info {
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }

    .tha-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .tha-btn-cta-primary,
    .tha-btn-cta-secondary {
        width: 100%;
    }

    .tha-style-detail-card {
        padding: 24px 18px;
    }

    .tha-quick-nav-bar {
        top: 70px;
        padding: 8px 14px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tha-quick-nav-bar::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
}
