/* =============================================
   SITE 2: PacificShine Janitorial — Vancouver
   CONCEPT: Dark Mode Ocean / Neon Teal Glow
   VIBE: Dark premium, glowing teal accents,
   wave separators, floating cards with glow,
   vertical rhythm, fluid organic shapes
   ============================================= */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(13,148,136,0.15); }
  50% { box-shadow: 0 0 40px rgba(13,148,136,0.3); }
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

:root {
  --bg: #0C1117;
  --bg-card: #141B23;
  --bg-elevated: #1A232E;
  --teal: #0D9488;
  --teal-light: #5EEAD4;
  --teal-glow: rgba(13,148,136,0.25);
  --sand: #FDF8F0;
  --white: #F1F5F9;
  --muted: #64748B;
  --border: rgba(255,255,255,0.06);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --radius: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--muted);
  line-height: 1.8;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim.visible { opacity: 1; transform: translateY(0); }

/* ============ HEADER ============ */
.top-bar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 9000;
  background: rgba(12,17,23,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.top-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.ps-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-logo svg { width: 34px; height: 34px; }

.ps-logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.top-nav a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}

.top-nav a:hover { color: var(--teal-light); }

.cta-glow {
  background: var(--teal) !important;
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: 10px 24px;
  border-radius: 100px;
  transition: all 0.35s !important;
  box-shadow: 0 0 20px var(--teal-glow);
}

.cta-glow:hover {
  background: var(--teal-light) !important;
  box-shadow: 0 0 30px rgba(94,234,212,0.4) !important;
}

.mob-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
}

.mob-btn span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============ HERO — FULL BLEED IMAGE + OVERLAY ============ */
.hero-dark {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px;
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero.png') center/cover no-repeat;
  z-index: 0;
}

.hero-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(12,17,23,0.7) 40%, rgba(12,17,23,0.3) 100%);
  z-index: 1;
}

.hero-dark .wrap {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,148,136,0.15);
  border: 1px solid rgba(13,148,136,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: slideRight 0.8s 0.3s both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: glowPulse 2s infinite;
}

.hero-dark h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-dark h1 span { color: var(--teal-light); }

.hero-dark p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  text-decoration: none;
}

.btn-teal {
  background: var(--teal);
  color: var(--bg);
  box-shadow: 0 0 25px var(--teal-glow);
}

.btn-teal:hover {
  background: var(--teal-light);
  box-shadow: 0 0 40px rgba(94,234,212,0.4);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-light);
}

/* ============ WAVE SEPARATOR ============ */
.wave-sep {
  height: 60px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.wave-sep::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  height: 60px;
  background: repeating-linear-gradient(
    115deg,
    transparent,
    transparent 40px,
    rgba(13,148,136,0.06) 40px,
    rgba(13,148,136,0.06) 80px
  );
  animation: waveMove 20s linear infinite;
}

/* ============ STATS ROW ============ */
.stats-glow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 80px 0;
}

.stat-glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s;
}

.stat-glow-card:hover {
  border-color: rgba(13,148,136,0.3);
  box-shadow: 0 0 30px var(--teal-glow);
  transform: translateY(-4px);
}

.stat-glow-card .val {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal-light);
  display: block;
  line-height: 1;
}

.stat-glow-card .lbl {
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============ SERVICES — GLOWING CARDS ============ */
.services-dark {
  padding: 100px 0;
}

.dark-section-head {
  margin-bottom: 60px;
}

.dark-section-head .tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 12px;
}

.dark-section-head h2 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.glow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  opacity: 0;
  transition: opacity 0.4s;
}

.glow-card:hover {
  border-color: rgba(13,148,136,0.3);
  box-shadow: 0 8px 40px var(--teal-glow);
  transform: translateY(-6px);
}

.glow-card:hover::before { opacity: 1; }

.glow-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13,148,136,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.glow-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.glow-card p { font-size: 0.92rem; }

.glow-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-top: 16px;
  transition: gap 0.3s;
}

.glow-card:hover .glow-card-link { gap: 10px; }

/* ============ FEATURE PANEL ============ */
.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-img {
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.feature-panel:hover .feature-img img {
  transform: scale(1.04);
}

.feature-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-elevated);
}

.feature-text .tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.feature-text h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.feature-text p { margin-bottom: 12px; }

.check-dark {
  list-style: none;
  margin: 20px 0;
}

.check-dark li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-dark li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.5rem;
  top: 13px;
}

/* ============ CONTACT — DARK SPLIT ============ */
.contact-dark {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 80vh;
}

.contact-form-side {
  background: var(--bg-elevated);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-side h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 40px;
}

.dark-form { display: flex; flex-direction: column; gap: 24px; max-width: 460px; }

.dark-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.dark-field input,
.dark-field select,
.dark-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.dark-field input:focus,
.dark-field select:focus,
.dark-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 15px var(--teal-glow);
}

.dark-field textarea { resize: none; height: 100px; }
.dark-field select { -webkit-appearance: none; appearance: none; cursor: pointer; }

.contact-info-side {
  background: var(--bg);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.contact-info-side h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}

.info-line {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.info-line:first-of-type { border-top: 1px solid var(--border); }

.info-line .il-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.info-line .il-val {
  color: var(--white);
  font-size: 0.95rem;
}

.info-line a { color: var(--white); transition: color 0.3s; }
.info-line a:hover { color: var(--teal-light); }

.map-dark {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-dark iframe {
  width: 100%;
  height: 180px;
  border: none;
  filter: brightness(0.7) contrast(1.2);
  transition: filter 0.3s;
}

.map-dark:hover iframe { filter: brightness(1) contrast(1); }

/* ============ BLOG DARK ============ */
.blog-dark {
  padding: 100px 0;
}

.blog-dark-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.3s;
}

.blog-dark-card:hover { background: rgba(255,255,255,0.01); }

.blog-dark-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
}

.blog-dark-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-dark-card:hover .blog-dark-thumb img { transform: scale(1.05); }

.blog-dark-meta {
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.blog-dark-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.blog-dark-card:hover h3 { color: var(--teal-light); }

.blog-dark-card p { font-size: 0.9rem; }

/* ============ FOOTER DARK ============ */
.footer-dark {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-dark-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-dark h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.footer-dark ul { list-style: none; }
.footer-dark ul li { margin-bottom: 8px; }
.footer-dark ul a { font-size: 0.85rem; color: var(--muted); transition: color 0.3s; }
.footer-dark ul a:hover { color: var(--teal-light); }

.footer-dark .brand-text { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-dark .brand-desc { font-size: 0.85rem; max-width: 280px; }

.footer-dark .fc-col p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-dark .fc-col a { color: var(--muted); transition: color 0.3s; }
.footer-dark .fc-col a:hover { color: var(--teal-light); }

.footer-dark-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.75rem;
  font-family: var(--font-head);
}

.footer-dark-bottom a { color: var(--muted); margin-left: 16px; transition: color 0.3s; }
.footer-dark-bottom a:hover { color: var(--teal-light); }

/* ============ COOKIE ============ */
.cookie-dark {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  width: calc(100% - 40px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  z-index: 9999;
  pointer-events: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.5s ease, opacity 0.5s;
}

.cookie-dark.hidden {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}

.cookie-dark p { font-size: 0.82rem; margin-bottom: 14px; }
.cookie-dark a { color: var(--teal-light); text-decoration: underline; }

.cookie-dark-btns { display: flex; gap: 10px; }

.cookie-dark-btns button {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.cd-accept { background: var(--teal); color: var(--bg); border-color: var(--teal); }
.cd-accept:hover { background: var(--teal-light); }
.cd-decline { background: transparent; color: var(--muted); }
.cd-decline:hover { border-color: var(--muted); color: var(--white); }

/* ============ INNER PAGES ============ */
.dark-page-intro {
  padding: 160px 0 60px;
  border-bottom: 1px solid var(--border);
}

.dark-page-intro h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  max-width: 650px;
}

.dark-page-intro p { margin-top: 16px; max-width: 450px; }

.dark-prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

.dark-prose h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 48px;
  margin-bottom: 12px;
}

.dark-prose h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin-top: 28px;
  margin-bottom: 10px;
}

.dark-prose p { font-size: 0.95rem; margin-bottom: 16px; }
.dark-prose ul, .dark-prose ol { margin: 12px 0 20px; padding-left: 20px; }
.dark-prose li { margin-bottom: 6px; font-size: 0.9rem; }
.dark-prose a { color: var(--teal-light); }

.dark-prose .byline {
  font-size: 0.8rem;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

/* ============ THANK YOU DARK ============ */
.ty-hero-dark {
  padding: 160px 0 80px;
  background: var(--bg-elevated);
}

.ty-check {
  width: 60px; height: 60px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  font-size: 1.5rem;
  margin-bottom: 24px;
  animation: glowPulse 3s infinite;
}

.ty-hero-dark h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.ty-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px 0;
}

.ty-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s;
}

.ty-step:hover {
  border-color: rgba(13,148,136,0.3);
  box-shadow: 0 0 30px var(--teal-glow);
}

.ty-step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 10px;
}

.ty-step h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

/* ============ DETAIL ============ */
.detail-dark {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  padding: 60px 0 100px;
}

.dark-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.dark-sidebar h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.dark-sidebar ul { list-style: none; }
.dark-sidebar li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.dark-sidebar a { font-size: 0.85rem; color: var(--muted); transition: color 0.3s; }
.dark-sidebar a:hover, .dark-sidebar a.active { color: var(--teal-light); }

.dark-sidebar .sc { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.dark-sidebar .sc p { font-size: 0.82rem; margin-bottom: 4px; }
.dark-sidebar .sc a { color: var(--teal-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .glow-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-glow { grid-template-columns: repeat(2, 1fr); }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-text { padding: 50px 30px; }
  .contact-dark { grid-template-columns: 1fr; }
  .contact-form-side, .contact-info-side { padding: 50px 30px; }
  .contact-info-side { border-left: none; border-top: 1px solid var(--border); }
  .footer-dark-grid { grid-template-columns: 1fr 1fr; }
  .detail-dark { grid-template-columns: 1fr; }
  .ty-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .glow-grid { grid-template-columns: 1fr; }
  .stats-glow { grid-template-columns: 1fr 1fr; }
  .top-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(12,17,23,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .top-nav.open { display: flex; }
  .mob-btn { display: flex; }
  .blog-dark-card { grid-template-columns: 1fr; }
  .blog-dark-thumb { height: 200px; }
  .footer-dark-grid { grid-template-columns: 1fr; }
  .footer-dark-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
