/* ==================================================
   Highland Dental Center Trust Bar
   ================================================== */

.hdc-trust-bar {
  width: 100%;
  padding: 28px 24px;
  background: linear-gradient(
    135deg,
    #0d5569 0%,
    #13778c 55%,
    #1695a4 100%
  );
  color: #ffffff;
  box-sizing: border-box;
}

.hdc-trust-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.hdc-trust-item {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 24px;
  text-align: left;
  box-sizing: border-box;
}

/* Vertical separators between desktop items */
.hdc-trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  width: 1px;
  height: 76%;
  background: rgba(255, 255, 255, 0.25);
}

.hdc-trust-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 40, 55, 0.14);
}

.hdc-trust-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hdc-trust-title,
.hdc-trust-detail {
  display: block;
}

.hdc-trust-title {
  margin-bottom: 3px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hdc-trust-detail {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}


/* ==================================================
   Breakpoint 1: Large Desktop
   Blocs large breakpoint
   ================================================== */

@media (min-width: 1200px) {
  .hdc-trust-bar {
    padding: 32px 32px;
  }

  .hdc-trust-item {
    gap: 16px;
    padding: 12px 30px;
  }

  .hdc-trust-icon {
    width: 54px;
    height: 54px;
    font-size: 32px;
  }

  .hdc-trust-title {
    font-size: 18px;
  }

  .hdc-trust-detail {
    font-size: 15px;
  }
}


/* ==================================================
   Breakpoint 2: Tablet / Standard Desktop
   Blocs medium breakpoint
   ================================================== */

@media (min-width: 768px) and (max-width: 1199.98px) {
  .hdc-trust-bar {
    padding: 24px 16px;
  }

  .hdc-trust-item {
    gap: 10px;
    padding: 8px 12px;
  }

  .hdc-trust-icon {
    width: 42px;
    height: 42px;
    font-size: 25px;
  }

  .hdc-trust-title {
    font-size: 14px;
  }

  .hdc-trust-detail {
    font-size: 12px;
  }
}


/* ==================================================
   Breakpoint 3: Mobile Landscape / Small Tablet
   Blocs small breakpoint
   ================================================== */

@media (min-width: 576px) and (max-width: 767.98px) {
  .hdc-trust-bar {
    padding: 22px 18px;
  }

  .hdc-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdc-trust-item {
    justify-content: flex-start;
    padding: 18px;
  }

  /* Remove desktop separators */
  .hdc-trust-item:not(:last-child)::after {
    display: none;
  }

  /* Border between the two columns */
  .hdc-trust-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  /* Border between the two rows */
  .hdc-trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hdc-trust-title {
    font-size: 16px;
  }

  .hdc-trust-detail {
    font-size: 13px;
  }
}


/* ==================================================
   Breakpoint 4: Mobile Portrait
   Blocs extra-small breakpoint
   ================================================== */

@media (max-width: 575.98px) {
  .hdc-trust-bar {
    padding: 12px 20px;
  }

  .hdc-trust-grid {
    grid-template-columns: 1fr;
  }

  .hdc-trust-item {
    justify-content: flex-start;
    gap: 14px;
    padding: 17px 4px;
  }

  .hdc-trust-item:not(:last-child)::after {
    display: none;
  }

  .hdc-trust-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hdc-trust-icon {
    width: 46px;
    height: 46px;
    font-size: 27px;
  }

  .hdc-trust-title {
    font-size: 16px;
  }

  .hdc-trust-detail {
    font-size: 14px;
  }
}


/* ==================================================
   Accessibility
   ================================================== */

@media (prefers-reduced-motion: no-preference) {
  .hdc-trust-item {
    transition:
      transform 180ms ease,
      background-color 180ms ease;
  }

  .hdc-trust-item:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.05);
  }
}
/* HERO TEXT */

.hdc-hero-overlay{

    max-width:780px;

    padding:45px 50px;

    border-radius:28px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.35);

    box-shadow:
    0 20px 50px rgba(0,0,0,.22);

    color:#fff;

}

/* Badge */

.hdc-badge{

    display:inline-block;

    background:#0E5A6F;

    color:white;

    padding:10px 18px;

    border-radius:40px;

    font-size:.82rem;

    letter-spacing:1px;

    font-weight:600;

    margin-bottom:28px;

    text-transform:uppercase;

}

/* Heading */

.hdc-hero-overlay h1{

    font-size:4rem;

    line-height:1.05;

    font-weight:700;

    margin:0;

    color:#fff;

    text-shadow:
    0 4px 20px rgba(0,0,0,.35);

}

.hdc-hero-overlay h1 span{

    font-weight:300;

}

/* Subtitle */

.hdc-subtitle{

    font-size:1.55rem;

    margin:26px 0 18px;

    font-style:italic;

    color:#fff;

    opacity:.95;

}

/* Description */

.hdc-description{

    font-size:1.18rem;

    line-height:1.75;

    max-width:650px;

    color:#fff;

    opacity:.95;

    margin-bottom:35px;

}

/* Buttons */

.hdc-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.hdc-primary{

    background:#C69214;

    color:white;

    text-decoration:none;

    padding:17px 34px;

    border-radius:50px;

    font-weight:600;

    transition:.25s;

}

.hdc-primary:hover{

    background:#B1810E;

    transform:translateY(-2px);

}

.hdc-secondary{

    background:rgba(255,255,255,.18);

    color:white;

    text-decoration:none;

    border:2px solid rgba(255,255,255,.55);

    padding:15px 30px;

    border-radius:50px;

    transition:.25s;

}

.hdc-secondary:hover{

    background:rgba(255,255,255,.28);

}

/* Mobile */

@media (max-width:991px){

.hdc-hero-overlay{

    padding:35px;

    max-width:100%;

}

.hdc-hero-overlay h1{

    font-size:2.8rem;

}

.hdc-subtitle{

    font-size:1.2rem;

}

.hdc-description{

    font-size:1rem;

}

}

@media (max-width:576px){

.hdc-hero-overlay{

    padding:28px;

}

.hdc-hero-overlay h1{

    font-size:2.2rem;

}

.hdc-buttons{

    flex-direction:column;

}

.hdc-primary,
.hdc-secondary{

    text-align:center;

}

}
/* =========================================
   HDC FOOTER WATERMARK — CORRECTED
   Apply hdc-footer-watermark to the footer BLOC
   ========================================= */

.hdc-footer-watermark {
  position: relative !important;
  overflow: hidden;
  isolation: isolate;
  background-color: #0d3657 !important;
}

/* Visible watercolor image */
.hdc-footer-watermark {
    position: relative;
    overflow: hidden;
}

.hdc-footer-watermark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background-image: url("https://hdcsmile.com/img/hdc-building-watercolor.jpg");
    background-repeat: no-repeat;
    background-position: center 48%;
    background-size: cover;

    opacity: 0.18;
    filter: grayscale(15%) saturate(75%) contrast(105%);
    transform: scale(1.04);
}

.hdc-footer-watermark > * {
    position: relative;
    z-index: 1;
}
/* =========================================
   ABOUT PAGE ACCENT IMAGE
   ========================================= */

.hdc-about-accent {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;

  box-shadow:
    0 20px 45px rgba(13, 54, 87, 0.16),
    0 4px 12px rgba(13, 54, 87, 0.08);
}

@media (max-width: 767px) {
  .hdc-about-accent {
    max-width: 100%;
 /*   margin-top: 28px;
    border-radius: 20px; */
  }
}
