:root {
  --bg: #f4f8f7;
  --paper: #ffffff;
  --warm: #e3efec;
  --warm-deep: #cfe4df;
  --ink: #0e201d;
  --ink-mid: #33474340;
  --ink-mid: #36504b;
  --ink-mute: #5f756f;
  --rule: #d2e2dd;
  --rule-soft: #e3efec;
  --teal: #1a8f7d;
  --teal-deep: #0f5f54;
  --gold: #c9a24a;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv02", "cv11";
}
a { color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(15,95,84,0.35); }
a:hover { color: var(--teal); text-decoration-color: var(--teal); }
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
p { margin: 0 0 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

header.site { border-bottom: 1px solid var(--rule); background: var(--bg); position: sticky; top: 0; z-index: 40; }
.head-row { display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 18px 36px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 46px; height: auto; display: block; }
.brand-text { font-family: 'Fraunces', Georgia, serif; font-size: 13px; color: var(--ink-mute); line-height: 1.3; border-left: 1px solid var(--rule); padding-left: 16px; font-variation-settings: "opsz" 9; }
.brand-text b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 2px; letter-spacing: 0.01em; }
nav.primary { display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 500; }
nav.primary a { color: var(--ink); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
nav.primary a:hover { border-bottom-color: var(--ink); }
nav.primary .nav-cta { background: var(--teal-deep); color: #fff; padding: 9px 18px; border-radius: 999px; border: none; font-weight: 500; }
nav.primary .nav-cta:hover { background: var(--teal); border: none; }
.menu-btn { display: none; }

.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-eyebrow { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--teal-deep); font-weight: 600; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--teal); }
.hero h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.04; margin-bottom: 28px; max-width: 16ch; font-variation-settings: "opsz" 144, "SOFT" 50; }
.hero h1 em { font-style: italic; color: var(--teal-deep); font-variation-settings: "opsz" 144, "SOFT" 100; }
.hero p.lead { font-size: 18.5px; color: var(--ink-mid); max-width: 52ch; margin: 0 0 32px; line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust span { font-size: 13px; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 8px; display: block; border: 1px solid var(--rule); }
.hero-photo-tag { position: absolute; left: 18px; bottom: 18px; background: rgba(14,32,29,0.86); color: #eafaf5; font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(4px); }
.hero-photo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d39e; box-shadow: 0 0 0 0 rgba(52,211,158,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,158,0.6);} 70%{ box-shadow: 0 0 0 8px rgba(52,211,158,0);} 100%{ box-shadow:0 0 0 0 rgba(52,211,158,0);} }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--teal-deep); color: #fff; text-decoration: none; font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 500; border-radius: 999px; border: 1px solid var(--teal-deep); transition: all 0.2s ease; cursor: pointer; }
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-light { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn-light:hover { background: var(--warm); color: var(--teal-deep); border-color: var(--warm); }
.btn .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-full { width: 100%; justify-content: center; }

.hero-meta { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hero-meta div span { display: block; font-family: 'Fraunces', serif; font-size: 36px; font-weight: 500; color: var(--ink); line-height: 1; margin-bottom: 6px; font-variation-settings: "opsz" 144; }
.hero-meta div small { font-size: 13px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; }

.tiles { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tiles-head { max-width: var(--max); margin: 0 auto 52px; padding: 0 36px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.tiles-head h2 { font-size: clamp(30px, 3.8vw, 50px); max-width: 22ch; }
.tiles-head p { color: var(--ink-mute); max-width: 38ch; margin: 0; font-size: 16px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0 36px; max-width: var(--max); margin: 0 auto; }
.tile { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: var(--paper); }
.tile-img-wrap { overflow: hidden; aspect-ratio: 4 / 3; background: var(--warm); border-radius: 6px; }
.tile-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-img { transform: scale(1.04); }
.tile-body { padding: 22px 0 4px; }
.tile-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-deep); font-weight: 600; margin-bottom: 10px; }
.tile h3 { font-size: 28px; margin-bottom: 12px; font-variation-settings: "opsz" 96, "SOFT" 50; }
.tile p { font-size: 15.5px; color: var(--ink-mid); margin: 0 0 14px; line-height: 1.55; }
.tile .read { font-size: 14px; color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

section { padding: 110px 0; }

.steps { background: var(--bg); }
.steps-inner { max-width: var(--max); margin: 0 auto; padding: 0 36px; }
.label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); font-weight: 600; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 32px; height: 1px; background: var(--ink-mute); }
.label.center { justify-content: center; }
.steps-title { font-size: clamp(28px, 3.6vw, 46px); max-width: 20ch; margin: 0 auto 52px; text-align: center; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 34px 30px; }
.step-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 40px; color: var(--teal); margin-bottom: 18px; font-variation-settings: "opsz" 96, "SOFT" 100; }
.step h3 { font-size: 23px; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--ink-mid); margin-bottom: 18px; }

.mission { background: var(--ink); color: #d9efe9; padding: 96px 0; }
.mission-inner { max-width: 920px; margin: 0 auto; padding: 0 36px; text-align: center; }
.mission .label { justify-content: center; color: #6fb9aa; }
.mission .label::before { background: #6fb9aa; }
.mission blockquote { margin: 0; font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.32; color: #eafaf5; font-variation-settings: "opsz" 144, "SOFT" 100; }
.mission cite { display: block; margin-top: 32px; font-style: normal; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #6fb9aa; }

.lines { background: var(--bg); }
.lines-head { max-width: var(--max); margin: 0 auto 56px; padding: 0 36px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.lines-head h2 { font-size: clamp(30px, 3.8vw, 50px); max-width: 18ch; }
.lines-head p { color: var(--ink-mute); max-width: 38ch; font-size: 16px; margin: 0; }
.line-grid { max-width: var(--max); margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.line-card { padding: 36px 32px; border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: background 0.2s ease; }
.line-card:nth-child(3n) { border-right: none; }
.line-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
.line-card:hover { background: var(--warm); }
.line-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 13px; color: var(--ink-mute); margin-bottom: 10px; }
.line-name { font-family: 'Fraunces', serif; font-size: 26px; color: var(--ink); margin-bottom: 14px; font-variation-settings: "opsz" 96, "SOFT" 50; }
.line-desc { font-size: 15px; color: var(--ink-mid); line-height: 1.55; margin-bottom: 24px; flex-grow: 1; }
.line-link { font-size: 13.5px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-mute); padding-bottom: 2px; display: inline-block; align-self: flex-start; }
.line-card:hover .line-link { border-bottom-color: var(--teal); color: var(--teal-deep); }

.cta-band { background: var(--teal-deep); color: #fff; padding: 84px 0; }
.cta-band-inner { max-width: 820px; margin: 0 auto; padding: 0 36px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 18px; font-variation-settings: "opsz" 144, "SOFT" 70; }
.cta-band p { color: #cdeae3; font-size: 18px; margin-bottom: 32px; }

/* generic page header */
.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 72px 0 64px; }
.page-head-inner { max-width: var(--max); margin: 0 auto; padding: 0 36px; }
.page-head .eyebrow { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--teal-deep); font-weight: 600; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(36px, 5vw, 62px); max-width: 18ch; margin-bottom: 22px; font-variation-settings: "opsz" 144, "SOFT" 50; }
.page-head h1 em { font-style: italic; color: var(--teal-deep); }
.page-head p { font-size: 18.5px; color: var(--ink-mid); max-width: 56ch; }

.section-wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

/* about */
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 72px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 36px; }
.about-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; border: 1px solid var(--rule); display: block; }
.about-text h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 24px; }
.about-text p { font-size: 17px; color: var(--ink-mid); }
.about-text .signature { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; color: var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 16px; }
.value-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 30px 26px; }
.value-card h3 { font-size: 22px; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--ink-mid); margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.team-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.team-card .tc-body { padding: 22px 24px 26px; }
.team-card h3 { font-size: 22px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-deep); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 14.5px; color: var(--ink-mid); margin: 0; }

/* services pricing */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--rule); }
.svc-block:nth-child(even) .svc-media { order: -1; }
.svc-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 1px solid var(--rule); display: block; }
.svc-block h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.svc-block .svc-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-deep); font-weight: 600; margin-bottom: 14px; }
.svc-block p { font-size: 16px; color: var(--ink-mid); }
.svc-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.svc-list li { padding: 8px 0 8px 26px; position: relative; font-size: 15px; color: var(--ink-mid); border-bottom: 1px solid var(--rule-soft); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.pricing { background: var(--paper); border-top: 1px solid var(--rule); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.price-card { border: 1px solid var(--rule); border-radius: 10px; padding: 34px 30px; background: var(--bg); display: flex; flex-direction: column; }
.price-card.featured { background: var(--ink); color: #d9efe9; border-color: var(--ink); }
.price-card.featured h3, .price-card.featured .amount { color: #fff; }
.price-card .tier { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-deep); font-weight: 600; margin-bottom: 14px; }
.price-card.featured .tier { color: #6fb9aa; }
.price-card h3 { font-size: 26px; margin-bottom: 8px; }
.price-card .amount { font-family: 'Fraunces', serif; font-size: 40px; color: var(--ink); margin-bottom: 4px; font-variation-settings: "opsz" 144; }
.price-card .amount small { font-size: 15px; font-family: 'Inter', sans-serif; color: var(--ink-mute); }
.price-card.featured .amount small { color: #9fcfc6; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 28px; flex-grow: 1; }
.price-card ul li { font-size: 14.5px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.price-card.featured ul li { border-color: #2a4540; }

/* forms */
.form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.field-group.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
label .req { color: var(--teal); }
input, select, textarea { font-family: 'Inter', sans-serif; font-size: 15px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 7px; background: var(--bg); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(26,143,125,0.12); }
textarea { resize: vertical; min-height: 110px; }
.help { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--warm); padding: 16px 18px; border-radius: 8px; margin: 8px 0 24px; }
.consent input { width: auto; margin-top: 3px; }
.consent label { font-weight: 400; font-size: 13.5px; color: var(--ink-mid); margin: 0; }
.form-note { font-size: 13px; color: var(--ink-mute); display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.lock { width: 14px; height: 14px; }
.form-success { display: none; background: var(--warm); border: 1px solid var(--warm-deep); border-radius: 12px; padding: 36px 40px; text-align: center; }
.form-success.show { display: block; }
.form-success h3 { font-size: 28px; margin-bottom: 12px; color: var(--teal-deep); }
.form-success p { color: var(--ink-mid); margin: 0 auto; max-width: 46ch; }
.success-check { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #fff; font-size: 26px; }

/* progress steps for onboarding */
.progress { display: flex; gap: 0; margin-bottom: 40px; }
.progress-step { flex: 1; text-align: center; position: relative; font-size: 13px; color: var(--ink-mute); padding-top: 30px; font-weight: 500; }
.progress-step::before { content: ""; position: absolute; top: 8px; left: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--rule); transform: translateX(-50%); border: 3px solid var(--bg); z-index: 2; }
.progress-step::after { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--rule); z-index: 1; }
.progress-step:first-child::after { display: none; }
.progress-step.active { color: var(--teal-deep); }
.progress-step.active::before { background: var(--teal); }
.progress-step.done::before { background: var(--teal-deep); }
.progress-step.done::after, .progress-step.active::after { background: var(--teal); }
.onb-step { display: none; }
.onb-step.active { display: block; }
.onb-actions { display: flex; justify-content: space-between; margin-top: 28px; gap: 14px; }

/* scheduling */
.sched-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.cal { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 28px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cal-head h3 { font-size: 22px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { border: 1px solid var(--rule); background: var(--bg); width: 34px; height: 34px; border-radius: 7px; cursor: pointer; font-size: 16px; color: var(--ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); text-align: center; padding: 6px 0; font-weight: 600; }
.cal-day { aspect-ratio: 1; border: 1px solid var(--rule); border-radius: 7px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: all 0.15s; }
.cal-day:hover:not(.disabled) { border-color: var(--teal); background: #fff; }
.cal-day.disabled { color: var(--rule); cursor: default; background: transparent; border-color: transparent; }
.cal-day.selected { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.slots { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 28px; }
.slots h3 { font-size: 20px; margin-bottom: 6px; }
.slots .sub { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 20px; }
.slot-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.slot { border: 1px solid var(--rule); border-radius: 7px; background: var(--bg); padding: 12px; text-align: center; font-size: 14px; cursor: pointer; transition: all 0.15s; }
.slot:hover { border-color: var(--teal); background: #fff; }
.slot.selected { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.visit-type { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.visit-type .vt { border: 1px solid var(--rule); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; cursor: pointer; background: var(--bg); }
.visit-type .vt.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.sched-summary { margin-top: 22px; padding: 18px; background: var(--warm); border-radius: 8px; font-size: 14px; color: var(--ink-mid); }
.sched-summary b { color: var(--ink); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px,3.6vw,42px); margin-bottom: 20px; }
.contact-block { margin-bottom: 26px; }
.contact-block .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); font-weight: 600; margin-bottom: 6px; }
.contact-block .v { font-family: 'Fraunces', serif; font-size: 22px; }
.contact-block .v a { color: var(--ink); text-decoration: none; }
.contact-block .v a:hover { color: var(--teal-deep); }
.contact-block p { font-size: 15px; color: var(--ink-mid); margin: 4px 0 0; }

/* login */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-art { background: var(--ink); color: #d9efe9; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.login-art .la-inner { position: relative; z-index: 2; }
.login-art .brand-lg { display: flex; align-items: center; gap: 14px; }
.login-art .brand-lg img { width: 46px; }
.login-art .brand-lg b { font-family: 'Fraunces', serif; font-size: 22px; color: #fff; }
.login-art h2 { color: #fff; font-size: 34px; max-width: 16ch; margin: 40px 0 16px; }
.login-art p { color: #9fcfc6; max-width: 40ch; }
.login-art .la-stat { position: relative; z-index: 2; display: flex; gap: 36px; }
.login-art .la-stat span { display: block; font-family: 'Fraunces', serif; font-size: 30px; color: #fff; }
.login-art .la-stat small { color: #6fb9aa; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-form { width: 100%; max-width: 400px; }
.login-form h1 { font-size: 34px; margin-bottom: 8px; }
.login-form .sub { color: var(--ink-mute); font-size: 15px; margin-bottom: 30px; }
.hint-box { background: var(--warm); border: 1px solid var(--warm-deep); border-radius: 8px; padding: 14px 16px; font-size: 13px; color: var(--ink-mid); margin-bottom: 26px; }
.hint-box b { color: var(--ink); }
.login-meta { margin-top: 24px; font-size: 13.5px; color: var(--ink-mute); text-align: center; }

/* dashboard / app */
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.app-side { background: var(--ink); color: #c8e3dc; padding: 26px 22px; display: flex; flex-direction: column; }
.app-side .brand-lg { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.app-side .brand-lg img { width: 38px; }
.app-side .brand-lg b { font-family: 'Fraunces', serif; font-size: 19px; color: #fff; }
.app-nav { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.app-nav li { margin-bottom: 4px; }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; color: #9fc4bc; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.app-nav a:hover { background: #16302b; color: #fff; }
.app-nav a.active { background: var(--teal-deep); color: #fff; }
.app-side .side-foot { border-top: 1px solid #2a4540; padding-top: 18px; font-size: 13px; }
.app-side .side-foot a { color: #9fc4bc; text-decoration: none; }
.app-main { background: var(--bg); padding: 0; overflow-y: auto; }
.app-top { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 18px 36px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.app-top h1 { font-size: 22px; }
.app-user { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.app-body { padding: 32px 36px 60px; max-width: 1100px; }
.welcome-card { background: var(--ink); color: #d9efe9; border-radius: 14px; padding: 32px 36px; margin-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.welcome-card h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.welcome-card p { color: #9fcfc6; margin: 0; max-width: 48ch; }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
.stat-box { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px; }
.stat-box .sb-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); font-weight: 600; margin-bottom: 10px; }
.stat-box .sb-v { font-family: 'Fraunces', serif; font-size: 30px; color: var(--ink); font-variation-settings: "opsz" 144; }
.stat-box .sb-sub { font-size: 12.5px; color: var(--teal-deep); margin-top: 4px; }
.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 26px 28px; margin-bottom: 24px; }
.panel h3 { font-size: 20px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.panel h3 a { font-size: 13px; font-weight: 500; }
.appt-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); align-items: center; }
.appt-item:last-child { border-bottom: none; }
.appt-date { background: var(--warm); border-radius: 8px; text-align: center; padding: 10px 14px; min-width: 64px; }
.appt-date .d { font-family: 'Fraunces', serif; font-size: 24px; line-height: 1; }
.appt-date .m { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); }
.appt-info { flex-grow: 1; }
.appt-info b { display: block; font-size: 15px; }
.appt-info span { font-size: 13px; color: var(--ink-mute); }
.tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.tag.confirmed { background: #dcefe9; color: var(--teal-deep); }
.tag.pending { background: #f6ecd4; color: #8a6d1f; }
.lab-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); font-size: 14.5px; }
.lab-row:last-child { border-bottom: none; }
.lab-row .meter { width: 90px; height: 6px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.lab-row .meter span { display: block; height: 100%; background: var(--teal); }
.task-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: 14.5px; }
.task-item:last-child { border-bottom: none; }
.task-item .tcheck { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--rule); flex-shrink: 0; }
.task-item.done .tcheck { background: var(--teal); border-color: var(--teal); position: relative; }
.task-item.done .tcheck::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(40deg); }
.task-item.done span { color: var(--ink-mute); text-decoration: line-through; }
.msg-item { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.msg-item:last-child { border-bottom: none; }
.msg-item .from { font-weight: 600; font-size: 14px; margin-bottom: 4px; display: flex; justify-content: space-between; }
.msg-item .from small { color: var(--ink-mute); font-weight: 400; }
.msg-item p { font-size: 13.5px; color: var(--ink-mid); margin: 0; }

@media (max-width: 980px) {
  section { padding: 70px 0; }
  .hero { padding: 48px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .tile-grid, .step-grid, .value-grid, .team-grid, .price-grid, .stat-row { grid-template-columns: 1fr; }
  .line-grid { grid-template-columns: 1fr; }
  .line-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .tiles-head, .lines-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-grid, .svc-block, .sched-grid, .contact-grid, .dash-grid { grid-template-columns: 1fr; }
  .svc-block:nth-child(even) .svc-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  nav.primary { display: none; }
  nav.primary.open { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; background: var(--bg); width: 100%; padding-top: 16px; }
  .menu-btn { display: inline-block; background: none; border: 1px solid var(--rule); padding: 8px 14px; font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; color: var(--ink); border-radius: 4px; }
  .head-row { flex-wrap: wrap; }
  .brand-text { display: none; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 18px; }
  .app-side .brand-lg { margin-bottom: 0; }
  .app-nav { display: flex; flex-grow: 0; gap: 4px; overflow-x: auto; width: 100%; }
  .app-side .side-foot { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .slot-list { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

footer.site { background: var(--ink); color: #9fc4bc; padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; max-width: var(--max); margin: 0 auto; padding: 0 36px; }
.foot-brand img { width: 48px; height: auto; margin-bottom: 16px; display: block; }
.foot-brand p { font-size: 14px; color: #84a8a0; max-width: 280px; line-height: 1.55; margin: 0 0 18px; }
.foot-brand .small { font-size: 12px; color: #5f7d76; }
footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: #eafaf5; font-weight: 600; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; line-height: 1.95; }
footer ul a { color: #9fc4bc; text-decoration: none; }
footer ul a:hover { color: #eafaf5; }
.foot-meta { margin-top: 56px; padding: 22px 36px 0; max-width: var(--max); margin-left: auto; margin-right: auto; border-top: 1px solid #2a4540; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #5f7d76; }
