/* ============================================================
   SMILE Dental — homepage-specific styles
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 100% -15%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(800px 460px at -10% 115%, rgba(14, 116, 144, 0.12), transparent 55%),
    linear-gradient(180deg, #F4FBFC 0%, var(--porcelain) 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.hero .container { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .hero .container { grid-template-columns: 1.06fr 0.94fr; } }

.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.32em;
  background: var(--seafoam); z-index: -1; border-radius: 6px;
}
.hero .lede { font-size: 1.22rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

.hero__media { position: relative; }
.hero__media .media-frame img { aspect-ratio: 5 / 4; }
@media (min-width: 920px) { .hero__media .media-frame img { aspect-ratio: 4 / 4.4; } }
.hero__chip {
  position: absolute; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink);
}
.hero__chip svg { width: 26px; height: 26px; stroke: var(--primary); flex: none; }
.hero__chip--tl { top: 18px; left: -14px; }
.hero__chip--br { bottom: 26px; right: -10px; }
@media (max-width: 919px) { .hero__chip--tl { left: 10px; } .hero__chip--br { right: 10px; } }
.hero__chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.78rem; }

/* ---------- Trust bar ---------- */
.trust-bar { background: #fff; border-block: 1px solid var(--border); padding: 26px 0; }
.trust-bar .container {
  display: grid; gap: 20px; grid-template-columns: 1fr 1fr; align-items: center;
}
@media (min-width: 860px) { .trust-bar .container { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { width: 34px; height: 34px; stroke: var(--primary); flex: none; }
.trust-item strong { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1.02rem; line-height: 1.25; }
.trust-item span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Stats counters ---------- */
.stats { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; text-align: center; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong {
  font-family: var(--font-head); font-weight: 700; color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.1rem); display: block; line-height: 1.05;
}
.stat span { color: #9ED4DF; font-size: 0.94rem; }

/* ---------- Doctor split ---------- */
.doctor-media { position: relative; max-width: 460px; margin-inline: auto; }
.doctor-media::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%;
  background: linear-gradient(150deg, var(--seafoam), var(--sky-wash));
  border-radius: var(--r-lg); z-index: 0;
}
.doctor-media img { position: relative; z-index: 1; border-radius: var(--r-lg); }
.doctor-credentials { display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 28px 30px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--primary); background: var(--sky-wash);
  border-radius: var(--r-pill); padding: 6px 16px; display: inline-block; margin-bottom: 18px;
}

/* ---------- Tech band ---------- */
.tech-band { position: relative; }
.tech-list { display: grid; gap: 16px; }
.tech-list li { display: flex; gap: 16px; align-items: flex-start; list-style: none; }
.tech-list { padding: 0; margin: 0; }
.tech-list svg { flex: none; width: 26px; height: 26px; stroke: var(--seaglass); margin-top: 3px; }
.tech-list strong { color: #fff; font-family: var(--font-head); display: block; }
.tech-list span { color: #B9DCE4; font-size: 0.97rem; }

/* ---------- Insurance strip ---------- */
.insurance-strip { text-align: center; }
.insurance-strip .pill-list { justify-content: center; }

/* ---------- Service area chips ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 0; list-style: none; margin: 0; }
.areas a {
  display: inline-block; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-pill); padding: 11px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.areas a:hover { border-color: var(--seaglass); color: var(--primary); transform: translateY(-2px); }
.areas span { display: inline-block; background: var(--sky-wash); border-radius: var(--r-pill); padding: 11px 22px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Gallery teaser ---------- */
.gallery-teaser { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery-teaser { grid-template-columns: repeat(4, 1fr); } }
.gallery-teaser figure { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery-teaser img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.4s ease; }
.gallery-teaser figure:hover img { transform: scale(1.05); }
