:root {
  --ink: #3b1b1f;
  --muted: #806a66;
  --cream: #fffaf4;
  --paper: #fffdf9;
  --peach: #fff0e7;
  --coral: #f46f4a;
  --coral-dark: #c94a31;
  --rose: #eaa29a;
  --gold: #c6974c;
  --line: rgba(105, 55, 48, .13);
  --shadow: 0 18px 55px rgba(111, 61, 50, .12), 0 2px 8px rgba(88, 45, 38, .07);
  --page-background: radial-gradient(circle at 8% 4%, rgba(255, 205, 172, .45), transparent 25rem), linear-gradient(145deg, #fffaf5 0%, #fff2e9 50%, #fdf8f4 100%);
  --story-background: radial-gradient(circle at 90% 0, rgba(255, 188, 144, .45), transparent 28rem), #fff8f2;
  --form-background: radial-gradient(circle at 95% 5%, rgba(255, 191, 151, .4), transparent 28rem), radial-gradient(circle at 0 50%, rgba(239, 172, 160, .18), transparent 30rem), #fffaf5;
  --selected-background: linear-gradient(135deg, #fff, #fff2e9);
  --summary-background: linear-gradient(135deg, #4b2528, #754139);
  --primary-background: linear-gradient(135deg, #f88c60, #df5136);
  --primary-shadow: 0 14px 30px rgba(211, 75, 47, .27), inset 0 1px rgba(255, 255, 255, .35);
  --focus-ring: rgba(244, 111, 74, .1);
  --content-surface: rgba(255, 253, 249, .88);
  --control-surface: rgba(255, 246, 240, .65);
  --success-background: radial-gradient(circle at top, #ffe1cd, transparent 30rem), linear-gradient(145deg, #fffaf4, #fff0e8);
  --type-page-font: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  --type-page-size: 26px;
  --type-page-color: var(--ink);
  --type-section-font: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  --type-section-size: 16px;
  --type-section-color: var(--ink);
  --type-body-font: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  --type-body-size: 16px;
  --type-body-color: var(--ink);
  --type-button-font: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  --type-button-size: 16px;
  --type-button-color: #fff;
  --type-price-font: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  --type-price-size: 14px;
  --type-price-color: var(--coral-dark);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

:root[data-theme="rose-gold"] {
  --ink: #4b2130;
  --muted: #896b76;
  --cream: #fff8fa;
  --paper: #fffdfd;
  --peach: #fcecf1;
  --coral: #d96882;
  --coral-dark: #a83e59;
  --rose: #eab0bd;
  --gold: #b98a53;
  --line: rgba(113, 58, 78, .14);
  --shadow: 0 18px 55px rgba(104, 49, 70, .12), 0 2px 8px rgba(80, 37, 53, .07);
  --page-background: radial-gradient(circle at 8% 4%, rgba(245, 190, 207, .46), transparent 25rem), linear-gradient(145deg, #fffafb 0%, #fceef3 52%, #fff8f2 100%);
  --story-background: radial-gradient(circle at 90% 0, rgba(236, 171, 190, .4), transparent 28rem), #fff8fa;
  --form-background: radial-gradient(circle at 95% 5%, rgba(240, 177, 196, .38), transparent 28rem), radial-gradient(circle at 0 50%, rgba(218, 174, 197, .16), transparent 30rem), #fffafd;
  --selected-background: linear-gradient(135deg, #fff, #fcecf2);
  --summary-background: linear-gradient(135deg, #542637, #82445d);
  --primary-background: linear-gradient(135deg, #e38398, #bd4f6b);
  --primary-shadow: 0 14px 30px rgba(177, 64, 91, .24), inset 0 1px rgba(255, 255, 255, .35);
  --focus-ring: rgba(217, 104, 130, .12);
  --content-surface: rgba(255, 252, 253, .9);
  --control-surface: rgba(253, 239, 244, .7);
  --success-background: radial-gradient(circle at top, #f8dce6, transparent 30rem), linear-gradient(145deg, #fffafd, #fbedf3);
}

:root[data-theme="pearl-blue"] {
  --ink: #1e3444;
  --muted: #667b89;
  --cream: #f8fcff;
  --paper: #fff;
  --peach: #eaf4fa;
  --coral: #4c9bc6;
  --coral-dark: #2d6f99;
  --rose: #9fc6dc;
  --gold: #c7a45b;
  --line: rgba(48, 91, 117, .15);
  --shadow: 0 18px 55px rgba(38, 83, 111, .12), 0 2px 8px rgba(30, 68, 91, .07);
  --page-background: radial-gradient(circle at 8% 4%, rgba(177, 221, 242, .48), transparent 25rem), linear-gradient(145deg, #fbfdff 0%, #edf7fc 52%, #f8fbfd 100%);
  --story-background: radial-gradient(circle at 90% 0, rgba(162, 211, 236, .4), transparent 28rem), #f7fcff;
  --form-background: radial-gradient(circle at 95% 5%, rgba(163, 215, 239, .38), transparent 28rem), radial-gradient(circle at 0 50%, rgba(175, 207, 223, .18), transparent 30rem), #f8fcff;
  --selected-background: linear-gradient(135deg, #fff, #eaf5fb);
  --summary-background: linear-gradient(135deg, #213c50, #386781);
  --primary-background: linear-gradient(135deg, #65afd3, #347fa9);
  --primary-shadow: 0 14px 30px rgba(44, 119, 159, .23), inset 0 1px rgba(255, 255, 255, .35);
  --focus-ring: rgba(76, 155, 198, .13);
  --content-surface: rgba(252, 254, 255, .91);
  --control-surface: rgba(235, 247, 252, .72);
  --success-background: radial-gradient(circle at top, #dceff8, transparent 30rem), linear-gradient(145deg, #f9fdff, #eaf6fb);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--type-body-color);
  background: var(--page-background);
  font-family: var(--type-body-font);
  font-size: clamp(14px, var(--type-body-size), 18px);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell { min-height: 100vh; }
.screen { min-height: 100vh; }
.screen[hidden] { display: none !important; }

.landing-screen {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100svh;
  padding: max(28px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  background: #271d1a;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
}

.hero-light {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(15, 18, 13, .03) 10%, rgba(37, 23, 20, .12) 44%, rgba(48, 25, 25, .83) 100%),
    linear-gradient(90deg, rgba(255, 183, 130, .14), transparent 45%);
}

.hero-light::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 50px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 211, 171, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 220, 182, .05), 0 0 0 70px rgba(255, 220, 182, .035);
}

.landing-content {
  width: min(100%, 590px);
  margin: 0 auto;
}

.brand-lockup {
  color: white;
  text-align: center;
  text-shadow: 0 2px 24px rgba(36, 19, 17, .35);
}

.lotus-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 8px;
  color: #ffd5ad;
  border: 1px solid rgba(255, 218, 183, .5);
  border-radius: 24px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 12px 30px rgba(40, 16, 12, .2);
}

.lotus-mark svg { width: 48px; height: 48px; stroke-width: 1.45; }
.lotus-mark svg circle { fill: #f9bc64; stroke: none; }

.eyebrow {
  margin: 0;
  color: #ffc99c;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand-lockup h1 {
  margin: 2px 0;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: clamp(3rem, 14vw, 5.3rem);
  font-weight: 700;
  line-height: 1.05;
}

.specialist { margin: 7px 0 12px; color: #fff7ef; font-size: .92rem; }
.specialist span { display: inline-block; width: 20px; height: 1px; margin: 0 8px 4px; background: #f4b47e; }

.service-promise {
  position: relative;
  display: grid;
  gap: 1px;
  margin: 0 0 16px;
  padding: 2px 15px 4px 0;
  color: #fffaf4;
  text-align: right;
  text-shadow: 0 2px 18px rgba(20, 8, 6, .56);
  pointer-events: none;
}

.service-promise::before {
  content: "";
  position: absolute;
  inset: 6px 0 7px auto;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffe0b8, #f48558);
  box-shadow: 0 0 16px rgba(255, 187, 126, .46);
}

.service-promise__kicker { color: #ffc797; font-size: .68rem; font-weight: 800; line-height: 1.6; }
.service-promise strong { overflow-wrap: anywhere; color: #ffe0bd; font-size: 1.13rem; line-height: 1.55; }
.service-promise > span:not(.service-promise__kicker) { overflow-wrap: anywhere; color: #fff; font-size: .86rem; font-weight: 750; line-height: 1.65; }
.service-promise small { overflow-wrap: anywhere; color: rgba(255, 247, 239, .84); font-size: .69rem; line-height: 1.7; }

.landing-actions { display: grid; gap: 12px; }

.landing-contact { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 12px; }
.landing-contact a, .landing-contact button { display: grid; place-items: center; min-width: 0; min-height: 60px; padding: 7px 3px; color: #fff7ef; text-decoration: none; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(39,24,22,.28); backdrop-filter: blur(14px); }
.landing-contact svg { width: 20px; height: 20px; }
.landing-contact span { margin-top: 4px; font-size: .58rem; white-space: nowrap; }
.landing-contact .messenger-letter { display: grid; place-items: center; width: 22px; height: 22px; margin: 0; color: #5d302c; border-radius: 8px; background: #ffd4b2; font-size: .72rem; font-weight: 900; }
.landing-contact [data-messenger-url] { border-color: rgba(255, 210, 173, .72); background: rgba(244, 111, 74, .42); }

.hero-action {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  gap: 13px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 12px 16px;
  color: white;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(38, 15, 12, .25), inset 0 1px rgba(255, 255, 255, .26);
  transition: transform .2s ease, filter .2s ease;
}

.hero-action:hover { transform: translateY(-2px); filter: brightness(1.035); }
.hero-action:active { transform: translateY(0); }
.hero-action--primary { background: var(--primary-background); }
.hero-action--glass { background: rgba(255, 250, 244, .15); backdrop-filter: blur(18px); }
.hero-action b, .hero-action small { display: block; }
.hero-action b { margin-bottom: 5px; overflow-wrap: anywhere; color: var(--type-button-color); font-family: var(--type-button-font); font-size: clamp(14px, var(--type-button-size), 18px); }
.hero-action small { color: rgba(255, 255, 255, .78); font-size: .73rem; }
.action-icon { display: grid; place-items: center; width: 50px; height: 50px; color: #fff3e9; border-radius: 17px; background: rgba(255, 255, 255, .15); }
.action-icon svg { width: 27px; height: 27px; }
.action-arrow { width: 21px; height: 21px; }

.privacy-line {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin: 15px 0 0;
  color: rgba(255, 247, 239, .72);
  text-align: center;
  font-size: .69rem;
  line-height: 1.7;
}

.privacy-line svg { flex: 0 0 16px; width: 16px; height: 16px; }

.story-link { display: block; margin: 8px auto 0; padding: 5px 12px; color: #ffd2ad; border: 0; border-bottom: 1px solid rgba(255, 210, 173, .48); background: transparent; font-size: .72rem; }

.story-screen { padding: 22px max(16px, calc((100vw - 900px) / 2)) 90px; background: var(--story-background); }
.brand-story-card { text-align: center; }
.story-lotus { margin-bottom: 18px; color: var(--coral-dark); border-color: rgba(198, 151, 76, .35); background: #fff4eb; box-shadow: none; }
.brand-story-card > p { max-width: 680px; margin: 0 auto 24px; color: var(--muted); font-size: .96rem; line-height: 2.1; white-space: pre-line; }
.brand-story-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 24px; }
.brand-story-gallery:empty { display: none; }
.brand-story-gallery figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--peach); }
.brand-story-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.brand-story-gallery figcaption { padding: 8px; color: var(--muted); font-size: .68rem; }

.form-screen {
  padding: 22px max(16px, calc((100vw - 900px) / 2)) 70px;
  background: var(--form-background);
}

.inner-header {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  width: min(100%, 900px);
  margin: 0 auto 17px;
}

.inner-header > div { min-width: 0; }
.inner-header h2 { margin: 2px 0 0; overflow-wrap: anywhere; color: var(--type-page-color); font-family: var(--type-page-font); font-size: clamp(20px, 4vw, min(var(--type-page-size), 30px)); line-height: 1.45; text-wrap: balance; }
.step-kicker { margin: 0; color: var(--coral-dark); font-size: .75rem; font-weight: 800; }

.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 7px 18px rgba(85, 42, 36, .08);
}
.icon-button svg { width: 23px; height: 23px; }

.preview-badge {
  padding: 7px 10px;
  color: #a44831;
  border: 1px solid rgba(215, 94, 60, .2);
  border-radius: 99px;
  background: rgba(255, 235, 222, .8);
  font-size: .68rem;
  font-weight: 800;
}

.progress-track { width: min(100%, 900px); height: 5px; margin: 0 auto 18px; overflow: hidden; border-radius: 99px; background: rgba(128, 80, 68, .1); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--coral)); }

.content-card {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(154, 99, 80, .13);
  border-radius: var(--radius-xl);
  background: var(--content-surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.field-section + .field-section, .health-section + .health-section { margin-top: 29px; padding-top: 28px; border-top: 1px solid var(--line); }

.section-heading { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
.section-heading > div { display: flex; min-width: 0; gap: 9px; align-items: center; }
.section-heading h3 { margin: 0; overflow-wrap: anywhere; color: var(--type-section-color); font-family: var(--type-section-font); font-size: clamp(14px, var(--type-section-size), 22px); text-wrap: balance; }
.section-heading small { color: var(--muted); font-size: .72rem; }
.section-number { display: grid; flex: 0 0 29px; place-items: center; width: 29px; height: 29px; color: white; border-radius: 10px; background: linear-gradient(135deg, var(--coral), var(--coral-dark)); font-size: .72rem; font-weight: 900; box-shadow: 0 7px 15px rgba(211, 76, 48, .2); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.service-card { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; min-height: 104px; padding: 10px; overflow: hidden; color: var(--ink); text-align: right; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 7px 22px rgba(89, 49, 40, .065); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 11px 25px rgba(89, 49, 40, .1); }
.service-card[aria-pressed="true"] { border-color: var(--coral); background: var(--selected-background); box-shadow: 0 0 0 2px var(--focus-ring), 0 13px 28px rgba(90, 55, 68, .14); }
.service-card img { width: 78px; height: 82px; object-fit: cover; border-radius: 16px; }
.service-copy { min-width: 0; }
.service-card b { display: block; margin-bottom: 6px; overflow-wrap: anywhere; font-size: .86rem; }
.service-copy em { display: block; margin: -2px 0 6px; overflow-wrap: anywhere; color: var(--coral-dark); font-size: .65rem; font-style: normal; font-weight: 800; }
.service-meta { display: grid; gap: 3px; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.service-meta strong { overflow-wrap: anywhere; color: var(--type-price-color); font-family: var(--type-price-font); font-size: clamp(13px, var(--type-price-size), 20px); font-weight: 900; }
.service-check { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 26px; height: 26px; color: white; border: 2px solid white; border-radius: 50%; background: #cfc2ba; box-shadow: 0 2px 10px rgba(59, 27, 31, .18); }
.service-card[aria-pressed="true"] .service-check { background: var(--coral); }
.service-check svg { width: 15px; height: 15px; stroke-width: 2.4; }

.schedule-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 13px; }
.date-fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 20px; }
.date-fieldset legend { padding: 0 8px; color: var(--muted); font-size: .72rem; }
.date-fieldset label span, .field-control > span { display: block; margin: 0 4px 7px; color: var(--muted); font-size: .7rem; font-weight: 700; }

input, select, textarea { width: 100%; color: var(--type-body-color); font-family: var(--type-body-font); font-size: clamp(16px, var(--type-body-size), 18px); outline: none; border: 1px solid rgba(111, 74, 64, .15); border-radius: 14px; background: white; transition: border-color .2s, box-shadow .2s; }
input, select { height: 50px; padding: 0 13px; }
textarea { padding: 14px; resize: vertical; line-height: 1.8; }
input:focus, select:focus, textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px var(--focus-ring); }
input::placeholder, textarea::placeholder { color: #b6a49e; }

.time-control, .phone-control { padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--control-surface); }
.clock-open { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 1fr 1fr; column-gap: 9px; align-items: center; width: 100%; min-height: 50px; padding: 5px 10px; color: var(--ink); text-align: right; border: 1px solid rgba(111,74,64,.15); border-radius: 14px; background: white; }
.clock-open svg { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--coral-dark); }
.clock-open b { align-self: end; font-size: .82rem; }
.clock-open small { align-self: start; color: var(--muted); font-size: .6rem; }
.phone-control { position: relative; display: block; }
.phone-control svg { position: absolute; left: 26px; bottom: 26px; width: 21px; height: 21px; color: var(--coral-dark); pointer-events: none; }
.phone-control input { padding-left: 50px; direction: ltr; text-align: right; }

.discount-section { padding: 18px; border: 1px dashed rgba(198, 151, 76, .4) !important; border-radius: 22px; background: linear-gradient(135deg, rgba(255, 249, 233, .9), rgba(255, 239, 228, .6)); }
.discount-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.discount-row .field-control input { text-transform: uppercase; }

.outline-button, .text-button { min-height: 49px; padding: 0 18px; color: var(--coral-dark); border: 1px solid rgba(201, 74, 49, .25); border-radius: 15px; background: white; font-weight: 800; }
.discount-message { min-height: 20px; margin: 8px 3px 0; color: var(--muted); font-size: .7rem; }
.field-error { min-height: 0; margin: 8px 4px 0; color: #b52927; font-size: .72rem; font-weight: 700; }
.field-error:empty { display: none; }

.booking-summary { margin: 28px 0 18px; padding: 20px; color: #fffaf4; border-radius: 24px; background: var(--summary-background); box-shadow: 0 17px 34px rgba(47, 43, 57, .2); }
.summary-title { display: flex; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.summary-title span { font-weight: 900; }
.summary-title small { color: #f3c9b3; }
.booking-summary dl { margin: 13px 0 0; }
.booking-summary dl div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; }
.booking-summary dt { color: #eadbd2; font-size: .76rem; }
.booking-summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-family: var(--type-price-font); font-size: clamp(13px, var(--type-price-size), 20px); font-weight: 900; text-align: left; }
.booking-summary .discount-value { color: #ffd28a; }
.booking-summary .summary-total { margin-top: 6px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .15); }
.booking-summary .summary-total dt, .booking-summary .summary-total dd { color: white; font-size: .9rem; }

.primary-button { display: flex; gap: 10px; align-items: center; justify-content: center; width: 100%; min-height: 62px; padding: 12px 20px; overflow-wrap: anywhere; color: var(--type-button-color); border: 0; border-radius: 19px; background: var(--primary-background); box-shadow: var(--primary-shadow); font-family: var(--type-button-font); font-size: clamp(14px, var(--type-button-size), 18px); font-weight: 900; line-height: 1.6; text-align: center; transition: transform .2s, filter .2s; }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.03); }
.primary-button svg { width: 21px; height: 21px; }
.submit-note { margin: 10px 8px 0; color: var(--muted); text-align: center; font-size: .66rem; line-height: 1.8; }

.prefill-card { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; margin-bottom: 27px; padding: 15px; border: 1px solid rgba(48, 143, 105, .17); border-radius: 20px; background: #f3fbf7; }
.prefill-icon { display: grid; place-items: center; width: 44px; height: 44px; color: white; border-radius: 15px; background: #479977; }
.prefill-icon svg { width: 24px; height: 24px; stroke-width: 2.3; }
.prefill-card b { font-size: .78rem; }
.prefill-card p { margin: 4px 0 0; color: #668074; font-size: .68rem; line-height: 1.7; }
.prefill-card button { color: var(--coral-dark); border: 0; background: transparent; font-size: .72rem; font-weight: 900; }

.input-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.input-grid .wide { grid-column: 1 / -1; }
.input-grid .field-control, .textarea-control { display: block; padding: 11px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255, 247, 241, .55); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-grid span { display: grid; place-items: center; min-height: 52px; padding: 9px; color: var(--muted); text-align: center; border: 1px solid var(--line); border-radius: 16px; background: white; font-size: .72rem; line-height: 1.55; transition: all .2s; }
.choice-grid input:checked + span { color: var(--coral-dark); border-color: var(--coral); background: var(--peach); box-shadow: 0 0 0 2px rgba(244, 111, 74, .08); font-weight: 900; }

.health-flags { margin-top: 12px; }
.upload-box { display: flex; gap: 14px; align-items: center; margin-top: 13px; padding: 17px; cursor: pointer; border: 1px dashed rgba(201, 74, 49, .35); border-radius: 20px; background: #fff7f1; }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box svg { width: 32px; height: 32px; color: var(--coral-dark); }
.upload-box b, .upload-box small { display: block; }
.upload-box b { font-size: .8rem; }
.upload-box small { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.selected-files { display: grid; gap: 7px; margin-top: 9px; }
.selected-file { display: flex; justify-content: space-between; padding: 8px 12px; color: var(--muted); border-radius: 12px; background: #f8f1ec; font-size: .68rem; }

.consent-row { display: flex; gap: 11px; align-items: flex-start; margin: 28px 0 15px; padding: 15px; cursor: pointer; border: 1px solid var(--line); border-radius: 18px; background: #fff9f4; font-size: .73rem; line-height: 1.8; }
.consent-row input { flex: 0 0 21px; width: 21px; height: 21px; margin-top: 2px; accent-color: var(--coral); }

.success-screen { display: grid; place-items: center; padding: 25px; background: var(--success-background); }
.success-card { width: min(100%, 560px); padding: 38px 25px; text-align: center; border: 1px solid var(--line); border-radius: 34px; background: rgba(255, 255, 255, .86); box-shadow: var(--shadow); }
.success-mark { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 18px; color: white; border-radius: 28px; background: linear-gradient(135deg, #55a784, #318364); box-shadow: 0 15px 30px rgba(48, 131, 100, .2); }
.success-mark svg { width: 42px; height: 42px; stroke-width: 2.4; }
.brand-story-card h2 { overflow-wrap: anywhere; color: var(--type-page-color); font-family: var(--type-page-font); font-size: clamp(18px, calc(var(--type-page-size) - 2px), 28px); text-wrap: balance; }
.success-card h2 { margin: 7px 0 12px; overflow-wrap: anywhere; color: var(--type-page-color); font-family: var(--type-page-font); font-size: clamp(18px, calc(var(--type-page-size) - 3px), 27px); text-wrap: balance; }
.success-card > p:not(.eyebrow) { margin: 0 auto 25px; max-width: 430px; color: var(--muted); font-size: .8rem; line-height: 2; }
.contact-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.contact-button { display: flex; align-items: center; justify-content: center; min-height: 52px; color: white; text-decoration: none; border-radius: 16px; font-size: .78rem; font-weight: 900; }
.contact-button.whatsapp { background: #269b63; }
.contact-button.telegram { background: #3298cf; }
.contact-button.pending { gap: 5px; color: #806c64; background: #f1ebe7; }
.contact-button.pending small { font-size: .6rem; font-weight: 500; }
.contact-button.bale { background: #4f7bd9; }
.contact-button.eitaa { background: #e27735; }
.contact-save { width: 100%; margin-top: 12px; }
.text-button { margin-top: 14px; border: 0; background: transparent; }

.next-step-card { display: grid; gap: 6px; margin: 0 0 18px; padding: 16px; text-align: right; border: 1px solid rgba(198,151,76,.24); border-radius: 18px; background: #fff7e9; }
.next-step-card b { color: var(--coral-dark); font-size: .78rem; }
.next-step-card span { color: var(--muted); font-size: .72rem; line-height: 1.9; }
.booking-success-screen .primary-button { margin-top: 10px; }
.delivery-state { margin: -12px auto 18px !important; padding: 10px 13px; color: #2f775d !important; border-radius: 14px; background: #eef9f4; font-size: .7rem !important; line-height: 1.8 !important; }

.wizard-nav { display: grid; grid-template-columns: minmax(105px,.35fr) 1fr; gap: 10px; margin-top: 22px; }
.wizard-nav .outline-button, .wizard-nav .primary-button { min-height: 58px; }

.form-help { margin: -5px 0 14px; color: var(--muted); font-size: .72rem; line-height: 1.9; }
.pain-map { position: relative; overflow: hidden; cursor: crosshair; touch-action: manipulation; user-select: none; border: 1px solid var(--line); border-radius: 25px; background: var(--selected-background); box-shadow: inset 0 0 45px rgba(116,128,153,.08); }
.pain-map img { display: block; width: 100%; height: auto; }
.marker-layer { position: absolute; inset: 0; }
.pain-marker { position: absolute; display: grid; place-items: center; width: 31px; height: 31px; padding: 0; color: white; border: 3px solid white; border-radius: 50%; background: hsl(calc(120 - var(--pain) * 10),78%,48%); box-shadow: 0 3px 13px rgba(91,39,31,.32); transform: translate(-50%,-50%); font-size: .65rem; font-weight: 900; }
.pain-marker.selected { outline: 3px solid rgba(244,111,74,.35); }
.pain-controls { display: none; margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 21px; background: #fff6ef; }
.pain-controls.show { display: block; }
.range-head, .range-labels { display: flex; justify-content: space-between; gap: 10px; }
.range-head { margin-bottom: 8px; font-size: .78rem; font-weight: 800; }
.range-value { color: var(--coral-dark); }
.range-labels { color: var(--muted); font-size: .62rem; }
input[type="range"] { height: 28px; padding: 0; accent-color: var(--coral); border: 0; background: transparent; box-shadow: none; }
.pain-selects { margin-top: 13px; }
.mini-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; margin-top: 10px; }
.danger-outline { color: #b52927; border-color: rgba(181,41,39,.25); }
.pain-list { display: grid; gap: 7px; margin-top: 11px; }
.pain-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; color: var(--muted); border-radius: 13px; background: #f8f1ec; font-size: .68rem; }
.pain-row strong { color: var(--coral-dark); }
.pain-note { margin-top: 14px; }

.recorder-card { padding: 19px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg,#fff9f5,#fff0e7); }
.recorder-visual { display: flex; gap: 14px; align-items: center; justify-content: center; min-height: 88px; padding: 14px; color: var(--coral-dark); border-radius: 18px; background: white; }
.recorder-visual strong { min-width: 48px; direction: ltr; font-size: .9rem; }
.wave { display: flex; gap: 4px; align-items: center; justify-content: center; height: 45px; }
.wave i { width: 4px; height: 16px; border-radius: 99px; background: linear-gradient(var(--coral),var(--gold)); }
.wave i:nth-child(2n) { height: 30px; }.wave i:nth-child(3n) { height: 22px; }.wave i:nth-child(5n) { height: 40px; }
.recorder-visual.is-recording .wave i { animation: waveform .7s ease-in-out infinite alternate; }
.recorder-visual.is-recording .wave i:nth-child(2n) { animation-delay: -.3s; }.recorder-visual.is-recording .wave i:nth-child(3n) { animation-delay: -.5s; }
@keyframes waveform { to { height: 44px; } }
.recorder-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 12px; }
.record-button { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 54px; color: var(--coral-dark); border: 1px solid rgba(201,74,49,.2); border-radius: 16px; background: white; font-size: .72rem; font-weight: 900; }
.record-button svg { width: 22px; height: 22px; }.record-button.stop { color: #a62b27; }.record-button:disabled { opacity: .45; cursor: not-allowed; }
.record-status { margin: 11px 0 0; color: var(--muted); text-align: center; font-size: .68rem; line-height: 1.8; }
.preview-media { display: grid; gap: 8px; margin-top: 10px; }
.preview-media audio, .preview-media video { width: 100%; max-height: 260px; border-radius: 14px; }
.camera-upload { background: #fffdf9; }

.global-call { position: fixed; z-index: 40; left: max(18px,env(safe-area-inset-left)); bottom: max(18px,env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center; min-height: 50px; padding: 0 15px; color: white; text-decoration: none; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; background: linear-gradient(135deg,#f78a5f,#d94d34); box-shadow: 0 12px 28px rgba(148,49,35,.32); font-size: .72rem; font-weight: 900; }
.global-call svg { width: 21px; height: 21px; }

.clock-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.clock-modal[hidden] { display: none; }
.clock-backdrop { position: absolute; inset: 0; background: rgba(54,28,27,.66); backdrop-filter: blur(5px); }
.clock-dialog { position: relative; width: min(100%,390px); overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 31px; background: #fffaf5; box-shadow: 0 25px 70px rgba(50,20,19,.35); }
.clock-dialog header { padding: 22px 22px 18px; color: white; background: linear-gradient(135deg,#ef7953,#c64b35); }
.clock-dialog header p { margin: 0 0 10px; font-size: .72rem; font-weight: 800; }
.clock-display { display: flex; align-items: center; gap: 5px; direction: ltr; }
.clock-display > button { padding: 0; color: rgba(255,255,255,.65); border: 0; background: transparent; font-size: 2.5rem; line-height: 1; }
.clock-display > button.is-active { color: white; }
.clock-display i { font-size: 2rem; font-style: normal; }
.period-switch { display: grid; margin-left: auto; direction: rtl; }
.period-switch button { padding: 3px 8px; color: rgba(255,255,255,.62); border: 0; border-radius: 8px; background: transparent; font-size: .65rem; }
.period-switch button.is-active { color: #6b2924; background: #ffe1c9; font-weight: 900; }
.clock-face { position: relative; width: min(82vw,320px); aspect-ratio: 1; margin: 22px auto; border-radius: 50%; background: radial-gradient(circle,#fff 0 8%,#fff3ea 9% 72%,#fae7db 73% 100%); box-shadow: inset 0 0 30px rgba(147,75,59,.08); }
.clock-number { position: absolute; z-index: 3; display: grid; place-items: center; width: 39px; height: 39px; padding: 0; color: var(--ink); border: 0; border-radius: 50%; background: transparent; transform: translate(-50%,-50%); font-size: .82rem; }
.clock-number.is-selected { color: white; background: var(--coral); box-shadow: 0 6px 17px rgba(205,72,48,.26); }
.clock-hand { position: absolute; z-index: 1; left: 50%; top: 50%; width: 3px; height: 40%; border-radius: 99px; background: var(--coral); transform: translate(-50%,-100%) rotate(var(--clock-angle)); transform-origin: 50% 100%; }
.clock-hand span { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); transform: translateX(-50%); }
.clock-center { position: absolute; z-index: 2; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); transform: translate(-50%,-50%); }
.clock-dialog footer { display: flex; gap: 8px; justify-content: flex-start; padding: 0 18px 18px; }
.clock-dialog footer .text-button { margin: 0; }
.modal-open { overflow: hidden; }

.toast { position: fixed; z-index: 20; right: 50%; bottom: max(22px, env(safe-area-inset-bottom)); width: min(calc(100% - 32px), 520px); padding: 13px 16px; color: white; text-align: center; border-radius: 14px; background: rgba(59, 27, 31, .94); box-shadow: 0 14px 35px rgba(44, 18, 21, .25); font-size: .76rem; line-height: 1.7; opacity: 0; pointer-events: none; transform: translate(50%, 18px); transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(50%, 0); }

@media (min-width: 760px) {
  .landing-screen { align-items: center; justify-items: end; padding-inline: max(6vw, 50px); }
  .landing-content { width: min(48vw, 560px); margin: 0; }
  .hero-photo { object-position: center 8%; }
  .hero-light { background: linear-gradient(90deg, rgba(24, 18, 15, .74) 0%, rgba(31, 23, 20, .34) 45%, rgba(31, 23, 20, .05) 70%), linear-gradient(180deg, rgba(20, 14, 13, .04), rgba(34, 18, 18, .24)); }
  .brand-lockup { text-align: right; }
  .lotus-mark { margin-right: 0; }
  .privacy-line { justify-content: flex-start; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { grid-template-columns: 88px 1fr; }
  .service-card img { width: 88px; }
  .service-card:last-child { grid-column: span 2; }
}

@media (max-width: 600px) {
  .landing-screen { min-height: 100svh; }
  .hero-photo { object-position: 51% 24%; }
  .inner-header { grid-template-columns: 44px 1fr; }
  .preview-badge { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 92px 1fr; }
  .service-card img { width: 92px; height: 86px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .date-fieldset { padding: 10px 8px; }
  .date-fieldset label span { font-size: .64rem; }
  input, select { padding-inline: 9px; font-size: .78rem; }
  .section-heading { align-items: center; }
  .section-heading small { max-width: 125px; text-align: left; line-height: 1.6; }
  .discount-row { grid-template-columns: 1fr; }
  .input-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .prefill-card { grid-template-columns: 42px 1fr; }
  .prefill-card button { grid-column: 2; justify-self: start; }
  .landing-contact { grid-template-columns: repeat(3,1fr); }
  .landing-contact a, .landing-contact button { min-height: 51px; }
  .recorder-actions { grid-template-columns: 1fr; }
  .wizard-nav { grid-template-columns: 92px 1fr; }
  .pain-row { align-items: flex-start; flex-direction: column; }
  .brand-story-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 390px) {
  .landing-screen { padding-inline: 15px; }
  .brand-lockup h1 { font-size: 3.4rem; }
  .service-promise { padding-inline-start: 13px; }
  .service-promise__kicker { font-size: .63rem; }
  .service-promise strong { font-size: 1.01rem; }
  .service-promise > span:not(.service-promise__kicker) { font-size: .79rem; }
  .service-promise small { font-size: .63rem; }
  .hero-action { min-height: 76px; grid-template-columns: 46px 1fr 20px; padding-inline: 11px; }
  .action-icon { width: 44px; height: 44px; }
  .content-card { padding: 15px; border-radius: 25px; }
  .date-fieldset { gap: 5px; }
  .date-fieldset select { padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
