/* ============================================================
   KBR CRISPY CHICKEN — LOCATIONS PAGE
   Desktop + Mobile Updated
   - Desktop premium layout
   - Mobile: map left, content right
   - Get Directions button under map
   - Removed outlet title/description space
   - Call Outlet removed
   ============================================================ */

.locations-page {
  background: var(--red-950);
}

.locations-page main {
  overflow: hidden;
}

.locations-page [hidden] {
  display: none !important;
}

.locations-page img {
  display: block;
  max-width: 100%;
}

.locations-page a.disabled,
.locations-page button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.locations-title-highlight {
  color: var(--yellow-500);
  font-weight: 500;
}

/* SECTION HEADER */

.locations-section-header {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 2.2rem;
}

.locations-section-title {
  display: flex;
  flex-direction: column;
  margin-top: 0.7rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.locations-section-lead {
  max-width: 700px;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* HERO */

.locations-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 201, 76, 0.13), transparent 28%),
    radial-gradient(circle at 94% 44%, rgba(215, 25, 32, 0.26), transparent 40%),
    radial-gradient(circle at 8% 82%, rgba(173, 16, 22, 0.22), transparent 34%),
    linear-gradient(135deg, var(--red-950) 0%, var(--red-825) 54%, var(--red-650) 100%);
}

.locations-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(38, 1, 2, 0.82));
  pointer-events: none;
}

.locations-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  pointer-events: none;
}

.locations-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.locations-hero-glow-one {
  top: 16%;
  right: 5%;
  width: 340px;
  height: 340px;
  background: rgba(242, 201, 76, 0.085);
  animation: locations-glow-one 7s ease-in-out infinite;
}

.locations-hero-glow-two {
  bottom: 5%;
  left: 3%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.025);
  animation: locations-glow-two 8.5s ease-in-out infinite;
}

.locations-hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: calc(720px - var(--header-height));
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(2rem, 5vw, 4.4rem);
  align-items: center;
  padding-block: 1rem 2.4rem;
}

.locations-hero-content {
  max-width: 680px;
}

/* LOGO */

.locations-logo-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.1rem;
  padding-left: clamp(0.7rem, 3vw, 2.3rem);
}

.locations-logo-stage {
  position: relative;
  display: grid;
  width: clamp(130px, 12vw, 180px);
  height: clamp(106px, 10vw, 145px);
  place-items: center;
  isolation: isolate;
  animation: locations-logo-float 5.2s ease-in-out infinite;
}

.locations-logo-stage::before {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 201, 76, 0.16), rgba(215, 25, 32, 0.06) 48%, transparent 73%);
  filter: blur(21px);
  animation: locations-logo-glow 4.8s ease-in-out infinite;
}

.locations-logo-stage::after {
  content: "";
  position: absolute;
  inset: 2%;
  z-index: -1;
  border: 1px solid rgba(242, 201, 76, 0.12);
  border-radius: 50%;
  opacity: 0;
  animation: locations-logo-ring 4.8s ease-out infinite;
}

.locations-logo-aura {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 30deg,
      transparent,
      rgba(242, 201, 76, 0.09),
      transparent 28%,
      rgba(255, 255, 255, 0.025),
      transparent 64%,
      rgba(242, 201, 76, 0.06),
      transparent
    );
  opacity: 0.7;
  animation: locations-aura-rotate 18s linear infinite;
}

.locations-logo {
  position: relative;
  z-index: 2;
  width: 94%;
  height: 94%;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 24px rgba(242, 201, 76, 0.15));
  animation: locations-logo-breathe 4.5s ease-in-out infinite;
}

/* HERO CONTENT */

.locations-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--yellow-300);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.locations-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--yellow-500);
}

.locations-hero-title {
  display: flex;
  flex-direction: column;
  margin-top: 0.58rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.3vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

.locations-hero-description {
  max-width: 620px;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
  line-height: 1.75;
}

.locations-hero-stats {
  display: grid;
  max-width: 600px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.locations-hero-stats article {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(242, 201, 76, 0.14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: 0 14px 34px rgba(15, 0, 1, 0.24);
  backdrop-filter: blur(12px);
}

.locations-hero-stats article::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: 0;
  left: 0.7rem;
  height: 2px;
  border-radius: 20px;
  background: linear-gradient(90deg, transparent, var(--yellow-500), transparent);
  opacity: 0.4;
}

.locations-hero-stats strong {
  display: block;
  color: var(--yellow-500);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
}

.locations-hero-stats span {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* HERO GALLERY */

.locations-hero-gallery-card {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 1.15rem;
  border: 1px solid rgba(242, 201, 76, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 12%, rgba(242, 201, 76, 0.12), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(215, 25, 32, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 40px 100px rgba(11, 0, 1, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.locations-hero-gallery-card::before {
  content: "";
  position: absolute;
  inset: 11px;
  z-index: 1;
  border: 1px solid rgba(242, 201, 76, 0.1);
  border-radius: 18px;
  pointer-events: none;
}

.locations-gallery-card-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(242, 201, 76, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 201, 76, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
}

.locations-gallery-card-glow {
  position: absolute;
  top: 18%;
  right: -15%;
  z-index: -1;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.085);
  filter: blur(58px);
}

.locations-gallery-card-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.locations-selector-kicker {
  display: inline-flex;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(242, 201, 76, 0.24);
  border-radius: 100px;
  background: rgba(242, 201, 76, 0.06);
  color: var(--yellow-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#hero-gallery-branch-name {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-outlet-slider-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1118;
}

.hero-outlet-slider-window {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 76, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-medium);
}

.outlet-slider-track {
  display: flex;
  height: 100%;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.outlet-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--red-850);
}

.outlet-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outlet-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 0, 1, 0.72), transparent 54%);
}

.outlet-slide-caption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.85rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(10, 0, 1, 0.28);
}

.outlet-slide-caption span {
  display: block;
  color: var(--red-850);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outlet-slide-caption strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--red-950);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.outlet-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border-yellow);
  border-radius: 50%;
  background: rgba(38, 1, 2, 0.74);
  color: var(--yellow-300);
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
}

.outlet-slider-prev {
  left: 0.75rem;
}

.outlet-slider-next {
  right: 0.75rem;
}

/* OUTLET LOCATOR */

.locator-section {
  position: relative;
  background:
    radial-gradient(circle at 88% 14%, rgba(242, 201, 76, 0.055), transparent 26%),
    linear-gradient(180deg, var(--red-950), var(--red-875));
}

.locator-watermark {
  position: absolute;
  top: 2%;
  right: -2%;
  color: rgba(242, 201, 76, 0.018);
  font-family: var(--font-heading);
  font-size: clamp(7rem, 18vw, 16rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.locator-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.locator-map-card,
.locator-details-card {
  border: 1px solid var(--border-white);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-medium);
}

.locator-map-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border-radius: 22px;
}

.locator-map-top {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(242, 201, 76, 0.1);
  background: rgba(38, 1, 2, 0.56);
}

.locator-map-top span {
  display: block;
  color: var(--yellow-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locator-map-top strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.locator-map-frame {
  flex: 1;
  min-height: 390px;
}

.locator-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  filter: saturate(0.88) contrast(1.02);
}

.map-action-wrap {
  padding: 0.8rem;
  border-top: 1px solid rgba(242, 201, 76, 0.12);
  background: rgba(38, 1, 2, 0.5);
}

.locator-map-link,
.head-office-button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--yellow-500);
  border-radius: 9px;
  background: var(--yellow-500);
  color: var(--red-950);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locator-details-card {
  padding: 1.1rem;
  border-radius: 20px;
}

.outlet-select-area {
  padding: 0.8rem;
  border: 1px solid rgba(242, 201, 76, 0.15);
  border-radius: 13px;
  background: rgba(242, 201, 76, 0.035);
}

.outlet-status {
  display: inline-flex;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(242, 201, 76, 0.23);
  border-radius: 100px;
  background: rgba(242, 201, 76, 0.06);
  color: var(--yellow-400);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outlet-select-label {
  display: block;
  margin-top: 0.7rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.locations-select-wrap {
  position: relative;
  margin-top: 0.55rem;
}

.locations-select-wrap::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 0.9rem;
  color: var(--yellow-500);
  pointer-events: none;
  transform: translateY(-50%);
}

.locations-select {
  width: 100%;
  min-height: 46px;
  appearance: none;
  border: 1px solid rgba(242, 201, 76, 0.22);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(38, 1, 2, 0.9), rgba(93, 6, 10, 0.78));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  outline: none;
  padding: 0 2.5rem 0 0.9rem;
}

.locations-select option {
  color: #220001;
  background: #ffffff;
}

.selected-outlet-short {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.outlet-detail-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.outlet-detail-item {
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.outlet-detail-item span {
  display: block;
  color: var(--yellow-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outlet-detail-item strong,
.outlet-detail-item a {
  display: block;
  margin-top: 0.32rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.outlet-actions {
  display: none;
}

/* HEAD OFFICE INTRO */

.head-office-intro {
  position: relative;
  padding: 3.6rem 0 2rem;
  background:
    radial-gradient(circle at center, rgba(242, 201, 76, 0.04), transparent 60%),
    linear-gradient(180deg, var(--red-875), var(--red-875));
}

.head-office-intro-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.head-office-intro-line > span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 201, 76, 0.5), transparent);
}

.head-office-intro-content {
  max-width: 760px;
  text-align: center;
}

.head-office-intro-content p {
  margin-bottom: 0.8rem;
  color: var(--yellow-500);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.head-office-intro-content h2 {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.head-office-intro-content h2 span {
  color: var(--yellow-500);
  font-weight: 500;
}

/* HEAD OFFICE */

.head-office-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 201, 76, 0.055), transparent 26%),
    linear-gradient(180deg, var(--red-875), var(--red-850));
}

.head-office-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
  border: 1px solid rgba(242, 201, 76, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-large);
}

.head-office-map {
  display: flex;
  flex-direction: column;
}

.head-office-map iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  filter: saturate(0.88) contrast(1.02);
}

.head-office-details {
  padding: 1.25rem;
}

.head-office-details .section-kicker {
  justify-content: flex-start;
}

.head-office-details .section-kicker::after {
  display: none;
}

.head-office-details h2 {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.head-office-details h2 span {
  color: var(--yellow-500);
  font-weight: 500;
}

.head-office-details p {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.head-office-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.head-office-list div {
  padding: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.head-office-list span {
  display: block;
  color: var(--yellow-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.head-office-list strong,
.head-office-list a {
  display: block;
  margin-top: 0.32rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

/* CONTACT */

.locations-contact-section {
  padding-block: clamp(2.2rem, 5vw, 4.3rem);
  background: var(--red-950);
}

.locations-contact-card {
  position: relative;
  display: grid;
  min-height: 245px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 3.8vw, 2.7rem);
  border: 1px solid var(--border-yellow);
  border-radius: 21px;
  background: linear-gradient(135deg, var(--red-850), var(--red-700));
  box-shadow: var(--shadow-large);
}

.locations-contact-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 201, 76, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 201, 76, 0.026) 1px, transparent 1px);
  background-size: 38px 38px;
}

.locations-contact-glow {
  position: absolute;
  top: 50%;
  right: -8%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.1);
  filter: blur(60px);
  transform: translateY(-50%);
  animation: locations-contact-glow 6s ease-in-out infinite;
}

.locations-contact-content,
.locations-contact-actions {
  position: relative;
  z-index: 2;
}

.locations-contact-content .section-kicker {
  justify-content: flex-start;
}

.locations-contact-content .section-kicker::after {
  display: none;
}

.locations-contact-content h2 {
  display: flex;
  flex-direction: column;
  margin-top: 0.58rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.locations-contact-content h2 span {
  color: var(--yellow-500);
  font-weight: 500;
}

.locations-contact-content p {
  max-width: 650px;
  margin-top: 0.8rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.locations-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.locations-contact-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(242, 201, 76, 0.22);
  border-radius: 100px;
  background: rgba(242, 201, 76, 0.055);
  color: var(--yellow-300);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.locations-contact-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--yellow-500);
  border-radius: 9px;
  background: rgba(242, 201, 76, 0.12);
  color: var(--yellow-100);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ANIMATIONS */

@keyframes locations-logo-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(5px, -8px, 0); }
}

@keyframes locations-logo-breathe {
  0%, 100% { transform: scale(0.98); }
  50% { transform: scale(1.025); }
}

@keyframes locations-logo-glow {
  0%, 100% { opacity: 0.62; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes locations-logo-ring {
  0% { opacity: 0; transform: scale(0.72); }
  35% { opacity: 0.46; }
  100% { opacity: 0; transform: scale(1.14); }
}

@keyframes locations-aura-rotate {
  to { transform: rotate(360deg); }
}

@keyframes locations-glow-one {
  0%, 100% { opacity: 0.75; transform: translate3d(0, 0, 0); }
  50% { opacity: 1; transform: translate3d(-16px, 12px, 0); }
}

@keyframes locations-glow-two {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(15px, -14px, 0); }
}

@keyframes locations-contact-glow {
  0%, 100% { opacity: 0.65; transform: translateY(-50%) scale(0.94); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.08); }
}

/* TABLET */

@media (max-width: 1120px) {
  .locations-hero {
    min-height: 680px;
  }

  .locations-hero-container {
    min-height: calc(680px - var(--header-height));
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 1.8rem;
  }

  .locations-hero-gallery-card {
    min-height: auto;
  }

  .locator-layout,
  .head-office-card {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .locations-section-header {
    margin-bottom: 1.15rem;
  }

  .locations-section-title {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
  }

  .locations-section-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .locations-hero {
    min-height: auto;
  }

  .locations-hero-container {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 0.8rem 1.6rem;
  }

  .locations-hero-content {
    order: 1;
    text-align: center;
  }

  .locations-hero-panel {
    order: 2;
  }

  .locations-logo-wrap {
    justify-content: center;
    padding-left: 0;
  }

  .locations-logo-stage {
    width: 86px;
    height: 70px;
  }

  .locations-eyebrow {
    justify-content: center;
    width: 100%;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .locations-eyebrow::before {
    width: 18px;
  }

  .locations-hero-title {
    margin-top: 0.4rem;
    font-size: clamp(1.9rem, 8.4vw, 2.7rem);
    text-align: center;
  }

  .locations-hero-description {
    max-width: 94%;
    margin: 0.65rem auto 0;
    font-size: 0.98rem;
    line-height: 1.6;
    text-align: center;
  }

  .locations-hero-stats {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .locations-hero-stats article {
    padding: 0.65rem 0.35rem;
    text-align: center;
  }

  .locations-hero-stats strong {
    font-size: 1.15rem;
  }

  .locations-hero-stats span {
    font-size: 0.66rem;
  }

  .locations-hero-gallery-card {
    min-height: auto;
    padding: 0.72rem;
    border-radius: 16px;
  }

  .locations-hero-gallery-card::before {
    inset: 6px;
    border-radius: 11px;
  }

  .locations-gallery-card-top {
    margin-bottom: 0.55rem;
  }

  .locations-selector-kicker {
    padding: 0.28rem 0.48rem;
    font-size: 0.66rem;
  }

  #hero-gallery-branch-name {
    font-size: 1.05rem;
  }

  .hero-outlet-slider-window {
    border-radius: 12px;
  }

  .outlet-slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .outlet-slider-prev {
    left: 0.4rem;
  }

  .outlet-slider-next {
    right: 0.4rem;
  }

  .outlet-slide-caption {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
  }

  .outlet-slide-caption span {
    font-size: 0.62rem;
  }

  .outlet-slide-caption strong {
    font-size: 1rem;
  }

  .locator-layout,
  .head-office-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 0.5rem;
  }

  .locator-map-card,
  .head-office-map {
    order: 1;
    border-radius: 14px;
  }

  .locator-details-card,
  .head-office-details {
    order: 2;
    padding: 0.65rem;
    border-radius: 14px;
  }

  .locator-map-top {
    padding: 0.58rem;
  }

  .locator-map-top span {
    font-size: 0.62rem;
  }

  .locator-map-top strong {
    font-size: 1rem;
  }

  .locator-map-frame,
  .locator-map-frame iframe,
  .head-office-map iframe {
    min-height: 280px;
  }

  .map-action-wrap {
    padding: 0.45rem;
  }

  .locator-map-link,
  .head-office-button {
    min-height: 36px;
    border-radius: 7px;
    font-size: 0.66rem;
  }

  .outlet-select-area {
    padding: 0.55rem;
    border-radius: 10px;
  }

  .outlet-status {
    font-size: 0.6rem;
  }

  .outlet-select-label {
    margin-top: 0.38rem;
    font-size: 1.1rem;
  }

  .locations-select {
    min-height: 38px;
    border-radius: 7px;
    font-size: 0.88rem;
    padding-inline: 0.55rem 1.6rem;
  }

  .selected-outlet-short {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .outlet-detail-list,
  .head-office-list {
    gap: 0.38rem;
    margin-top: 0.55rem;
  }

  .outlet-detail-item,
  .head-office-list div {
    padding: 0.5rem;
    border-radius: 8px;
  }

  .outlet-detail-item span,
  .head-office-list span {
    font-size: 0.62rem;
  }

  .outlet-detail-item strong,
  .outlet-detail-item a,
  .head-office-list strong,
  .head-office-list a {
    margin-top: 0.22rem;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .head-office-details .section-kicker {
    font-size: 0.68rem;
  }

  .head-office-details h2 {
    margin-top: 0.45rem;
    font-size: 1.6rem;
  }

  .head-office-details p {
    margin-top: 0.45rem;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .head-office-intro {
    padding: 2.6rem 0 1.2rem;
  }

  .head-office-intro-line {
    gap: 0.65rem;
  }

  .head-office-intro-content p {
    font-size: 0.72rem;
  }

  .head-office-intro-content h2 {
    font-size: 1.85rem;
  }

  .locations-contact-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.1rem;
    border-radius: 14px;
  }

  .locations-contact-content h2 {
    font-size: clamp(1.7rem, 7.8vw, 2.4rem);
  }

  .locations-contact-content p {
    font-size: 0.92rem;
  }

  .locations-contact-links a {
    min-height: 36px;
    padding: 0.5rem 0.65rem;
    font-size: 0.7rem;
  }

  .locations-contact-button {
    min-height: 44px;
    padding: 0.62rem 0.9rem;
    font-size: 0.72rem;
  }
}

/* SMALL MOBILE */

@media (max-width: 420px) {
  .locator-layout,
  .head-office-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 0.38rem;
  }

  .locator-map-frame,
  .locator-map-frame iframe,
  .head-office-map iframe {
    min-height: 245px;
  }

  .locator-details-card,
  .head-office-details {
    padding: 0.5rem;
  }

  .outlet-select-area {
    padding: 0.45rem;
  }

  .outlet-select-label {
    font-size: 1.02rem;
  }

  .selected-outlet-short {
    font-size: 0.75rem;
  }

  .outlet-detail-item,
  .head-office-list div {
    padding: 0.42rem;
  }

  .outlet-detail-item strong,
  .outlet-detail-item a,
  .head-office-list strong,
  .head-office-list a {
    font-size: 0.8rem;
  }

  .head-office-details h2 {
    font-size: 1.35rem;
  }

  .head-office-details p {
    font-size: 0.8rem;
  }

  .locator-map-link,
  .head-office-button {
    min-height: 34px;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .locations-logo-stage,
  .locations-logo,
  .locations-logo-stage::before,
  .locations-logo-stage::after,
  .locations-logo-aura,
  .locations-hero-glow,
  .locations-contact-glow {
    animation: none !important;
  }

  .outlet-slider-track {
    transition: none !important;
  }
}

/* add */

/* ============================================================
   LOCATIONS PAGE THEME SYNC
   Add at bottom of locations.css
   ============================================================ */

/* Hero matches franchise */
.locations-hero {
  background: var(--kbr-page-bg);
}

/* Outlet locator section */
.locator-section {
  background: var(--kbr-section-bg);
}

/* Head office intro */
.head-office-intro {
  background: var(--kbr-section-bg);
}

/* Head office section */
.head-office-section {
  background: var(--kbr-section-bg);
}

/* Contact CTA section */
.locations-contact-section {
  background: var(--kbr-section-bg-dark);
}

/* Premium card consistency */

.locator-map-card,
.locator-details-card,
.head-office-card,
.locations-contact-card,
.locations-hero-gallery-card {
  border-color: rgba(242, 201, 76, 0.16);
}

/* Contact CTA card same as franchise */
.locations-contact-card {
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(242, 201, 76, 0.12),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--red-850),
      var(--red-700)
    );
}

/* Hero gallery card */
.locations-hero-gallery-card {
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(242, 201, 76, 0.08),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );
}

/* ==========================================================
   FINAL LOCATIONS MOBILE HERO + MAP POLISH
   ========================================================== */

@media (max-width: 768px) {
  .locations-hero {
    min-height: auto !important;
    padding-top: calc(var(--top-offset, var(--header-height)) + 0.7rem) !important;
  }

  .locations-hero-container {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    gap: 1.25rem !important;
    align-items: start !important;
    padding-block: 1.35rem 2.2rem !important;
  }

  .locations-logo-wrap {
    justify-content: flex-start !important;
    padding-left: 0 !important;
  }

  .locations-logo-stage {
    width: clamp(132px, 38vw, 178px) !important;
    height: clamp(108px, 31vw, 144px) !important;
  }

  .locations-hero-title {
    max-width: 100% !important;
    font-size: clamp(2.05rem, 10vw, 3.1rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
  }

  .locations-hero-description {
    display: block !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .locations-hero-stats {
    max-width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }

  .locations-hero-stats article {
    min-height: 84px !important;
    padding: 0.7rem 0.45rem !important;
  }

  .locations-hero-stats strong,
  .locations-hero-stats span {
    white-space: normal !important;
  }

  .locations-hero-gallery-card {
    min-height: auto !important;
    padding: 0.9rem !important;
    border-radius: 18px !important;
  }

  .locations-gallery-card-top {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  #hero-gallery-branch-name {
    max-width: 100% !important;
    font-size: 1.35rem !important;
    line-height: 1.08 !important;
  }

  .hero-outlet-slider-shell {
    height: auto !important;
    aspect-ratio: 1600 / 1118 !important;
  }

  .hero-outlet-slider-window {
    border-radius: 15px !important;
  }

  .outlet-slide img {
    object-fit: cover !important;
    object-position: center !important;
  }

  .outlet-slide-caption {
    right: 0.55rem !important;
    bottom: 0.55rem !important;
    left: 0.55rem !important;
    padding: 0.55rem !important;
  }

  .outlet-slider-arrow {
    width: 36px !important;
    height: 36px !important;
  }

  .locator-layout,
  .head-office-card {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .locator-map-frame,
  .locator-map-frame iframe,
  .head-office-map iframe {
    min-height: 300px !important;
  }

  .locator-details-card,
  .head-office-details {
    padding: 0.9rem !important;
  }

  .locations-contact-card {
    grid-template-columns: 1fr !important;
  }

  .locations-contact-links {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  .locations-hero-stats {
    grid-template-columns: 1fr !important;
  }

  .locations-hero-stats article {
    min-height: auto !important;
  }

  .hero-outlet-slider-shell {
    aspect-ratio: 1600 / 1118 !important;
  }
}
/* ==========================================
   REMOVE ALL BLACK SHADES FROM LOCATIONS PAGE
   ========================================== */

/* Remove hero bottom fade */
.locations-hero::before {
    content: none !important;
    display: none !important;
}

/* Remove dark overlay from outlet slider image */
.outlet-slide::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
}

/* Remove dark backgrounds */
.outlet-slide,
.hero-outlet-slider-window,
.locations-hero-gallery-card {
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove dark background behind images */
.outlet-slide img {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Remove glow and border effects */
.locations-gallery-card-glow,
.locations-hero-gallery-card::before {
    display: none !important;
}

.locations-hero-gallery-card {
    border: none !important;
    box-shadow: none !important;
}