.appointment-section { background: linear-gradient(180deg, #f8f4e7 0, #fffdf8 420px); padding: 130px 0 110px; }
.appointment-heading { position: relative; }
.appointment-heading .eyebrow { color: #9d8054; }
.appointment-introduction { border-left: 1px solid #d9c9ac; padding-left: 28px; }
.appointment-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; margin-bottom: 68px; }
.appointment-introduction { max-width: 400px; padding-bottom: 5px; }
.appointment-introduction p { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0 0 24px; }
.text-link { display: inline-flex; align-items: center; gap: 21px; color: var(--brown); font-size: 13px; font-weight: 600; padding-block: 8px; text-underline-offset: 6px; }
.text-link:hover { text-decoration: underline; }
.appointment-layout { display: grid; grid-template-columns: minmax(290px,.85fr) minmax(0,1.15fr); gap: clamp(24px,3vw,42px); align-items: start; }
.appointment-schedule, .appointment-details { min-width: 0; border: 1px solid #e6dece; border-radius: 20px; box-shadow: 0 18px 48px rgba(64,45,31,.055); }
.appointment-schedule { max-width: none; padding: clamp(24px,3vw,38px); background: #f7f3eb; }
.appointment-details { padding: clamp(26px,3.5vw,46px); background: #fffefa; }
.booking-step { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 15px; font-weight: 600; color: var(--brown); letter-spacing: -.01em; }
.booking-step > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #d9c7a7; border-radius: 50%; background: #fffdf8; color: #9d8054; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.calendar-toolbar h3 { font-family: var(--serif); font-size: 29px; font-weight: 600; margin: 0; }
.calendar-toolbar > div { display: flex; flex-shrink: 0; gap: 5px; }
.calendar-nav { border: 0; background: none; color: var(--brown); width: 42px; height: 42px; border-radius: 50%; font-size: 22px; transition: background .2s; }
.calendar-nav:hover:not(:disabled) { background: #eee5d5; }
.calendar-nav:disabled { opacity: .25; cursor: default; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; text-align: center; }
.calendar-weekdays { color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.calendar-weekdays span { padding-block: 8px; }
.calendar-day { justify-self: center; border: 0; border-radius: 50%; width: min(44px,100%); aspect-ratio: 1; padding: 0; background: none; color: var(--brown); font-size: 14px; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, transform .2s; }
.calendar-day:hover:not(:disabled) { background: #eee5d5; transform: translateY(-1px); }
.calendar-day[aria-current=date] { box-shadow: inset 0 0 0 1px #b7966366; }
.calendar-day[aria-pressed=true] { background: var(--brown); color: var(--paper); }
.calendar-day:disabled { color: #bfb5a8; cursor: default; }
.schedule-selection { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; margin-top: 23px; }
.time-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.time-option { border: 1px solid transparent; border-radius: 999px; min-height: 38px; padding: 9px 13px; background: #fffdf8; color: var(--brown); font-size: 11px; font-weight: 500; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.time-option:hover:not(:disabled) { transform: translateY(-1px); }
.time-option:hover:not(:disabled), .time-option[aria-pressed=true] { background: var(--brown); color: var(--paper); }
.time-option:disabled { opacity: .4; cursor: default; }
.booking-hint, .booking-privacy { color: var(--muted); font-size: 12px; line-height: 1.75; margin: 20px 0 0; }
.booking-privacy { font-size: 11px; margin-top: 24px; max-width: 510px; }
.booking-privacy a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.booking-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px 28px; }
.booking-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.booking-field > span { font-size: 11px; font-weight: 600; color: #745b43; line-height: 1.5; letter-spacing: .025em; }
.booking-field small { font-size: inherit; color: var(--muted); font-weight: 400; }
.booking-field input, .booking-field select, .booking-field textarea { display: block; width: 100%; min-width: 0; min-height: 50px; border: 1px solid #e3dccf; border-radius: 9px; background: #fffefa; color: var(--ink); padding: 11px 13px; font: 400 14px/1.5 var(--sans); box-shadow: 0 1px 2px rgba(45,32,22,.025); transition: border-color .2s, box-shadow .2s, background .2s; }
.booking-field input:focus, .booking-field select:focus, .booking-field textarea:focus { outline: none; border-color: #c9ad7b; background: #fff; box-shadow: 0 0 0 3px rgba(183,150,99,.12); }
.booking-field input:focus-visible, .booking-field select:focus-visible, .booking-field textarea:focus-visible { outline: 2px solid #c9ad7b; outline-offset: 2px; }
.booking-field input:-webkit-autofill, .booking-field input:-webkit-autofill:hover, .booking-field input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px #fffefa inset, 0 0 0 1px #e3dccf; border: 1px solid #e3dccf; border-radius: 9px; caret-color: var(--ink); }
.booking-field input::placeholder, .booking-field textarea::placeholder { color: #958879; font-size: 14px; }
.booking-field textarea { resize: vertical; max-height: 180px; min-height: 86px; }
.booking-field select { appearance: none; padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%234e342e'/%3E%3C/svg%3E") right 15px no-repeat; }
.booking-field-wide { grid-column: 1/-1; }
.primary-button, .secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; border-radius: 999px; padding: 15px 24px; border: 1px solid var(--cta-bg); background: var(--cta-bg); color: var(--cta-fg); font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.primary-button > .button-arrow, .secondary-button > .button-arrow { font-size: 21px; font-weight: 400; line-height: 1; }
.primary-button:hover, .secondary-button:hover { background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-3px); }
.primary-button svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.secondary-button:disabled { opacity: .6; cursor: progress; }
.booking-submit { margin-top: 25px; }
.booking-submit { min-height: 56px; padding-inline: 27px; box-shadow: 0 8px 20px rgba(78,52,46,.13); }
.form-error { color: #a52f20; font-size: 13px; line-height: 1.7; margin: 17px 0 0; }
.appointment-result { padding-top: 35px; border-top: 1px solid var(--line); }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.result-heading h3 { font-family: var(--serif); font-size: clamp(35px,4vw,52px); font-weight: 600; line-height: 1.08; margin: 0; color: var(--brown); }
.request-reference { font-size: 12px; font-weight: 600; color: var(--brown); letter-spacing: .07em; overflow-wrap: anywhere; }
.request-status { max-width: 720px; margin: 23px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.request-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px 40px; margin: 0 0 35px; }
.request-summary dt { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.request-summary dd { color: var(--brown); font-size: 15px; font-weight: 500; margin: 0; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.request-summary .summary-notes { grid-column: 1/-1; }
.appointment-result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.text-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid var(--cta-bg); border-radius: 999px; background: var(--cta-bg); color: var(--cta-fg); padding: 10px 18px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.text-button:hover { background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-3px); }
.floating-whatsapp { position: fixed; bottom: max(22px,env(safe-area-inset-bottom)); right: 24px; z-index: 25; width: 58px; height: 58px; border: 1px solid #ffffffa6; border-radius: 50%; background: var(--cta-bg); color: var(--cta-fg); display: grid; place-items: center; box-shadow: 0 5px 18px #00000026; transition: transform .25s var(--ease), background .25s; }
.floating-whatsapp > svg { width: 31px; height: 31px; fill: currentColor; }
.floating-whatsapp:hover { background: var(--cta-hover); transform: translateY(-3px); }
.whatsapp-tooltip { position: absolute; right: calc(100% + 12px); color: var(--brown); background: var(--ivory); border-radius: 999px; padding: 11px 16px; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(5px); transition: opacity .2s, transform .2s; }
.floating-whatsapp:hover .whatsapp-tooltip, .floating-whatsapp:focus-visible .whatsapp-tooltip { opacity: 1; transform: none; }
@media(max-width:1000px) {
  .appointment-layout { gap: 40px; }
  .appointment-heading { gap: 45px; }
  .booking-fields { gap: 22px 20px; }
}
@media(max-width:760px) {
  .appointment-section { padding: 112px 0 85px; }
  .appointment-heading { display: block; margin-bottom: 40px; }
  .appointment-introduction { margin-top: 25px; max-width: none; }
  .appointment-layout { grid-template-columns: 1fr; gap: 20px; }
  .appointment-introduction { border-left: 0; border-top: 1px solid #d9c9ac; padding: 18px 0 0; }
  .appointment-schedule, .appointment-details { border-radius: 16px; }
  .appointment-schedule { max-width: none; }
  .calendar-toolbar h3 { font-size: clamp(22px,5.6vw,27px); }
  .calendar-days { row-gap: 7px; }
  .calendar-day { height: 42px; max-width: 100%; }
  .booking-privacy { font-size: 12px; }
  .booking-field input, .booking-field select, .booking-field textarea { font-size: 16px; scroll-margin-top: 100px; }
  .result-heading { display: block; }
  .request-reference { display: block; margin-top: 20px; }
  .request-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .appointment-result-actions { align-items: stretch; }
  .appointment-result-actions .primary-button, .appointment-result-actions .secondary-button { width: 100%; }
  .floating-whatsapp { width: 51px; height: 51px; right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); }
  .floating-whatsapp > svg { width: 28px; height: 28px; }
  .whatsapp-tooltip { display: none; }
  .footer-bottom { padding-right: 63px; }
}
@media(max-width:480px) {
  .appointment-schedule, .appointment-details { padding: 22px 18px; }
  .booking-fields { grid-template-columns: 1fr; }
  .schedule-selection { gap: 18px; }
  .booking-submit { width: 100%; padding-inline: 14px; gap: 10px; font-size: 12px; }
  .time-options { gap: 6px; }
  .time-option { padding-inline: 12px; }
}
@media(max-width:380px) {
  .schedule-selection { grid-template-columns: 1fr; }
  .appointment-result-actions .primary-button, .appointment-result-actions .secondary-button { padding-inline: 14px; gap: 10px; font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .floating-whatsapp:hover { transform: none; }
}
