/* ==========================================================================
   SEVENTY7 COFFEE — visit & bookings
   ========================================================================== */

/* ---------- Visit hero ---------- */
.visit-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--head-h) + clamp(4rem, 10vw, 9rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 76% 34%, rgba(217, 54, 255, 0.15), transparent 30%),
    radial-gradient(circle at 14% 78%, rgba(169, 34, 27, 0.3), transparent 38%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
.visit-hero::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 20%;
  width: clamp(180px, 28vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(217, 54, 255, 0.36), rgba(123, 53, 255, 0.12) 42%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.visit-hero::after {
  content: "KERAMAT";
  position: absolute;
  right: -0.03em;
  bottom: -0.2em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 19rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 231, 211, 0.07);
  pointer-events: none;
}
.visit-hero-inner { position: relative; z-index: 1; }
.visit-title {
  max-width: 11ch;
  margin-top: 1.2rem;
  font-size: clamp(4rem, 12.5vw, 11.5rem);
}
.visit-title .outline { -webkit-text-stroke-color: var(--orange); }
.visit-title .script {
  display: block;
  margin-top: 0.06em;
  margin-left: 0.2em;
  color: var(--orange);
  font-size: 0.28em;
  line-height: 0.8;
  transform: rotate(-3deg);
}
.visit-hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.8rem 3rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.visit-hero-address {
  max-width: 34rem;
  color: var(--cream-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
}
.visit-hero-address strong { color: var(--cream); font-weight: 500; }
.visit-hero-side { display: grid; gap: 0.9rem; justify-items: start; }
.visit-status-long {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(243, 231, 211, 0.2);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.visit-status-long[data-state="open"] { border-color: rgba(143, 216, 155, 0.4); color: var(--cream); }
.visit-status-long .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-dim); }
.visit-status-long[data-state="open"] .status-dot { background: #8fd89b; box-shadow: 0 0 9px rgba(143, 216, 155, 0.8); }
.visit-status-long[data-state="closed"] .status-dot { background: #c85b51; }

/* ---------- Info cards ---------- */
.visit-info {
  padding-block: clamp(2.8rem, 5vw, 4.5rem);
  background: var(--ink);
}
.visit-info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.95fr;
  gap: 1rem;
}
.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  background: rgba(18, 11, 16, 0.58);
  border-top: 2px solid var(--orange);
}
.info-card .eyebrow { font-size: 0.56rem; }
.info-card address {
  font-style: normal;
  color: var(--cream);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}
.info-card address span { display: block; color: var(--cream-dim); font-size: 0.9em; }
.info-card .info-note { color: var(--cream-dim); font-size: 0.8rem; line-height: 1.55; }
.info-card .info-note strong { color: var(--orange); font-weight: 500; }
.info-card .text-link { margin-top: auto; align-self: flex-start; }
.info-card .social-row { margin-top: 0.1rem; }
.info-card .social-link { border-color: var(--line); }
.hours-list { width: 100%; }
.hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.66rem;
  border-bottom: 1px dotted var(--line);
  font-size: 0.86rem;
}
.hours-list dt { color: var(--cream-dim); }
.hours-list dd { color: var(--cream); font-family: var(--font-mono); font-size: 0.7rem; }
.hours-list > div.is-today dt,
.hours-list > div.is-today dd { color: var(--orange); }
.hours-list > div.is-closed dd,
.hours-list > div.is-closed dt { color: var(--cream-dim); }

/* ---------- Map card ---------- */
.map-section {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: var(--ink);
}
.map-card {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #100a10;
  transition: border-color 0.3s;
}
.map-card:hover { border-color: var(--orange); }
.map-art {
  position: relative;
  height: clamp(250px, 31vw, 400px);
  overflow: hidden;
  background:
    linear-gradient(rgba(243, 231, 211, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 231, 211, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 55% 46%, rgba(123, 53, 255, 0.18), transparent 44%),
    #0d0810;
  background-size: 42px 42px, 42px 42px, auto, auto;
}
.map-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(243, 231, 211, 0.18) 44.2% 44.6%, transparent 44.8%),
    linear-gradient(20deg, transparent 0 62%, rgba(243, 231, 211, 0.12) 62.2% 62.6%, transparent 62.8%),
    linear-gradient(160deg, transparent 0 24%, rgba(243, 231, 211, 0.1) 24.2% 24.6%, transparent 24.8%);
  pointer-events: none;
}
.map-block {
  position: absolute;
  border: 1px solid rgba(243, 231, 211, 0.1);
  background: rgba(243, 231, 211, 0.035);
}
.map-block--a { left: 12%; top: 18%; width: 22%; height: 26%; transform: rotate(-7deg); }
.map-block--b { right: 10%; top: 12%; width: 26%; height: 22%; transform: rotate(5deg); }
.map-block--c { left: 8%; bottom: 10%; width: 30%; height: 24%; transform: rotate(4deg); }
.map-block--d { right: 16%; bottom: 8%; width: 22%; height: 32%; transform: rotate(-4deg); }
.map-road {
  position: absolute;
  height: 1px;
  background: rgba(243, 231, 211, 0.18);
  transform-origin: left center;
}
.map-road--a { width: 76%; left: 14%; top: 46%; transform: rotate(18deg); }
.map-road--b { width: 58%; left: 34%; top: 30%; transform: rotate(-32deg); }
.map-road--c { width: 54%; left: 18%; top: 70%; transform: rotate(-11deg); }
.map-pin {
  position: absolute;
  left: 54%;
  top: 45%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: rgba(243, 160, 46, 0.1);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.4rem;
  box-shadow: 0 0 0 12px rgba(243, 160, 46, 0.06), 0 0 0 26px rgba(243, 160, 46, 0.03), 0 0 36px rgba(243, 160, 46, 0.5);
  transform: translate(-50%, -50%);
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(243, 160, 46, 0.24);
  border-radius: 50%;
  animation: pin-pulse 2.6s ease-out infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.map-label {
  position: absolute;
  left: 54%;
  top: calc(45% + 44px);
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.map-label span { color: var(--orange); }
.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(11, 7, 9, 0.8);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.map-foot span:last-child { color: var(--orange); }
.map-card:hover .map-foot span:last-child { color: var(--cream); }

/* ---------- Booking ---------- */
.booking {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid rgba(97, 23, 20, 0.2);
}
.booking::before {
  content: "BOOK";
  position: absolute;
  right: -0.04em;
  bottom: -0.25em;
  font-family: var(--font-display);
  font-size: clamp(12rem, 32vw, 34rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(97, 23, 20, 0.07);
  pointer-events: none;
}
.booking-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.booking-intro .display { max-width: 10ch; margin-top: 1rem; }
.booking-intro .display .script { display: block; color: var(--red-deep); font-size: 0.32em; line-height: 0.8; margin-left: 0.2em; }
.booking-intro .lede { margin-top: 1.3rem; }
.booking-points {
  display: grid;
  gap: 0;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(97, 23, 20, 0.24);
}
.booking-points div {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 0.68rem;
  border-bottom: 1px dotted rgba(97, 23, 20, 0.24);
  font-size: 0.84rem;
}
.booking-points dt { color: var(--oxblood-soft); }
.booking-points dd { font-family: var(--font-mono); font-size: 0.68rem; text-align: right; color: var(--oxblood); }
.booking-contact {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(97, 23, 20, 0.24);
}
.booking-contact .mono { color: var(--red-deep); margin-bottom: 0.7rem; }
.booking-contact .social-row { gap: 0.5rem; }
.booking-contact .social-link { border-color: rgba(97, 23, 20, 0.26); color: var(--oxblood); }
.booking-contact .social-link:hover { background: var(--oxblood); color: var(--cream); border-color: var(--oxblood); }
.booking-contact p { margin-top: 0.8rem; color: var(--oxblood-soft); font-size: 0.8rem; line-height: 1.55; }

.booking-form-wrap {
  padding: clamp(1.3rem, 3vw, 2.4rem);
  border: 1px solid rgba(97, 23, 20, 0.24);
  background: rgba(243, 231, 211, 0.48);
  box-shadow: 0 24px 60px rgba(97, 23, 20, 0.06);
}
.form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(97, 23, 20, 0.22);
}
.form-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 0.9; text-transform: uppercase; color: var(--oxblood); }
.form-head .mono { color: var(--oxblood-soft); font-size: 0.52rem; }
.booking-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid--three { grid-template-columns: 1.1fr 1fr 1fr; }
.field--full { grid-column: 1 / -1; }
.booking-form .btn { width: 100%; margin-top: 0.2rem; }
.booking-form .btn[disabled] { opacity: 0.55; cursor: wait; }
.form-note { margin-top: 0.8rem; color: var(--oxblood-soft); font-family: var(--font-mono); font-size: 0.5rem; line-height: 1.6; letter-spacing: 0.07em; text-transform: uppercase; text-align: center; }
.form-error[hidden],
.form-success[hidden] { display: none; }

/* ---------- Visit responsive ---------- */
@media (max-width: 1000px) {
  .visit-info-grid { grid-template-columns: 1fr 1fr; }
  .info-card:last-child { grid-column: span 2; }
  .booking-inner { grid-template-columns: 1fr; }
  .booking-intro { position: static; }
  .booking-intro .display { max-width: 14ch; }
  .booking-contact { max-width: 34rem; }
}
@media (max-width: 760px) {
  .visit-hero-foot { align-items: flex-start; flex-direction: column; }
  .visit-title { font-size: clamp(3.6rem, 16vw, 6.5rem); }
  .visit-info-grid { grid-template-columns: 1fr; }
  .info-card:last-child { grid-column: auto; }
  .map-art { height: 270px; }
  .form-grid,
  .form-grid--three { grid-template-columns: 1fr; }
  .booking-form-wrap { padding: 1.2rem; }
}
@media (max-width: 560px) {
  .visit-hero { padding-top: calc(var(--head-h) + 3rem); }
  .visit-status-long { font-size: 0.52rem; }
  .map-label { top: calc(45% + 38px); font-size: 0.48rem; }
  .map-pin { width: 50px; height: 50px; font-size: 1.2rem; }
  .map-foot { font-size: 0.5rem; }
  .booking-points div { flex-direction: column; gap: 0.2rem; }
  .booking-points dd { text-align: left; }
  .form-head { align-items: flex-start; flex-direction: column; }
}
