.container {
  max-width: var(--max);
}


/* Sections */
section {
  padding: 36px 0
}

h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--brand)
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width:900px) {
  .grid {
    grid-template-columns: 1fr
  }
}

.card {
  padding: 20px;
}

/* Providers */
.providers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.provider-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 750px) {
  .provider-card {
    grid-template-columns: 1fr;
  }
}

.provider-photo {
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--card);
}

.provider-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-meta h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--brand);
}

.provider-meta .title {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

.provider-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 900px) {
  .provider-cols {
    grid-template-columns: 1fr;
  }
}

.provider-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.provider-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  box-shadow: none;
}

.btn.referring {
  background: var(--brand2);
  color: #FFFDF7;
  border: none;
  box-shadow: 0 4px 14px rgba(176, 138, 69, .35);
}

.btn.referring:hover {
  background: #9a7838;
}

/* ── Rich Modern Hero ── */
.hero-banner {
  position: relative;
  background-color: #FBF2E3;
  background-image: url('../images/backgroundhomeimage.png');
  background-size: cover;
  background-position: right 20%;
  background-repeat: no-repeat;
  padding: 80px 0 160px;
  overflow: hidden;
  min-height: 780px;
  display: flex;
  align-items: center;
}

/* Noise overlay texture retains premium quality */
.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.01"/></svg>');
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 1100px) {
  .hero-banner {
    background-position: 65% 20%;
  }
}

@media (max-width: 960px) {
  .hero-banner {
    background-image: linear-gradient(to right, rgba(251, 242, 227, 0.92), rgba(251, 242, 227, 0.85)), url('../images/backgroundhomeimage.png');
    padding-bottom: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-divider {
    justify-content: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img-wrap {
    justify-content: center !important;
    margin-top: 30px;
  }
}

.hero-eyebrow {
  font-family: 'Outfit', sans-serif;
  color: var(--brand2);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Libre Baskerville', serif;
  color: var(--brand);
  font-size: clamp(48px, 5.5vw, 68px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 22px;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--brand2);
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--brand2));
  max-width: 160px;
}

.hero-divider::after {
  background: linear-gradient(270deg, transparent, var(--brand2));
}

.hero-divider svg {
  width: 14px;
  height: 14px;
  fill: var(--brand2);
}

.hero-lead {
  font-family: 'Outfit', sans-serif;
  color: #4A3F35;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin: 24px 0 0;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  font-size: 17px;
  border: 1.5px solid transparent;
}

.btn-hero-primary {
  background: var(--brand);
  color: #FFFDF7;
  box-shadow: 0 6px 20px rgba(91, 7, 16, 0.18);
}

.btn-hero-primary:hover {
  background: #7a0a15;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background-color: rgba(255, 253, 247, 0.5);
  /* Soft overlay fill */
}

.btn-hero-outline:hover {
  background: rgba(91, 7, 16, 0.04);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  color: #4A3F35;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.hero-trust .trust-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--brand2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-trust .trust-icon svg {
  width: 16px;
  height: 16px;
  fill: #FFF;
}

/* ── Float Card ── */
.hero-float-card {
  position: absolute;
  bottom: 78px;
  left: 48%;
  background: rgba(255, 253, 247, 0.97);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 28px rgba(91, 7, 16, 0.14);
  border: 1px solid rgba(255, 253, 247, 0.9);
  max-width: 320px;
  z-index: 10;
}

@media (max-width: 1200px) {
  .hero-float-card {
    left: 42%;
  }
}

@media (max-width: 960px) {
  .hero-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 20px auto 0;
  }
}

.hero-float-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  background: #B08A45;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(176, 138, 69, 0.25);
}

.hero-float-icon svg {
  width: 40px;
  height: 40px;
}

.hero-float-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  border: 1.5px dashed rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.hero-float-text {
  font-family: 'Outfit', sans-serif;
}

.hero-float-text strong {
  display: block;
  font-size: 15px;
  color: #24201E;
  line-height: 1.35;
  font-weight: 600;
}

.hero-float-text hr {
  border: 0;
  height: 1px;
  background-color: rgba(176, 138, 69, 0.35);
  margin: 8px 0;
}

.hero-float-text span {
  display: block;
  font-size: 14px;
  color: var(--brand2);
  font-weight: 700;
}

/* ── Hero Stat Cards ── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
  max-width: 740px;
}

.hero-stat-card {
  background: #FAF1E6;
  border: 1px solid rgba(176, 138, 69, 0.22);
  border-radius: 16px;
  padding: 14px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 35px rgba(91, 7, 16, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.hero-stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}

.hero-stat-sub {
  font-family: 'Libre Baskerville', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 2px;
  line-height: 1.2;
}

.hero-stat-sep {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 8px 0;
}

.hero-stat-sep::before,
.hero-stat-sep::after {
  content: "";
  height: 1px;
  background: var(--brand2);
  width: 24px;
  opacity: 0.5;
}

.hero-stat-sep svg {
  width: 9px;
  height: 9px;
  fill: var(--brand2);
}

.hero-stat-desc {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .hero-stats {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Bottom Wave ── */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: 90px;
  display: block;
}
