/* The Kickin' Crab — locations.html (loads after site.css). */

/* ---------- Header band ---------- */
.lc-band { background: var(--kc-teal); padding: 34px 24px 40px; scroll-margin-top: 0; }
.lc-band__h1 { font-size: clamp(40px, 5.4vw, 64px); }
.lc-band__lede { max-width: 52ch; }
.lc-form { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.lc-form__label { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--kc-amber-2); }
.lc-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.lc-form__input {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 2px solid #08323c;
  background: var(--kc-cream-2); color: var(--kc-ink); font-family: var(--font-body); font-size: 16px; font-weight: 600;
}
.lc-form__btn {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--kc-brick); color: #ffffff; font-family: var(--font-body); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.lc-form__btn:hover { background: var(--kc-brick-dark); }
.lc-form__locate {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 2px solid var(--kc-cream); border-radius: 999px;
  background: transparent; color: var(--kc-cream); font-family: var(--font-body); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.lc-form__locate:hover { background: rgba(247, 236, 216, .14); }
.lc-form__status { margin: 0; min-height: 22px; font-size: 15px; font-weight: 700; color: var(--kc-amber); }
.band-photo--lc { --tilt: 1.4deg; --tape-tilt: 2.2deg; }

/* ---------- Nearest results ---------- */
.lc-results { background: var(--kc-sand); border-bottom: 2px solid var(--kc-line); padding: 34px 24px 38px; }
.lc-results__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lc-results__h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--kc-teal); }
.lc-clear {
  display: flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--kc-teal); border-radius: 999px; background: transparent;
  color: var(--kc-teal); font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
}
.lc-clear:hover { background: var(--kc-sand-2); }
.lc-results__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.lc-result { background: var(--kc-cream-2); border: 2px solid var(--kc-teal); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.lc-result__h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.1; color: var(--kc-teal); }
.lc-result__region { margin: 0; font-size: 15px; color: var(--kc-ink-2); }
.lc-pill {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
}

/* ---------- All locations ---------- */
.lc-all { background: var(--kc-cream); padding: 44px 24px 24px; scroll-margin-top: 16px; }
.lc-all__count { margin: 10px 0 0; font-size: 17px; color: var(--kc-ink-2); }
.lc-group { margin-top: 40px; }
.lc-group__head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 3px solid var(--kc-teal); }
.lc-group__h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--kc-teal); }
.lc-group__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .lc-group__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lc-group__list { grid-template-columns: minmax(0, 1fr); } }
.lc-loc { position: relative; background: var(--kc-cream-2); border: 2px solid var(--kc-line); border-radius: 16px; padding: 22px 24px 22px; display: flex; flex-direction: column; min-height: 322px; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.lc-loc:hover, .lc-loc:focus-within { transform: translateY(-3px); border-color: var(--kc-brick); box-shadow: 0 12px 28px rgba(15, 68, 80, .16); }
/* The city-name link covers the whole card; phone links sit above it so they still dial. */
.lc-loc__h4 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.lc-loc__tel { position: relative; z-index: 1; }
.lc-loc__cta { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--kc-brick); }
.lc-loc__cta svg { transition: transform .15s ease; }
.lc-loc:hover .lc-loc__cta svg { transform: translateX(4px); }
.lc-loc__h4 a:focus-visible { outline: none; }
.lc-loc:focus-within { outline: 3px solid var(--kc-amber); outline-offset: 2px; }
.lc-loc__h4 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.15; }
.lc-loc__h4 a { color: var(--kc-teal); text-decoration: none; }
.lc-loc__h4 a:hover { color: var(--kc-brick); text-decoration: underline; }
.lc-result__h3 a { color: var(--kc-teal); text-decoration: none; }
.lc-result__h3 a:hover { color: var(--kc-brick); text-decoration: underline; }
.lc-loc__region { margin: 4px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--kc-rust); }
.lc-loc__addr { margin: 20px 0 0; font-style: normal; font-size: 16px; line-height: 1.5; color: var(--kc-ink-2); }
.lc-loc__addr1 { display: block; font-weight: 700; color: var(--kc-ink); }
.lc-loc__addr2 { display: block; }
.lc-loc__tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--kc-teal); text-decoration: underline; text-underline-offset: 3px; }
.lc-loc__tel + .lc-loc__tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--kc-teal); text-decoration: underline; text-underline-offset: 3px; }
.lc-loc__hours { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--kc-line-2); padding-bottom: 4px; }
.lc-loc__label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kc-rust); }
.lc-loc__hours ul { list-style: none; margin: 6px 0 0; padding: 0; }
.lc-loc__hours li { font-size: 16px; line-height: 1.5; color: var(--kc-ink-2); }

/* Coming soon */
.lc-soon {
  margin-top: 44px; background: var(--kc-sand); border: 2px dashed var(--kc-brick); border-radius: 22px; padding: 26px 28px;
  display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between;
}
.lc-soon__kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--kc-rust); }
.lc-soon__h3 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--kc-teal); }
.lc-soon__p { margin: 8px 0 0; font-size: 16px; color: var(--kc-ink-2); }
.lc-soon .kc-btn { flex: none; }
.lc-legal { margin: 28px 0 0; font-size: 15px; font-style: italic; color: var(--kc-ink-3); }

/* =====================================================================
   PHONE LAYOUT (≤760px). Only applies at phone widths; desktop untouched.
   State groups become accordions (toggle injected by locations.js) and
   cards get compact so a state fits on a screen or two.
   ===================================================================== */
@media (max-width: 760px) {
  .lc-group { margin-top: 0; border-top: 2px solid var(--kc-line); }
  .lc-group__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
  .lc-group__h3 { margin: 0; }
  .lc-group__count { font-size: 13px; font-weight: 700; color: var(--kc-ink-3); margin-left: auto; white-space: nowrap; }
  .lc-group__toggle {
    flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--kc-teal); background: var(--kc-cream-2);
    color: var(--kc-teal); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  }
  .lc-group__toggle svg { transition: transform .18s ease; }
  .lc-group__toggle[aria-expanded="false"] svg { transform: rotate(-90deg); }
  .lc-group__toggle:focus-visible { outline: 3px solid var(--kc-amber); outline-offset: 2px; }
  .lc-group.is-collapsed .lc-group__list { display: none; }
  .lc-group__list { margin: 0 0 18px; gap: 10px; }
  .lc-loc { min-height: 0; padding: 16px 16px 14px; }
  .lc-loc:hover, .lc-loc:focus-within { transform: none; }
  .lc-results { padding: 24px 16px 26px; }
  .lc-results__list { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .lc-group__toggle svg { transition: none; } }
