/* --------------------------------------------------
   Root variables
   -------------------------------------------------- */
   :root {
    --max-width: 1080px;
    --blue-light: #53B6B2;
    --grey:       #54565A;
  }
  
  /* --------------------------------------------------
     Global Reset & Box Sizing
     -------------------------------------------------- */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* --------------------------------------------------
     Base Typography
     -------------------------------------------------- */
  body {
    font-family: 'Noto Sans';
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--grey);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  h3.subheading {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    color: var(--blue-light);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin: 1.5rem 0 1rem;
    letter-spacing: -1.5px;
  }

  h3.subheading2 {
    font-family: 'Noto Sans', sans-serif;
    text-align: center;
    font-weight: 900;
    color: var(--grey);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin: 1.5rem 0 1rem;
    margin-top: -2rem;
    letter-spacing: -1.5px;
  }

  /* --------------------------------------------------
   Highlighted phrases
   -------------------------------------------------- */
.highlight {
    color: var(--blue-light);
    font-weight: 800;
  }
  
  
  /* --------------------------------------------------
     Utility Sections
     -------------------------------------------------- */
  .section {
    width: 90%;
    max-width: var(--max-width);
    margin: 1rem auto;
    padding: 1rem 0;
  }
  
/* --------------------------------------------------
   Top Bar Container
   -------------------------------------------------- */
   .top-bar {
    width: 90%;
    max-width: var(--max-width);  /* 1080px */
    margin: 2rem auto;            /* center it, with top/bottom spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* --------------------------------------------------
     Top Bar Logos (larger)
     -------------------------------------------------- */
  .brand-logo,
  .practice-logo {
    max-height: 10rem;    /* increased from 4rem to 6rem */
    max-width: 40%;
    height: auto;
    width: auto;
  }
  
  
  /* --------------------------------------------------
     Video Swap
     -------------------------------------------------- */
  /* Desktop & larger tablets: show only landscape */
  .video-landscape {
    display: block;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    border-radius: 0.5rem;
  }
  .video-portrait {
    display: none;
  }
  
  /* Tablet & mobile (≤768px): show only portrait */
  @media (max-width: 768px) {
    .video-landscape {
      display: none;
    }
    .video-portrait {
      display: block;
      width: 90%;
      max-width: var(--max-width);
      margin: 0 auto;
      margin-top: -2rem;
      margin-bottom: -2rem;
      border-radius: 0.5rem;
    }
  }
  
  /* --------------------------------------------------
     Paragraphs
     -------------------------------------------------- */
  .body-text {
    margin-bottom: 1.5rem;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
  }
  .body-text.small {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
  }
  
  /* --------------------------------------------------
     Custom bullet lists
     -------------------------------------------------- */
  .custom-bullets {
    list-style: none;
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .custom-bullets li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.2rem;
  }
  .custom-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1.5rem;
    height: 1.5rem;
    background: url('../images/bullet.png') no-repeat center/contain;
  }

  .custom-bullets2 {
    list-style: disc;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
  }
  .custom-bullets2 li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  
  /* --------------------------------------------------
     Center-aligned logo
     -------------------------------------------------- */
  .center-logo {
    text-align: center;
    margin: 1rem 0;
  }
  .center-logo__img {
    max-height: 7rem;
  }
  
  /* --------------------------------------------------
     Before & After
     -------------------------------------------------- */
  .before-after {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    margin-bottom: 1rem;
  }
  .ba-figure {
    position: relative;
    flex: 1;
  }
  .ba-image {
    width: 100%;
    border: 4px solid var(--blue-light);
    border-radius: 0.5rem;
    display: block;
  }
  .ba-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--blue-light);
    color: #fff;
    padding: 0.25rem 0.5rem;
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    border-radius: 0.25rem;
  }
  /* --------------------------------------------------
   Before & After: Fixed Aspect‐Ratio & Cropping
   -------------------------------------------------- */
/* 1:1 square frames — change to 4/3 or 16/9 if you prefer */
.ba-figure {
    position: relative;
    flex: 1;                    /* share space equally */
    overflow: hidden;
    aspect-ratio: 16 / 9;        /* locks height = width */
    max-width: 100%;
  }
  
  /* let the image cover the entire container, cropping as needed */
  .ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* --------------------------------------------------
     Mobile: Stack Before/After Vertically
     -------------------------------------------------- */
  @media (max-width: 768px) {
    .before-after {
      flex-direction: column;
      gap: 1rem;
    }
    /* if you want a different aspect on mobile, override here */
    .ba-figure {
      aspect-ratio: 16 / 9;    /* example: widescreen on phones */
      width: 90%;              /* reduce width a bit on narrow screens */
      margin: 0 auto;
    }
  }
  
  
 /* --------------------------------------------------
   Footer
   -------------------------------------------------- */
.footer {
    background-color: var(--blue-light);
    color: var(--footer-text);
    width: 100%;
    margin: 0;
    padding: 2rem 0;            /* add more vertical breathing room */
    text-align: center;         /* default center for heading */
  }
  
  /* Subheading at top of footer */
  .footer-subheading {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
  }
  
  /* Inner container constrained to 1080px */
  .footer-container {
    width: 90%;
    max-width: var(--max-width); /* 1080px */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  /* Logo wrapper on white pill background */
  .footer-logo {
    background-color: #ffffff;
    padding: 0.3rem 0.3rem;   /* even padding around the logo */
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .footer-logo img {
    max-height: 8rem;
    height: auto;
    width: auto;
  }
  
  /* Address next to logo on desktop */
  .footer-address {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    line-height: 1.4;
    text-align: right;
    white-space: pre-wrap;
    color: #111111;
    margin-bottom: 1rem;
  }
  
  /* Mobile stacking */
  @media (max-width: 480px) {
    .footer-container {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      text-align: center;
    }
    .footer-address {
      text-align: center;
      max-width: 100%;
    }
  }
  
  