@import url("https://static.tildacdn.pub/css/fonts-tildasans.css");

:root {
  --bg: #f7f3ed;
  --paper: #fffdf9;
  --ink: #26231f;
  --muted: #736d65;
  --line: #e3dbd0;
  --accent: #345c50;
  --accent-dark: #25443b;
  --accent-soft: #e6eee8;
  --clay: #b6755b;
  --danger: #9b4b42;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(45, 39, 32, .08);
}

/* Visual match for the original Tilda profile page. */
.tilda-page { --bg:#fff; --paper:#fff; --ink:#292a2b; --muted:#45484a; --line:#e2e5df; --accent:#aaa995; --accent-soft:#e6e9df; background:#fff; color:var(--ink); font-family:"Tilda Sans",TildaSans,Arial,sans-serif; font-size:16px; }
.tilda-page .site-header { position:relative; display:flex; justify-content:center; min-height:78px; padding:20px 24px; border:0; border-bottom:1px solid #eceee9; background:#fff; backdrop-filter:none; }
.tilda-page .brand { display:none; }
.tilda-page .nav { justify-content:center; gap:34px; font-size:15px; color:#343638; }
.tilda-page .nav a { padding:7px 0; text-decoration:none; text-underline-offset:5px; }
.tilda-page .nav a:hover,.tilda-page .nav a:focus-visible { color:#292a2b; text-decoration:underline; }
.tilda-page .section { width:min(1160px,calc(100% - 64px)); padding:64px 0; }
.tilda-page h1,.tilda-page h2,.tilda-page h3 { color:#292a2b; }
.tilda-page h1 { max-width:560px; margin:0 0 26px; font-size:38px; line-height:1.38; font-weight:500; }
.tilda-page h2 { font-size:23px; line-height:1.35; font-weight:600; }
.tilda-page p,.tilda-page li { color:#4b4d4e; line-height:1.5; }
.tilda-page .hero { min-height:0; grid-template-columns:minmax(260px,360px) minmax(0,1fr); align-items:center; gap:clamp(55px,11vw,140px); padding-top:52px; padding-bottom:58px; }
.tilda-page .hero-photo { width:100%; aspect-ratio:4/5; background:#b8bec0; }
.tilda-page .hero-photo picture,.tilda-page .hero-photo img { display:block; width:100%; height:100%; }
.tilda-page .hero-photo img { object-fit:cover; }
.tilda-page .hero-copy { padding:0; }
.tilda-page .hero-intro { margin-bottom:0; font-size:20px; }
.tilda-page .hero-description { margin-top:12px; font-size:17px; }
.tilda-page .profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:44px 54px; padding-top:0; padding-bottom:72px; }
.tilda-page .profile-item { display:grid; grid-template-columns:68px minmax(0,1fr); gap:22px; align-items:start; }
.tilda-page .profile-icon { display:grid; width:68px; aspect-ratio:1; place-items:center; border:1px solid #c9cdc4; border-radius:50%; color:#aeb3a9; }
.tilda-page .profile-icon::before { content:""; width:28px; aspect-ratio:1; border:1px solid #aeb3a9; border-radius:50%; }
.tilda-page .profile-item h2 { margin:2px 0 12px; }
.tilda-page .profile-item ul { margin:0; padding-left:20px; }
.tilda-page .profile-item li { margin:0 0 4px; }
.tilda-page .education-note { margin:14px 0 0; font-size:15px; }
.tilda-page .faq-band { width:100%; background:#e6e9df; }
.tilda-page .faq-inner { width:min(860px,calc(100% - 48px)); margin:0 auto; padding:64px 0 72px; }
.tilda-page .faq-inner>h2 { margin:0 0 36px; text-align:center; font-size:28px; }
.tilda-page .faq-list { background:#fff; }
.tilda-page .faq-list details { border-bottom:1px solid #e0e2de; }
.tilda-page .faq-list details:last-child { border-bottom:0; }
.tilda-page .faq-list summary { position:relative; padding:18px 52px 18px 18px; cursor:pointer; list-style:none; font-size:17px; line-height:1.4; }
.tilda-page .faq-list summary::-webkit-details-marker { display:none; }
.tilda-page .faq-list summary::after { content:"+"; position:absolute; right:20px; top:50%; transform:translateY(-50%); color:#9da295; font-size:23px; }
.tilda-page .faq-list details[open] summary::after { content:"−"; }
.tilda-page .faq-answer { padding:0 20px 18px; }
.tilda-page .faq-answer p { margin:0 0 12px; font-size:15px; }
.tilda-page .faq-answer p:last-child { margin-bottom:0; }
.tilda-page .terms-section { display:grid; grid-template-columns:minmax(270px,.55fr) minmax(0,1fr); gap:48px; align-items:start; padding-top:78px; padding-bottom:86px; }
.tilda-page .terms-section h2 { margin:0; font-size:30px; }
.tilda-page .terms-copy p { margin:0 0 16px; }
.tilda-page .terms-copy p:last-child { margin-bottom:0; }
.tilda-page .footer { display:flex; gap:20px; justify-content:center; align-items:center; min-height:88px; padding:22px 24px; border-top:1px solid var(--line); background:#fff; color:#555; font-size:14px; }
.tilda-page .footer p,.tilda-page .footer span { margin:0; }
@media (max-width:760px) {
  .tilda-page .site-header { min-height:64px; padding:14px 12px; }
  .tilda-page .nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100%,430px); gap:4px 16px; margin:0 auto; overflow:visible; white-space:normal; text-align:center; font-size:14px; }
  .tilda-page .nav a { display:flex; min-height:34px; align-items:center; justify-content:center; line-height:1.25; }
  .tilda-page .section { width:calc(100% - 36px); padding:42px 0; }
  .tilda-page .hero { grid-template-columns:minmax(0,1fr); gap:28px; padding-top:20px; padding-bottom:44px; }
  .tilda-page .hero-photo { width:min(100%,360px); margin:0 auto; }
  .tilda-page h1 { margin-bottom:16px; font-size:clamp(28px,7vw,36px); line-height:1.23; }
  .tilda-page .hero-intro { font-size:18px; }
  .tilda-page .hero-description { font-size:16px; }
  .tilda-page .profile-grid { grid-template-columns:minmax(0,1fr); gap:32px; padding-top:4px; padding-bottom:48px; }
  .tilda-page .profile-item { grid-template-columns:48px minmax(0,1fr); gap:14px; }
  .tilda-page .profile-icon { width:48px; font-size:24px; }
  .tilda-page .profile-item h2 { font-size:20px; }
  .tilda-page .faq-inner { width:calc(100% - 28px); padding:44px 0 48px; }
  .tilda-page .faq-inner>h2 { margin-bottom:24px; font-size:24px; }
  .tilda-page .faq-list summary { padding:16px 42px 16px 14px; font-size:16px; }
  .tilda-page .faq-answer { padding:0 14px 16px; }
  .tilda-page .terms-section { grid-template-columns:minmax(0,1fr); gap:16px; padding-top:48px; padding-bottom:52px; }
  .tilda-page .terms-section h2 { font-size:26px; }
  .tilda-page .footer { flex-direction:column; gap:6px; text-align:center; }
  .tilda-page .footer { display:flex; visibility:visible; width:100%; max-width:none; margin:0; padding:26px 18px max(26px,env(safe-area-inset-bottom)); }
}

.tilda-page .contact-cta {
  width:100%;
  margin:0;
  background:#e6e9df;
}
.tilda-page .contact-inner {
  display:grid;
  grid-template-columns:minmax(270px,.55fr) minmax(0,1fr);
  width:min(1160px,calc(100% - 64px));
  margin:0 auto;
  padding:78px 0 86px;
  align-items:start;
  gap:48px;
}
.tilda-page .contact-cta h2 { margin:0; font-size:30px; }
.tilda-page .contact-copy p { margin:0 0 16px; }
.tilda-page .contact-link {
  display:inline-flex;
  min-height:32px;
  align-items:center;
  gap:9px;
  padding:0 0 3px;
  border-bottom:1px solid currentColor;
  color:#292a2b;
  font-weight:600;
  font-size:18px;
  text-decoration:none;
}
.tilda-page .contact-link:hover,.tilda-page .contact-link:focus-visible { border-bottom-width:2px; }
@media (min-width:761px) and (max-width:1000px) {
  .tilda-page .hero { grid-template-columns:minmax(260px,300px) minmax(0,1fr); gap:36px; }
  .tilda-page h1 { font-size:34px; line-height:1.3; }
  .tilda-page .profile-grid { column-gap:28px; }
}
@media (max-width:760px) {
  .tilda-page .contact-inner { grid-template-columns:minmax(0,1fr); width:calc(100% - 36px); padding:48px 0 52px; gap:16px; }
  .tilda-page .contact-cta h2 { font-size:26px; }
  .tilda-page .contact-link { font-size:17px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(40px, 4.9vw, 62px);
  line-height: .95;
  font-weight: 760;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.02;
  font-weight: 720;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 740;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 237, .92);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-action,
.footer a,
.back-link,
.admin-filters a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 760;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border: 6px solid var(--accent);
  border-right-color: var(--clay);
  border-radius: 50%;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--accent);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.header-action {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 6vw, 78px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
  min-height: auto;
  padding-top: clamp(36px, 5vw, 58px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.hero-copy {
  padding-top: 0;
}

.hero-support {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-dark);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.lead {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  border: 1px solid transparent;
  font-size: 16px;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.hero-panel,
.card,
.booking-card,
.offer-box,
.result-card,
.document,
.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
}

.portrait {
  aspect-ratio: 4 / 5;
  background: var(--accent-soft);
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-panel {
  max-width: 390px;
  justify-self: end;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.facts div:last-child {
  border-right: 0;
}

.facts dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.facts dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 780;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, .46fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.split h2 {
  max-width: 520px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
}

.text-flow {
  max-width: 720px;
  padding-top: 8px;
}

.text-flow p:last-child,
.info-box p:last-child,
.card p:last-child,
.note p:last-child,
.offer-box p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.info-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.info-section .section-heading {
  max-width: 760px;
  margin-bottom: 0;
}

.info-section h2 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.info-box {
  width: 100%;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.info-box p {
  max-width: 820px;
}

.cards {
  display: grid;
  gap: 14px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.request-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.35;
}

.request-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.note {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.methods-grid article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.methods-grid p {
  margin-bottom: 0;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

.education-column {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.education-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.education-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.education-note {
  margin: 18px 0 0;
  font-size: 14px;
}

.muted-band {
  width: min(1120px, calc(100% - 40px));
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.muted-band .section-heading {
  max-width: 760px;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.terms-grid article {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(52, 92, 80, .18);
}

.terms-grid p {
  margin-bottom: 0;
}

.booking-section {
  width: min(1120px, calc(100% - 40px));
}

.booking-intro {
  max-width: 720px;
  margin-bottom: 26px;
}

.booking-flow {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 249, .86);
  box-shadow: var(--shadow);
}

.booking-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.booking-main {
  display: grid;
  gap: 0;
}

.flow-step {
  scroll-margin-top: 96px;
  padding: clamp(18px, 3vw, 30px);
}

.flow-step + .flow-step {
  border-top: 1px solid var(--line);
}

.flow-step-header {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.flow-step-header h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.flow-step-header p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.booking-step.is-disabled {
  display: none;
}

.slot-step {
  background: rgba(248, 244, 238, .38);
}

.slot-step.is-disabled {
  display: none;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  text-align: center;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.dates-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
}

.date-option {
  min-height: 84px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.date-option:hover,
.date-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.date-option span,
.date-option small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.date-option strong {
  display: block;
  margin: 5px 0 8px;
  font-size: 18px;
  line-height: 1.1;
}

.slots-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  max-height: 290px;
  overflow: auto;
  padding-right: 4px;
}

.slot {
  min-height: 62px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.slot:hover,
.slot.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.slot strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.slot span {
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 720;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.selected-slot,
.field-note,
.fine-print,
.form-message {
  margin: 0;
  font-size: 14px;
}

.field-note {
  margin-top: -6px;
  color: var(--muted);
  font-size: 13px;
}

.consent-check {
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.fine-print {
  line-height: 1.45;
}

.booking-summary {
  position: sticky;
  top: 92px;
  min-height: 100%;
  padding: clamp(18px, 3vw, 28px);
  border-left: 1px solid var(--line);
  background: #f8f4ee;
}

.booking-summary h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.booking-summary dl {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
}

.booking-summary dl div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.booking-summary dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.booking-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.25;
}

.form-message {
  min-height: 22px;
  color: var(--danger);
}

.offer-box {
  padding: 24px;
}

.legal-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.future {
  padding-top: 24px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 700;
}

.footer-year {
  color: var(--muted);
  font-size: 14px;
}

.document-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.simple-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  padding: clamp(16px, 4vw, 28px);
}

.result-card,
.document {
  width: min(760px, 100%);
  padding: clamp(26px, 5vw, 54px);
}

.result-card {
  width: min(620px, 100%);
  padding: clamp(24px, 4vw, 42px);
  text-align: left;
}

.result-card h1 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.document-page {
  display: block;
}

.document {
  margin: 24px auto;
}

.document h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.document h2 {
  margin-top: 32px;
  font-size: 22px;
  line-height: 1.25;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--accent);
  font-weight: 760;
}

.admin-page {
  background: #f4f1ec;
}

.admin-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
}

.admin-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-filters a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font-weight: 700;
}

.admin-filters a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.admin-search {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 10px;
  margin: 0 0 18px;
}

.admin-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table-wrap,
.admin-log {
  padding: 4px 0;
}

.admin-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.admin-table td span,
.admin-table td a {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.admin-actions {
  display: grid;
  gap: 6px;
}

.admin-actions button {
  width: 100%;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.admin-actions button:hover {
  border-color: var(--accent);
}

.admin-log {
  margin-top: 34px;
}

.admin-section-title {
  margin-bottom: 14px;
}

.admin-section-title h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}

.status-badge {
  display: inline-block !important;
  margin: 0 !important;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 780;
}

.status-paid {
  background: #e4f1e7;
  color: #2e6441 !important;
}

.status-pending {
  background: #f6edda;
  color: #8a6328 !important;
}

.status-expired {
  background: #f1e1de;
  color: var(--danger) !important;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero,
  .split,
  .info-section,
  .request-grid,
  .booking-layout,
  .booking-flow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .cards.three,
  .terms-grid,
  .methods-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section,
  .booking-section,
  .muted-band,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-year {
    margin-top: 0;
  }

  .section {
    padding: 54px 0;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .nav {
    gap: 18px;
    font-size: 13px;
  }

  .brand {
    font-size: 15px;
  }

  .header-action {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  h2 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .lead {
    font-size: 18px;
  }

  .dates-list,
  .request-list,
  .slots-list {
    grid-template-columns: 1fr;
  }

  .facts div {
    padding: 14px;
  }

  .facts dd {
    font-size: 15px;
  }

  .muted-band {
    padding: 28px 20px;
  }

  .booking-section {
    width: min(100% - 28px, 1120px);
  }

  .flow-step {
    padding: 18px 16px;
  }

  .flow-step-header {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }

  .step-number {
    width: 30px;
    height: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    padding: 18px 16px;
  }

  .simple-page {
    align-items: flex-start;
    padding-top: max(18px, env(safe-area-inset-top));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .result-card {
    width: 100%;
    padding: 22px 20px;
  }

  .result-card h1 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .result-actions {
    display: grid;
  }

  .result-actions .button {
    width: 100%;
  }

  .slots-list {
    max-height: 380px;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-search {
    grid-template-columns: 1fr;
  }
}
