/* ======== Contact page styles ======== */

.page-head {
  padding: 160px 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--mute); margin-bottom: 32px; }
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--accent); }
.page-head h1 {
  font-size: clamp(52px, 9vw, 140px);
  font-weight: 300;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 16ch;
}
.page-head h1 em { font-style: italic; color: var(--accent); }
@media (max-width: 800px) { .page-head { padding: 130px 0 60px; } }

.contact-main { background: var(--paper-2); }
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.3fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.info-block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.info-block:last-child { border-bottom: 0; }
.info-block .eyebrow { color: var(--mute); }
.info-block .eyebrow::before { background: var(--mute); }
.info-link {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .3s;
  line-height: 1.1;
}
.info-link:hover { color: var(--accent); }
.info-block p { margin: 0; color: var(--ink-3); font-size: 14px; }
.hours { display: flex; flex-direction: column; gap: 10px; }
.hours > div { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); gap: 20px; }
.hours b { font-weight: 500; color: var(--ink); }
.hours span { color: var(--ink-3); font-size: 14px; }
address { font-style: normal; color: var(--ink-2); font-size: 16px; line-height: 1.5; }

@media (max-width: 900px) { .contact-info { position: static; } }

/* Form */
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
}
.cform { display: flex; flex-direction: column; gap: 24px; }
.cform-head { margin-bottom: 16px; }
.cform-head h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 16px 0 0;
}
.cform-head h2 em { font-style: italic; color: var(--accent); }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .cform-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
  display: flex; justify-content: space-between;
}
.field-opt, .field-count {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute-2);
  font-size: 11px;
}
.field input, .field select, .field textarea {
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .3s, background .3s, box-shadow .3s;
  outline: none;
}
html[data-mode="dark"] .field input, html[data-mode="dark"] .field select, html[data-mode="dark"] .field textarea {
  background: #0b0e10;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .err { border-color: #c44f3c; }
.err-msg {
  font-size: 12px;
  color: #c44f3c;
  margin-top: 2px;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7680' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.cform-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 24px; flex-wrap: wrap;
}
.cform-note { margin: 0; font-size: 12px; color: var(--mute); max-width: 40ch; }
.btn[disabled] { opacity: .7; cursor: default; }
.dots { display: inline-flex; gap: 2px; margin-left: 4px; }
.dots span { animation: blink 1.2s infinite both; }
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }

.form-success {
  display: flex; flex-direction: column; gap: 20px;
  align-items: flex-start;
  color: var(--accent);
  padding: 40px 0;
}
.form-success h3 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ink);
  margin: 0;
}
.form-success p { color: var(--ink-3); margin: 0; font-size: 16px; max-width: 50ch; }
.form-success b { color: var(--ink); font-weight: 500; }
.form-success .btn-outline { margin-top: 8px; }
.s-circ { animation: draw 1s var(--ease) both; }
.s-check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: check .6s .4s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 188; } to { stroke-dashoffset: 0; } }
@keyframes check { to { stroke-dashoffset: 0; } }

/* Map section */
.map-section { padding: 0 0 clamp(64px, 9vw, 120px); background: var(--paper-2); }
.map-card {
  position: relative;
  aspect-ratio: 21/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-ph { width: 100%; height: 100%; border-radius: 0; border: 0; }
.map-ph::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(transparent 49.5%, color-mix(in srgb, var(--teal-400) 30%, transparent) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, color-mix(in srgb, var(--teal-400) 30%, transparent) 49.5% 50.5%, transparent 50.5%);
  background-size: 80px 80px;
  opacity: .3;
}
.map-pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  color: var(--accent);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
  animation: pin-bob 2.4s var(--ease) infinite;
}
@keyframes pin-bob { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -110%); } }

/* CTA */
.cta-banner { background: var(--accent); color: #fff; padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.cta-banner::before { top: -200px; right: -100px; width: 600px; height: 600px; }
.cta-banner::after { bottom: -200px; left: -80px; width: 400px; height: 400px; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.cta-banner h2 { color: #fff; font-size: clamp(42px, 6vw, 96px); margin: 0; line-height: 1; font-weight: 300; }
.cta-banner em { font-style: italic; color: rgba(255,255,255,.7); }
.cta-meta { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-phone { display: block; color: #fff; }
.cta-phone .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 8px; }
.cta-phone b { font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); font-weight: 400; color: #fff; }
.cta-banner .btn { background: #fff; color: var(--accent); border-color: #fff; }
.cta-banner .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; gap: 32px; } }
