
.testimonials {
  /* Header area (mirrors structure of your new HTML) */
  .testimonials-header {
    margin-bottom: clamp(1.5rem, 3vw, 3.125rem);

    h2 {
      position: relative;
      font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
      font-weight: 800;
      margin-bottom: 0.75em;
      padding-bottom: 0.8em;

      &::before {
        content: "";
        position: absolute;
        width: clamp(3rem, 6vw, 4.375rem);
        height: 0.25rem; /* 4px */
        background: var(--accent-color);
        bottom: 0;
        left: 0;
        border-radius: 999px;
      }
    }

    p {
      font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.15rem);
      line-height: 1.6;
      color: color-mix(in srgb, var(--default-color), transparent 25%);
      max-width: 38rem;
      margin: 0;
    }

    @media (max-width: 61.99875rem) { /* 991.98px */
      margin-bottom: clamp(1.25rem, 2.5vw, 1.875rem);
      text-align: center;

      h2::before {
        left: 50%;
        transform: translateX(-50%);
      }

      p {
        margin-inline: auto;
      }

      .testimonials-controls {
        margin-top: 1.25rem;
        justify-content: center;
      }
    }
  }

  /* Slider controls */
  .testimonials-controls {
    display: flex;
    gap: 0.75rem;

    .testimonials-control-btn {
      width: 2.875rem;  /* 46px */
      height: 2.875rem; /* 46px */
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: 0.125rem solid color-mix(in srgb, var(--accent-alt), transparent 35%);
      border-radius: 50%;
      color: var(--accent-alt);
      font-size: 1.125rem;
      cursor: pointer;
      transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
        transform 0.2s ease;
      user-select: none;

      &:hover {
        background: var(--accent-alt);
        border-color: var(--accent-alt);
        color: var(--contrast-color);
        transform: translateY(-0.125rem);
      }

      &:active {
        transform: translateY(0);
      }
    }
  }

  /* Swiper wrapper */
  .testimonials-slider {
    padding: 0.625rem 0.3125rem 2.5rem; /* 10px 5px 40px */

    .swiper-wrapper {
      height: auto !important;
    }
  }

  /* Card */
  .testimonial-card {
    height: 100%;
    border-radius: 1.25rem;
    background: var(--surface-alt);
    border: 0.0625rem solid color-mix(in srgb, var(--heading-color), transparent 88%);
    box-shadow: 0 0.5rem 1.875rem rgba(6, 30, 37, 0.08);
    padding: clamp(1.1rem, 1rem + 0.6vw, 1.6rem);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

    &:hover {
      transform: translateY(-0.4rem);
      box-shadow: 0 1.05rem 2.6rem rgba(6, 30, 37, 0.12);
      border-color: color-mix(in srgb, var(--accent-alt), transparent 70%);
    }
  }

  /* Stars */
  .testimonial-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;

    i {
      font-size: 1rem;
      color: color-mix(in srgb, var(--accent-color), transparent 10%);
      filter: drop-shadow(0 0.125rem 0.25rem rgba(6, 30, 37, 0.08));
    }
  }

  /* Quote */
  .testimonial-quote {
    margin: 0 0 1rem 0;
    font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 12%);

    /* subtle quote styling without extra markup */
    &::before {
      content: "“";
      color: color-mix(in srgb, var(--accent-alt), transparent 35%);
      margin-right: 0.05em;
    }
    &::after {
      content: "”";
      color: color-mix(in srgb, var(--accent-alt), transparent 35%);
      margin-left: 0.05em;
    }
  }

  /* Meta line */
  .testimonial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--heading-color), transparent 20%);

    .testimonial-dot {
      opacity: 0.55;
    }

    .testimonial-detail {
      font-weight: 700;
      color: color-mix(in srgb, var(--accent-alt), transparent 10%);
    }
  }

  @media (max-width: 35.99875rem) { /* 575.98px */
    .testimonial-meta {
      justify-content: center;
      text-align: center;
    }

    .testimonial-card {
      text-align: left; /* keeps quote readable even if meta centers */
    }
  }
}

/* About photo wrapper: enables badge overlay + clean rounding */
.about .about-photo-wrap{
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden; /* clips badge + image to rounded corners */
  box-shadow: 0 14px 32px color-mix(in srgb, var(--default-color), transparent 88%);
  border: 2px solid color-mix(in srgb, #fff, var(--accent-alt) 10%);
}

.about .about-photo-wrap > img{
  display: block;
  width: 100%;
  height: auto;
}

/* Badge ONLY when it lives inside the about photo */
.about .about-photo-wrap .about-photo-badge{
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.55rem 0.85rem;
  border-radius: 999px;

  background: color-mix(in srgb, var(--surface-alt), transparent 10%);
  border: 1px solid color-mix(in srgb, var(--accent-alt), transparent 65%);
  backdrop-filter: blur(10px);

  color: var(--heading-color);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;

  box-shadow: 0 10px 22px color-mix(in srgb, var(--default-color), transparent 86%);
}

.about .about-photo-wrap .about-photo-badge{
  position: absolute;
  right: 14px;   /* was left */
  bottom: 14px;

  left: auto;    /* ensure left isn’t still applied anywhere */
}
@media (max-width: 768px){
  .about .about-photo-wrap .about-photo-badge{
    right: 10px;  /* was left */
    bottom: 10px;
    left: auto;
  }

}


/* Softer sand → sunshine (no orange, no deep yellow) */
section#about.about.ca-light {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--background-color, #FFF2DD);

  background-image:
    /* warm sun bloom (soft) */
    radial-gradient(circle at 18% 18%,
     rgba(255, 242, 190, 0.72) 0%,
      rgba(255, 232, 190, 0.00) 58%),
    /* gentle highlight bloom */
    radial-gradient(circle at 82% 14%,
      rgba(255, 245, 222, 0.70) 0%,
      rgba(255, 245, 222, 0.00) 60%),
    /* tiny cool balance (very subtle) */
    radial-gradient(circle at 86% 78%,
      rgba(42, 120, 166, 0.08) 0%,
      rgba(42, 120, 166, 0.00) 56%),
    /* animated sweep: sand → pale gold → cream */
    linear-gradient(-45deg,
      #FFF2DD 0%,
      #FFEFD6 18%,
    #FFEDB0 36%, /* brighter sunshine */
      #FFE9C6 52%,
      #FFF4E3 70%,
      #FFF9F0 100%);

  background-repeat: no-repeat;
  background-size: auto, auto, auto, 420% 420%;
  background-position: 18% 18%, 82% 14%, 86% 78%, 0% 50%;
  animation: aboutSunshine 14s ease-in-out infinite;
}

/* Glow haze (sand/gold only, no orange) */
section#about.about.ca-light::before {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 28% 26%,
      rgba(255, 235, 200, 0.46) 0%,
      rgba(255, 235, 200, 0.00) 64%),
    radial-gradient(circle at 72% 60%,
     rgba(255, 236, 176, 0.44) 0%,
      rgba(255, 226, 178, 0.00) 68%);

  filter: blur(34px) saturate(1.18);
  opacity: 0.90;
  transform: translateZ(0);
}

section#about.about.ca-light > .container {
  position: relative;
  z-index: 2;
}

@keyframes aboutSunshine {
  0%   { background-position: 18% 18%, 82% 14%, 86% 78%, 0% 50%; }
  50%  { background-position: 22% 24%, 78% 20%, 82% 74%, 100% 50%; }
  100% { background-position: 18% 18%, 82% 14%, 86% 78%, 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  section#about.about.ca-light { animation: none; }
}

/*--------------------------------------------------------------
# About primary CTA — subtle coral glow (gentle pulse)
--------------------------------------------------------------*/
.about-btn-primary{
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--accent-color);
  color: var(--contrast-color);

  padding: clamp(0.85rem, 1.1rem, 1rem) clamp(1.75rem, 2.5rem, 2.25rem);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.6rem;
  text-decoration: none;

  box-shadow: 0 0.25rem 0.9375rem
    color-mix(in srgb, var(--accent-color), transparent 62%);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

/* Subtle single-color coral halo */
.about-btn-primary::before{
  content:"";
  position:absolute;
  inset:-10px;               /* smaller halo */
  border-radius: inherit;
  z-index:-1;
  pointer-events:none;

  background: radial-gradient(
    circle at 50% 60%,
    color-mix(in srgb, var(--accent-color), #ffffff 10%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 55%) 44%,
    transparent 74%
  );

  filter: blur(12px) saturate(1.06);
  opacity: 0.28;             /* much softer */
  transform: translateZ(0);
  animation: aboutCtaGlow 3.4s ease-in-out infinite;
}

@keyframes aboutCtaGlow{
  0%   { transform: scale(0.99); opacity: 0.22; }
  50%  { transform: scale(1.02); opacity: 0.36; }
  100% { transform: scale(0.99); opacity: 0.22; }
}

.about-btn-primary:hover,
.about-btn-primary:focus-visible{
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-0.125rem);
  box-shadow:
    0 0.5rem 1.5625rem color-mix(in srgb, var(--accent-color), transparent 48%);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .about-btn-primary::before{ animation: none; }
}