/*
Theme Name: Miracle Hearing Clinic
Theme URI: https://miraclehearingclinic.com
Author: Miracle Hearing Clinic
Author URI: https://miraclehearingclinic.com
Description: A clean, SEO-friendly multi-page theme for Miracle Hearing Clinic (a Unit of Punjab Optical House) — hearing tests, hearing aids and ear care. Includes Home, About, Services, Hearing Aids, Our Team, Resources and Contact templates with structured data.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: miracle-hearing-clinic
Tags: medical, health, business, custom-logo, custom-menu, featured-images, two-columns, right-sidebar, blog
*/

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

  :root {
    --white: #FFFFFF;
    --cream: #FAF7F4;
    --cream-dark: #F0EBE4;
    --red: #C94040;
    --red-light: #F5EBEB;
    --blue: #2A6EBB;
    --blue-light: #EEF4FB;
    --blue-dark: #1A4F8A;
    --slate: #3D4A5C;
    --slate-light: #6B7A8D;
    --slate-xlight: #A8B4C0;
    --text: #2B2F36;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(42,110,187,0.08);
    --shadow-card: 0 2px 16px rgba(60,70,90,0.10);
  }

  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

  h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

  /* ── NAV ── */
  header nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-dark);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 700; color: var(--blue-dark);
    text-decoration: none;
  }
  .nav-logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }
  .nav-logo-icon svg { width: 20px; height: 20px; fill: white; }
  .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
  .nav-links a {
    font-size: 0.875rem; font-weight: 500; color: var(--slate);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--blue); }
  .nav-cta {
    background: var(--red); color: white !important;
    padding: 8px 20px; border-radius: 50px;
    font-weight: 600 !important; transition: background 0.2s !important;
  }
  .nav-cta:hover { background: #a83333 !important; color: white !important; }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--slate); border-radius: 2px; transition: 0.3s; }

  /* ── SERVICES DROPDOWN ── */
  .has-dropdown { position: relative; }
  .dropdown-toggle { display: inline-flex !important; align-items: center; gap: 6px; }
  .dropdown-caret {
    flex-shrink: 0; font-size: 0.7em; line-height: 1; transition: transform 0.2s ease;
  }
  .has-dropdown.open .dropdown-caret,
  .has-dropdown:hover .dropdown-caret { transform: rotate(180deg); }
  /* Invisible bridge over the gap between the toggle and the menu below it,
     so the cursor never leaves a hoverable area while moving down to click
     a submenu item — this is what was closing the menu before you could
     click anything in it. */
  .has-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%); width: 300px; height: 18px;
  }
  .dropdown-menu {
    position: absolute; top: calc(50% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: white; list-style: none;
    min-width: 280px; padding: 10px;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(20,30,50,0.14);
    border: 1px solid var(--cream-dark);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
  }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .dropdown-menu li a {
    display: block; padding: 10px 14px; border-radius: 8px;
    font-size: 0.85rem; color: var(--slate); white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  }
  .dropdown-menu li a:hover { background: var(--blue-light); color: var(--blue-dark); padding-left: 18px; }
  .dropdown-divider { border-top: 1px solid var(--cream-dark); margin-top: 6px; padding-top: 6px; }
  .dropdown-divider a { color: var(--red) !important; font-weight: 600; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0D2B5E 0%, #1A4F8A 50%, #2A6EBB 100%);
    display: flex; align-items: center;
    padding: 80px 5% 60px;
    position: relative; overflow: hidden;
  }
  .hero-bg-pattern {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(201,64,64,0.15) 0%, transparent 40%);
  }
  .hero-content {
    position: relative; z-index: 2;
    max-width: 600px;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 50px; margin-bottom: 28px;
  }
  .hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: #6DD5B5; border-radius: 50%; display: block; }
  .hero-h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: white; font-weight: 700; margin-bottom: 20px;
    line-height: 1.08;
  }
  .hero-h1 em { color: #7EC8E3; font-style: normal; }
  .hero-sub {
    font-size: 1.15rem; color: rgba(255,255,255,0.8);
    margin-bottom: 40px; font-weight: 300; max-width: 480px;
  }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--red); color: white;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none; display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(201,64,64,0.4);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,64,64,0.5); }
  .btn-outline {
    background: transparent; color: white;
    border: 1.5px solid rgba(255,255,255,0.5);
    padding: 14px 32px; border-radius: 50px;
    font-weight: 500; font-size: 0.95rem;
    text-decoration: none; display: inline-block;
    transition: background 0.2s, border-color 0.2s;
  }
  .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
  .hero-visual {
    position: absolute; right: 5%; top: 50%;
    transform: translateY(-50%);
    width: min(420px, 42vw);
    z-index: 2;
  }
  .hero-stats {
    display: flex; gap: 32px; margin-top: 52px; flex-wrap: wrap;
  }
  .hero-stat { }
  .hero-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: white; line-height: 1; }
  .hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 4px; display: block; }

  /* Soundwave animation */
  .soundwave-wrap {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
  }
  .soundwave-label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.5);
    margin-bottom: 20px; text-align: center;
  }
  .wave-bars {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; height: 80px;
  }
  .wave-bar {
    width: 5px; border-radius: 3px;
    background: linear-gradient(to top, #7EC8E3, rgba(126,200,227,0.3));
    animation: wave 1.4s ease-in-out infinite;
  }
  @keyframes wave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
  }
  .ear-card {
    margin-top: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px; padding: 16px 20px;
    display: flex; align-items: center; gap: 14px;
  }
  .ear-card-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(42,110,187,0.4); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
  }
  .ear-card p { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
  .ear-card strong { display: block; font-size: 0.9rem; color: white; margin-bottom: 2px; }

  /* ── SECTIONS COMMON ── */
  section { padding: 96px 5%; }
  .section-label {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 12px; display: block;
  }
  .section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--text); margin-bottom: 16px; }
  .section-sub { font-size: 1.05rem; color: var(--slate-light); max-width: 560px; line-height: 1.7; }
  .section-header { margin-bottom: 56px; }
  .section-header.centered { text-align: center; }
  .section-header.centered .section-sub { margin: 0 auto; }
  .divider { width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin-top: 20px; }
  .divider.center { margin: 20px auto 0; }

  /* ── ABOUT ── */
  #about { background: var(--cream); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .about-visual {
    background: white;
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
  }
  .about-inner { padding: 48px 40px; }
  .about-inner p { color: var(--slate); margin-bottom: 20px; line-height: 1.8; }
  .about-inner p:last-child { margin-bottom: 0; }
  .about-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
  .mini-stat {
    background: var(--blue-light); border-radius: 12px; padding: 20px;
    border-left: 3px solid var(--blue);
  }
  .mini-stat strong { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--blue-dark); display: block; }
  .mini-stat span { font-size: 0.8rem; color: var(--slate-light); }
  .health-link-card {
    background: var(--red-light); border-radius: 16px; padding: 24px;
    border: 1px solid rgba(201,64,64,0.15);
    display: flex; gap: 16px; align-items: flex-start;
    margin-top: 28px;
  }
  .health-link-icon { font-size: 1.8rem; flex-shrink: 0; }
  .health-link-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--red); margin-bottom: 6px; }
  .health-link-card p { font-size: 0.85rem; color: var(--slate); margin: 0; }
  .audiogram {
    padding: 32px;
    background: linear-gradient(135deg, var(--blue-light), white);
  }
  .audiogram-title { font-size: 0.8rem; font-weight: 600; color: var(--slate); margin-bottom: 20px; }
  .aud-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: end; }
  .aud-axis { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.7rem; color: var(--slate-light); text-align: center; }
  .aud-chart { position: relative; min-height: 116px; }
  .aud-bars { display: flex; gap: 6px; align-items: flex-end; height: 116px; min-height: 116px; }
  .aud-bar-group { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; flex: 1; height: 100%; }
  .aud-bar-wrap { height: 100px; min-height: 100px; display: flex; align-items: flex-end; flex-shrink: 0; width: 100%; }
  .aud-bar { width: 100%; min-height: 4px; border-radius: 4px 4px 0 0; transition: height 0.3s; flex-shrink: 0; }
  .aud-freq { font-size: 0.65rem; color: var(--slate-light); white-space: nowrap; }
  .aud-note { margin-top: 16px; font-size: 0.78rem; color: var(--slate-light); display: flex; gap: 12px; }
  .aud-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; margin-top: 3px; }

  /* ── CAUSES ── */
  #causes { background: white; }
  .causes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
  .cause-card {
    background: var(--cream); border-radius: var(--radius);
    padding: 28px 24px; text-align: center;
    border: 1px solid var(--cream-dark);
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    cursor: default;
  }
  .cause-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--blue-light); }
  .cause-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: var(--blue-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; margin: 0 auto 16px;
  }
  .cause-card.red-accent .cause-icon { background: var(--red-light); }
  .cause-card h3 { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--slate); }

  /* ── SERVICES ── */
  #services { background: var(--cream); }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .service-card {
    background: white; border-radius: 16px; padding: 36px 30px;
    box-shadow: var(--shadow-card); border: 1px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--blue), var(--red));
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover { transform: translateY(-4px); border-color: var(--blue-light); }
  .service-num {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
    color: var(--slate-xlight); margin-bottom: 16px;
  }
  .service-icon-wrap {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--blue-light); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
  }
  .service-card-photo {
    margin: -36px -30px 20px; height: 150px; overflow: hidden; position: relative;
  }
  .service-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .service-icon-wrap.on-photo {
    margin-top: -46px; background: white; border: 3px solid white;
    box-shadow: var(--shadow-card); position: relative; z-index: 2;
  }
  .service-card h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
  .service-card p { font-size: 0.875rem; color: var(--slate-light); line-height: 1.7; margin-bottom: 20px; }
  .service-link { font-size: 0.8rem; font-weight: 600; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 6px; }
  .service-link:hover { gap: 10px; }

  /* ── WHY CHOOSE US ── */
  #why { background: linear-gradient(135deg, #0D2B5E, #1A4F8A); padding: 96px 5%; }
  #why .section-label { color: #7EC8E3; }
  #why .section-title { color: white; }
  #why .section-sub { color: rgba(255,255,255,0.65); }
  .why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
  .why-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 32px;
    display: flex; gap: 20px;
    transition: background 0.2s;
  }
  .why-card:hover { background: rgba(255,255,255,0.11); }
  .why-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
  }
  .why-card:nth-child(1) .why-icon { background: rgba(126,200,227,0.2); }
  .why-card:nth-child(2) .why-icon { background: rgba(201,64,64,0.2); }
  .why-card:nth-child(3) .why-icon { background: rgba(109,213,181,0.2); }
  .why-card:nth-child(4) .why-icon { background: rgba(255,200,80,0.2); }
  .why-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: white; margin-bottom: 8px; }
  .why-card p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

  /* ── TESTIMONIALS ── */
  #testimonials { background: white; }
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .testi-card {
    background: var(--cream); border-radius: 16px; padding: 32px;
    border: 1px solid var(--cream-dark);
    position: relative;
  }
  .testi-card::before {
    content: '"'; font-family: 'Playfair Display', serif;
    font-size: 5rem; color: var(--blue-light);
    position: absolute; top: 12px; right: 24px; line-height: 1;
  }
  .stars { color: #F4A837; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
  .testi-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.75; margin-bottom: 24px; }
  .testi-author { display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0;
  }
  .testi-name { font-weight: 600; font-size: 0.875rem; color: var(--text); }
  .testi-detail { font-size: 0.78rem; color: var(--slate-light); }

  /* ── FAQ ── */
  #faq { background: var(--cream); }
  .faq-wrap { max-width: 760px; margin: 0 auto; }
  .faq-item {
    background: white; border-radius: var(--radius);
    border: 1px solid var(--cream-dark); margin-bottom: 12px;
    overflow: hidden;
  }
  .faq-q {
    padding: 22px 28px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 0.95rem; color: var(--text);
    user-select: none;
  }
  .faq-q:hover { color: var(--blue); }
  .faq-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--blue-light); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--blue); font-size: 1.2rem;
    transition: transform 0.3s, background 0.2s;
  }
  .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: white; }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s;
    font-size: 0.9rem; color: var(--slate); line-height: 1.75;
  }
  .faq-item.open .faq-a { max-height: 300px; padding: 0 28px 24px; }

  /* ── CONTACT ── */
  #contact { background: white; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .contact-info p { color: var(--slate); margin-bottom: 32px; line-height: 1.8; }
  .contact-items { display: flex; flex-direction: column; gap: 16px; }
  .contact-item { display: flex; gap: 16px; align-items: flex-start; }
  .contact-item-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--blue-light); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
  }
  .contact-item strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--slate-light); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
  .contact-item span { font-size: 0.9rem; color: var(--text); }
  .map-placeholder {
    margin-top: 24px; border-radius: 16px; overflow: hidden;
    background: var(--blue-light); height: 160px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--cream-dark); position: relative;
  }
  .map-placeholder .map-pin { font-size: 2rem; }
  .map-placeholder p { font-size: 0.85rem; color: var(--slate-light); margin-top: 8px; }
  .map-inner { text-align: center; }
  .contact-form { background: var(--cream); border-radius: 20px; padding: 40px; }
  .contact-form h3 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 28px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
  .form-group label { font-size: 0.8rem; font-weight: 600; color: var(--slate); }
  .form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px; border-radius: 10px;
    border: 1.5px solid var(--cream-dark); background: white;
    font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text);
    transition: border-color 0.2s;
    outline: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .submit-btn {
    width: 100%; background: var(--red); color: white;
    border: none; padding: 14px; border-radius: 10px;
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
    margin-top: 4px;
  }
  .submit-btn:hover { background: #a83333; transform: translateY(-1px); }

  /* ── FOOTER ── */
  footer {
    background: #0D2B5E; color: rgba(255,255,255,0.7);
    padding: 60px 5% 32px;
  }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
  .footer-brand { }
  .footer-brand .nav-logo { color: white; margin-bottom: 16px; }
  .footer-brand p { font-size: 0.85rem; line-height: 1.7; }
  .footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: white; margin-bottom: 16px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
  .footer-col ul a:hover { color: #7EC8E3; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }

  /* ── HOME PAGE POPUP FORM ── */
  .mhc-popup-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(13,43,94,0.55); backdrop-filter: blur(2px);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
  }
  .mhc-popup-overlay.is-visible { display: flex; }
  .mhc-popup-box {
    position: relative; background: white; width: 100%; max-width: 440px;
    border-radius: 18px; padding: 40px 32px 28px;
    box-shadow: 0 24px 60px rgba(10,20,40,0.35);
    animation: mhc-popup-in 0.25s ease;
  }
  @keyframes mhc-popup-in {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .mhc-popup-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border: none; border-radius: 50%;
    background: var(--cream); color: var(--slate);
    font-size: 1.3rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .mhc-popup-close:hover { background: var(--cream-dark); }
  .mhc-popup-eyebrow {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--red);
    background: var(--red-light); padding: 5px 12px; border-radius: 50px;
    margin-bottom: 14px;
  }
  .mhc-popup-box h3 { font-size: 1.5rem; color: var(--blue-dark); margin-bottom: 8px; }
  .mhc-popup-sub { font-size: 0.9rem; color: var(--slate-light); margin-bottom: 22px; }
  .mhc-popup-form { display: flex; flex-direction: column; gap: 12px; }
  .mhc-popup-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .mhc-popup-form input,
  .mhc-popup-form select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--cream-dark);
    border-radius: 8px; font-family: inherit; font-size: 0.9rem; color: var(--text);
    background: var(--cream);
  }
  .mhc-popup-form input:focus,
  .mhc-popup-form select:focus { outline: none; border-color: var(--blue); background: white; }
  .mhc-popup-fineprint { text-align: center; font-size: 0.8rem; color: var(--slate-light); margin-top: 16px; }
  .mhc-popup-fineprint a { color: var(--blue); font-weight: 600; text-decoration: none; }

  .mhc-form-banner {
    position: sticky; top: 70px; z-index: 150;
    padding: 14px 5%; text-align: center; font-size: 0.9rem; font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 16px;
  }
  .mhc-form-banner.is-success { background: #E6F5EE; color: #1B6B4A; }
  .mhc-form-banner.is-error { background: var(--red-light); color: var(--red); }
  .mhc-form-banner-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: inherit; line-height: 1; }

  @media (max-width: 480px) {
    .mhc-popup-box { padding: 32px 20px 22px; }
    .mhc-popup-form .form-row { grid-template-columns: 1fr; }
  }

  /* ── WHATSAPP FLOATING BUTTON ── */
  .mhc-whatsapp-btn {
    position: fixed; right: 22px; bottom: 22px; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: mhc-wa-pulse 2.4s infinite;
  }
  .mhc-whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(37,211,102,0.55); }
  @keyframes mhc-wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  }
  @media (max-width: 480px) {
    .mhc-whatsapp-btn { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { width: 36vw; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    section { padding: 72px 5%; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .services-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; }
    .causes-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 24px 5%; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); max-height: 80vh; overflow-y: auto; }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .has-dropdown { width: 100%; }
    .has-dropdown::after { content: none; }
    .dropdown-menu {
      position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
      display: none; box-shadow: none; border: none; min-width: 0;
      background: var(--cream); margin-top: 8px;
    }
    .has-dropdown:hover .dropdown-menu { transform: none; }
    .has-dropdown.open .dropdown-menu { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .about-stat-row { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 480px) {
    .causes-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .wave-bar { animation: none; transform: scaleY(0.6); }
    *, ::before, ::after { transition-duration: 0.01ms !important; }
  }

/* ============================================================
   EXTENDED COMPONENTS FOR MULTI-PAGE THEME
   (page banners, breadcrumbs, blog, team, pricing, article,
    CTA band — all built on the existing design tokens)
   ============================================================ */

/* Active nav state */
.nav-links a.active { color: var(--blue); }
.nav-links a.active:not(.nav-cta)::after {
  content: ''; display: block; height: 2px; width: 100%;
  background: var(--red); border-radius: 2px; margin-top: 4px;
}

/* ── PAGE BANNER (inner-page hero) ── */
.page-banner {
  background: linear-gradient(135deg, #0D2B5E 0%, #1A4F8A 55%, #2A6EBB 100%);
  padding: 110px 5% 70px;
  position: relative; overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 18% 40%, rgba(255,255,255,0.05) 0%, transparent 48%),
                    radial-gradient(circle at 82% 18%, rgba(201,64,64,0.16) 0%, transparent 42%);
}
.page-banner-inner { position: relative; z-index: 2; max-width: 760px; }
.page-banner .breadcrumb { margin-bottom: 20px; }
.page-banner h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: white; font-weight: 700;
  line-height: 1.12; margin-bottom: 16px;
}
.page-banner h1 em { color: #7EC8E3; font-style: normal; }
.page-banner p { font-size: 1.08rem; color: rgba(255,255,255,0.8); font-weight: 300; max-width: 580px; }
.page-banner .divider { background: var(--red); margin-top: 24px; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.45); }
.breadcrumb .current { color: #7EC8E3; }
/* light variant for in-body breadcrumbs */
.breadcrumb.light a { color: var(--slate-light); }
.breadcrumb.light a:hover { color: var(--blue); }
.breadcrumb.light span { color: var(--slate-xlight); }
.breadcrumb.light .current { color: var(--blue); }

/* ── PROSE / CONTENT BLOCKS ── */
.prose { max-width: 760px; }
.prose p { color: var(--slate); line-height: 1.85; margin-bottom: 20px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--text); margin: 40px 0 16px; }
.prose h3 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 28px 0 12px; }
.prose ul { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  color: var(--slate); line-height: 1.7;
}
.prose ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}
.prose blockquote {
  border-left: 3px solid var(--red); background: var(--red-light);
  padding: 20px 28px; border-radius: 0 12px 12px 0; margin: 28px 0;
  font-style: italic; color: var(--slate);
}
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ── TWO-COLUMN CONTENT WITH SIDEBAR ── */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--cream); border: 1px solid var(--cream-dark);
  border-radius: 16px; padding: 28px;
}
.sidebar-card h4 {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 16px;
}
.sidebar-card.dark {
  background: linear-gradient(135deg, #0D2B5E, #1A4F8A); border: none; color: white;
}
.sidebar-card.dark h4 { color: #7EC8E3; }
.sidebar-card.dark p { color: rgba(255,255,255,0.75); font-size: 0.88rem; line-height: 1.7; margin-bottom: 18px; }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-list a {
  font-size: 0.9rem; color: var(--slate); text-decoration: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--cream-dark); transition: color 0.2s;
}
.sidebar-list a:last-child { border-bottom: none; }
.sidebar-list a:hover { color: var(--blue); }
.sidebar-list a span { color: var(--slate-xlight); font-size: 0.78rem; }

/* ── BLOG GRID ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: white; border: 1px solid var(--cream-dark); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s; text-decoration: none;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.post-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.post-thumb.a { background: linear-gradient(135deg, #2A6EBB, #1A4F8A); }
.post-thumb.b { background: linear-gradient(135deg, #C94040, #8B2020); }
.post-thumb.c { background: linear-gradient(135deg, #2A9D6E, #1B6B4A); }
.post-thumb.d { background: linear-gradient(135deg, #1A4F8A, #0D2B5E); }
.post-thumb.e { background: linear-gradient(135deg, #E0A030, #B97B14); }
.post-thumb.f { background: linear-gradient(135deg, #6B7A8D, #3D4A5C); }
.post-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92); color: var(--blue-dark);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px;
}
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 0.75rem; color: var(--slate-xlight); margin-bottom: 10px; display: flex; gap: 10px; }
.post-card h3 {
  font-family: 'Inter', sans-serif; font-size: 1.08rem; font-weight: 700;
  color: var(--text); line-height: 1.35; margin-bottom: 10px;
}
.post-card p { font-size: 0.875rem; color: var(--slate-light); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.post-card .read-link { font-size: 0.8rem; font-weight: 600; color: var(--blue); }

/* Featured post (blog index hero) */
.featured-post {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: white; border: 1px solid var(--cream-dark); border-radius: 20px;
  overflow: hidden; margin-bottom: 48px;
}
.featured-visual {
  background: linear-gradient(135deg, #0D2B5E, #2A6EBB);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; min-height: 320px;
}
.featured-content { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-content .post-tag { position: static; display: inline-block; margin-bottom: 16px; align-self: flex-start; background: var(--blue-light); }
.featured-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--text); line-height: 1.25; margin-bottom: 14px; }
.featured-content p { color: var(--slate-light); line-height: 1.75; margin-bottom: 24px; }

/* ── ARTICLE (single post) ── */
.article-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 8px; }
.article-author { display: flex; align-items: center; gap: 12px; margin: 32px 0; padding: 20px 0; border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark); }
.article-author .testi-avatar { width: 48px; height: 48px; }
.article-feature-img {
  height: 360px; border-radius: 20px; margin-bottom: 40px;
  background: linear-gradient(135deg, #0D2B5E, #2A6EBB);
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tag-chip {
  background: var(--blue-light); color: var(--blue-dark);
  font-size: 0.78rem; font-weight: 500; padding: 6px 14px; border-radius: 50px;
}

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 1080px; margin: 0 auto; }
.team-card {
  background: white; border: 1px solid var(--cream-dark); border-radius: 18px;
  overflow: hidden; text-align: center; transition: transform 0.22s, box-shadow 0.22s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.team-photo {
  height: 400px; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: white;
}
.team-info { padding: 26px 24px 30px; }
.team-info h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; font-weight: 600; color: var(--blue); margin-bottom: 14px; }
.team-info p { font-size: 0.85rem; color: var(--slate-light); line-height: 1.7; }
.team-creds { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 16px; }
.team-cred { background: var(--cream); border: 1px solid var(--cream-dark); font-size: 0.7rem; font-weight: 600; color: var(--slate); padding: 4px 10px; border-radius: 50px; }

/* ── HEARING AIDS / PRODUCTS ── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: white; border: 1px solid var(--cream-dark); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--blue-light); }
.product-visual {
  height: 170px; display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem; background: var(--blue-light); position: relative;
}
.product-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--red); color: white; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px;
}
.product-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.product-type { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-xlight); margin-bottom: 14px; }
.product-body p { font-size: 0.875rem; color: var(--slate-light); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.product-features li { font-size: 0.82rem; color: var(--slate); padding-left: 24px; position: relative; }
.product-features li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--blue-dark); margin-bottom: 16px; }
.product-price small { font-size: 0.72rem; font-weight: 400; color: var(--slate-light); font-family: 'Inter', sans-serif; }

/* ── PROCESS / STEPS (numbered timeline — genuine sequence) ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card { position: relative; padding: 32px 24px; background: var(--cream); border-radius: 16px; border: 1px solid var(--cream-dark); }
.step-num {
  font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--blue);
  line-height: 1; margin-bottom: 14px; opacity: 0.55;
}
.step-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--slate-light); line-height: 1.65; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: white; border: 1px solid var(--cream-dark); border-radius: 18px;
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.price-card.featured { border: 2px solid var(--blue); position: relative; }
.price-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: white; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 16px; border-radius: 50px;
}
.price-card h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.price-amount { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--blue-dark); margin-bottom: 4px; }
.price-amount small { font-size: 0.8rem; font-family: 'Inter', sans-serif; font-weight: 400; color: var(--slate-light); }
.price-card > p { font-size: 0.86rem; color: var(--slate-light); margin-bottom: 24px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-features li { font-size: 0.86rem; color: var(--slate); padding-left: 26px; position: relative; }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.price-features li.off { color: var(--slate-xlight); }
.price-features li.off::before { content: '–'; color: var(--slate-xlight); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, #0D2B5E, #1A4F8A);
  border-radius: 24px; padding: 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 80% 30%, rgba(201,64,64,0.18) 0%, transparent 45%);
}
.cta-band-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: white; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.78); font-size: 1.02rem; margin-bottom: 30px; }

/* ── VALUE / FEATURE STRIP ── */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { text-align: center; }
.value-item .value-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.value-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--blue-dark); line-height: 1; margin-bottom: 6px; }
.value-item span { font-size: 0.84rem; color: var(--slate-light); }

/* ── RESPONSIVE for new components ── */
@media (max-width: 1024px) {
  .blog-grid, .team-grid, .product-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .value-strip { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1; min-width: 260px; }
  .featured-post { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-banner { padding: 90px 5% 56px; }
  .blog-grid, .team-grid, .product-grid, .pricing-grid, .steps, .value-strip { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .featured-visual { min-height: 200px; }
  .featured-content { padding: 30px; }
}

/* ============================================================
   WORDPRESS + IMAGE-LOGO ADDITIONS (Miracle Hearing Clinic)
   ============================================================ */
.site-logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo img { height: 46px; width: auto; display: block; }
header nav .site-logo img { height: 46px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { height: 46px; width: auto; }

/* Footer logo sits on a light chip so it reads on the dark footer */
.footer-logo-chip {
  display: inline-flex; background: #fff; padding: 10px 14px;
  border-radius: 12px; margin-bottom: 16px;
}
.footer-logo-chip img { height: 44px; width: auto; display: block; }

/* WP generic page/post content wrapper */
.page-content { max-width: 820px; margin: 0 auto; }
.page-content img { max-width: 100%; height: auto; border-radius: 12px; }
.page-content h2 { font-size: clamp(1.6rem,3vw,2.1rem); margin: 36px 0 14px; color: var(--text); }
.page-content h3 { font-family: 'Inter',sans-serif; font-weight: 700; margin: 26px 0 10px; color: var(--text); }
.page-content p { color: var(--slate); line-height: 1.85; margin-bottom: 18px; }
.page-content a { color: var(--blue); }
.post-pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font-size: 0.9rem; }
.post-pagination a { color: var(--blue); text-decoration: none; font-weight: 600; }
.wp-caption-text, .screen-reader-text { font-size: 0.8rem; color: var(--slate-light); }
.screen-reader-text {
  position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Default WP posts grid on index/blog */
.wp-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 1024px){ .wp-posts-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 768px){ .wp-posts-grid{ grid-template-columns: 1fr;} }

/* ── INLINE SVG ICONS (replace emoji) ───────────────────────────── */
.mhc-ic { display: inline-block; vertical-align: middle; }
.service-icon-wrap { color: var(--blue); }
.value-item .value-icon { color: var(--blue); }
.contact-item-icon { color: var(--blue); }
.map-placeholder .map-pin { color: var(--blue); }
.post-thumb, .featured-visual, .article-feature-img { color: #fff; }
.ear-card-icon { color: #fff; }
/* Why-choose cards sit on the dark section — tint each icon to match its badge */
.why-icon { color: #fff; }
.why-card:nth-child(1) .why-icon { color: #8fd0e8; }
.why-card:nth-child(2) .why-icon { color: #e88f8f; }
.why-card:nth-child(3) .why-icon { color: #7fdcc0; }
.why-card:nth-child(4) .why-icon { color: #ffd27a; }
/* Hearing-aid product visuals — one accent per card */
.product-visual { color: var(--blue); }
.product-card:nth-child(1) .product-visual { color: #2A6EBB; }
.product-card:nth-child(2) .product-visual { color: #C94040; }
.product-card:nth-child(3) .product-visual { color: #2A9D6E; }
.product-card:nth-child(4) .product-visual { color: #7C5CBF; }
.product-card:nth-child(5) .product-visual { color: #E0A030; }
.product-card:nth-child(6) .product-visual { color: #6B7A8D; }







/* Footer Social Icons */
.footer-social {
	display: flex;
	gap: 14px;
	margin-top: 18px;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.footer-social a svg {
	width: 18px;
	height: 18px;
}

.footer-social a:hover,
.footer-social a:focus {
	background: #ffffff;
	color: #14294f; /* matches your footer navy so icon pops on hover */
	transform: translateY(-2px);
	outline: none;
}