:root{
    --dark:#152A3D;
    --orange-light:#FFCB98;   /* used for ring stroke AND light half of badge, matching original design where both used the same pale shade */
    --orange-solid:#FF8A1E;   /* used for dark half of badge, label text, number text */
    --white:#ffffff;
  }

  .stats-section{
    width:100%;
    max-width:1080px;
    text-align:center;
  }
  .stats-section h2{
    color:var(--dark);
    font-size:25px;
    font-weight:700;
    margin:0 0 14px 0;
  }
  .stats-section .divider{
    width:53px;
    height:3px;
    margin:0 auto 60px auto;
    background:linear-gradient(90deg, var(--orange-solid) 0%, #FFD27A 100%);
    border-radius:2px;
  }
  .stats-section .stats-row{
    display:flex;
    justify-content:center;
    column-gap:44px;
    row-gap:50px;
    flex-wrap:wrap;
  }
  .stats-section .stat-item{
    width:190px;
  }
  .stats-section .icon-frame{
    position:relative;
    width:190px;
    height:190px;
    margin:0 auto;
  }
  .stats-section .ring{
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    border-radius:50%;
    border:6px solid var(--orange-light);
  }
  .stats-section .badge{
    position:absolute;
    top:-10px;
    left:-8px;
    width:90px;
    height:90px;
    border-radius:50%;
    overflow:hidden;
    /* hard-stop diagonal split: light upper-left, solid lower-right */
    background:linear-gradient(135deg, var(--orange-light) 0%, var(--orange-light) 50%, var(--orange-solid) 50%, var(--orange-solid) 100%);
  }
  .stats-section .badge svg{
    position:relative;
    width:44px;
    height:44px;
    margin:23px;
    stroke:var(--white);
    fill:none;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .stats-section .label{
    position:absolute;
    top:72px;
    left:0;
    right:0;
    text-align:center;
    color:var(--orange-solid);
    font-size:16px;
    font-weight:600;
    line-height:20px;
  }
  .stats-section .number{
    position:absolute;
    top:117px;
    left:0;
    right:0;
    text-align:center;
    color:var(--orange-solid);
    font-size:31px;
    font-weight:700;
  }




 .nxtdent-stepper {
    --nx-ink: #2f3a44;
    --nx-orange: #f49c00;
    --nx-muted: #7b7b7b;
    --nx-soft-bg: #fff6e6;
    --nx-grey-line: #dcdcdc;
    --nx-grey-text: #b3b3b3;
 
    color: var(--nx-ink);
    background: var(--nx-soft-bg);
    padding: 64px 24px 80px;
  }
 
  .nxtdent-stepper__inner {
    max-width: 860px;
    margin: 0 auto;
  }
 
  /* ---------- Section heading ---------- */
 
  .nxtdent-stepper__h2 {
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--nx-ink);
    margin: 0 0 40px;
  }
 
  /* ---------- Step circle row ---------- */
  .nxtdent-stepper__rail {
    margin: 56px 0 40px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
 
  .nxtdent-stepper__track {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-width: 640px;
  }
 
  .nxtdent-stepper__line {
    position: absolute;
    top: 24px;
    left: 45px;
    right: 45px;
    height: 2px;
    background: var(--nx-grey-line);
  }
 
  .nxtdent-stepper__line-fill {
    position: absolute;
    top: 24px;
    left: 45px;
    height: 2px;
    background: var(--nx-orange);
    width: 0%;
    transition: width 0.3s ease;
  }
 
  .nxtdent-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 90px;
    font: inherit;
  }
 
  .nxtdent-node__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    border: 2px solid var(--nx-grey-line);
    color: var(--nx-grey-text);
    background: #ffffff;
    transition: all 0.2s ease;
  }
 
  .nxtdent-node__label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--nx-grey-text);
    text-align: center;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
 
  .nxtdent-node.is-complete .nxtdent-node__circle {
    background: var(--nx-orange);
    border-color: var(--nx-orange);
    color: #ffffff;
  }
 
  .nxtdent-node.is-complete .nxtdent-node__label {
    color: var(--nx-orange);
  }
 
  .nxtdent-node.is-active .nxtdent-node__circle {
    background: var(--nx-ink);
    border-color: var(--nx-ink);
    color: #ffffff;
    width: 54px;
    height: 54px;
    font-size: 18px;
  }
 
  .nxtdent-node.is-active .nxtdent-node__label {
    color: var(--nx-ink);
    font-weight: 800;
  }
 
  /* ---------- Detail card ---------- */
  .nxtdent-stepper__card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 30px;
    box-shadow: 0 10px 30px rgba(47, 58, 68, 0.08);
  }
 
  .nxtdent-stepper__of {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--nx-orange);
    margin: 0 0 8px;
  }
 
  .nxtdent-stepper__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--nx-ink);
    margin: 0 0 12px;
  }
 
  .nxtdent-stepper__desc {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    color: var(--nx-muted);
    margin: 0 0 26px;
  }
 
  .nxtdent-stepper__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
 
  .nxtdent-stepper__buttons {
    display: flex;
    gap: 10px;
  }
 
  .nxtdent-btn {
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--nx-grey-line);
    background: #ffffff;
    color: var(--nx-ink);
  }
 
  .nxtdent-btn:disabled {
    color: var(--nx-grey-text);
    cursor: not-allowed;
  }
 
  .nxtdent-btn--primary {
    background: var(--nx-ink);
    border-color: var(--nx-ink);
    color: #ffffff;
  }
 
  .nxtdent-stepper__progress {
    display: flex;
    align-items: center;
    gap: 10px;
  }
 
  .nxtdent-stepper__progress-track {
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background: var(--nx-grey-line);
    overflow: hidden;
  }
 
  .nxtdent-stepper__progress-fill {
    height: 100%;
    background: var(--nx-orange);
    width: 0%;
    transition: width 0.3s ease;
  }
 
  .nxtdent-stepper__progress-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--nx-muted);
    min-width: 32px;
  }
 
  @media (prefers-reduced-motion: reduce) {
    .nxtdent-stepper__line-fill,
    .nxtdent-stepper__progress-fill {
      transition: none;
    }
  }
 
  @media (max-width: 560px) {
    .nxtdent-stepper {
      padding: 48px 18px 64px;
    }
    .nxtdent-stepper__h2 {
      font-size: 24px;
    }
    .nxtdent-stepper__card {
      padding: 26px 20px;
    }
  }
 
  /* ---------- Part 1: intro ---------- */
  .nxtdent-intro {
    background:
      radial-gradient(ellipse 700px 340px at 15% 0%, rgba(244, 156, 0, 0.10), transparent 65%),
      #ffffff;
    padding: 84px 24px 68px;
  }
 
  .nxtdent-intro__layout {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
    align-items: center;
  }
 
  .nxtdent-intro__inner {
    text-align: left;
  }
 
  .nxtdent-intro__media img {
    width: 100%;
    height: 555px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
  }
 
  .nxtdent-intro__badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f49c00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
  }
 
  .nxtdent-intro__badge svg {
    width: 26px;
    height: 26px;
  }
 
  .nxtdent-intro__eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f49c00;
    margin: 0 0 20px;
  }
 
  .nxtdent-intro__eyebrow::before {
    display: none;
  }
 
  .nxtdent-intro__eyebrow::after {
    content: '';
    height: 1px;
    width: 32px;
    background: #f49c00;
    opacity: 0.5;
  }
 
  .nxtdent-intro__h1 {
    font-size: 40px;
    line-height: 1.25;
    font-weight: 800;
    color: #2f3a44;
    margin: 0;
  }
 
  .nxtdent-intro__rule {
    width: 56px;
    height: 3px;
    background: #f49c00;
    border: none;
    border-radius: 2px;
    margin: 24px 0 0;
  }
 
  .nxtdent-intro__lede {
    font-size: 18px;
    line-height: 29px;
    font-weight: 500;
    color: #2f3a44;
    margin: 30px 0 0;
  }
 
  .nxtdent-intro__copy {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    color: #7b7b7b;
    margin: 16px 0 0;
  }
 
  @media (max-width: 860px) {
    .nxtdent-intro__layout {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .nxtdent-intro__media {
      order: -1;
    }
    .nxtdent-intro__media img {
      height: 260px;
    }
    .nxtdent-intro__inner {
      text-align: center;
    }
    .nxtdent-intro__badge {
      margin: 0 auto 22px;
    }
    .nxtdent-intro__eyebrow {
      justify-content: center;
    }
    .nxtdent-intro__eyebrow::before {
      display: block;
      content: '';
      height: 1px;
      width: 32px;
      background: #f49c00;
      opacity: 0.5;
    }
    .nxtdent-intro__rule {
      margin: 24px auto 0;
    }
  }
 
  @media (max-width: 560px) {
    .nxtdent-intro {
      padding: 56px 20px 48px;
    }
    .nxtdent-intro__h1 {
      font-size: 28px;
    }
  }
 
  /* ---------- Part 3: closing ---------- */
  .nxtdent-close {
    background: #2f3a44;
    padding: 76px 24px;
  }
 
  .nxtdent-close__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }
 
  .nxtdent-close__kicker {
    font-size: 16px;
    font-weight: 700;
    color: #f49c00;
    margin: 0 0 14px;
  }
 
  .nxtdent-close__headline {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 18px;
  }
 
  .nxtdent-close__copy {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    color: #c7ccd1;
    margin: 0;
  }
 
  @media (max-width: 560px) {
    .nxtdent-close {
      padding: 56px 20px;
    }
    .nxtdent-close__headline {
      font-size: 25px;
    }
  }
  

/* --- Main Section Layout ---
   NOTE: every rule below is now nested under its parent section
   (.dental-experience-section / .cleaning-feature-section) and the
   generic class names have been renamed with de-/cf- prefixes.
   Reason: .text-content / .image-content / .left-content / .features-grid /
   .feature-item / .icon-container are extremely common names — if they
   already exist anywhere else on the site (header.php, footer.php, the
   "Visit Us" block, the quiz banner, footer columns), the old unscoped
   rules would bleed into them (several set flex:1 / display:flex), which
   is almost certainly what broke the rest of the page in your screenshot.
   If you have existing HTML using the old class names for these two
   sections specifically, update it to match the renamed classes below. */

.dental-experience-section {
    display: flex;
    max-width: 1200px; /* Standard website width */
    margin: 50px auto;
    padding: 0 20px;
    align-items: flex-start; /* Aligns content to the top */
}

.dental-experience-section .de-left-content {
    flex: 1; /* Takes up space */
    padding-right: 50px;
}

.dental-experience-section .de-left-content h2 {
    font-size: 3.5rem; /* Large font size */
    line-height: 1.1;
    margin-top: 50px; /* Adjust as needed to match vertical alignment */
    font-weight: 900; /* Extra bold */
}

/* --- Features Grid Styling --- */
.dental-experience-section .de-features-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 33px 20px;
}

.dental-experience-section .de-feature-item {
    display: flex;
    align-items: flex-start;
}

.dental-experience-section .de-icon-container {
    background-color: #f3f3f3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Font Awesome Icon Styling */
.dental-experience-section .de-icon-container i {
    font-size: 24px;
    color: #383838; /* Dark icon color, matching primary text */
}

.dental-experience-section .de-feature-text h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #383838; /* Primary text color */
}

.dental-experience-section .de-feature-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #6a6a6a; /* Lighter text for the description */
}

/* --- Simple Responsiveness (for smaller screens) --- */
@media (max-width: 992px) {
    .dental-experience-section {
        flex-direction: column; /* Stacks left and right content */
        margin: 30px auto;
    }

    .dental-experience-section .de-left-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .dental-experience-section .de-left-content h1 {
        font-size: 2.5rem;
        margin-top: 0;
    }

    .dental-experience-section .de-features-grid {
        grid-template-columns: 1fr; /* Changes to a single column */
        gap: 30px;
    }

    .dental-experience-section .de-feature-item {
        max-width: 400px; /* Keeps items centered and readable */
        margin: 0 auto;
    }
}

.cleaning-feature-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cleaning-feature-section .cf-text-content {
    flex: 1; /* Takes up one part of the space */
    padding-right: 25px;
}

.cleaning-feature-section .cf-text-content h1 {
    font-size: 3rem; 
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
}

.cleaning-feature-section .cf-text-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 550px;
}

.cleaning-feature-section .cf-book-now-main {
    background-color: #a05252; /* A shade of reddish-brown matching the screenshot */
    color: white;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 5px;
}

.cleaning-feature-section .cf-image-content {
    flex: 1; /* Takes up the other part of the space */
    display: flex;
    justify-content: center;
}

.cleaning-feature-section .cf-comparison-image-container {
    position: relative;
    max-width: 500px; /* Adjust as necessary */
}

.cleaning-feature-section .cf-comparison-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Labels positioned over the image */
.cleaning-feature-section .cf-traditional-label,
.cleaning-feature-section .cf-airflow-label {
    position: absolute;
    top: 10px;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.cleaning-feature-section .cf-traditional-label {
    left: 10px;
}

.cleaning-feature-section .cf-airflow-label {
    right: 10px;
}

/* --- Basic Responsiveness --- */
@media (max-width: 992px) {
    .cleaning-feature-section {
        flex-direction: column; /* Stack vertically on smaller screens */
        text-align: center;
    }
}


/* ===================== Second-opinion + closing card + tech-grid sections =====================
   (Merged in from a separate CSS file — kept as its own block, no class-name
   overlap with anything above, so nothing needed renaming here.) */

  .nxtdent-secondop {
    --nx-ink: #2f3a44;
    --nx-orange: #f49c00;
    --nx-muted: #7b7b7b;
    --nx-soft-bg: #fff6e6;
 
    color: var(--nx-ink);
    background: #ffffff;
    padding: 80px 24px;
  }
 
  .nxtdent-secondop__layout {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 52px;
    align-items: start;
  }
 
  .nxtdent-secondop__inner {
    max-width: 720px;
  }
 
  .nxtdent-secondop__media img {
    width: 100%;
    /*height: 620px;*/
    object-fit: cover;
    border-radius: 16px;
    display: block;
  }
 
  .nxtdent-secondop__h2 {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--nx-ink);
    margin: 0 0 24px;
  }
 
  .nxtdent-secondop__copy {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    color: var(--nx-muted);
    margin: 0 0 18px;
  }
 
  /* ---------- Value list (check icons, not numbers — not a sequence) ---------- */
  .nxtdent-values {
    margin: 36px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
 
  .nxtdent-value {
    display: flex;
    gap: 16px;
  }
 
  .nxtdent-value__icon {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--nx-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }
 
  .nxtdent-value__icon svg {
    width: 15px;
    height: 15px;
  }
 
  .nxtdent-value__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--nx-ink);
    margin: 0 0 6px;
  }
 
  .nxtdent-value__desc {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    color: var(--nx-muted);
    margin: 0;
  }
 
  /* ---------- Quote card ---------- */
  .nxtdent-quote {
    background: var(--nx-soft-bg);
    border-left: 4px solid var(--nx-orange);
    border-radius: 4px;
    padding: 28px 30px;
    margin-top: 0 !important;
  }
 
  .nxtdent-quote p {
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--nx-ink);
    margin: 0;
  }
 
  .nxtdent-quote p + p {
    margin-top: 6px;
    color: var(--nx-orange);
  }
 
  /* ---------- Part H3: manifesto card ---------- */
  .nxtdent-next {
    background: #ffffff;
    padding: 0 24px 90px;
  }
 
  .nxtdent-next__card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border-top: 4px solid #f49c00;
    border-radius: 4px;
    box-shadow: 0 12px 34px rgba(47, 58, 68, 0.10);
    padding: 48px 40px;
  }
 
  .nxtdent-next__h3 {
    font-size: 26px;
    line-height: 1.35;
    font-weight: 800;
    color: #2f3a44;
    margin: 0 0 18px;
  }
 
  .nxtdent-next__copy {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    color: #7b7b7b;
    margin: 0 0 28px;
  }
 
  .nxtdent-next__line1 {
    font-size: 18px;
    font-weight: 700;
    color: #2f3a44;
    margin: 0;
  }
 
  .nxtdent-next__line2 {
    font-size: 24px;
    font-weight: 800;
    color: #f49c00;
    margin: 6px 0 0;
  }
 
  @media (max-width: 900px) {
    .nxtdent-secondop__layout {
      grid-template-columns: 1fr;
    }
    .nxtdent-secondop__media {
      order: -1;
    }
    .nxtdent-secondop__media img {
      height: auto;
    }
  }
 
  @media (max-width: 560px) {
    .nxtdent-secondop {
      padding: 56px 20px;
    }
    .nxtdent-secondop__h2 {
      font-size: 24px;
    }
    .nxtdent-quote p {
      font-size: 17px;
    }
    .nxtdent-next {
      padding: 0 18px 64px;
    }
    .nxtdent-next__card {
      padding: 36px 24px;
    }
    .nxtdent-next__h3 {
      font-size: 21px;
    }
    .nxtdent-next__line2 {
      font-size: 20px;
    }
  }

.nxtdent-techgrid {
  --nx-ink: #2f3a44;
  --nx-orange: #f49c00;
  --nx-muted: #7b7b7b;
  --nx-border: #E5E7EB;

  color: var(--nx-ink);
  background: #ffffff;
  padding: 80px 24px;
}

.nxtdent-techgrid__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Header split: text + stat card ---------- */
.nxtdent-techgrid__header-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 64px;
}

.nxtdent-techgrid__text {
  min-width: 0;
}

.nxtdent-techgrid__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--nx-orange);
  margin: 0 0 16px;
}

.nxtdent-techgrid__eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--nx-orange);
  display: inline-block;
}

.nxtdent-techgrid__h1 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--nx-ink);
  margin: 0 0 18px;
}

.nxtdent-techgrid__sub {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: var(--nx-ink);
  margin: 0 0 18px;
}

.nxtdent-techgrid__copy {
  font-size: 16px;
  line-height: 27px;
  font-weight: 500;
  color: var(--nx-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .nxtdent-techgrid__header-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nxtdent-techgrid__eyebrow,
  .nxtdent-techgrid__h1,
  .nxtdent-techgrid__sub,
  .nxtdent-techgrid__copy {
    text-align: center;
  }
  .nxtdent-techgrid__eyebrow {
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Stat card ---------- */
.nxtdent-statcard {
  background: #fafafa;
  border: 1px solid var(--nx-border);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
}

.nxtdent-statcard__num {
  font-size: 38px;
  font-weight: 800;
  color: var(--nx-orange);
  line-height: 1;
  margin: 0;
}

.nxtdent-statcard__label {
  font-size: 19px !important;
  font-weight: 700;
  color: var(--nx-ink);
  margin: 4px 0 16px;
}

/* 2-column flag grid — plain CSS Grid, no Bootstrap dependency */
.nxtdent-statcard__flags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nxtdent-statcard__flag {
    /* display: flex; */
    /* align-items: center; */
    /* width: 100%; */
    background: #ffffff;
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    /* padding: 9px 9px 11px; */
    /* text-align: center; */
    box-shadow: 0 2px 6px rgba(47, 58, 68, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nxtdent-statcard__flag:hover {
  border-color: var(--nx-orange);
  box-shadow: 0 8px 20px rgba(244, 156, 0, 0.16);
  transform: translateY(-2px);
}

.nxtdent-statcard__flag-map {
  box-sizing: border-box;
  width: 100%;
  height: 100px;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nxtdent-statcard__flag-map img {
  width: auto !important;
  height: auto !important;
  max-width: 60%;
  /*max-height: 60%;*/
  /*object-fit: contain;*/
  display: block;
}

.nxtdent-statcard__flag-text {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nx-ink);
  white-space: nowrap;
}

/* ---------- Grid: 3 / 2 / 1 per spec ---------- */
.nxtdent-techgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .nxtdent-techgrid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media (max-width: 620px) {
  .nxtdent-techgrid__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Card ---------- */
.nxtdent-tcard {
  background: #ffffff;
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nxtdent-tcard:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.nxtdent-tcard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.nxtdent-tcard__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 68px;
}

.nxtdent-tcard__logos img {
  height: 68px !important;
  width: auto !important;
  max-width: 160px;
  object-fit: contain;
  background: transparent;
  display: block;
}

.nxtdent-tcard__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex: none;
}

.nxtdent-tcard__badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--nx-ink);
  background: #f4f5f6;
  border: 1px solid var(--nx-border);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nxtdent-tcard__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-orange);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
  text-align: center;
}

.nxtdent-tcard__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--nx-ink);
  margin: 0 0 10px;
  line-height: 1.35;
  text-align: center;
}

.nxtdent-tcard__desc {
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--nx-muted);
  margin: 0 0 20px;
  flex: 1;
  text-align: center;
}

.nxtdent-tcard__link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--nx-orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nxtdent-tcard__link:hover {
  text-decoration: underline;
}

/* ---------- Additional in-house standards (icon-card design) ---------- */
.nxtdent-techgrid__standards {
  margin-top: 64px;
  padding: 56px 0 8px;
  border-top: 1px solid var(--nx-border);
}

.nxtdent-techgrid__standards-h {
  font-size: 26px;
  font-weight: 800;
  color: var(--nx-ink);
  margin: 0 0 14px;
  text-align: center;
}

.nxtdent-standards__rule {
  width: 48px;
  height: 3px;
  background: var(--nx-orange);
  border: none;
  border-radius: 2px;
  margin: 0 auto 44px;
}

.nxtdent-standards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 780px) {
  .nxtdent-standards {
    grid-template-columns: 1fr;
  }
}

.nxtdent-scard {
  background: #ffffff;
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  padding: 32px 26px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nxtdent-scard:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.nxtdent-scard__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--nx-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.nxtdent-scard__icon svg {
  width: 26px;
  height: 26px;
}

.nxtdent-standard__title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--nx-ink);
  line-height: 1.4;
  margin: 0 0 10px;
}

.nxtdent-standard__desc {
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--nx-muted);
  margin: 0;
}

/* ---------- Reels ---------- */
.nxtdent-techgrid__reels {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--nx-border);
}

.nxtdent-techgrid__reels-h {
  font-size: 22px;
  font-weight: 800;
  color: var(--nx-ink);
  margin: 0 0 28px;
  text-align: center;
}

.nxtdent-reels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 620px) {
  .nxtdent-reels {
    grid-template-columns: 1fr;
  }
  
}

@media (max-width: 560px) {
  .nxtdent-techgrid {
    padding: 56px 18px;
  }
  .nxtdent-techgrid__h1 {
    font-size: 27px;
  }
}

/* ---------- CTA: "The Result?" band ---------- */
.nxtdent-result {
  --nx-ink: #2f3a44;
  --nx-orange: #f49c00;

  background: #ffffff;
  padding: 60px 24px;
  text-align: center;
}

.nxtdent-result__inner {
  max-width: 700px;
  margin: 0 auto;
}

.nxtdent-result__kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nx-orange);
  margin: 0 0 12px;
}

.nxtdent-result__headline {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--nx-ink);
  margin: 0 0 16px;
}

.nxtdent-result__copy {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: #7b7b7b;
  margin: 0 0 28px;
}

.nxtdent-result__copy strong {
  color: var(--nx-ink);
  font-weight: 700;
}

.nxtdent-result__btn-wrap {
  display: flex;
  justify-content: center;
}

.nxtdent-result__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--nx-orange);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nxtdent-result__btn:hover {
  background: #d98600;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .nxtdent-result {
    padding: 44px 20px;
  }
  .nxtdent-result__headline {
    font-size: 22px;
  }
}


.features-grid .feature-item.comfort-hidden-step{
    display:none;
    opacity:0;
    transform: translateY(15px);
    transition: opacity .45s ease, transform .45s ease;
}
.features-grid.comfort-expanded .feature-item.comfort-hidden-step{
    display:flex;
    opacity:1;
    transform: translateY(0);
}
.comfort-toggle-wrapper{
    text-align:center;
    margin-top:30px;
}
.comfort-toggle-btn{
    background:transparent;
    border:2px solid #f7941d;
    color:#f7941d;
    font-weight:600;
    padding:10px 28px;
    border-radius:30px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition: background .3s ease, color .3s ease;
}
.comfort-toggle-btn:hover{
    background:#f7941d;
    color:#fff;
}
.comfort-toggle-icon{
    font-size:18px;
    line-height:1;
    transition: transform .3s ease;
}
.comfort-toggle-btn.active .comfort-toggle-icon{
    transform: rotate(45deg);
}