:root {
  --ink: #151816;
  --paper: #fffdf8;
  --soft: #f5f3ee;
  --red: #df4036;
  --green: #2f684d;
  --line: rgba(21, 24, 22, .13);
  --muted: #626862;
  --shadow: 0 22px 55px rgba(24, 28, 25, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 16px; background: white; }
.skip-link:focus { top: 16px; }

.site-header { display: flex; align-items: center; max-width: 1180px; min-height: 68px; margin: 0 auto; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; width: max-content; font-size: 15px; font-weight: 520; letter-spacing: .14em; text-decoration: none; }
.brand b { color: var(--red); font-weight: 850; }

.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr); grid-template-rows: auto auto; column-gap: 66px; max-width: 1180px; min-height: 700px; margin: 0 auto; padding: 66px 22px 72px; }
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.hero-action { grid-column: 1; grid-row: 2; align-self: start; }
.hero-visual { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.eyebrow { margin: 0 0 17px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .17em; line-height: 1.45; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 610px; font-size: clamp(54px, 5.5vw, 76px); line-height: .98; }
h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 590px; margin: 23px 0 0; color: #4e544f; font-size: 18px; line-height: 1.55; }
.offer-note { display: grid; gap: 5px; max-width: 590px; margin-top: 25px; padding: 14px 16px; background: #f9e9e6; border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; }
.offer-note strong { font-size: 12px; }
.offer-note span { color: #575d58; font-size: 12px; line-height: 1.45; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 13px 21px; border: 0; border-radius: 10px; font-weight: 820; text-decoration: none; cursor: pointer; }
.button-primary { color: white; background: var(--red); box-shadow: 0 12px 28px rgba(223, 64, 54, .2); }
.hero-action > .button { width: min(100%, 590px); margin-top: 18px; }
.cta-note { max-width: 590px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }

.calendar-animation { width: min(100%, 530px); margin: 0 auto; }
.calendar-state { display: flex; align-items: center; gap: 11px; min-height: 32px; margin: 0 0 9px 4px; }
.calendar-state span { padding: 6px 9px; color: #737873; background: #ebe9e4; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; transition: color .3s ease, background .3s ease; }
.calendar-state strong { font-size: 12px; transition: color .3s ease; }
.calendar-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); transition: border-color .5s ease, box-shadow .5s ease; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 23px 16px; border-bottom: 1px solid var(--line); }
.calendar-head > div:first-child { display: grid; gap: 4px; }
.calendar-head span { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.calendar-head strong { font-size: 15px; }
.calendar-nav { padding: 7px 9px; color: var(--muted); background: var(--soft); border-radius: 8px; font-size: 10px; font-weight: 760; }
.calendar-days { display: grid; grid-template-columns: 42px repeat(5, 1fr); padding: 13px 16px 8px; color: #8b8e8b; text-align: center; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.calendar-grid { display: grid; grid-template-columns: 42px repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(12, 1fr); min-height: 295px; margin: 0 16px 14px; overflow: hidden; background-color: rgba(244, 240, 232, .3); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 100% calc(100% / 12), calc((100% - 42px) / 5) 100%; background-position: 0 0, 42px 0; border: 1px solid var(--line); border-radius: 11px; transition: background-color .35s ease; }
.calendar-time { z-index: 1; grid-column: 1; grid-row: var(--row); align-self: start; padding: 4px; color: #949994; font-size: 6px; font-weight: 750; }
.booking { position: relative; z-index: 2; display: grid; align-content: center; grid-column: var(--column); grid-row: var(--row) / span var(--span); min-width: 0; margin: 2px 3px; padding: 4px 5px; overflow: hidden; border-left: 3px solid; border-radius: 6px; font-size: 7px; font-style: normal; font-weight: 800; line-height: 1.2; box-shadow: 0 3px 9px rgba(45, 96, 69, .09); }
.booking small { font-size: 5px; white-space: nowrap; }
.booking[style*="--span: 1"] small { display: none; }
.service-massage { color: #23513a; background: #dcecdf; border-left-color: #4e9d70; }
.service-facial { color: #86362f; background: #f8e7e4; border-left-color: #d95148; }
.service-wellness { color: #4f466f; background: #ebe7f6; border-left-color: #8375b4; }
.service-treatment { color: #725726; background: #f6edd8; border-left-color: #c99b45; }
.service-recovery { color: #315b67; background: #e0edf1; border-left-color: #67a1b2; }
.service-consultation { color: #575d58; background: #eceeeb; border-left-color: #939b94; }
.booking-added { opacity: 0; transform: translate(var(--entry-x, 0), 11px) scale(.91); will-change: opacity, transform; }
.booking-added.is-added { opacity: 1; transform: translate(0, 0) scale(1); animation: booking-arrive .55s cubic-bezier(.16, 1, .3, 1) both; }
.calendar-animation:not(.is-filling):not(.is-after) .booking-existing { color: #666b67; background: #ebe9e4; border-left-color: #aaa69f; box-shadow: none; }
.calendar-footer { display: flex; align-items: center; justify-content: space-between; padding: 0 21px 19px; color: var(--muted); font-size: 9px; }
.calendar-footer span { display: flex; align-items: center; gap: 7px; }
.calendar-footer i { width: 8px; height: 8px; background: #aaa69f; border-radius: 3px; transition: background .35s ease; }
.calendar-footer strong { display: inline-block; color: #737873; font-size: 10px; transition: color .35s ease; }
.calendar-footer strong.is-updating { animation: count-pop .25s cubic-bezier(.16, 1, .3, 1); }
.calendar-animation.is-filling .calendar-card { border-color: rgba(223, 64, 54, .22); box-shadow: 0 22px 55px rgba(223, 64, 54, .09); }
.calendar-animation.is-after .calendar-state span { color: white; background: var(--green); }
.calendar-animation.is-after .calendar-state strong { color: var(--green); }
.calendar-animation.is-after .calendar-card { border-color: rgba(47, 104, 77, .3); box-shadow: 0 24px 60px rgba(47, 104, 77, .15); }
.calendar-animation.is-after .calendar-grid { background-color: rgba(220, 233, 223, .16); }
.calendar-animation.is-filling .calendar-footer i, .calendar-animation.is-after .calendar-footer i { background: #75b58d; }
.calendar-animation.is-filling .calendar-footer strong, .calendar-animation.is-after .calendar-footer strong { color: var(--green); }

@keyframes booking-arrive {
  0% { opacity: 0; transform: translate(var(--entry-x, 0), 11px) scale(.91); filter: saturate(.72); }
  65% { opacity: 1; transform: translate(0, -1px) scale(1.02); filter: saturate(1.06); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); filter: saturate(1); }
}
@keyframes count-pop {
  0% { opacity: .45; transform: translateY(2px) scale(.95); }
  100% { opacity: 1; transform: none; }
}

.application { display: grid; grid-template-columns: .8fr 1.2fr; gap: 68px; align-items: start; padding: 76px max(22px, calc((100vw - 1136px) / 2)); background: #f4f3ef; }
.application-intro { padding-top: 18px; }
.application-intro h2, .proof-heading h2 { font-size: clamp(40px, 5vw, 56px); line-height: 1.02; }
.application-intro > p:last-child { max-width: 430px; margin: 20px 0 0; color: var(--muted); line-height: 1.6; }
.qualify-list { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.qualify-list li { display: flex; align-items: center; gap: 10px; color: #444a45; font-size: 14px; font-weight: 700; }
.qualify-list i { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; color: white; background: var(--green); border-radius: 50%; font-style: normal; font-size: 10px; }
.lead-form { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.form-progress { display: grid; gap: 8px; margin-bottom: 23px; }
.form-progress > span { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.form-progress > div { height: 5px; overflow: hidden; background: #eceae4; border-radius: 99px; }
.form-progress i { display: block; width: 50%; height: 100%; background: var(--red); border-radius: inherit; transition: width .25s ease; }
.form-step { margin: 0; padding: 0; border: 0; }
.form-step legend { width: 100%; margin-bottom: 22px; padding: 0; font-family: Georgia, serif; font-size: 27px; font-weight: 500; letter-spacing: -.025em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phone-grid { grid-template-columns: 1fr; }
.lead-form label { display: grid; gap: 7px; margin-bottom: 15px; }
.lead-form label > span { font-size: 11px; font-weight: 780; }
.lead-form label small { color: var(--muted); font-weight: 520; }
.lead-form input, .lead-form select { width: 100%; height: 50px; padding: 0 13px; color: var(--ink); background: #fbfaf7; border: 1px solid #d7d6d1; border-radius: 9px; outline: none; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 24, 22, .07); }
.form-next { width: 100%; margin-top: 3px; }
.button-consent { margin: 10px 4px 0; color: var(--muted); font-size: 9px; line-height: 1.45; text-align: center; }
.consent { display: flex !important; align-items: flex-start; gap: 10px !important; margin: 2px 0 17px !important; }
.consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); }
.consent span { color: var(--muted); font-size: 10px !important; font-weight: 520 !important; line-height: 1.45; }
.form-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.button-back { color: var(--muted); background: #eeece7; box-shadow: none; }
.form-privacy { margin: 13px 0 0; color: #858a85; font-size: 10px; text-align: center; }
.honeypot { position: absolute; left: -9999px; }

.proof { max-width: 1136px; margin: 0 auto; padding: 48px 22px 70px; border-top: 1px solid var(--line); }
.proof-heading { max-width: 650px; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.proof figure { margin: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 14px; }
.proof img { display: block; width: 100%; aspect-ratio: 12 / 7.6; object-fit: cover; }
.proof figcaption { padding: 12px 14px; font-size: 11px; font-weight: 800; }
.results-note { margin: 11px 1px 0; color: #858a85; font-size: 9px; }

footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 24px; padding: 28px 20px 34px; color: #7a7f7b; border-top: 1px solid var(--line); font-size: 10px; }
footer a { text-decoration: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; max-width: 760px; min-height: auto; padding-top: 52px; }
  .hero-copy, .hero-visual, .hero-action { grid-column: 1; grid-row: auto; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; margin-top: 28px; }
  .hero-action { order: 3; }
  .application { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 640px) {
  .site-header { min-height: 56px; padding: 11px 18px; }
  .brand { font-size: 13px; }
  .hero { padding: 29px 18px 45px; }
  .eyebrow { margin-bottom: 11px; font-size: 8px; }
  h1 { font-size: 43px; line-height: .97; }
  .hero-lead { margin-top: 15px; font-size: 15px; line-height: 1.48; }
  .hero-visual { margin-top: 19px; }
  .calendar-state { margin-bottom: 7px; }
  .calendar-state span { padding: 5px 7px; font-size: 6px; }
  .calendar-state strong { font-size: 10px; }
  .calendar-card { border-radius: 16px; }
  .calendar-head { padding: 13px 13px 11px; }
  .calendar-days { grid-template-columns: 31px repeat(5, 1fr); padding: 11px 10px 7px; font-size: 7px; }
  .calendar-grid { grid-template-columns: 31px repeat(5, minmax(0, 1fr)); min-height: 210px; margin: 0 9px 9px; background-size: 100% calc(100% / 12), calc((100% - 31px) / 5) 100%; background-position: 0 0, 31px 0; }
  .calendar-time { padding: 2px; font-size: 4px; }
  .booking { margin: 1px 2px; padding: 3px; font-size: 5px; }
  .booking small { font-size: 4px; }
  .calendar-footer { padding: 0 11px 11px; font-size: 8px; }
  .offer-note { margin-top: 16px; padding: 12px 13px; }
  .hero-action > .button { margin-top: 13px; font-size: 13px; }
  .cta-note { font-size: 10px; }
  .application { gap: 25px; padding: 52px 18px; }
  .application-intro { padding-top: 0; }
  .application-intro h2, .proof-heading h2 { font-size: 39px; }
  .application-intro > p:last-child { margin-top: 14px; font-size: 14px; }
  .lead-form { padding: 21px 17px; border-radius: 15px; }
  .form-step legend { font-size: 24px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .lead-form label { margin-bottom: 12px; }
  .lead-form input, .lead-form select { height: 48px; }
  .form-actions { grid-template-columns: 1fr; }
  .form-submit { order: 1; }
  .button-back { order: 2; min-height: 44px; }
  .proof { padding: 42px 18px 55px; }
  .proof-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .booking-added { opacity: 1; transform: none; animation: none !important; }
  .calendar-footer strong { animation: none !important; }
}
