/* Service Pro — tuition / clinic / salon / local pro services */
:root,
[data-palette="ocean"] {
  --bg: #f0fdfa;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --accent: #0284c7;
  --radius: 16px;
  --shadow: 0 10px 36px rgb(15 118 110 / 0.1);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
[data-palette="forest"] {
  --brand: #047857;
  --brand-dark: #065f46;
  --brand-soft: #d1fae5;
  --accent: #0e7490;
  --bg: #f0fdf4;
}
[data-palette="sunset"] {
  --brand: #b45309;
  --brand-dark: #92400e;
  --brand-soft: #ffedd5;
  --accent: #0369a1;
  --bg: #fffbeb;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.65; font-size: 16px;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}
body:has(.sticky-cta) {
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px) + 0.75rem);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }
.mt { margin-top: 0.75rem; }

.header {
  background: rgb(255 255 255 / 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 0;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: inherit; font-weight: 800; letter-spacing: -0.02em;
}
.logo__mark {
  width: 42px; height: 42px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(145deg, var(--brand), #14b8a6);
  color: #fff; display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 8px 18px rgb(15 118 110 / 0.25);
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.88rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--brand-dark); }
@media (max-width: 640px) { .nav { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 12px; padding: 0.78rem 1.25rem; font-weight: 700;
  font-size: 0.92rem; text-decoration: none; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #0d9488); color: #fff;
  box-shadow: 0 10px 24px rgb(15 118 110 / 0.28);
}
.btn-secondary {
  background: var(--surface); color: var(--brand-dark); border: 1px solid var(--line);
}

.hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(700px 320px at 100% 0%, var(--brand-soft) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__grid {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }
.pill {
  display: inline-flex; align-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
  border-radius: 999px; padding: 0.32rem 0.75rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15; letter-spacing: -0.025em; margin: 0.85rem 0 0.75rem;
}
.hero .lead { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 34rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.1rem 0 1.35rem; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.28rem 0.7rem; font-size: 0.8rem; font-weight: 700; color: var(--brand-dark);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-card {
  background: var(--surface); border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.hero-card__photo {
  aspect-ratio: 4/3; background-size: cover; background-position: center; min-height: 200px;
}
.hero-card__photo--placeholder {
  background: linear-gradient(135deg, var(--brand-soft), #bae6fd);
}
.hero-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.hero-card__body strong { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; }
.hero-card__body p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
  margin-top: 2rem;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 0.85rem; text-align: center; box-shadow: 0 4px 14px rgb(15 23 42 / 0.04);
}
.stat b { display: block; font-size: 1.3rem; color: var(--brand-dark); font-weight: 800; }
.stat span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

section { padding: 3.1rem 0; }
.section-kicker {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 0.35rem;
}
.section-title {
  font-family: var(--display); font-size: clamp(1.5rem, 3vw, 1.95rem);
  margin: 0 0 0.45rem; letter-spacing: -0.02em;
}
.section-lead { color: var(--muted); max-width: 36rem; margin: 0 0 1.6rem; }

.services {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; box-shadow: 0 4px 16px rgb(15 23 42 / 0.04);
  display: flex; flex-direction: column;
}
.service__photo {
  aspect-ratio: 5 / 3;
  background: var(--brand-soft) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.service__icon {
  width: 36px; height: 36px; border-radius: 10px; margin: 1.25rem 1.15rem 0;
  background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800;
}
.service__body { padding: 1rem 1.15rem 1.25rem; }
.service h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.service .price { margin: 0 0 0.4rem; font-weight: 800; color: var(--brand); }
.service p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.about-band { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid {
  display: grid; gap: 1.5rem; align-items: start;
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.prose p { margin: 0; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li {
  position: relative; padding: 0.35rem 0 0.35rem 1.45rem; font-size: 0.95rem;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800;
}
.quote {
  margin: 0; background: var(--brand-dark); color: #ecfdf5;
  border-radius: calc(var(--radius) + 2px); padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.quote p { margin: 0 0 1rem; font-family: var(--display); font-size: 1.15rem; line-height: 1.45; }
.quote cite { font-style: normal; font-size: 0.88rem; opacity: 0.85; font-weight: 600; }

.split {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--muted); font-weight: 700; }

.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem 1.5rem; text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 0.4rem; font-family: var(--display); font-size: 1.75rem; }
.cta-band p { margin: 0 0 1.15rem; opacity: 0.92; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.cta-band .btn-secondary {
  margin-left: 0.45rem; background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.4);
}
/* Mobile/touch: mailto button. Desktop (fine pointer + hover): plain copyable address */
.email-cta--plain { display: none; margin: 0.85rem 0 0; font-size: 0.95rem; font-weight: 600; line-height: 1.4; }
.email-cta__addr { user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; word-break: break-word; }
.email-cta__label { opacity: 0.85; font-weight: 700; margin-right: 0.35rem; }
@media (hover: hover) and (pointer: fine) {
  .email-cta--mailto { display: none !important; }
  .email-cta--plain { display: block; }
}
.social-row { text-align: center; margin: 1rem 0 0; font-size: 0.92rem; font-weight: 600; }

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgb(15 23 42 / 0.96);
  color: #fff;
  padding: 0.65rem max(0.85rem, env(safe-area-inset-right, 0px))
    calc(0.65rem + env(safe-area-inset-bottom, 0px))
    max(0.85rem, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.sticky-cta span {
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 38%;
}
.sticky-cta__btn {
  padding: 0.62rem 1rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(100%, 16rem);
}
@media (max-width: 380px) {
  .sticky-cta span { display: none; }
  .sticky-cta__btn { max-width: none; width: 100%; }
}

.site {
  padding: 1.5rem 0 2.5rem; text-align: center; font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.site a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
}
.site a:hover { color: var(--brand, #0f766e); }
