/* ================================================
   NS AUTO GLASS — MAIN STYLESHEET
   Palette: hot pink (#ff1a7a) on deep dark backgrounds
   Font: Inter (Google Fonts)
   ================================================ */

/* ------------------------------------------------
   CSS CUSTOM PROPERTIES (design tokens)
   ------------------------------------------------ */
:root {
  --bg-dark:     #071923;
  --bg-darker:   #020b10;
  --accent:      #ff2d87;
  --accent-2:    #ff80cc;
  --text-main:   #f5f7fa;
  --text-muted:  #c1cad6;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.35);
  --radius-xl:   22px;
  --transition:  0.18s ease-out;
}

/* ------------------------------------------------
   RESET
   ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ------------------------------------------------
   BASE
   ------------------------------------------------ */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 45, 135, 0.35) 0, rgba(204, 31, 106, 0.55) 40%, rgba(10, 0, 6, 0.95) 100%),
    linear-gradient(135deg, rgba(255, 45, 135, 0.18), rgba(10, 0, 6, 0.98));
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ------------------------------------------------
   PAGE WRAPPER
   ------------------------------------------------ */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Subtle fixed pink tint overlay */
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(80, 5, 30, 0.3), transparent 55%);
  z-index: -1;
}

/* ------------------------------------------------
   HEADER
   ------------------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(255,26,122,0.2);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.6rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.75rem; }
.main-logo {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255,26,122,0.25));
}
@media (max-width: 700px) { .main-logo { height: 56px; } }

/* Desktop nav */
nav ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; font-size: 0.95rem; }
nav a  { position: relative; color: #1a0010; font-weight: 600; padding-bottom: 0.15rem; }
nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffaadd);
  transition: width var(--transition);
}
nav a:hover::after { width: 100%; }

/* Header CTA button */
header .btn,
header .btn-outline { color: #1a0010; border-color: rgba(255,26,122,0.6); font-weight: 600; }
header .btn:hover   { background: rgba(255,26,122,0.08); color: var(--accent); }

/* ------------------------------------------------
   HAMBURGER (mobile only)
   ------------------------------------------------ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 30;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #1a0010;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
/* Animate bars into X when menu is open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------
   MOBILE NAV DRAWER
   Uses max-height:0 trick so it takes NO space when closed
   ------------------------------------------------ */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  background: #fff1f3;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 57px;
  z-index: 19;
  transition: max-height 0.28s ease, padding 0.28s ease, border-color 0.28s ease;
}
.mobile-nav.open {
  max-height: 500px;
  padding: 1rem 1.25rem 1.25rem;
  border-bottom-color: rgba(255,26,122,0.25);
}
.mobile-nav a {
  display: block;
  padding: 0.7rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1a0010;
  border-bottom: 1px solid rgba(255,26,122,0.12);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover      { color: var(--accent); }

@media (max-width: 640px) {
  .hamburger   { display: flex; }
  .mobile-nav  { display: flex; }
  nav ul       { display: none !important; }
  .desktop-cta { display: none; }
}

/* ------------------------------------------------
   BUTTONS
   ------------------------------------------------ */
.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff88cc);
  color: #1a0010;
  box-shadow: 0 9px 25px rgba(255,26,122,0.45);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 35px rgba(255,26,122,0.65); }
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,26,122,0.35);
}
.btn-outline:hover { background: rgba(255,26,122,0.06); border-color: var(--accent); color: #ffc8e8; }
.btn-sm { font-size: 0.85rem; padding: 0.25rem 0.5rem; }

/* ------------------------------------------------
   FLASH MESSAGES
   ------------------------------------------------ */
.flash-shell { max-width: 1120px; margin: 0.75rem auto 0; padding: 0 1.75rem; }
.flash       { border-radius: 999px; padding: 0.6rem 1rem; font-size: 0.86rem; margin-bottom: 0.4rem; }
.flash-success { background: rgba(0,200,100,0.13); border: 1px solid rgba(0,200,100,0.5); }
.flash-error   { background: rgba(255,80,80,0.11);  border: 1px solid rgba(255,100,100,0.5); }

/* ------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------ */
main    { flex: 1; }
section { padding: 2.9rem 1.75rem; }
.shell  { max-width: 1120px; margin: 0 auto; }

/* ------------------------------------------------
   HERO SECTION
   ------------------------------------------------ */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

/* Location pill above headline */
.hero-kicker {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 26, 122, 0.12);
  border: 1px solid rgba(255, 26, 122, 0.35);
  box-shadow: 0 0 12px rgba(255, 26, 122, 0.15);
}
.hero-kicker::before {
  content: "";
  width: 8px; height: 8px;
  margin-right: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.hero h1 { font-size: clamp(2.4rem, 4vw, 3.1rem); line-height: 1.06; margin-bottom: 1.1rem; }
.hero h1 span { color: #ffaadd; text-shadow: 0 4px 20px rgba(255,26,122,0.35); }

.hero-subtitle { font-size: 1.02rem; color: var(--text-muted); max-width: 32rem; margin-bottom: 1.6rem; }

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.75rem 1.4rem;
  margin: 0 0 1.9rem;
  font-size: 0.92rem;
  color: #d3dced;
  list-style: none;
}
.hero-list li  { display: flex; align-items: center; gap: 0.55rem; }
.hero-list svg { width: 16px; height: 16px; flex-shrink: 0; }

.hero-note  { font-size: 0.78rem; color: #b88fa4; }
.hero-right { position: relative; }

/* Small floating badge below the card */
.hero-badge {
  position: absolute;
  right: 0.4rem;
  bottom: -0.7rem;
  transform: translateY(50%);
  background: rgba(15,2,9,0.97);
  border-radius: 999px;
  border: 1px solid rgba(255,26,122,0.2);
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #d4a8c2;
  box-shadow: 0 14px 30px rgba(0,0,0,0.7);
}
.hero-badge span { font-weight: 600; color: #fff0f7; }

/* Hero stacks on mobile */
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-top: 1.8rem;
    gap: 1.8rem;
  }
  .hero-list  { grid-template-columns: minmax(0,1fr); }
  .hero-badge { position: static; transform: none; margin-top: 0.9rem; }
}

/* ------------------------------------------------
   HERO "WHAT WE DO" CARD
   ------------------------------------------------ */
.hero-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle at top left, rgba(79, 214, 255, 0.08) 0, rgba(6, 23, 35, 0.98) 44%, rgba(1, 7, 12, 1) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,26,122,0.14);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0,0,0,0.45); }

/* "WHAT WE DO" label */
.service-tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
}

/* Each row: text left + image right */
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.hero-pair-img img {
  width: 100%; height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,26,122,0.1);
}

/* Individual service row */
.hero-service {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(6, 34, 50, 0.9);
  border-radius: 12px;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-left-color 0.2s;
}
.hero-service:hover { background: rgba(6, 44, 65, 0.95); border-left-color: var(--accent); }
.hero-service h3   { margin: 0 0 4px; font-size: 16px; color: #fff; font-weight: 700; }
.hero-service p    { margin: 0; font-size: 13px; color: #b7c7d7; line-height: 1.4; }

/* Mobile: stack text then image, centered */
@media (max-width: 640px) {
  .hero-pair       { grid-template-columns: 1fr; gap: 8px; }
  .hero-pair-img img { height: 160px; }
  .hero-card       { text-align: center; }
  .service-tag     { display: block; text-align: center; }
  .hero-service    { text-align: center; border-left: none; border-top: 3px solid transparent; }
  .hero-service:hover { border-left: none; border-top-color: var(--accent); transform: none; }
}

/* ------------------------------------------------
   TENT SHOWCASE BANNER
   Sits between hero and services — uses tent.jpg as background
   ------------------------------------------------ */
.tent-banner {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* Full-bleed background image */
.tent-banner-bg {
  position: absolute;
  inset: 0;
  background: url("tent-mobile.jpg") center 38% / cover no-repeat;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.tent-banner.visible .tent-banner-bg { transform: scale(1); }
@media (min-width: 768px) {
  .tent-banner-bg { background-image: url("tent.jpg"); }
}
/* Parallax on large screens only (fixed attachment is janky on mobile) */
@media (min-width: 1100px) {
  .tent-banner-bg { background-attachment: fixed; transform: none; }
}
/* Legibility overlay: dark at edges, brand glow at base */
.tent-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 14, 0.78) 0%, rgba(2, 8, 14, 0.45) 45%, rgba(40, 2, 20, 0.82) 100%);
}
.tent-banner-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.75rem;
}
.tent-banner-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.tent-banner-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 1.4rem;
}

/* ------------------------------------------------
   SECTION HEADINGS
   ------------------------------------------------ */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-heading h2 { font-size: 1.55rem; letter-spacing: 0.04em; text-transform: uppercase; color: inherit; }
.section-heading p  { max-width: 28rem; font-size: 0.95rem; color: var(--text-muted); }

/* ------------------------------------------------
   SERVICES GRID
   ------------------------------------------------ */
#services {
  background: radial-gradient(circle at top, rgba(255, 26, 122, 0.06), rgba(3, 9, 15, 0.98) 55%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
}

/* Cards animate in when scrolled into view */
.service-card {
  border-radius: 20px;
  padding: 1.25rem 1.15rem;
  background: rgba(7, 25, 35, 0.96);
  border: 1px solid rgba(255,26,122,0.1);
  box-shadow: 0 16px 35px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.5s ease, transform 0.5s ease,
              border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.service-card.visible               { opacity: 1; transform: translateY(0); }
.service-card.visible:nth-child(1)  { transition-delay: 0s; }
.service-card.visible:nth-child(2)  { transition-delay: 0.13s; }
.service-card.visible:nth-child(3)  { transition-delay: 0.26s; }
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,26,122,0.7);
  box-shadow: 0 24px 55px rgba(0,0,0,0.7),
              0 0 0 1px rgba(255,26,122,0.35),
              0 0 30px rgba(255,26,122,0.18),
              inset 0 0 40px rgba(255,26,122,0.04);
  background: radial-gradient(circle at top, rgba(255, 26, 122, 0.16), rgba(3, 15, 23, 0.98) 55%);
}

.service-icon {
  width: 32px; height: 32px;
  border-radius: 11px;
  background: rgba(255,26,122,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}
.service-card h3 { font-size: 1.05rem; }
.service-card p  { font-size: 0.9rem; color: #d4bece; }
.service-meta    { margin-top: auto; font-size: 0.8rem; color: var(--text-muted); }
.service-note    { margin-top: 0.7rem; font-size: 0.9rem; color: #ff99cc; }

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,26,122,0.13);
  font-size: 0.76rem;
  font-weight: 500;
  color: #ffccee;
  margin-top: 0.45rem;
}

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: minmax(0,1fr); } }

/* ------------------------------------------------
   ABOUT / WHY SECTION
   ------------------------------------------------ */
#about {
  background: radial-gradient(circle at top, rgba(255, 26, 122, 0.04), rgba(3, 9, 15, 0.98) 54%);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0,1fr); } }

.about-text p      { color: #d2dded; font-size: 0.95rem; margin-bottom: 1rem; }
.about-list        { list-style: none; display: grid; gap: 0.6rem; margin-top: 0.6rem; }
.about-list li     { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 0.55rem; }
.about-list strong { color: #e7f0ff; font-weight: 600; }

.about-card {
  border-radius: 18px;
  border: 1px solid rgba(255,26,122,0.1);
  padding: 1.1rem 1.15rem;
  background: linear-gradient(135deg, rgba(8, 33, 49, 0.96), rgba(3, 12, 19, 0.98));
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.about-card h3 { font-size: 1rem; margin-bottom: 0.35rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9edcff; }
.about-card p  { font-size: 0.9rem; color: #c3d0e4; margin-bottom: 0.8rem; }

.about-stats     { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 0.3rem; }
.about-stat      { flex: 1 1 90px; }
.about-stat span { display: block; }
.about-stat .value { font-size: 1.35rem; font-weight: 700; color: #e4f1ff; }
.about-stat .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 0.15rem; }

/* ------------------------------------------------
   HOW IT WORKS (PROCESS TIMELINE)
   ------------------------------------------------ */
#process { background: rgba(2, 8, 14, 0.98); }

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 60px;
}
@media (min-width: 1024px) {
  .process-timeline { grid-template-columns: repeat(4,1fr); gap: 20px; }
  /* Connecting line removed — dots alone mark the steps */
  .process-timeline::before { display: none; }
}

/* Step cards slide in on scroll */
.step-card {
  position: relative;
  background: rgba(7, 25, 35, 0.96);
  border: 1px solid rgba(255,26,122,0.09);
  border-radius: 24px;
  padding: 28px 20px 24px;
  z-index: 1;
  opacity: 0;
  transform: translateY(36px);
}
.step-card.visible { animation: slideUp 0.55s ease forwards; }
.step-card.visible:nth-child(1) { animation-delay: 0s; }
.step-card.visible:nth-child(2) { animation-delay: 0.12s; }
.step-card.visible:nth-child(3) { animation-delay: 0.24s; }
.step-card.visible:nth-child(4) { animation-delay: 0.36s; }
.step-card:hover { transform: translateY(-5px); border-color: rgba(255,26,122,0.4); }

/* Glowing pink dot at top of each step card */
.step-dot {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255,26,122,0.8), 0 0 40px rgba(255,26,122,0.4);
  z-index: 2;
}
.step-number-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,26,122,0.12);
  color: #ff99cc;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.step-card h3 { color: #fff; font-size: 1.15rem; margin: 0 0 12px; font-weight: 700; }
.step-card p  { color: #c4a8b8; font-size: 14px; line-height: 1.6; margin: 0; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------ */
#contact {
  background: #fff1f3;
}

#contact .section-heading p {
  color: #0a0909;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0,1fr); gap: 1.4rem; } }

/* Quote form */
form {
  background: rgba(3, 13, 21, 0.98);
  border-radius: 22px;
  padding: 1.25rem 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
}
form h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
form p  { font-size: 0.86rem; color: #c5d2e6; margin-bottom: 1.1rem; }

.form-row { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.field    { margin-bottom: 0.85rem; flex: 1 1 160px; }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  color: #9fb0c9;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 21, 33, 0.95);
  color: #f5f8ff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
textarea { min-height: 100px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6e8197; }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 26, 122, 0.7);
  background: rgba(5, 27, 42, 0.98);
}
.form-note { font-size: 0.78rem; color: #9caecc; margin-top: 0.5rem; }

/* Contact info sidebar */
.contact-details {
  border-radius: 22px;
  padding: 1.2rem 1.15rem;
  background: rgba(2, 9, 16, 0.96);
  border: 1px solid rgba(255,26,122,0.1);
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}
.contact-details h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.contact-details p  { font-size: 0.9rem; margin-bottom: 0.7rem; }

.contact-block       { margin-top: 0.3rem; margin-bottom: 0.9rem; }
.contact-block span  { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: #b090a4; margin-bottom: 0.25rem; }
.contact-block a     { font-size: 0.95rem; color: #ffcceb; font-weight: 500; }

.hours-table                       { font-size: 0.86rem; border-collapse: collapse; width: 100%; margin-top: 0.4rem; }
.hours-table tr td:first-child     { width: 42%; color: #c8a8b8; padding: 0.16rem 0; }
.hours-table tr td:last-child      { padding: 0.16rem 0; }

.map-box {
  margin-top: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(22,2,12,0.88);
  border: 1px solid rgba(255,26,122,0.1);
  backdrop-filter: blur(20px);
  font-size: 0.8rem;
  color: #c8aabb;
}
.map-box a { color: #ff88cc; text-decoration: underline; }

/* ------------------------------------------------
   PORTAL / ADMIN PAGES
   ------------------------------------------------ */
.portal-shell,
.admin-shell { padding-top: 3.2rem; padding-bottom: 3.2rem; }

.portal-card {
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(255, 26, 122, 0.18), rgba(3, 11, 18, 0.98));
  border: 1px solid rgba(255,26,122,0.1);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 26px 55px rgba(0,0,0,0.7);
}
.portal-card h1     { font-size: 1.5rem; margin-bottom: 0.3rem; }
.portal-subtitle    { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.4rem; max-width: 32rem; }
.portal-form .field { max-width: 360px; }
.portal-form .btn   { margin-top: 0.3rem; }
.portal-note        { font-size: 0.8rem; color: #c4a8b8; margin-top: 1rem; }

/* Job cards grid */
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .jobs-grid { grid-template-columns: 1fr 1fr; } }

.job-card {
  background: radial-gradient(circle at top left, rgba(255, 26, 122, 0.14), rgba(3, 11, 18, 0.98));
  border: 1px solid rgba(255,26,122,0.09);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #f0e4ec;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}
.job-header                    { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.job-header h2,
.job-header h3                 { font-size: 1.02rem; margin: 0; }
.job-date                      { font-size: 0.78rem; color: #c89ab4; }
.job-vehicle                   { font-size: 0.88rem; margin-bottom: 0.35rem; }
.job-vin                       { display: block; font-size: 0.78rem; color: #b890a8; }
.job-desc                      { font-size: 0.86rem; color: #d4c0cc; margin-bottom: 0.55rem; }
.job-summary                   { display: flex; align-items: center; gap: 0.5rem; }
.job-card p                    { margin: 0.25rem 0; }
.job-photo                     { margin-top: 0.35rem; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,26,122,0.08); }
.job-photo img                 { width: 100%; height: 170px; object-fit: cover; }

.portal-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; gap: 0.9rem; }
.portal-logout  { font-size: 0.84rem; color: #d4c0cc; text-decoration: underline; }

/* Leads admin table */
.leads-table-wrapper  { margin-top: 1.1rem; overflow-x: auto; }
.leads-table          { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.leads-table th,
.leads-table td        { padding: 0.45rem 0.55rem; border-bottom: 1px solid rgba(255,26,122,0.1); }
.leads-table th        { text-align: left; font-weight: 600; color: #e8ccd8; }

/* ------------------------------------------------
   STAFF DASHBOARD
   ------------------------------------------------ */
.staff-toolbar               { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.staff-date-form             { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: #c0a8b8; }
.staff-date-form label       { margin-bottom: 0; }
.staff-date-form input[type="date"] { max-width: 180px; }
.staff-today-note            { font-size: 0.78rem; color: #9e7890; }
.staff-actions               { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.staff-main-grid             { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(0,1.1fr); gap: 1.5rem; margin-top: 0.4rem; }
.staff-section-title         { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.14em; color: #c09ab5; margin-bottom: 0.6rem; }
.staff-search                { border-radius: 18px; border: 1px solid rgba(255,26,122,0.14); background: rgba(5, 19, 30, 0.98); padding: 0.9rem 0.9rem 1rem; font-size: 0.86rem; }
.staff-search-form .field    { margin-bottom: 0.6rem; }
.staff-search-results        { list-style: none; margin-top: 0.5rem; display: grid; gap: 0.45rem; }
.staff-search-results li     { padding: 0.45rem 0.5rem; border-radius: 10px; background: rgba(7, 25, 39, 0.96); }
.staff-search-results .name  { font-size: 0.88rem; font-weight: 500; }
.staff-search-results .meta  { font-size: 0.78rem; color: #b090a4; }
.staff-search-hint,
.staff-search-empty          { margin-top: 0.4rem; font-size: 0.8rem; color: #b090a4; }
@media (max-width: 900px)    { .staff-main-grid { grid-template-columns: minmax(0,1fr); } }

/* ------------------------------------------------
   ADMIN NAV BAR
   ------------------------------------------------ */
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.6rem 0.85rem;
  background: rgba(5, 16, 32, 0.85);
  border-radius: 9999px;
  border: 1px solid rgba(255,26,122,0.22);
  box-shadow: 0 18px 35px rgba(0,0,0,0.45);
}
.admin-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.3rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: #c09ab5;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform 0.15s ease;
}
.admin-nav-link:hover    { border-color: rgba(255,26,122,0.55); color: #ffe0f0; transform: translateY(-1px); }
.admin-nav-link.is-active {
  background: linear-gradient(90deg, var(--accent), #ff88cc);
  color: #1a0010;
  box-shadow: 0 0 22px rgba(255,26,122,0.55);
}
@media (max-width: 768px) {
  .admin-nav           { border-radius: 1rem; padding: 0.6rem; }
  .admin-nav-link      { font-size: 0.75rem; padding: 0.35rem 1rem; }
}

/* ------------------------------------------------
   STATUS BADGES
   ------------------------------------------------ */
.status-badge      { display: inline-block; padding: 0.2rem 0.4rem; border-radius: 0.2rem; font-size: 0.85rem; font-weight: 600; color: #fff; }
.status-scheduled  { background: #6c3060; }
.status-en_route   { background: #9b0060; }
.status-on_site    { background: #ff1a7a; }
.status-completed  { background: #28a745; }
.status-cancelled  { background: #8b0030; }
.status-select     { font-size: 0.85rem; padding: 0.2rem 0.4rem; margin-right: 0.5rem; }

/* ------------------------------------------------
   REVIEWS
   ------------------------------------------------ */
.reviews-card {
  margin-top: 2rem;
  border-radius: 1.8rem;
  padding: 2.25rem 2rem;
  background: radial-gradient(circle at top left, rgba(45, 88, 120, 0.5), rgba(3, 12, 20, 0.98));
  border: 1px solid rgba(255,26,122,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
}
.review          { margin-bottom: 1.5rem; }
.review-text     { font-style: italic; color: #ddc8d4; line-height: 1.7; margin-bottom: 0.9rem; }
.review-meta     { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar   { width: 2.3rem; height: 2.3rem; border-radius: 999px; background: rgba(255,26,122,0.22); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; }
.review-info     { display: flex; flex-direction: column; gap: 0.1rem; }
.review-name     { font-weight: 600; font-size: 0.9rem; }
.review-time     { font-size: 0.8rem; color: #a08098; }
.review-divider  { border-top: 1px solid rgba(255,26,122,0.08); margin: 0.75rem 0 1.5rem; }

/* Force Lucide star icons to appear filled */
.cn-stars svg,
.review-stars svg { fill: currentColor !important; stroke: currentColor !important; }

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
footer {
  border-top: 1px solid rgba(255,26,122,0.12);
  background: var(--bg-darker);
  font-size: 0.82rem;
  color: #9e7890;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.75rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-links         { display: flex; gap: 0.35rem; font-size: 0.75rem; color: #7e5a6e; }
.footer-links a       { color: #a07a92; }
.footer-links a:hover { color: #d4a8c2; text-decoration: underline; }
.footer-warranty {
  flex-basis: 100%;
  font-size: 0.72rem;
  color: #7e5a6e;
  border-top: 1px solid rgba(255,26,122,0.08);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* ------------------------------------------------
   MISC UTILITIES
   ------------------------------------------------ */
/* Screen-reader only text */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.dashboard-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin: 1rem 0; gap: 0.5rem; }
.search-form input  { margin-right: 0.5rem; }

.customer-history   { background: rgba(28,5,16,0.8); border: 1px solid rgba(255,26,122,0.12); border-radius: 0.5rem; padding: 0.5rem; margin: 0.5rem 0; }
.customer-history ul,
.customer-list      { list-style: none; padding-left: 0; margin: 0.5rem 0; }
.customer-history li,
.customer-list li   { margin: 0.25rem 0; }

.contact-info,
.job-assignee             { font-size: 0.85rem; color: #b090a4; }
.job-assignee .assigned-label { font-weight: 600; color: #d4b0c8; }

/* Glass panel used in about section */
.glass-panel {
  background: rgba(7, 25, 35, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 26, 122, 0.1);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------------
   GLOBAL MOBILE PADDING
   ------------------------------------------------ */
@media (max-width: 768px) { .shell { padding-left: 16px !important; padding-right: 16px !important; } }
@media (max-width: 640px) {
  .header-inner { padding-inline: 1.1rem; }
  section       { padding-inline: 1.1rem; }
  .footer-inner { padding-inline: 1.1rem; }
}

/* ================================================
   v2 POLISH LAYER — animations, stats, signature touches
   ================================================ */

/* Smooth in-page scrolling, offset for the sticky header */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

/* ------------------------------------------------
   HERO ENTRANCE — staggered rise on page load
   ------------------------------------------------ */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy > * {
  opacity: 0;
  animation: heroRise 0.65s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.45s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.55s; }
.hero-copy > *:nth-child(7) { animation-delay: 0.62s; }
.hero-right {
  opacity: 0;
  animation: heroRise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) 0.3s forwards;
}

/* Pulsing live dot in the location pill */
@keyframes kickerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 135, 0.55); }
  60%      { box-shadow: 0 0 0 7px rgba(255, 45, 135, 0); }
}
.hero-kicker::before { animation: kickerPulse 2.4s ease-out infinite; }

/* ------------------------------------------------
   NORTHERN LIGHTS — ambient aurora behind the hero
   (a nod to northern Alberta; very low intensity)
   ------------------------------------------------ */
.hero { position: relative; }
.hero-aurora {
  position: absolute;
  inset: -10% -5%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  filter: blur(60px);
  opacity: 0.5;
}
.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.hero-aurora span:nth-child(1) {
  width: 55%; height: 60%;
  left: -10%; top: -15%;
  background: radial-gradient(ellipse at center, rgba(255, 45, 135, 0.35), transparent 70%);
  animation: auroraDrift1 16s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(2) {
  width: 45%; height: 55%;
  right: -5%; top: 5%;
  background: radial-gradient(ellipse at center, rgba(80, 200, 255, 0.22), transparent 70%);
  animation: auroraDrift2 20s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(3) {
  width: 50%; height: 45%;
  left: 30%; bottom: -20%;
  background: radial-gradient(ellipse at center, rgba(190, 60, 255, 0.18), transparent 70%);
  animation: auroraDrift3 24s ease-in-out infinite alternate;
}
@keyframes auroraDrift1 { from { transform: translate(0, 0) rotate(0deg); }   to { transform: translate(8%, 6%) rotate(8deg); } }
@keyframes auroraDrift2 { from { transform: translate(0, 0) scale(1); }      to { transform: translate(-6%, 10%) scale(1.15); } }
@keyframes auroraDrift3 { from { transform: translate(0, 0) scale(1); }      to { transform: translate(10%, -8%) scale(1.1); } }

/* ------------------------------------------------
   GLASS GLINT — light sweep, like sun across a windshield
   ------------------------------------------------ */
@keyframes glassGlint {
  0%, 72%  { background-position: -130% 0; }
  100%     { background-position: 230% 0; }
}
.hero h1 span {
  background: linear-gradient(
      105deg,
      #ffaadd 0%, #ffaadd 38%,
      #ffffff 48%,
      #ffaadd 58%, #ffaadd 100%
    );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: glassGlint 6.5s ease-in-out infinite;
}

/* Same sweep on primary buttons, on hover */
.btn-primary, .cn-btn-primary { position: relative; overflow: hidden; }
.btn-primary::after, .cn-btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .cn-btn-primary:hover::after { left: 130%; }

/* ------------------------------------------------
   SCROLL REVEAL — generic utility
   ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.8, 0.3, 1),
              transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1);
  transition-delay: var(--rd, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------
   STATS BAND — under the hero
   ------------------------------------------------ */
.stats-band {
  border-top: 1px solid rgba(255, 45, 135, 0.18);
  border-bottom: 1px solid rgba(255, 45, 135, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 45, 135, 0.10), rgba(2, 8, 14, 0.4) 35%, rgba(2, 8, 14, 0.4) 65%, rgba(255, 45, 135, 0.10)),
    rgba(2, 8, 14, 0.85);
  padding: 1.6rem 1.75rem;
}
.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat-num em { font-style: normal; color: var(--accent-2); }
.stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c8a4b8;
}
@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.8rem; }
}

/* ------------------------------------------------
   FLOATING CALL BUTTON — mobile only
   ------------------------------------------------ */
.floating-call {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff88cc);
  color: #1a0010;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(255, 26, 122, 0.55);
  animation: callPulse 2.6s ease-out infinite;
}
.floating-call svg { width: 18px; height: 18px; }
@keyframes callPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(255, 26, 122, 0.55), 0 0 0 0 rgba(255, 45, 135, 0.45); }
  55%      { box-shadow: 0 10px 30px rgba(255, 26, 122, 0.55), 0 0 0 14px rgba(255, 45, 135, 0); }
}
@media (max-width: 768px) { .floating-call { display: inline-flex; } }

/* ------------------------------------------------
   SMALL POLISH
   ------------------------------------------------ */
/* FAQ chevron rotation feels smoother than +/− swap */
.faq-question::after { transition: transform 0.3s ease, color 0.3s ease; }
.faq-item.open .faq-question::after { transform: rotate(180deg); }

/* Keyboard focus visibility everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Hero "what we do" rows: photos ease in slightly on hover */
.hero-pair-img img { transition: transform 0.35s ease; }
.hero-pair:hover .hero-pair-img img { transform: scale(1.04); }

/* ------------------------------------------------
   REDUCED MOTION — switch it all off respectfully
   ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-right { animation: none; opacity: 1; transform: none; }
  .hero-aurora span, .hero-kicker::before, .hero h1 span, .floating-call { animation: none; }
  .hero h1 span { background: none; -webkit-text-fill-color: #ffaadd; color: #ffaadd; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tent-banner-bg { transform: none; transition: none; }
  .step-card { opacity: 1; transform: none; animation: none !important; }
  .service-card { opacity: 1; transform: none; }
  .btn-primary::after, .cn-btn-primary::after { display: none; }
}


/* ------------------------------------------------
   NO-JS FALLBACK — never hide content if JavaScript
   is unavailable (blocked, failed, or disabled)
   ------------------------------------------------ */
html:not(.js) .reveal,
html:not(.js) .service-card,
html:not(.js) .step-card,
html:not(.js) .hero-copy > *,
html:not(.js) .hero-right {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
html:not(.js) .faq-answer { max-height: none !important; }
