/* Derma C — components: pieces reused across more than one section. */

/* ---------- Buttons ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  font-weight:600;
  border-radius:var(--radius-pill);
}
.btn--sm{min-height:44px;padding:0 20px;font-size:14px}
.btn--md{min-height:48px;padding:0 24px}
.btn--lg{min-height:52px;padding:0 28px}

.btn--primary{background:var(--rose);color:var(--on-rose)}
.btn--outline{border:1px solid var(--ink);color:var(--ink)}
.btn--inverse{background:var(--cream);color:var(--ink)}

.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* Hover: the button grows a touch, gains a tiny shadow, and a soft band of
   light sweeps across it once. Applies to .btn links and the form's submit
   button. Only on devices that really hover, so it never sticks after a tap. */
.btn,
.inquiry-form__submit{
  --btn-sheen:color-mix(in srgb, var(--surface) 38%, transparent);
  position:relative;
  overflow:hidden;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
/* On see-through buttons a white sheen would not show, so tint it rose */
.btn--outline{--btn-sheen:color-mix(in srgb, var(--rose) 14%, transparent)}

.btn::after,
.inquiry-form__submit::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:-60%;
  width:45%;
  background:linear-gradient(100deg, transparent, var(--btn-sheen), transparent);
  transform:skewX(-20deg);
  pointer-events:none;
}

@media (hover:hover){
  .btn:hover,
  .inquiry-form__submit:hover{
    transform:scale(1.04);
    box-shadow:var(--shadow-lift);
  }
  .btn:hover::after,
  .inquiry-form__submit:hover::after{
    left:120%;
    transition:left 0.65s ease;
  }
}

@media (prefers-reduced-motion:reduce){
  .btn,
  .inquiry-form__submit{transition:box-shadow 0.25s ease}
  .btn:hover,
  .inquiry-form__submit:hover{transform:none}
  .btn::after,
  .inquiry-form__submit::after{display:none}
}

/* ---------- Type ---------- */

/* Spaced-caps label above a headline */
.eyebrow{
  margin:0;
  font-size:12px;
  font-weight:600;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--rose);
}
.band--ink .eyebrow{color:var(--pink)}

/* Smaller spaced-caps label on cards */
.kicker{
  margin:0;
  font-size:11px;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--rose);
}

.section-title{
  margin:0;
  font-family:var(--font-display);
  font-weight:400;
  font-size:2.6rem;
  line-height:1.1;
}
/* The one italic accent word per headline */
.section-title em,
.hero__title em{font-style:italic;color:var(--rose)}

.body-copy{margin:0;color:var(--ink-muted)}

/* Label / value pairs (address, hours, areas of practice) */
.meta-label{
  margin:0;
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--ink-muted);
}
.band--ink .meta-label{color:var(--on-ink-muted)}
.meta-value{margin:2px 0 0;font-size:15px}

/* ---------- Section headings ---------- */

/* Eyebrow + title block */
.heading-group .eyebrow{margin-bottom:12px}
.heading-group--narrow{max-width:560px}

/* Heading row: title on the left, button or intro copy on the right */
.section-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:24px;
  margin-bottom:48px;
}
.section-head--split{justify-content:space-between}
.section-head--columns{gap:24px 64px}
.section-head__col{flex:1 1 420px;min-width:0}
.section-head__col--stack{display:flex;flex-direction:column;gap:12px}

/* Centered heading block */
.section-intro{
  max-width:640px;
  margin:0 auto 56px;
  text-align:center;
}
.section-intro--stack{
  max-width:680px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* Centered button under a section */
.section-cta{margin-top:48px;text-align:center}

/* ---------- Grids ---------- */

.card-grid{display:flex;flex-wrap:wrap;gap:24px}

/* ---------- Photo placeholders (until client photos arrive) ---------- */

.placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--sand-strong);
}
.placeholder__label{font-size:12px;color:var(--ink-muted)}

/* ---------- Scrollbars ---------- */

/* Thin two-tone rail on anything that scrolls inside the page */
.swipe-row::-webkit-scrollbar,
.site-nav::-webkit-scrollbar{width:4px;height:4px}
.swipe-row::-webkit-scrollbar-track,
.site-nav::-webkit-scrollbar-track{
  background:var(--line);
  border-radius:var(--radius-pill);
}
.swipe-row::-webkit-scrollbar-thumb,
.site-nav::-webkit-scrollbar-thumb{
  background:var(--ink-muted);
  border-radius:var(--radius-pill);
}
/* Firefox: no pseudo-elements, so use the standard properties */
@supports not selector(::-webkit-scrollbar){
  .swipe-row,
  .site-nav{scrollbar-width:thin;scrollbar-color:var(--ink-muted) var(--line)}
}

/* ---------- Icons ---------- */

/* Inline SVGs draw with currentColor */
.icon,
.stars{color:var(--rose)}
