/* Contact page */
.page-contact .foot-cta { display: none; }
.contact-open { position: relative; background: var(--blush); padding: calc(var(--head-h) + 20px) 0 56px; overflow: clip; }
.contact-open::before { content: ''; position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -22vw; background: radial-gradient(closest-side, rgba(240, 177, 58, .22), transparent); animation: c-glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes c-glow { to { transform: translate(-6vw, 5vw) scale(1.1); } }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.cform-wrap h1 { font-size: clamp(2.3rem, 3.8vw, 3.8rem); margin-bottom: 12px; }
.cform-wrap .lede { color: var(--ink-2); margin-bottom: 22px; }
.cform { display: grid; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.cf-field label, .cf-pref legend { font: 600 .95rem/1.2 var(--sans); color: var(--garnet); }
.opt { font-weight: 400; color: var(--ink-2); }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform select, .cform textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; background: var(--porcelain); border: 1px solid rgba(36, 9, 15, .22); border-radius: var(--r);
  font: 400 1.02rem/1.4 var(--sans); color: var(--garnet); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.cform textarea { resize: vertical; min-height: 96px; }
.cform select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background: var(--porcelain) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324090F' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--plasma); box-shadow: 0 0 0 3px rgba(240, 177, 58, .3); background-color: #fff; }
.cf-field.has-err input, .cf-field.has-err textarea { border-color: var(--cell); }
.cf-err { min-height: 0; font-size: .9rem; color: var(--cell); }
.cf-err:empty { display: none; }
.cf-pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cf-pref legend { float: left; margin-right: 8px; padding: 0; }
.cf-radio { position: relative; cursor: pointer; }
.cf-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cf-radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(36, 9, 15, .28); border-radius: var(--rb); font: 500 .96rem/1 var(--sans); transition: background-color .3s, color .3s, border-color .3s; }
.cf-radio input:checked + span { background: var(--garnet); color: var(--on-dark); border-color: var(--garnet); }
.cf-radio input:focus-visible + span { outline: 2px solid var(--plasma); outline-offset: 3px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 4px; }
.cf-check { display: flex; gap: 12px; align-items: center; cursor: pointer; font-size: 1rem; color: var(--ink-2); flex: 1 1 280px; }
.cf-check input { width: 22px; height: 22px; accent-color: var(--garnet); flex: none; }
.cf-send { min-width: 210px; }
.cf-status { margin: 0; font-size: 1.02rem; min-height: 1.4em; }
.cf-status.ok { color: #1f5a2d; } .cf-status.bad { color: var(--cell); }
.cform.is-sent .cf-send { pointer-events: none; }

.sam-card { position: relative; display: flex; flex-direction: column; background: var(--garnet); color: var(--on-dark); border-radius: var(--r); overflow: clip; box-shadow: 0 40px 80px -30px rgba(36, 9, 15, .55); }
.sam-card-photo { margin: 0; position: relative; flex: 1 1 auto; min-height: 220px; overflow: clip; }
.sam-card-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 22%; animation: kbs 12s ease-in-out infinite alternate; }
.cf-line { margin: 4px 0 16px; width: min(100%, 420px); }
.sam-card-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--garnet) 0%, rgba(36, 9, 15, 0) 45%); }
.sam-card-body { position: relative; padding: 0 26px 24px; margin-top: -30px; }
.sam-card-title { font: 400 1.7rem/1.1 var(--display); color: #FFF6EF; margin: 0 0 6px; }
.sam-card-text { font-size: .98rem; color: var(--on-dark-2); margin: 0 0 14px; }
.sam-card-phone { display: inline-flex; align-items: center; gap: 10px; font: 400 1.5rem/1 var(--display); color: var(--serum); text-decoration: none; margin-bottom: 14px; min-height: 44px; }
.sam-card-phone svg { width: 22px; height: 22px; }
.sam-card-phone:hover { color: var(--plasma); }
.sam-hours { margin: 0 0 12px; border-top: 1px solid var(--line-dark); }
.sam-hours div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); font-size: .98rem; position: relative; }
.sam-hours dt { font-weight: 600; } .sam-hours dd { margin: 0; color: var(--on-dark-2); }
.sam-hours .is-today dt::after { content: 'Today'; margin-left: 10px; padding: 3px 8px; border-radius: 3px; background: var(--plasma); color: var(--garnet); font: 600 .78rem/1 var(--sans); vertical-align: 2px; }
.sam-card-addr { margin: 0; font-size: .96rem; color: var(--on-dark-2); }

.next-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; position: relative; }
.next-grid .h2 { margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; position: relative; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; position: relative; z-index: 1; }
.step-n { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--garnet); color: var(--serum); font: 400 1.5rem/1 var(--display); box-shadow: 0 0 0 6px var(--porcelain); }
.step h3 { font-size: 1.55rem; margin: 10px 0 8px; }
.step p { margin: 0; color: var(--ink-2); }
.steps-line { position: absolute; left: 27px; width: 2px; top: 0; bottom: 0; pointer-events: none; }
.steps-line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--plasma), rgba(240, 177, 58, .2)); transform-origin: top; }
.next-photo { height: min(68vh, 600px); }

.visit { position: relative; color: var(--on-dark); overflow: clip; background: var(--garnet); }
.visit-bg { position: absolute; inset: -10% 0; }
.visit-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.visit-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 5, 10, .92) 0%, rgba(24, 5, 10, .7) 45%, rgba(24, 5, 10, .2) 100%); }
.visit-inner { position: relative; padding-block: clamp(80px, 10vw, 140px) 40px; }
.visit-card { max-width: 640px; }
.visit-card .h2 { color: #FFF6EF; margin-bottom: 20px; }
.visit-card p { color: rgba(255, 246, 239, .86); }
.visit-card .btn-row { margin-top: 26px; }
.visit-marquee { position: relative; overflow: clip; padding: 18px 0 34px; }
.vm-track { display: flex; gap: 60px; width: max-content; animation: vm 30s linear infinite; }
.vm-track span { font: italic 400 clamp(2.4rem, 5vw, 4rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(240, 177, 58, .7); white-space: nowrap; }
.vm-track span::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 60px; border-radius: 50%; background: var(--plasma); vertical-align: middle; box-shadow: 0 0 12px var(--plasma); }
@keyframes vm { to { transform: translateX(-50%); } }

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
  .sam-card { flex-direction: row; }
  .sam-card-photo { flex: 0 0 38%; min-height: 0; }
  .sam-card-photo::after { background: linear-gradient(270deg, var(--garnet) 0%, rgba(36, 9, 15, 0) 40%); }
  .sam-card-body { margin-top: 0; padding: 24px; flex: 1; }
  .next-grid { grid-template-columns: 1fr; }
  .next-photo { height: 50vh; }
}
@media (max-width: 640px) {
  .contact-open { padding-top: calc(var(--head-h) + 12px); }
  .cf-row { grid-template-columns: 1fr; }
  .sam-card { flex-direction: column; }
  .sam-card-photo { flex: none; height: 240px; }
  .sam-card-photo::after { background: linear-gradient(0deg, var(--garnet) 0%, rgba(36, 9, 15, 0) 50%); }
  .cf-send { width: 100%; }
  .step { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
  .step-n { width: 46px; height: 46px; font-size: 1.25rem; }
  .steps-line { left: 22px; }
  .vm-track { animation-duration: 22s; }
}
