@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
}

:root {
  --salon-blue: #0056b3;
  --salon-dark: #003366;
  --salon-accent: #2ca6ea;
  --salon-pale: #f0f9ff;
  --salon-text: #16283a;
  --salon-muted: #5c6b7a;
  --salon-white: #ffffff;
  --salon-success: #147a5b;
  --salon-line: #dce8f5;
  --salon-danger: #b42318;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(1200px 600px at 100% -5%, rgba(44, 166, 234, 0.14), transparent 60%),
    radial-gradient(900px 500px at -10% 105%, rgba(0, 86, 179, 0.1), transparent 55%),
    linear-gradient(165deg, var(--salon-pale) 0%, #e6f2fd 100%);
  color: var(--salon-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

.salon-skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: var(--salon-dark);
  color: var(--salon-white);
  text-decoration: none;
  transform: translateY(-160%);
}

.salon-skip-link:focus {
  transform: translateY(0);
}

.salon-page {
  min-height: 100vh;
  padding: 0 clamp(16px, 5vw, 24px) 56px;
}

.salon-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.salon-header {
  display: flex;
  justify-content: center;
  padding: clamp(28px, 7vw, 44px) 0 clamp(18px, 4vw, 24px);
}

.salon-header a {
  display: inline-block;
}

.salon-logo {
  display: block;
  width: auto;
  height: clamp(38px, 9vw, 50px);
  max-width: 92vw;
  object-fit: contain;
}

.salon-hero {
  text-align: center;
}

.salon-eyebrow {
  margin: 0 0 10px;
  color: var(--salon-blue);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.salon-title {
  margin: 0;
  color: var(--salon-dark);
  font-size: clamp(28px, 7vw, 37px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.salon-title span {
  color: var(--salon-blue);
}

.salon-subtitle {
  max-width: 460px;
  margin: 14px auto 0;
  color: var(--salon-muted);
  font-size: clamp(15px, 4vw, 16.5px);
}

.salon-benefits {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: clamp(24px, 6vw, 30px);
  overflow: hidden;
  border: 1px solid var(--salon-line);
  border-radius: 16px;
  background: var(--salon-line);
}

.salon-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--salon-white);
}

.salon-benefit__icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--salon-pale), #dcebfa);
  color: var(--salon-blue);
}

.salon-benefit__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.salon-benefit strong {
  display: block;
  color: var(--salon-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.salon-benefit p {
  margin: 3px 0 0;
  color: var(--salon-muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.salon-form,
.salon-success {
  margin-top: clamp(20px, 5vw, 24px);
  padding: clamp(22px, 5vw, 28px) clamp(20px, 5vw, 28px) clamp(24px, 5vw, 30px);
  border: 1px solid #e1edf8;
  border-radius: 20px;
  background: var(--salon-white);
  box-shadow: 0 18px 50px -18px rgba(0, 51, 102, 0.28);
}

.salon-form__title,
.salon-success h2 {
  margin: 0;
  color: var(--salon-dark);
  font-size: clamp(20px, 5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.salon-form__intro {
  margin: 5px 0 22px;
  color: var(--salon-muted);
  font-size: 13.5px;
}

.salon-row {
  display: flex;
  gap: 14px;
}

.salon-row .salon-field {
  flex: 1 1 0;
  min-width: 0;
}

.salon-field {
  margin-bottom: 17px;
}

.salon-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--salon-dark);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.salon-field label > span {
  color: var(--salon-danger);
}

.salon-field label small {
  color: var(--salon-muted);
  font-size: inherit;
  font-weight: 500;
}

.salon-field input,
.salon-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c9d9e9;
  border-radius: 10px;
  outline: 0;
  background: var(--salon-white);
  color: var(--salon-text);
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.salon-field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #42617f 50%),
    linear-gradient(135deg, #42617f 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.salon-field input::placeholder {
  color: #8797a7;
}

.salon-field input:hover,
.salon-field select:hover {
  border-color: #9bbbd8;
}

.salon-field input:focus,
.salon-field select:focus {
  border-color: var(--salon-accent);
  box-shadow: 0 0 0 4px rgba(44, 166, 234, 0.13);
}

.salon-field__error {
  display: none;
  margin: 6px 0 0;
  color: var(--salon-danger);
  font-size: 12.5px;
  font-weight: 600;
}

.salon-field.is-invalid input,
.salon-field.is-invalid select {
  border-color: #dc665d;
  background-color: #fffafa;
}

.salon-field.is-invalid .salon-field__error {
  display: block;
}

.salon-alert {
  display: none;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #f0b7b2;
  border-radius: 10px;
  background: #fff4f3;
  color: #8d2119;
  font-size: 13.5px;
}

.salon-alert.is-visible {
  display: block;
}

.salon-submit {
  display: flex;
  width: 100%;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #0064ce 0%, #004a9c 100%);
  box-shadow: 0 12px 24px -12px rgba(0, 70, 150, 0.72);
  color: var(--salon-white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.salon-submit:hover {
  box-shadow: 0 15px 28px -12px rgba(0, 70, 150, 0.82);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.salon-submit:focus-visible {
  outline: 3px solid rgba(44, 166, 234, 0.42);
  outline-offset: 3px;
}

.salon-submit:disabled {
  cursor: wait;
  filter: saturate(0.65);
  opacity: 0.78;
  transform: none;
}

.salon-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: var(--salon-white);
  border-radius: 50%;
  animation: salon-spin 700ms linear infinite;
}

.salon-submit.is-loading .salon-spinner {
  display: inline-block;
}

@keyframes salon-spin {
  to { transform: rotate(360deg); }
}

.salon-reassurance {
  margin: 11px 0 0;
  color: var(--salon-muted);
  font-size: 12.5px;
  text-align: center;
}

.salon-reassurance span {
  color: var(--salon-success);
  font-weight: 500;
}

.salon-privacy {
  margin: 17px 0 0;
  color: var(--salon-muted);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
}

.salon-privacy a {
  color: var(--salon-blue);
  font-weight: 500;
  text-underline-offset: 2px;
}

.salon-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.salon-success {
  text-align: center;
}

.salon-success[hidden] {
  display: none;
}

.salon-success__icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  background: #e5f7f1;
  color: var(--salon-success);
  font-size: 29px;
  font-weight: 800;
}

.salon-success > p {
  margin: 10px auto 0;
  color: var(--salon-muted);
  font-size: 14.5px;
}

.salon-recap {
  margin: 20px 0;
  padding: 14px;
  border-radius: 11px;
  background: var(--salon-pale);
  font-size: 13px;
}

.salon-recap span,
.salon-recap strong {
  display: block;
}

.salon-recap span {
  color: var(--salon-muted);
}

.salon-recap strong {
  margin-top: 3px;
  color: var(--salon-dark);
}

.salon-footer {
  padding: 26px 0 0;
  color: #526a80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

@media (max-width: 430px) {
  .salon-row {
    display: block;
  }

  .salon-page {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
