/* =========================================================
   PAGE-SPECIFIC — hero, about, contact, products, motion
   ========================================================= */

/* ---- Glowing 24hr top rail ---- */
.top-rail {
  position: relative;
  overflow: hidden;
  background: #000;
  border-bottom: 2px solid var(--red);
  animation: rail-pulse 2.4s ease-in-out infinite;
}

.top-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(225, 6, 0, 0.55) 45%,
    rgba(255, 60, 60, 0.85) 50%,
    rgba(225, 6, 0, 0.55) 55%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: rail-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.top-rail .live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: live-ping 1.6s infinite;
  flex-shrink: 0;
}

.top-rail-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.top-rail-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.top-rail-left strong {
  color: var(--red);
  letter-spacing: 0.08em;
}

@keyframes rail-shine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@keyframes rail-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(225, 6, 0, 0.25); }
  50% { box-shadow: 0 0 28px rgba(225, 6, 0, 0.55); }
}

@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65); }
  70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---- Hero with image (rearranged) ---- */
.hero-media {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - 42px);
  display: grid;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-ken 18s ease-in-out infinite alternate;
  filter: grayscale(0.25) contrast(1.08);
}

.hero-media-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 45%);
}

@keyframes hero-ken {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-2%, -1%); }
}

.hero-media-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: end;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: inherit;
  min-width: 0;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.hero-media h1 {
  font-size: clamp(2.35rem, 10vw, 7.5rem);
  max-width: 100%;
  line-height: 0.92;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-media h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-media .lede {
  color: rgba(255, 255, 255, 0.75);
  max-width: 36ch;
}

.hero-float-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  padding: 1.5rem;
  max-width: 340px;
  width: 100%;
  min-width: 0;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.hero-float-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

.hero-float-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-float-text {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.call-short {
  display: none;
}

@media (min-width: 960px) {
  .hero-media-content {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .hero-float-card {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-bg img,
  .top-rail,
  .top-rail::before,
  .top-rail .live-dot {
    animation: none;
  }
}

/* Logo marquee */
.logo-marquee {
  overflow: hidden;
  background: var(--white);
  border-block: 3px solid var(--black);
  padding: 1.35rem 0;
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: tick 32s linear infinite;
}

.logo-marquee-track img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
  opacity: 0.88;
}

.logo-marquee-track img:hover {
  opacity: 1;
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* ---- About: asymmetric magazine layout ---- */
.about-stage {
  display: grid;
  gap: 2rem;
}

.about-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  min-height: 420px;
}

.about-collage figure {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--black);
  background: var(--off-white);
  margin: 0;
}

.about-collage figure:first-child {
  grid-row: span 2;
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.about-collage figure:hover img {
  transform: scale(1.07);
}

.about-collage figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
}

.about-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.metric {
  border: 3px solid var(--black);
  padding: 1.1rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.metric:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-4px);
}

.metric b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (min-width: 960px) {
  .about-stage {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
  }
}

/* Home products with images */
.home-products {
  display: grid;
  gap: 1.25rem;
}

.prod-card {
  border: 3px solid currentColor;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.prod-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.prod-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.prod-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.prod-card:hover .prod-card-media img {
  transform: scale(1.08);
}

.stock-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border: 2px solid transparent;
}

.stock-pill.is-in {
  background: #16a34a;
  color: #fff;
}

.stock-pill.is-out {
  background: #444;
  color: #fff;
}

.prod-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.prod-card-body h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.prod-card-body p {
  font-size: 0.92rem;
  flex: 1;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
}

@media (min-width: 700px) {
  .home-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .home-products {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product search */
.search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.search-bar label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.search-bar input {
  flex: 1;
  padding: 0.95rem 1.15rem;
  border: 3px solid var(--black);
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.15);
}

.search-meta {
  font-size: 0.85rem;
  color: var(--mute);
  margin-bottom: 1.25rem;
}

/* Product catalogue grid */
.product-grid-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .product-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .product-grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn-stock {
  pointer-events: none;
  cursor: default;
}

.btn-stock.is-in {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.btn-stock.is-out {
  background: #555;
  border-color: #555;
  color: #fff;
  opacity: 0.9;
}

.prod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* Contact with map */
.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-map {
  position: relative;
  border: 3px solid var(--black);
  overflow: hidden;
  min-height: 320px;
  background: var(--off-white);
  transition: transform 0.4s var(--ease);
}

.contact-map:hover {
  transform: translateY(-4px);
}

.contact-map img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.05);
  transition: filter 0.4s var(--ease), transform 0.7s var(--ease);
}

.contact-map:hover img {
  filter: grayscale(0.2);
  transform: scale(1.04);
}

.contact-map-cta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
}

.contact-info-stack {
  display: grid;
  gap: 0.85rem;
}

.contact-info-stack .contact-end-card {
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.contact-info-stack .contact-end-card:hover {
  background: var(--black);
  color: var(--white);
  transform: translateX(6px);
}

.contact-info-stack .contact-end-card:hover a,
.contact-info-stack .contact-end-card:hover p {
  color: inherit;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

/* Contact end cards base */
.contact-end-card {
  border: 3px solid currentColor;
  padding: 1.25rem 1.35rem;
}

.contact-end-card h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.contact-end-card p,
.contact-end-card a {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  text-transform: uppercase;
  line-height: 1.25;
}

.contact-end-card a:hover {
  color: var(--red);
}

/* Social */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 52px;
  height: 52px;
  border: 3px solid currentColor;
  display: grid;
  place-items: center;
  transition: 0.3s var(--ease);
}

.social-icon:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-4px) rotate(-3deg);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease);
  animation: wa-bob 2.8s ease-in-out infinite;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.08);
  animation: none;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@keyframes wa-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Service hover polish */
.service-item {
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-item:hover {
  background: rgba(225, 6, 0, 0.06);
}

.theme-black .service-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.review-card {
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

/* Band title */
.band-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.band-title h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 14ch;
}

.google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
  margin-top: 1rem;
  transition: color 0.25s var(--ease);
}

.google-link:hover {
  color: var(--red);
}

.page-banner {
  padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(2rem, 5vw, 3rem);
  border-bottom: 3px solid currentColor;
}

.page-banner h1 {
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  max-width: 12ch;
}

/* Spacing — desktop breathing room (mobile overrides in responsive.css) */
@media (min-width: 960px) {
  .section {
    padding: clamp(4.5rem, 11vw, 8rem) 0;
  }

  .wrap {
    width: min(100% - 2.5rem, var(--max));
  }
}

/* ---- Local SEO: service areas ---- */
.seo-areas .lede {
  max-width: 58ch;
}

.seo-area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0;
}

.seo-area-list li {
  border: 2px solid var(--black);
  padding: 0.55rem 0.9rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
