/* Homepage content and the four existing ACF reasons to choose HearTEK. */
.heartek-home-why { padding:clamp(40px,5vw,72px) 0; background:#fff; }
.heartek-home-why > .container { max-width:1280px; }
.heartek-home-why h2 { color:#01588e; font-size:clamp(30px,3vw,44px); font-weight:500; line-height:1.25; margin:0 0 32px; }
.heartek-why-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.heartek-why-card { padding:28px; border:1px solid rgb(1 88 142 / 18%); border-radius:12px; background:#fff; }
.heartek-why-icon { margin-bottom:16px; }
.heartek-why-icon img { display:block; width:44px; height:44px; object-fit:contain; }
.heartek-why-copy h3 { color:#01588e; font-size:22px; font-weight:600; line-height:1.35; margin:0 0 12px; }
.heartek-why-copy p { font-size:16px; line-height:1.8; margin:0 0 12px; }
.heartek-why-copy > :last-child { margin-bottom:0; }
@media(max-width:600px) {
 .heartek-home-why > .container { padding-left:20px; padding-right:20px; }
 .heartek-why-grid { grid-template-columns:1fr; gap:18px; }
 .heartek-why-card { padding:24px; }
}
.heartek-home-care,
.heartek-home-aids {
   padding: clamp(40px, 5vw, 80px) 0;
}
.heartek-home-care {
   background: #eef8ff;
}
.heartek-home-care > .container,
.heartek-home-aids > .container {
   max-width: 1280px;
}
.heartek-care-intro,
.heartek-aids-grid {
   display: block;
}
.heartek-care-paragraphs {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 22px;
   margin-top: 32px;
}
.heartek-care-paragraphs > p {
   padding: 26px;
   border-top: 3px solid #0a8ff2;
   border-radius: 0 0 12px 12px;
   background: #fff;
}
.heartek-home-care .heartek-care-paragraphs > p,
.heartek-home-aids .heartek-aids-copy > p {
   margin: 0;
}
.heartek-aids-copy {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 24px;
   margin: 30px 0;
}
.heartek-home-care h2,
.heartek-home-aids h2 {
   font-size: clamp(28px, 2.7vw, 42px);
   font-weight: 500;
   line-height: 1.25;
   margin: 0 0 24px;
   color: #152b3d;
   max-width: 880px;
   text-wrap: balance;
}
.heartek-care-accent {
   display: block;
   width: 48px;
   height: 4px;
   margin-bottom: 22px;
   background: #0a8ff2;
}
.heartek-care-copy p,
.heartek-aids-features {
   font-size: clamp(16px, 1.25vw, 19px);
   line-height: 1.75;
}
.heartek-care-copy p {
   margin: 0 0 18px;
}
.heartek-care-copy p:last-child {
   margin-bottom: 0;
}
.heartek-aids-features {
   padding: 0;
   border: 0;
   background: transparent;
}
.heartek-features-intro {
   margin: 0 0 20px;
   font-weight: 500;
}
.heartek-aids-features ul {
   display: grid;
   grid-template-columns: repeat(5, minmax(0, 1fr));
   gap: 16px;
   list-style: none;
   padding: 0;
   margin: 0;
}
.heartek-aids-features li {
   position: relative;
   padding: 24px 20px;
   margin: 0;
   border: 1px solid #dbeaf5;
   border-radius: 12px;
   background: #f7fbfe;
   font-size: 16px;
   line-height: 1.7;
}
.heartek-aids-features li::before {
   content: none;
}
.heartek-aids-features strong {
   display: block;
   margin-bottom: 10px;
   color: #086db8;
   font-weight: 600;
}
.heartek-aids-followup {
   max-width: 1000px;
   margin-top: 32px;
}
.heartek-home-aids .heartek-aids-cta {
   display: inline-block;
   margin-top: 10px;
   padding: 15px 24px;
   border-radius: 0;
   background: #0a8ff2;
   border: 1px solid #0a8ff2;
   color: #fff;
   font-size: 17px;
   line-height: 1.5;
   white-space: normal;
   max-width: 100%;
}
.heartek-home-aids .heartek-aids-cta:hover {
   background: #0873c4;
   border-color: #0873c4;
}
.heartek-home-aids .heartek-aids-cta:focus-visible {
   outline: 3px solid #152b3d;
   outline-offset: 4px;
}
@media (max-width: 991px) {
   .heartek-care-paragraphs,
   .heartek-aids-copy {
      grid-template-columns: 1fr;
   }
   .heartek-aids-features ul {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
   .heartek-home-care > .container,
   .heartek-home-aids > .container {
      padding-left: 20px;
      padding-right: 20px;
   }
}

/* Each existing service card is one accessible link with an explicit cue. */
.heartek-home-services .audiology-wrap {
   position: relative;
   transition: transform .2s ease, box-shadow .2s ease;
}
.heartek-home-services .audio-text {
   padding-bottom: 68px !important;
}
.heartek-home-services .heartek-service-link {
   color: #0873c4;
}
.heartek-home-services .heartek-service-link::after {
   content: '';
   position: absolute;
   inset: 0;
   border-radius: 18px;
}
.heartek-home-services .heartek-service-more {
   position: absolute;
   bottom: 24px;
   left: 16px;
   right: 16px;
   display: flex;
   justify-content: center;
   gap: 12px;
   font-size: 14px;
   line-height: 1.5;
}
.heartek-home-services .audiology-wrap:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 24px #075c9b40;
}
.heartek-home-services .heartek-service-link:focus-visible {
   outline: none;
}
.heartek-home-services .heartek-service-link:focus-visible::after {
   box-shadow: inset 0 0 0 3px #152b3d;
}
@media (min-width: 992px) and (max-width: 1199px) {
   .heartek-aids-features ul {
      grid-template-columns: repeat(3, minmax(0, 1fr));
   }
}
@media (max-width: 600px) {
   .heartek-aids-features ul {
      grid-template-columns: 1fr;
   }
}
@media (prefers-reduced-motion: reduce) {
   .heartek-home-services .audiology-wrap {
      transition: none;
   }
}

/* Restored two-column Hearing Aids layout with the original CTA. */
.heartek-home-aids { background:#fff; }
.heartek-home-aids .heartek-aids-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(28px,5vw,68px); align-items:start; }
.heartek-home-aids h2 { color:#01588e; font-size:clamp(30px,3vw,42px); }
.heartek-home-aids .heartek-care-accent { background:#098ff2; }
.heartek-home-aids .heartek-aids-copy { display:block; margin:0; }
.heartek-home-aids .heartek-aids-copy > p + p { margin-top:20px; }
.heartek-home-aids .heartek-aids-features { padding:clamp(24px,3vw,36px); border:1px solid rgb(1 88 142 / 18%); border-radius:12px; background:rgb(9 143 242 / 4%); }
.heartek-home-aids .heartek-features-intro { color:#01588e; font-size:16px; margin-bottom:20px; }
.heartek-home-aids .heartek-aids-features ul { display:block; }
.heartek-home-aids .heartek-aids-features li { position:relative; padding:0 0 18px 22px; margin:0 0 18px; border:0; border-bottom:1px solid rgb(1 88 142 / 16%); border-radius:0; background:transparent; font-size:16px; }
.heartek-home-aids .heartek-aids-features li::before { content:''; position:absolute; left:0; top:11px; width:6px; height:6px; border-radius:50%; background:#098ff2; }
.heartek-home-aids .heartek-aids-features li:last-child { padding-bottom:0; margin-bottom:0; border-bottom:0; }
.heartek-home-aids .heartek-aids-features strong { display:inline; color:#01588e; margin:0; font-size:inherit; font-weight:600; }
.heartek-home-aids .heartek-aids-cta { display:inline-flex; margin-top:28px; border-color:#01588e; background:#01588e; color:#fff; padding:16px 24px; border-radius:6px; font-size:16px; line-height:1.6; text-decoration:none; }
.heartek-home-aids .heartek-aids-cta:hover { background:#01588e; border-color:#01588e; text-decoration:underline; text-underline-offset:3px; }
.heartek-home-aids .heartek-aids-cta:focus-visible { outline:3px solid #098ff2; outline-offset:4px; }
@media(max-width:991px) {
 .heartek-home-aids .heartek-aids-grid { grid-template-columns:1fr; }
}

/* A connected process, practical clinic cards and quiet, readable FAQs. */
.heartek-process,
.heartek-clinics,
.heartek-client-experience,
.heartek-home-faq,
.heartek-closing-cta {
   padding: clamp(48px, 6vw, 88px) 0;
}
.heartek-process > .container,
.heartek-clinics > .container,
.heartek-client-experience > .container,
.heartek-home-faq > .container,
.heartek-closing-cta > .container {
   max-width: 1440px;
}
.heartek-section-top {
   display: grid;
   grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
   gap: clamp(24px, 5vw, 80px);
   align-items: end;
   margin-bottom: 42px;
}
.heartek-eyebrow {
   display: block;
   color: #0873c4;
   font-size: 12px;
   font-weight: 600;
   letter-spacing: .14em;
   line-height: 1.6;
   text-transform: uppercase;
   margin-bottom: 15px;
}
.heartek-process h2,
.heartek-clinics h2,
.heartek-client-experience h2,
.heartek-home-faq h2,
.heartek-closing-cta h2 {
   font-size: clamp(28px, 2.7vw, 42px);
   line-height: 1.23;
   font-weight: 500;
   color: #152b3d;
   margin: 0;
   text-wrap: balance;
}
.heartek-section-top > p,
.heartek-experience-copy p,
.heartek-faq-answer p {
   font-size: clamp(16px, 1.25vw, 18px);
   line-height: 1.8;
   margin: 0 0 16px;
}
.heartek-section-top > p,
.heartek-experience-copy p:last-child,
.heartek-faq-answer p:last-child {
   margin-bottom: 0;
}
.heartek-process {
   background: #f4f8fb;
}
.heartek-process-list {
   display: grid;
   grid-template-columns: repeat(5, minmax(0, 1fr));
   list-style: none;
   gap: 14px;
   margin: 0;
   padding: 0;
}
.heartek-process-list > li {
   position: relative;
   background: #fff;
   padding: 28px 22px;
   border: 1px solid #e1eaf0;
   border-radius: 14px;
}
.heartek-step-number {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 52px;
   height: 52px;
   background: #eaf6ff;
   color: #086db8;
   font-family: 'Figtree', sans-serif;
   font-size: 24px;
   font-weight: 500;
   border-radius: 50%;
   margin-bottom: 24px;
}
.heartek-process-list > li:first-child {
   border-top: 3px solid #0a8ff2;
   padding-top: 26px;
}
.heartek-process-list h3 {
   color: #152b3d;
   font-size: 19px;
   font-weight: 600;
   line-height: 1.4;
   margin: 0 0 14px;
}
.heartek-process-list p {
   font-size: 15px;
   line-height: 1.8;
   color: #405263;
   margin: 0;
}
.heartek-sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}
.heartek-clinics {
   background: #122f43;
}
.heartek-clinics .heartek-eyebrow {
   color: #8bd0ff;
}
.heartek-clinics h2 {
   color: #fff;
}
.heartek-clinics .heartek-section-top > p,
.heartek-clinic-note {
   color: #d1e0eb;
}
.heartek-clinic-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 22px;
}
.heartek-clinic-card {
   display: flex;
   flex-direction: column;
   padding: clamp(22px, 2.5vw, 34px);
   background: #fff;
   border-radius: 14px;
}
.heartek-clinic-card-top {
   display: flex;
   align-items: center;
   gap: 12px;
   color: #0873c4;
   font-size: 13px;
   font-weight: 600;
   margin-bottom: 32px;
}
.heartek-location-marker {
   display: inline-block;
   position: relative;
   width: 24px;
   height: 24px;
   background: #e6f4ff;
   border: 1px solid #96cefa;
   border-radius: 50% 50% 50% 2px;
   transform: rotate(-45deg);
   flex-shrink: 0;
}
.heartek-location-marker::after {
   content: '';
   position: absolute;
   left: 8px;
   top: 8px;
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: #0873c4;
}
.heartek-clinic-card h3 {
   color: #152b3d;
   font-size: 23px;
   line-height: 1.35;
   font-weight: 500;
   margin: 0 0 20px;
}
.heartek-clinic-card h3 > span {
   display: block;
}
.heartek-clinic-card p {
   font-size: 16px;
   line-height: 1.8;
   margin: 0 0 18px;
   color: #405263;
}
.heartek-clinic-map {
   width: 100%;
   margin: 0 0 24px;
   overflow: hidden;
   border: 1px solid #dbe8f1;
   border-radius: 8px;
   background: #edf4f8;
}
.heartek-clinic-map iframe {
   display: block;
   width: 100%;
   height: 250px;
   border: 0;
}
.heartek-direction-link {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   padding-top: 22px;
   margin-top: auto;
   border-top: 1px solid #dbe8f1;
   color: #076bb5;
   font-size: 15px;
   font-weight: 600;
   line-height: 1.6;
}
.heartek-direction-link:hover {
   color: #152b3d;
   text-decoration: underline;
}
.heartek-direction-link > span[aria-hidden] {
   font-size: 22px;
}
.heartek-clinic-note {
   font-size: 14px;
   line-height: 1.75;
   margin: 25px 0 0;
}
.heartek-client-experience {
   padding-bottom: 0;
}
.heartek-experience-panel {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
   align-items: center;
   gap: clamp(24px, 5vw, 72px);
   background: #edf7fe;
   border-left: 4px solid #0a8ff2;
   border-radius: 0 16px 16px 0;
   padding: clamp(28px, 4vw, 56px);
}
.heartek-faq-grid {
   display: grid;
   grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
   align-items: start;
   gap: clamp(32px, 5vw, 80px);
}
.heartek-faq-heading {
   padding-top: 16px;
}
.heartek-faq-list details {
   border-top: 1px solid #d8e3eb;
}
.heartek-faq-list details:last-child {
   border-bottom: 1px solid #d8e3eb;
}
.heartek-faq-list summary {
   display: flex;
   justify-content: space-between;
   align-items: start;
   gap: 24px;
   list-style: none;
   cursor: pointer;
   padding: 24px 0;
   color: #152b3d;
   font-size: 18px;
   font-weight: 500;
   line-height: 1.55;
}
.heartek-faq-list summary::-webkit-details-marker {
   display: none;
}
.heartek-faq-list summary::after {
   content: '+';
   flex: 0 0 24px;
   text-align: center;
   color: #0873c4;
   font-size: 24px;
   line-height: 1.15;
}
.heartek-faq-list details[open] summary::after {
   content: '−';
}
.heartek-faq-answer {
   padding: 0 40px 26px 0;
   color: #405263;
}
.heartek-closing-cta {
   padding-top: 0;
}
.heartek-booking-panel {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 32px;
   padding: clamp(28px, 4vw, 56px);
   border-radius: 18px;
   background: #0a72be;
   background-image: radial-gradient(ellipse at 100% 0, #1496ef 0, transparent 65%);
}
.heartek-booking-panel > div {
   max-width: 760px;
}
.heartek-booking-panel h2,
.heartek-booking-panel .heartek-eyebrow {
   color: #fff;
}
.heartek-booking-button {
   display: inline-flex;
   justify-content: center;
   align-items: center;
   gap: 22px;
   flex-shrink: 0;
   padding: 18px 24px;
   color: #075c9b;
   background: #fff;
   border: 1px solid #fff;
   border-radius: 8px;
   font-size: 16px;
   font-weight: 600;
   line-height: 1.6;
   text-decoration: none;
}
.heartek-booking-button:hover {
   color: #152b3d;
   background: #eaf6ff;
}
.heartek-direction-link:focus-visible,
.heartek-faq-list summary:focus-visible,
.heartek-booking-button:focus-visible {
   outline: 3px solid #0873c4;
   outline-offset: 5px;
}
.heartek-booking-button:focus-visible {
   outline-color: #fff;
}
@media (max-width: 1199px) {
   .heartek-process-list {
      grid-template-columns: repeat(6, minmax(0, 1fr));
   }
   .heartek-process-list > li {
      grid-column: span 2;
   }
   .heartek-process-list > li:nth-last-child(-n+2) {
      grid-column: span 3;
   }
   .heartek-booking-panel {
      align-items: start;
      flex-direction: column;
   }
}
@media (max-width: 991px) {
   .heartek-section-top,
   .heartek-experience-panel,
   .heartek-faq-grid {
      grid-template-columns: 1fr;
   }
   .heartek-clinic-grid {
      grid-template-columns: 1fr;
   }
   .heartek-process > .container,
   .heartek-clinics > .container,
   .heartek-client-experience > .container,
   .heartek-home-faq > .container,
   .heartek-closing-cta > .container {
      padding-left: 20px;
      padding-right: 20px;
   }
   .heartek-clinic-card-top {
      margin-bottom: 24px;
   }
}
@media (max-width: 600px) {
   .heartek-process-list {
      grid-template-columns: 1fr;
   }
   .heartek-process-list > li,
   .heartek-process-list > li:nth-last-child(-n+2) {
      grid-column: auto;
   }
   .heartek-process-list > li {
      padding: 26px;
   }
   .heartek-process-list > li:first-child {
      padding-top: 24px;
   }
   .heartek-process-list h3 {
      font-size: 20px;
   }
   .heartek-step-number {
      margin-bottom: 20px;
   }
   .heartek-faq-list summary {
      font-size: 17px;
      gap: 16px;
   }
   .heartek-faq-answer {
      padding-right: 0;
   }
   .heartek-booking-button {
      max-width: 100%;
      padding: 16px 20px;
      gap: 16px;
   }
}




/* Align service descriptions by reserving two title lines */
.heartek-home-services .audio-text h3 {
    line-height: 1.4;
    min-height: 2.8em;
}