/* Timp Family Dental: home page sections */

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 4.4vw, 56px); padding-top: clamp(16px, 2.8vw, 36px); padding-bottom: clamp(56px, 5vw, 72px); }
.hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__media { flex: 1 1 440px; min-width: 0; position: relative; height: clamp(440px, 46vw, 660px); }
.hero__arch { position: absolute; inset: 0 0 70px 40px; border-radius: 300px 300px 20px 20px; overflow: hidden; background: #3a3530; }
.hero__inset { position: absolute; left: 0; bottom: 0; width: clamp(170px, 19vw, 250px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--cream); background: #d9cfbf; }
.hero__arch img, .hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset img { object-position: 40% 40%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust-row b { color: var(--ink); }

/* Booking card */
.book-card { position: absolute; right: 0; bottom: 24px; width: 290px; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-float); scroll-margin-top: 24px; }
.book-card__title { font-family: var(--font-display); font-size: 22px; line-height: 1; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 10px; background: #EFE8DB; }
.segmented button { border: 0; background: none; padding: 8px; border-radius: 7px; font: 600 13px var(--font-body); color: var(--muted-2); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.book-card__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #E6DDCD; font-size: 14px; }
.book-card__row > span:first-child { color: var(--muted-2); }
.book-card__row > span:last-child { font-weight: 600; text-align: right; }
.book-card__open { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.btn--card { padding: 13px; font-size: 14px; border: 0; width: 100%; }

.hero__photos { position: absolute; inset: 0; }
/* Below 900 the card can't float over the photo, so it sits under the photos instead of being hidden. */
@media (max-width: 899px) {
  .hero__media { height: auto; display: flex; flex-direction: column; gap: 28px; }
  .hero__photos { position: relative; height: 440px; }
  .book-card { position: static; width: 100%; max-width: 420px; }
}

/* Insurance strip */
.insurers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding: 22px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.insurers__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink); }

/* Services */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; }
.section-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.svc-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-card); border-radius: var(--radius-card); overflow: hidden; }
.svc-card__img { display: block; height: 220px; overflow: hidden; background: #d9cfbf; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-reveal); }
.svc-card:hover img { transform: scale(1.04); }
.svc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; }
.svc-card__title { font-family: var(--font-display); font-size: 25px; }
.svc-card__text { font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .svc-card__img img { transition: none; } }

/* Meet Dr. Reeve */
.team__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 88px); }
.team__media { flex: 1 1 420px; min-width: 0; }
.team__arch { max-width: 520px; aspect-ratio: 4 / 5; border-radius: 240px 240px 20px 20px; overflow: hidden; background: #41604d; }
.team__arch img { width: 100%; height: 100%; object-fit: cover; }
.team__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.team__quote { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; text-wrap: pretty; }
.team__bio { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--on-pine); }
.stats { display: flex; flex-wrap: wrap; gap: 16px 44px; padding-top: 24px; border-top: 1px solid rgba(244, 238, 227, .2); }
.stats > div { display: flex; flex-direction: column; gap: 2px; }
.stats dt { font-family: var(--font-display); font-size: 34px; }
.stats dd { font-size: 14px; color: var(--on-pine-2); }

/* New patients */
.offer { align-self: flex-start; display: flex; align-items: center; gap: 18px; margin-top: 8px; padding: 22px 26px; border-radius: 20px; background: var(--terracotta); color: #fff; }
.offer__price { font-family: var(--font-display); font-size: 46px; line-height: 1; }
.offer__text { font-size: 15px; line-height: 1.4; }
.steps { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; }
.steps li { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps__n { flex: none; width: 36px; font-family: var(--font-display); font-size: 22px; color: var(--terracotta-text); }
.steps__body { display: flex; flex-direction: column; gap: 6px; }
.steps__title { font-size: 20px; font-weight: 600; }
.steps__text { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; }
.reviews-head__score { font-size: 16px; color: var(--muted); }
.reviews-head__score b { color: var(--ink); }
.review { margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 20px; background: var(--card); }
.review__stars { color: var(--terracotta); font-size: 18px; letter-spacing: 3px; }
.review blockquote { flex: 1; margin: 0; font-size: 18px; line-height: 1.55; }
.review figcaption { font-size: 14px; color: var(--muted-2); }
.review figcaption b { color: var(--ink); }

/* Visit + stylized map */
.visit { display: flex; flex-wrap: wrap; align-items: stretch; gap: clamp(40px, 5vw, 72px); }
.visit__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.visit__addr { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 17px; line-height: 1.5; }
.visit__note { margin-top: 4px; font-size: 15px; color: var(--muted-2); }
.hours { display: flex; flex-direction: column; font-size: 16px; }
.hours > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dd { font-weight: 600; }
.map { flex: 1.3 1 480px; min-width: 0; min-height: 380px; position: relative; overflow: hidden; border-radius: 20px; background: var(--line-card); }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__label { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); }
.map__card { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; background: #fff; font-size: 14px; color: var(--muted-2); box-shadow: 0 8px 24px rgba(31, 42, 36, .12); }
.map__card-title { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
@media (max-width: 520px) { .map { flex-basis: 100%; min-height: 320px; } }
