/* ============================================================
   Atchison Dental — Home page sections
   ============================================================ */

/* Hero -------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 85% 0%, var(--teal-50), #fff 55%);
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { color: var(--teal-900); }
.hero h1 .heart { color: var(--heart); white-space: nowrap; }
.hero__sub { font-size: 1.18rem; max-width: 46ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; color: var(--slate); font-size: .92rem; }
.hero__trust .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.hero__badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md); padding: .9rem 1.15rem; display: flex; align-items: center; gap: .7rem; max-width: 250px;
}
.hero__badge .ico { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--heart-soft); color: var(--heart); display: grid; place-items: center; font-size: 1.3rem; }
.hero__badge strong { display: block; color: var(--teal-900); font-family: var(--font-head); }
.hero__badge span { font-size: .82rem; color: var(--slate); }
.hero__blob { position: absolute; z-index: -1; width: 460px; height: 460px; right: -120px; top: -80px; background: radial-gradient(circle, var(--teal-100), transparent 70%); }

/* Differentiators (chips row) -------------------------------- */
.diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.diff__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.diff__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.diff__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: .9rem; }
.diff__card h3 { margin-bottom: .35rem; font-size: 1.08rem; }
.diff__card p { margin: 0; font-size: .93rem; }

/* Service category cards ------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.svc-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card__top { padding: 1.8rem 1.7rem 1.2rem; background: linear-gradient(160deg, var(--teal-700), var(--teal-600)); color: #fff; }
.svc-card__top .num { font-family: var(--font-head); font-size: .85rem; opacity: .7; }
.svc-card__top h3 { color: #fff; font-size: 1.35rem; margin: .3rem 0 0; }
.svc-card__body { padding: 1.4rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.svc-card__body ul { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .55rem; }
.svc-card__body li { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 500; font-size: .96rem; }
.svc-card__body li::before { content: "✓"; color: var(--teal-500); font-weight: 700; }
.svc-card__link { margin-top: auto; color: var(--teal-700); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.svc-card__link::after { content: "→"; transition: transform .2s var(--ease); }
.svc-card:hover .svc-card__link::after { transform: translateX(4px); }

/* Technologies strip ----------------------------------------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tech { display: flex; align-items: flex-start; gap: 1rem; }
.tech .ico { width: 54px; height: 54px; flex: none; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 1.6rem; }
.tech h3 { color: #fff; margin-bottom: .2rem; font-size: 1.1rem; }
.tech p { margin: 0; font-size: .92rem; }

/* Experts / promise band ------------------------------------- */
.promise { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.promise__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 5/4; object-fit: cover; }

/* Team ------------------------------------------------------- */
.doctors { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-bottom: 3rem; }
.doc-card { flex: 0 1 360px; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.doc-card__photo { aspect-ratio: 1/1; background: var(--teal-50); position: relative; }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-card__body { padding: 1.2rem 1.3rem 1.5rem; }
.doc-card__body h3 { margin-bottom: .1rem; }
.doc-card__role { color: var(--teal-500); font-weight: 600; font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.1rem; }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--teal-100); box-shadow: var(--shadow-sm); margin-bottom: .7rem; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.8rem; color: var(--teal-500); background: linear-gradient(160deg, var(--teal-100), var(--teal-50)); }
.team-card h3 { margin: 0; font-family: var(--font-head); font-size: 1rem; color: var(--teal-900); }
.team-card span { font-size: .82rem; color: var(--slate); }
.team-card--soon { opacity: .6; }
.team-card--soon .team-card__photo { filter: grayscale(.4); }
/* v5: square photo boxes can't be stretched by portrait images (same fix as About's team grid) */
.doc-card__photo, .team-card__photo { position: relative; overflow: hidden; min-height: 0; }
.doc-card__photo img, .team-card__photo img, .team-card__photo .team-card__ph, .team-card__photo .ph-soon,
.doc-card__photo .ph-soon { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
.soon-pill { display: inline-block; margin-top: .3rem; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); background: #fbf3e2; padding: .12rem .5rem; border-radius: 100px; }

/* Trust values ----------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.value .ico { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; font-size: 1.2rem; }
.value h3 { font-size: 1rem; margin-bottom: .15rem; }
.value p { font-size: .9rem; margin: 0; }

/* Contact CTA ------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 1.4rem; }

/* Responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .diff, .svc-grid, .tech-grid, .doctors, .values { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  .promise__media { order: -1; }
}
@media (min-width: 620px) and (max-width: 900px) {
  .svc-grid, .diff, .values, .doctors { grid-template-columns: repeat(2, 1fr); }
}

/* v3: tasteful equipment watermark in the service-card white body */
.svc-card__body { position: relative; }
.svc-card__body::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--wm); background-repeat: no-repeat;
  background-position: right center; background-size: cover;
  opacity: .2; filter: grayscale(.15);
  -webkit-mask-image: linear-gradient(to right, transparent 6%, rgba(0,0,0,.3) 42%, #000 92%);
          mask-image: linear-gradient(to right, transparent 6%, rgba(0,0,0,.3) 42%, #000 92%);
}
.svc-card__body > * { position: relative; z-index: 1; }
