/* /contact/ and /terms/ page-only styles. Uses the tokens from styles.css; adds nothing to other pages. */

.contact-layout {
  display: grid; gap: 1.5rem;
  padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
}
/* /contact/ without a form: the email and booking cards side by side. */
@media (min-width: 720px) {
  .contact-layout--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; gap: 1.5rem; }
}

.contact-form, .cf-success {
  background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
}
.cf-success[hidden], .contact-form[hidden] { display: none; }
.cf-title, .cf-success h2 { font-size: 1.45rem; letter-spacing: -0.02em; font-weight: 500; margin: 0 0 1.25rem; }
.cf-success p { color: var(--ink-2); margin: 0 0 0.75rem; }
.cf-success:focus { outline: none; }

.cf-field { margin-bottom: 1.1rem; }
.cf-field label, .cf-consent legend { display: block; font-weight: 600; font-size: 0.97rem; margin-bottom: 0.4rem; color: var(--ink); }
.cf-optional { font-weight: 400; color: var(--ink-3); }
.cf-field input, .cf-field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);   /* ≥16px: no iOS zoom */
  background: var(--white); border: 1.5px solid var(--hair-2); border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8, 127, 140, 0.18); }
.cf-field [aria-invalid="true"] { border-color: #b42318; }
.cf-hint { margin: 0.4rem 0 0; font-size: var(--t-small); color: var(--ink-3); }
.cf-err { margin: 0.4rem 0 0; font-size: var(--t-small); font-weight: 600; color: #b42318; }

.cf-consent { border: 1px solid var(--hair); border-radius: var(--r); padding: 1rem 1.1rem 0.6rem; margin: 1.5rem 0 1.25rem; background: var(--aqua-wash); }
.cf-consent legend { padding: 0 0.35rem; margin-left: -0.35rem; }
.cf-check { display: grid; grid-template-columns: 24px 1fr; gap: 0.8rem; align-items: start; margin: 0.35rem 0 0.9rem; }
.cf-check input {
  width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); cursor: pointer;
}
.cf-check label { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.cf-consent-note { margin: 0 0 0.6rem; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.cf-consent a, .cf-legal a, .cf-notice a, .cf-error a { color: var(--teal-2); text-underline-offset: 2px; }

.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-notice, .cf-error { margin: 0 0 1.1rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); font-size: var(--t-small); font-weight: 500; line-height: 1.5; }
.cf-notice--warn { background: #fff4d6; color: #5c4300; border: 1px solid #f1d68a; }
.cf-error { background: #fdecea; color: #8a1c12; border: 1px solid #f3c1bb; }
.cf-submit { width: 100%; justify-content: center; }
.cf-submit[disabled] { opacity: 0.55; cursor: not-allowed; }
@media (min-width: 600px) { .cf-submit { width: auto; } }
.cf-legal { margin: 1rem 0 0; font-size: 0.875rem; color: var(--ink-3); line-height: 1.5; }

.cf-aside { display: grid; gap: 1rem; }
.cf-aside-card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 1.25rem 1.35rem; }
.cf-aside-card h2 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
.cf-aside-card p { margin: 0 0 0.9rem; color: var(--ink-2); font-size: var(--t-small); }
.cf-aside-card p:last-child { margin-bottom: 0; }
.cf-aside-card .btn { width: 100%; justify-content: center; }
.cf-aside-card a:not(.btn) { color: var(--teal-2); font-weight: 600; }

/* Terms page: SMS terms block */
.prose .sms-terms { padding: 1.25rem 1.35rem; margin: 1rem 0 0; border: 1px solid var(--hair); border-radius: var(--r); background: var(--white); }
.prose .sms-terms h3 { font-size: 1.05rem; font-weight: 600; margin: 1.1rem 0 0.35rem; }
.prose .sms-terms h3:first-child { margin-top: 0; }
